r64829 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r64828‎ | r64829 | r64830 >
Date:20:39, 9 April 2010
Author:philip
Status:ok
Tags:
Comment:
Sorry it's $wgDisableLangConversion.
Modified paths:
  • /trunk/phase3/includes/parser/Parser.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/parser/Parser.php
@@ -303,7 +303,7 @@
304304 * to internalParse() which does all the real work.
305305 */
306306
307 - global $wgUseTidy, $wgAlwaysUseTidy, $wgContLang, $wgDisableLangConversion, $wgUser, $wgRequest, $wgDisableTitleConversion, $wgDisableContentConversion;
 307+ global $wgUseTidy, $wgAlwaysUseTidy, $wgContLang, $wgDisableLangConversion, $wgUser, $wgRequest, $wgDisableTitleConversion;
308308 $fname = __METHOD__.'-' . wfGetCaller();
309309 wfProfileIn( __METHOD__ );
310310 wfProfileIn( $fname );
@@ -375,7 +375,7 @@
376376 * rule but content conversion was not done, then the parser
377377 * won't pick it up. This is probably expected behavior.
378378 */
379 - if ( !( $wgDisableContentConversion
 379+ if ( !( $wgDisableLangConversion
380380 || $wgDisableTitleConversion
381381 || $wgRequest->getText( 'redirect', 'yes' ) == 'no'
382382 || $wgRequest->getText( 'linkconvert', 'yes' ) == 'no'

Status & tagging log