Apply timestampOrNull in the correct place, thanks to Brion for catching this.
[mediawiki.git] / includes / SpecialUncategorizedtemplates.php
blobfb785e00e57018da9e5a997540880aa0bd53e636
1 <?php
3 /**
4 * Special page lists all uncategorised pages in the
5 * template namespace
7 * @addtogroup SpecialPage
8 * @author Rob Church <robchur@gmail.com>
9 */
10 class UncategorizedTemplatesPage extends UncategorizedPagesPage {
12 var $requestedNamespace = NS_TEMPLATE;
14 public function getName() {
15 return 'Uncategorizedtemplates';
20 /**
21 * Main execution point
23 * @param mixed $par Parameter passed to the page
25 function wfSpecialUncategorizedtemplates() {
26 list( $limit, $offset ) = wfCheckLimits();
27 $utp = new UncategorizedTemplatesPage();
28 $utp->doQuery( $offset, $limit );