From: Chad Horohoe Date: Mon, 13 Sep 2010 17:01:04 +0000 (+0000) Subject: (bug 20633) update.php has mixed language output X-Git-Tag: 1.31.0-rc.0~34951 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dcompta/operations/modifier.php?a=commitdiff_plain;h=9ec1f9ad449121d143e062f9b3fbd566160aea8e;p=lhc%2Fweb%2Fwiklou.git (bug 20633) update.php has mixed language output --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 81473a923b..81ae1ec749 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -319,6 +319,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * (bug 24977) The accesskey in history page now lead directly to the diff instead of alterning focus between the two buttons. * (bug 24987) Special:ListUsers does not take external groups into account +* (bug 20633) update.php has mixed language output === API changes in 1.17 === * (bug 22738) Allow filtering by action type on query=logevent. diff --git a/maintenance/update.php b/maintenance/update.php index 404374de91..9ddc3ae4b6 100644 --- a/maintenance/update.php +++ b/maintenance/update.php @@ -28,8 +28,9 @@ class UpdateMediaWiki extends Maintenance { } public function execute() { - global $wgVersion, $wgTitle; + global $wgVersion, $wgTitle, $wgLang; + $wgLang = Language::factory( 'en' ); $wgTitle = Title::newFromText( "MediaWiki database updater" ); $this->output( "MediaWiki {$wgVersion} Updater\n\n" );