be a little clearer in add_index()
authorBrion Vibber <brion@users.mediawiki.org>
Fri, 6 Jul 2007 15:57:12 +0000 (15:57 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Fri, 6 Jul 2007 15:57:12 +0000 (15:57 +0000)
maintenance/updaters.inc

index 0bbbd2b..585679f 100644 (file)
@@ -140,9 +140,9 @@ function add_field( $table, $field, $patch, $fullpath=false ) {
 function add_index( $table, $index, $patch, $fullpath=false ) {
        global $wgDatabase;
        if( $wgDatabase->indexExists( $table, $index ) ) {
-               echo "...$index key already set.\n";
+               echo "...$index key already set on $table table.\n";
        } else {
-               echo "Adding $index key... ";
+               echo "Adding $index key to table $table... ";
                if( $fullpath ) {
                        dbsource( $patch, $wgDatabase );
                } else {