aboutsummaryrefslogtreecommitdiffstats
path: root/maintenance/update.php
diff options
context:
space:
mode:
authorTimo Tijhof <krinklemail@gmail.com>2020-02-25 01:33:18 +0000
committerKrinkle <krinklemail@gmail.com>2020-02-25 02:16:12 +0000
commitf575721a06de34bf8e781d7900047521dc260d65 (patch)
tree473c718659b1ad4ec2e26f2e0082414f9cfc2160 /maintenance/update.php
parenta5d5ea82cad38a67b31e52fe471a978f09ae6069 (diff)
downloadmediawikicore-f575721a06de34bf8e781d7900047521dc260d65.tar.gz
mediawikicore-f575721a06de34bf8e781d7900047521dc260d65.zip
Update all use of $wgVersion to MW_VERSION
Follows-up I04628de4152dd5. Bug: T212738 Change-Id: I718474ec0d9fd29ac2c05477f0f2493615d8aff5
Diffstat (limited to 'maintenance/update.php')
-rwxr-xr-xmaintenance/update.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/maintenance/update.php b/maintenance/update.php
index aa8d295b2eb6..270b4a4ee031 100755
--- a/maintenance/update.php
+++ b/maintenance/update.php
@@ -77,7 +77,7 @@ class UpdateMediaWiki extends Maintenance {
}
public function execute() {
- global $wgVersion, $wgLang, $wgAllowSchemaUpdates, $wgMessagesDirs;
+ global $wgLang, $wgAllowSchemaUpdates, $wgMessagesDirs;
if ( !$wgAllowSchemaUpdates
&& !( $this->hasOption( 'force' )
@@ -113,7 +113,7 @@ class UpdateMediaWiki extends Maintenance {
define( 'MW_UPDATER', true );
- $this->output( "MediaWiki {$wgVersion} Updater\n\n" );
+ $this->output( 'MediaWiki ' . MW_VERSION . " Updater\n\n" );
wfWaitForSlaves();