(bug 20633) update.php has mixed language output
authorChad Horohoe <demon@users.mediawiki.org>
Mon, 13 Sep 2010 17:01:04 +0000 (17:01 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Mon, 13 Sep 2010 17:01:04 +0000 (17:01 +0000)
RELEASE-NOTES
maintenance/update.php

index 81473a9..81ae1ec 100644 (file)
@@ -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.
index 404374d..9ddc3ae 100644 (file)
@@ -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" );