* 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