dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
153bd8f
)
Merge "Define 'MW_UPDATER' when running update.php"
author
jenkins-bot
<jenkins-bot@gerrit.wikimedia.org>
Thu, 5 Dec 2013 21:59:32 +0000
(21:59 +0000)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Thu, 5 Dec 2013 21:59:32 +0000
(21:59 +0000)
maintenance/update.php
patch
|
blob
|
history
diff --git
a/maintenance/update.php
b/maintenance/update.php
index
51bbd6f
..
e01406d
100644
(file)
--- a/
maintenance/update.php
+++ b/
maintenance/update.php
@@
-106,6
+106,8
@@
class UpdateMediaWiki extends Maintenance {
$wgLang = Language::factory( 'en' );
$wgTitle = Title::newFromText( "MediaWiki database updater" );
+ define( 'MW_UPDATER', true );
+
$this->output( "MediaWiki {$wgVersion} Updater\n\n" );
wfWaitForSlaves( 5 ); // let's not kill databases, shall we? ;) --tor