From 21cd7ad7b1524509cec556711a957671f329aacf Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Fri, 10 Dec 2004 06:05:30 +0000 Subject: [PATCH] Print the database name and give a chance to abort --- maintenance/update.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/maintenance/update.php b/maintenance/update.php index 955be7ddc6..1bd6cb26a2 100644 --- a/maintenance/update.php +++ b/maintenance/update.php @@ -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"; -- 2.20.1