]> scripts.mit.edu Git - autoinstallsdev/mediawiki.git/blob - includes/specials/SpecialUncategorizedtemplates.php
MediaWiki 1.15.4-scripts
[autoinstallsdev/mediawiki.git] / includes / specials / SpecialUncategorizedtemplates.php
1 <?php
2 /**
3  * @file
4  * @ingroup SpecialPage
5  */
6
7 /**
8  * Special page lists all uncategorised pages in the
9  * template namespace
10  *
11  * @ingroup SpecialPage
12  * @author Rob Church <robchur@gmail.com>
13  */
14 class UncategorizedTemplatesPage extends UncategorizedPagesPage {
15
16         var $requestedNamespace = NS_TEMPLATE;
17
18         public function getName() {
19                 return 'Uncategorizedtemplates';
20         }
21
22 }
23
24 /**
25  * Main execution point
26  *
27  * @param mixed $par Parameter passed to the page
28  */
29 function wfSpecialUncategorizedtemplates() {
30         list( $limit, $offset ) = wfCheckLimits();
31         $utp = new UncategorizedTemplatesPage();
32         $utp->doQuery( $offset, $limit );
33 }