Index: trunk/extensions/Configure/CHANGELOG |
— | — | @@ -1,7 +1,11 @@ |
2 | 2 | This file lists changes on this extension. Localisation updates are done |
3 | 3 | through translatewiki.net and are not listed here. |
4 | 4 | |
5 | | -0.16.0 - 22 February 2010 |
| 5 | +0.16.1 - 24 Februara 2011 |
| 6 | + Use an extension function rather than SetupAfterCache hook when delaying |
| 7 | + settings extraction. |
| 8 | + |
| 9 | +0.16.0 - 22 February 2011 |
6 | 10 | Rewrote the extension to use the ressource loader and jQuery. |
7 | 11 | THIS VERSION NOW REQUIRES MediaWiki 1.17 TO WORK. |
8 | 12 | |
Index: trunk/extensions/Configure/Configure.func.php |
— | — | @@ -39,8 +39,8 @@ |
40 | 40 | |
41 | 41 | if ( $wgConfigureAllowDeferSetup && $wgConfigureHandler == 'db' ) { |
42 | 42 | // Defer to after caches and database are set up. |
43 | | - global $wgHooks; |
44 | | - $wgHooks['SetupAfterCache'][] = array( 'efConfigureInitialise' ); |
| 43 | + global $wgExtensionFunctions; |
| 44 | + $wgExtensionFunctions[] = 'efConfigureInitialise'; |
45 | 45 | } else { |
46 | 46 | efConfigureInitialise(); |
47 | 47 | } |
Index: trunk/extensions/Configure/Configure.php |
— | — | @@ -17,7 +17,7 @@ |
18 | 18 | 'author' => array( 'Alexandre Emsenhuber', 'Andrew Garrett' ), |
19 | 19 | 'url' => 'http://www.mediawiki.org/wiki/Extension:Configure', |
20 | 20 | 'descriptionmsg' => 'configure-desc', |
21 | | - 'version' => '0.16.0', |
| 21 | + 'version' => '0.16.1', |
22 | 22 | ); |
23 | 23 | |
24 | 24 | # Configuration part |
— | — | @@ -281,8 +281,8 @@ |
282 | 282 | |
283 | 283 | # Ressource loader |
284 | 284 | $wgResourceModules['ext.configure'] = array( |
285 | | - 'scripts' => 'configure.js', |
286 | | - 'styles' => 'configure.css', |
| 285 | + 'scripts' => 'Configure.js', |
| 286 | + 'styles' => 'Configure.css', |
287 | 287 | |
288 | 288 | 'messages' => array( |
289 | 289 | 'configure-js-add', |