Print the database name and give a chance to abort
authorBrion Vibber <brion@users.mediawiki.org>
Fri, 10 Dec 2004 06:05:30 +0000 (06:05 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Fri, 10 Dec 2004 06:05:30 +0000 (06:05 +0000)
maintenance/update.php

index 955be7d..1bd6cb2 100644 (file)
@@ -13,6 +13,12 @@ require_once( "updaters.inc" );
 $wgTitle = Title::newFromText( "MediaWiki database updater" );
 $wgDatabase = Database::newFromParams( $wgDBserver, $wgDBadminuser, $wgDBadminpassword, $wgDBname );
 
+print "Going to run database updates for $wgDBname\n";
+print "Depending on the size of your database this may take a while!\n";
+print "Abort with control-c in the next five seconds or...\n";
+sleep(5);
+
+
 do_all_updates();
 
 print "Done.\n";