From 9ec1f9ad449121d143e062f9b3fbd566160aea8e Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Mon, 13 Sep 2010 17:01:04 +0000 Subject: [PATCH] (bug 20633) update.php has mixed language output --- RELEASE-NOTES | 1 + maintenance/update.php | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) 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" ); -- 2.20.1