From 56d0e5d9439f709bcb0c45057f52c0ba52d28fb2 Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Mon, 8 Mar 2010 22:36:52 +0000 Subject: [PATCH] Minor comment for r63428 --- includes/api/ApiParse.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/api/ApiParse.php b/includes/api/ApiParse.php index 6b9ddbbbcf..aee70acff9 100644 --- a/includes/api/ApiParse.php +++ b/includes/api/ApiParse.php @@ -54,6 +54,7 @@ class ApiParse extends ApiBase { // $title parameter in Parser::parse isn't enough *sigh* global $wgParser, $wgUser, $wgTitle, $wgEnableParserCache, $wgLang; + //Current unncessary, code to act as a safeguard against any change in current behaviour of uselang breaks if ( isset( $params['uselang'] ) && $params['uselang'] != $wgLang->getCode() ) { $oldLang = $wgLang; //Backup wgLang $wgLang = Language::factory( $params['uselang'] ); -- 2.20.1