Index: trunk/extensions/Configure/Configure.page.php |
— | — | @@ -894,12 +894,12 @@ |
895 | 895 | * Inject JavaScripts and Stylesheets in page output |
896 | 896 | */ |
897 | 897 | protected function injectScriptsAndStyles() { |
898 | | - global $wgOut, $wgScriptPath, $wgJsMimeType, $wgConfigureStyleVersion, $wgConfigureAddJsVariables; |
| 898 | + global $wgOut, $wgScriptPath, $wgConfigureStyleVersion, $wgConfigureAddJsVariables; |
899 | 899 | |
900 | 900 | $wgConfigureAddJsVariables = true; // tell efConfigureMakeGlobalVariablesScript() to add JS variables |
901 | 901 | |
902 | 902 | $wgOut->addExtensionStyle( "{$wgScriptPath}/extensions/Configure/Configure.css?{$wgConfigureStyleVersion}" ); |
903 | | - $wgOut->addScriptClass( 'Configure' ); |
| 903 | + $wgOut->addScriptFile( "{$wgScriptPath}/extensions/Configure/Configure.js?{$wgConfigureStyleVersion}" ); |
904 | 904 | } |
905 | 905 | |
906 | 906 | /** |
Index: trunk/extensions/Configure/CHANGELOG |
— | — | @@ -1,6 +1,9 @@ |
2 | 2 | This file lists changes on this extension. |
3 | 3 | Localisation updates are done on betawiki and aren't listed here. |
4 | 4 | |
| 5 | +0.14.15 - 26 November 2009 |
| 6 | + Removed ScriptLoader usage (removed from MediaWiki). |
| 7 | + |
5 | 8 | 0.14.14 - 19 September 2009 |
6 | 9 | Updated Collection, FlaggedRevs and OggHandler extensions. |
7 | 10 | |
Index: trunk/extensions/Configure/Configure.php |
— | — | @@ -18,7 +18,7 @@ |
19 | 19 | 'url' => 'http://www.mediawiki.org/wiki/Extension:Configure', |
20 | 20 | 'description' => 'Allow authorised users to configure the wiki via a web-based interface', |
21 | 21 | 'descriptionmsg' => 'configure-desc', |
22 | | - 'version' => '0.14.14', |
| 22 | + 'version' => '0.14.15', |
23 | 23 | ); |
24 | 24 | |
25 | 25 | # Configuration part |
— | — | @@ -284,5 +284,4 @@ |
285 | 285 | $wgAjaxExportList[] = 'efConfigureAjax'; |
286 | 286 | |
287 | 287 | # JS stuff |
288 | | -$wgJSAutoloadClasses['Configure'] = 'extensions/Configure/Configure.js'; |
289 | 288 | $wgHooks['MakeGlobalVariablesScript'][] = 'efConfigureMakeGlobalVariablesScript'; |