in the way it is possible for Monobook with [[MediaWiki:Monobook.css]]. This patch adds this
capability, at [[MediaWiki:Standard.css]] (well, technically, at
[[MediaWiki:<nameoftheskin>.css]], so it's not my fault it's called "Standard" and not
"Classic". ;-) )
function doGetUserStyles()
{
- global $wgUser;
+ global $wgUser, $wgLang;
+
+ $csspage = $wgLang->getNsText( NS_MEDIAWIKI ) . ":" . $this->getSkinName() . ".css";
+ $s = '@import "'.$this->makeUrl($csspage, 'action=raw&ctype=text/css')."\";\n";
- $s = '';
if ( 1 == $wgUser->getOption( 'underline' ) ) {
# Don't override browser settings
} else {
# CHECK MERGE @@@
# Force no underline
- $s .= 'a { ' .
- "text-decoration: none; }\n";
+ $s .= "a { text-decoration: none; }\n";
}
if ( 1 == $wgUser->getOption( 'highlightbroken' ) ) {
$s .= "a.new, #quickbar a.new { color: #CC2200; }\n";