Index: trunk/extensions/SemanticGlossary/SpecialSemanticGlossaryBrowser.php |
— | — | @@ -183,7 +183,7 @@ |
184 | 184 | global $wgOut, $wgScriptPath; |
185 | 185 | |
186 | 186 | if ( defined( 'MW_SUPPORTS_RESOURCE_MODULES' ) ) { |
187 | | - $wgOut->addModules( 'ext.SemanticGlossary.Browser' ); |
| 187 | + $wgOut->addModuleStyles( 'ext.SemanticGlossary.Browser' ); |
188 | 188 | } else { |
189 | 189 | $wgOut->addHeadItem( 'ext.SemanticGlossary.Browser.css', '<link rel="stylesheet" href="' . $wgScriptPath . '/extensions/SemanticGlossary/skins/SemanticGlossaryBrowser.css" />' ); |
190 | 190 | } |
Index: trunk/extensions/SemanticGlossary/SemanticGlossary.php |
— | — | @@ -71,7 +71,7 @@ |
72 | 72 | // register resource modules with the Resource Loader |
73 | 73 | $wgResourceModules['ext.SemanticGlossary.Browser'] = array( |
74 | 74 | 'localBasePath' => $dir, |
75 | | - 'styles' => 'css/SemanticGlossaryBrowser.css', |
| 75 | + 'styles' => 'skins/SemanticGlossaryBrowser.css', |
76 | 76 | 'remoteExtPath' => 'SemanticGlossary' |
77 | 77 | ); |
78 | 78 | |