Index: trunk/extensions/MwEmbedSupport/MwEmbedSupport.hooks.php |
— | — | @@ -10,7 +10,7 @@ |
11 | 11 | class MwEmbedSupportHooks { |
12 | 12 | // Register MwEmbedSupport Hooks |
13 | 13 | static function register(){ |
14 | | - global $wgHooks $wgResourceModules; |
| 14 | + global $wgHooks; |
15 | 15 | // Register the core MwEmbed Support Module: |
16 | 16 | MwEmbedResourceManager::register( 'extensions/MwEmbedSupport/MwEmbedModules/MwEmbedSupport' ); |
17 | 17 | |
— | — | @@ -28,11 +28,6 @@ |
29 | 29 | |
30 | 30 | // Add the startup modules hook |
31 | 31 | $wgHooks['ResourceLoaderGetStartupModules'][] = 'MwEmbedSupportHooks::addStartupModules'; |
32 | | - $wgResourceModules['ext.MwEmbedSupport'] = array( |
33 | | - 'styles' => 'MwEmbedModules/MwEmbedSupport/skins/common/MwEmbedCommonStyle.css', |
34 | | - 'localBasePath' => dirname( __FILE__ ), |
35 | | - 'remoteExtPath' => 'MwEmbedSupport', |
36 | | - ); |
37 | 32 | return true; |
38 | 33 | } |
39 | 34 | |
— | — | @@ -51,4 +46,4 @@ |
52 | 47 | array_push($modules, 'jquery.triggerQueueCallback', 'jquery.loadingSpinner', 'jquery.mwEmbedUtil', 'mw.MwEmbedSupport' ); |
53 | 48 | return true; |
54 | 49 | } |
55 | | -} |
| 50 | +} |
\ No newline at end of file |