From: Tim Starling Date: Thu, 24 Sep 2009 05:38:46 +0000 (+0000) Subject: Fix total breakage of namespaceDupes.php due to r55591: undefined variable $prefix... X-Git-Tag: 1.31.0-rc.0~39549 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22articles%22%2C%22id_article=%24id_article%22%29%20.%20%22?a=commitdiff_plain;h=d16808ebeb6660d95e4f66e0c50c6b67666ad7c3;p=lhc%2Fweb%2Fwiklou.git Fix total breakage of namespaceDupes.php due to r55591: undefined variable $prefix leads to SQL query error in resolveConflictOn() --- 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; }