doc fix
[lhc/web/wiklou.git] / includes / SpecialUncategorizedcategories.php
old mode 100755 (executable)
new mode 100644 (file)
index 77afdf2..ba399f0
@@ -16,6 +16,10 @@ require_once( "SpecialUncategorizedpages.php" );
  * @subpackage SpecialPage
  */
 class UncategorizedCategoriesPage extends UncategorizedPagesPage {
+       function UncategorizedCategoriesPage() {
+               $this->requestedNamespace = NS_CATEGORY;
+       }
+
        function getName() {
                return "Uncategorizedcategories";
        }
@@ -27,10 +31,9 @@ class UncategorizedCategoriesPage extends UncategorizedPagesPage {
 function wfSpecialUncategorizedcategories() {
        list( $limit, $offset ) = wfCheckLimits();
 
-       $lpp = new UncategorizedPagesPage();
-       $lpp->requestedNamespace = NS_CATEGORY;
+       $lpp = new UncategorizedCategoriesPage();
 
        return $lpp->doQuery( $offset, $limit );
 }
 
-?>
\ No newline at end of file
+?>