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