Index: trunk/extensions/Translate/TranslateUtils.php |
— | — | @@ -248,9 +248,7 @@ |
249 | 249 | |
250 | 250 | global $wgHooks, $wgOut, $wgTranslateCssLocation; |
251 | 251 | if ( $wgTranslateCssLocation ) { |
252 | | - $wgOut->addLink( array( 'rel' => 'stylesheet', 'type' => 'text/css', |
253 | | - 'href' => "$wgTranslateCssLocation/Translate.css", ) |
254 | | - ); |
| 252 | + $wgOut->addExtensionStyle( "$wgTranslateCssLocation/Translate.css" ); |
255 | 253 | } else { |
256 | 254 | $wgHooks['SkinTemplateSetupPageCss'][] = array( __CLASS__ , 'injectCSSCB' ); |
257 | 255 | } |