Index: trunk/extensions/FlaggedRevs/FlaggedRevs.hooks.php |
— | — | @@ -58,8 +58,7 @@ |
59 | 59 | $encCssFile = htmlspecialchars( "$stylePath/flaggedrevs.css?$wgFlaggedRevStyleVersion" ); |
60 | 60 | $encJsFile = htmlspecialchars( "$stylePath/flaggedrevs.js?$wgFlaggedRevStyleVersion" ); |
61 | 61 | # Add CSS file |
62 | | - $linkedStyle = Html::linkedStyle( $encCssFile ); |
63 | | - $wgOut->addHeadItem( 'FlaggedRevs', $linkedStyle ); |
| 62 | + $wgOut->addExtensionStyle( $encCssFile ); |
64 | 63 | # Add main JS file |
65 | 64 | $wgOut->includeJQuery(); |
66 | 65 | $wgOut->addScriptFile( $encJsFile ); |