diff options
Diffstat (limited to 'includes/SpecialUncategorizedtemplates.php')
-rw-r--r-- | includes/SpecialUncategorizedtemplates.php | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/includes/SpecialUncategorizedtemplates.php b/includes/SpecialUncategorizedtemplates.php new file mode 100644 index 00000000..fb785e00 --- /dev/null +++ b/includes/SpecialUncategorizedtemplates.php @@ -0,0 +1,31 @@ +<?php + +/** + * Special page lists all uncategorised pages in the + * template namespace + * + * @addtogroup SpecialPage + * @author Rob Church <robchur@gmail.com> + */ +class UncategorizedTemplatesPage extends UncategorizedPagesPage { + + var $requestedNamespace = NS_TEMPLATE; + + public function getName() { + return 'Uncategorizedtemplates'; + } + +} + +/** + * Main execution point + * + * @param mixed $par Parameter passed to the page + */ +function wfSpecialUncategorizedtemplates() { + list( $limit, $offset ) = wfCheckLimits(); + $utp = new UncategorizedTemplatesPage(); + $utp->doQuery( $offset, $limit ); +} + + |