]> scripts.mit.edu Git - autoinstallsdev/mediawiki.git/blob - includes/specials/SpecialUncategorizedtemplates.php
MediaWiki 1.16.1-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 function wfSpecialUncategorizedtemplates() {
28         list( $limit, $offset ) = wfCheckLimits();
29         $utp = new UncategorizedTemplatesPage();
30         $utp->doQuery( $offset, $limit );
31 }