From: Brion Vibber Date: Sun, 2 Oct 2005 06:46:11 +0000 (+0000) Subject: tweak namespace X-Git-Tag: 1.6.0~1549 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/modifier.php?a=commitdiff_plain;h=8ec9dc766df7754835d54669369550f9bd1de081;p=lhc%2Fweb%2Fwiklou.git tweak namespace --- diff --git a/maintenance/cleanupTitles.php b/maintenance/cleanupTitles.php index d913bdb044..0b945d5d84 100644 --- a/maintenance/cleanupTitles.php +++ b/maintenance/cleanupTitles.php @@ -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 ) ) {