r90297 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r90296‎ | r90297 | r90298 >
Date:17:13, 17 June 2011
Author:jeroendedauw
Status:deferred
Tags:
Comment:
fixed mw < 1.17 bug
Modified paths:
  • /trunk/extensions/LiveTranslate/includes/LiveTranslate_Functions.php (modified) (history)

Diff [purge]

Index: trunk/extensions/LiveTranslate/includes/LiveTranslate_Functions.php
@@ -76,6 +76,11 @@
7777 );
7878 break;
7979 case LTS_MS:
 80+ $wgOut->addScript(
 81+ Html::inlineScript(
 82+ 'var ltMsAppId = ' . FormatJson::encode( $GLOBALS['egLiveTranslateMSAppId'] ) . ';'
 83+ )
 84+ );
8085 $wgOut->addHeadItem(
8186 'ext.lt.ms',
8287 Html::linkedScript( $egLiveTranslateScriptPath . '/includes/ext.lt.ms.js' )

Status & tagging log