r63430 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r63429‎ | r63430 | r63431 >
Date:22:36, 8 March 2010
Author:reedy
Status:ok
Tags:
Comment:
Minor comment for r63428
Modified paths:
  • /trunk/phase3/includes/api/ApiParse.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiParse.php
@@ -54,6 +54,7 @@
5555 // $title parameter in Parser::parse isn't enough *sigh*
5656 global $wgParser, $wgUser, $wgTitle, $wgEnableParserCache, $wgLang;
5757
 58+ //Current unncessary, code to act as a safeguard against any change in current behaviour of uselang breaks
5859 if ( isset( $params['uselang'] ) && $params['uselang'] != $wgLang->getCode() ) {
5960 $oldLang = $wgLang; //Backup wgLang
6061 $wgLang = Language::factory( $params['uselang'] );

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r63428* (bug 22764) uselang parameter for action=parse...reedy22:32, 8 March 2010

Status & tagging log