tweak namespace
authorBrion Vibber <brion@users.mediawiki.org>
Sun, 2 Oct 2005 06:46:11 +0000 (06:46 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Sun, 2 Oct 2005 06:46:11 +0000 (06:46 +0000)
maintenance/cleanupTitles.php

index d913bdb..0b945d5 100644 (file)
@@ -43,7 +43,8 @@ class TitleCleanup extends FiveUpgrade {
        }
        
        function cleanup() {
-               $this->runTable( 'page', 'WHERE page_namespace=0',
+               $this->runTable( 'page',
+                       '', //'WHERE page_namespace=0',
                        array( &$this, 'processPage' ) );
        }
        
@@ -108,6 +109,7 @@ class TitleCleanup extends FiveUpgrade {
                $display = $current->getPrefixedText();
                
                $verified = UtfNormal::cleanUp( $display );
+               
                $title = Title::newFromText( $verified );
                
                if( is_null( $title ) ) {