From 8ec9dc766df7754835d54669369550f9bd1de081 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Sun, 2 Oct 2005 06:46:11 +0000 Subject: [PATCH] tweak namespace --- maintenance/cleanupTitles.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 ) ) { -- 2.20.1