Fix total breakage of namespaceDupes.php due to r55591: undefined variable $prefix...
authorTim Starling <tstarling@users.mediawiki.org>
Thu, 24 Sep 2009 05:38:46 +0000 (05:38 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Thu, 24 Sep 2009 05:38:46 +0000 (05:38 +0000)
maintenance/namespaceDupes.php

index abbe109..b17011e 100644 (file)
@@ -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;
        }