Index: trunk/extensions/InterfaceConcurrency/InterfaceConcurrency.php |
— | — | @@ -50,7 +50,6 @@ |
51 | 51 | |
52 | 52 | // Hooks |
53 | 53 | $wgAutoloadClasses['InterfaceConcurrencyHooks'] = $dir . 'InterfaceConcurrency.hooks.php'; |
54 | | -$wgHooks['BeforePageDisplay'][] = 'InterfaceConcurrencyHooks::beforePageDisplay'; |
55 | 54 | $wgHooks['LoadExtensionSchemaUpdates'][] = 'InterfaceConcurrencyHooks::onLoadExtensionSchemaUpdates'; |
56 | 55 | |
57 | 56 | // Resources |
Index: trunk/extensions/InterfaceConcurrency/InterfaceConcurrency.hooks.php |
— | — | @@ -2,22 +2,9 @@ |
3 | 3 | |
4 | 4 | class InterfaceConcurrencyHooks { |
5 | 5 | /** |
6 | | - * Adds Interface Concurrency JS to the output |
| 6 | + * Runs InterfaceConcurrency schema updates# |
7 | 7 | * |
8 | | - * @param $output OutputPage |
9 | | - * @param $skin Skin |
10 | | - * @return bool |
11 | | - */ |
12 | | - public static function beforePageDisplay( &$output, &$skin ) { |
13 | | - $output->addModules( array( 'jquery.interfaceConcurrency' ) ); |
14 | | - return true; |
15 | | - } |
16 | | - |
17 | | - /** |
18 | | - * Runs InterfaceConcurrency schema updates |
19 | | - * |
20 | 8 | * @param $updater DatabaseUpdater |
21 | | - * @return bool |
22 | 9 | */ |
23 | 10 | public static function onLoadExtensionSchemaUpdates( $updater = null ) { |
24 | 11 | $dir = dirname( __FILE__ ) . '/sql'; |