Always define mwEmbed i18n file. Was not compatible with manual recaching and the...
authorNiklas Laxström <nikerabbit@users.mediawiki.org>
Tue, 11 Aug 2009 18:26:14 +0000 (18:26 +0000)
committerNiklas Laxström <nikerabbit@users.mediawiki.org>
Tue, 11 Aug 2009 18:26:14 +0000 (18:26 +0000)
includes/Setup.php

index a1cebae..d57cba1 100644 (file)
@@ -317,11 +317,7 @@ wfProfileIn( $fname.'-extensions' );
  * this can't be done in a normal extension type way
  * since the script-loader is an entry point
  */
-if( $wgEnableScriptLoader && strpos( wfGetScriptUrl(), "mwScriptLoader.php" ) !== false ){
-       $wgExtensionMessagesFiles['mwEmbed'] = "{$IP}/js2/mwEmbed/php/languages/mwEmbed.i18n.php";
-       wfLoadExtensionMessages( 'mwEmbed' );
-}
-
+$wgExtensionMessagesFiles['mwEmbed'] = "{$IP}/js2/mwEmbed/php/languages/mwEmbed.i18n.php";
 
 # Extension setup functions for extensions other than skins
 # Entries should be added to this variable during the inclusion