r82560 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r82559‎ | r82560 | r82561 >
Date:17:58, 21 February 2011
Author:jeroendedauw
Status:deferred
Tags:
Comment:
RL support check tweak
Modified paths:
  • /trunk/extensions/LiveTranslate/LiveTranslate.php (modified) (history)

Diff [purge]

Index: trunk/extensions/LiveTranslate/LiveTranslate.php
@@ -84,7 +84,7 @@
8585 );
8686
8787 // For backward compatibility with MW < 1.17.
88 -if ( is_callable( array( 'OutputPage', 'addModules' ) ) ) {
 88+if ( defined( 'MW_SUPPORTS_RESOURCE_MODULES' ) ) {
8989 $moduleTemplate = array(
9090 'localBasePath' => dirname( __FILE__ ),
9191 'remoteBasePath' => $egLiveTranslateScriptPath,

Status & tagging log