From d16808ebeb6660d95e4f66e0c50c6b67666ad7c3 Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Thu, 24 Sep 2009 05:38:46 +0000 Subject: [PATCH] Fix total breakage of namespaceDupes.php due to r55591: undefined variable $prefix leads to SQL query error in resolveConflictOn() --- maintenance/namespaceDupes.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/maintenance/namespaceDupes.php b/maintenance/namespaceDupes.php index abbe1095b4..b17011e3a6 100644 --- a/maintenance/namespaceDupes.php +++ b/maintenance/namespaceDupes.php @@ -281,10 +281,7 @@ class NamespaceConflictChecker extends Maintenance { } $this->output( "... *** using suffixed form [[" . $title->getPrefixedText() . "]] ***\n" ); } - $tables = array( 'page' => 'page' ); - foreach( $tables as $table ) { - $this->resolveConflictOn( $row, $table, $prefix ); - } + $this->resolveConflictOn( $row, 'page', 'page' ); return true; } -- 2.20.1