dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b307197
)
Print the database name and give a chance to abort
author
Brion Vibber
<brion@users.mediawiki.org>
Fri, 10 Dec 2004 06:05:30 +0000
(06:05 +0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Fri, 10 Dec 2004 06:05:30 +0000
(06:05 +0000)
maintenance/update.php
patch
|
blob
|
history
diff --git
a/maintenance/update.php
b/maintenance/update.php
index
955be7d
..
1bd6cb2
100644
(file)
--- 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";