diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2011-12-03 13:29:22 +0100 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2011-12-03 13:29:22 +0100 |
commit | ca32f08966f1b51fcb19460f0996bb0c4048e6fe (patch) | |
tree | ec04cc15b867bc21eedca904cea9af0254531a11 /skins/Simple.php | |
parent | a22fbfc60f36f5f7ee10d5ae6fe347340c2ee67c (diff) |
Update to MediaWiki 1.18.0
* also update ArchLinux skin to chagnes in MonoBook
* Use only css to hide our menu bar when printing
Diffstat (limited to 'skins/Simple.php')
-rw-r--r-- | skins/Simple.php | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/skins/Simple.php b/skins/Simple.php index 87bb0b7e..61b6e786 100644 --- a/skins/Simple.php +++ b/skins/Simple.php @@ -27,12 +27,12 @@ class SkinSimple extends SkinTemplate { $out->addModuleStyles( 'skins.simple' ); /* Add some userprefs specific CSS styling */ - global $wgUser, $wgContLang; + global $wgUser; $rules = array(); $underline = ""; if ( $wgUser->getOption( 'underline' ) < 2 ) { - $underline = "text-decoration: " . $wgUser->getOption( 'underline' ) ? 'underline' : 'none' . ";"; + $underline = "text-decoration: " . $wgUser->getOption( 'underline' ) ? 'underline !important' : 'none' . ";"; } /* Also inherits from resourceloader */ @@ -42,10 +42,7 @@ class SkinSimple extends SkinTemplate { $rules[] = "a.stub:after { $underline; }"; } $style = implode( "\n", $rules ); - if ( $wgContLang->getDir() === 'rtl' ) { - $style = CSSJanus::transform( $style, true, false ); - } - $out->addInlineStyle( $style ); + $out->addInlineStyle( $style, 'flip' ); } } |