Fix for r85114, see code reviev
[lhc/web/wiklou.git] / includes / specials / SpecialUncategorizedcategories.php
index 9574af7..70d98df 100644 (file)
  * @ingroup SpecialPage
  */
 class UncategorizedCategoriesPage extends UncategorizedPagesPage {
-       function __construct() {
+       function __construct( $name = 'Uncategorizedcategories' ) {
+               parent::__construct( $name );
                $this->requestedNamespace = NS_CATEGORY;
        }
-
-       function getName() {
-               return "Uncategorizedcategories";
-       }
-}
-
-/**
- * constructor
- */
-function wfSpecialUncategorizedcategories() {
-       list( $limit, $offset ) = wfCheckLimits();
-
-       $lpp = new UncategorizedCategoriesPage();
-
-       return $lpp->doQuery( $offset, $limit );
 }