Merge querypage-work2 branch from trunk. The most relevant changes are:
[lhc/web/wiklou.git] / includes / specials / SpecialUncategorizedtemplates.php
index aa4e979..af038fa 100644 (file)
  * @ingroup SpecialPage
  */
 class UncategorizedTemplatesPage extends UncategorizedPagesPage {
-
-       var $requestedNamespace = NS_TEMPLATE;
-
-       public function getName() {
-               return 'Uncategorizedtemplates';
+       public function __construct( $name = 'Uncategorizedtemplates' ) {
+               parent::__construct( $name );
+               $this->requestedNamespace = NS_TEMPLATE;
        }
-
-}
-
-/**
- * Main execution point
- */
-function wfSpecialUncategorizedtemplates() {
-       list( $limit, $offset ) = wfCheckLimits();
-       $utp = new UncategorizedTemplatesPage();
-       $utp->doQuery( $offset, $limit );
 }