dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e6ab8ec
)
Divided stylesheets into LTR and RTL versions, but also reverted strange hacks to...
author
Trevor Parscal
<tparscal@users.mediawiki.org>
Mon, 29 Jun 2009 21:38:06 +0000
(21:38 +0000)
committer
Trevor Parscal
<tparscal@users.mediawiki.org>
Mon, 29 Jun 2009 21:38:06 +0000
(21:38 +0000)
skins/Vector.php
patch
|
blob
|
history
diff --git
a/skins/Vector.php
b/skins/Vector.php
index
7f93e1f
..
93df526
100644
(file)
--- a/
skins/Vector.php
+++ b/
skins/Vector.php
@@
-35,8
+35,13
@@
class SkinVector extends SkinTemplate {
* @param object $out Output page to add styles to
*/
public function setupSkinUserCss( OutputPage $out ) {
+ global $wgContLang;
// Append to the default screen common & print styles...
- $out->addStyle( 'vector/main.css', 'screen' );
+ if ( $wgContLang->isRTL() ) {
+ $out->addStyle( 'vector/main-rtl.css', 'screen' );
+ } else {
+ $out->addStyle( 'vector/main-ltr.css', 'screen' );
+ }
// Add common styles
parent::setupSkinUserCss( $out );
}