SpecialUncategorizedtemplates.php 632 B

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