From 4356486697fd8cf7c047d02092a030786216dd6c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Niklas=20Laxstr=C3=B6m?= Date: Tue, 11 Aug 2009 18:26:14 +0000 Subject: [PATCH] Always define mwEmbed i18n file. Was not compatible with manual recaching and the performance impact should not matter. --- includes/Setup.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/includes/Setup.php b/includes/Setup.php index a1cebaefa5..d57cba19df 100644 --- a/includes/Setup.php +++ b/includes/Setup.php @@ -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 -- 2.20.1