From: Trevor Parscal Date: Sat, 4 Sep 2010 10:24:23 +0000 (+0000) Subject: Allow flipping skin output on $wgLang rather than $wgContLang. Resource loader gracef... X-Git-Tag: 1.31.0-rc.0~35161 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=8ebfe808d48c35b6a28f947ffb9eb34449cfe57f;p=lhc%2Fweb%2Fwiklou.git Allow flipping skin output on $wgLang rather than $wgContLang. Resource loader gracefully flips CSS for us, so this is finally an option. --- diff --git a/skins/Vector.php b/skins/Vector.php index d21bade986..90f9072fd2 100644 --- a/skins/Vector.php +++ b/skins/Vector.php @@ -364,7 +364,7 @@ class VectorTemplate extends QuickTemplate { * Outputs the entire contents of the XHTML page */ public function execute() { - global $wgRequest, $wgContLang; + global $wgRequest, $wgLang; $this->skin = $this->data['skin']; $action = $wgRequest->getText( 'action' ); @@ -456,7 +456,7 @@ class VectorTemplate extends QuickTemplate { } } // Reverse horizontally rendered navigation elements - if ( $wgContLang->isRTL() ) { + if ( $wgLang->isRTL() ) { $this->data['view_urls'] = array_reverse( $this->data['view_urls'] ); $this->data['namespace_urls'] =