http://www.mediawiki.org/wiki/Special:Code/MediaWiki/72366
Revision: 72366
Author: tparscal
Date: 2010-09-04 10:24:23 +0000 (Sat, 04 Sep 2010)
Log Message:
-----------
Allow flipping skin output on $wgLang rather than $wgContLang. Resource loader
gracefully flips CSS for us, so this is finally an option.
Modified Paths:
--------------
trunk/phase3/skins/Vector.php
Modified: trunk/phase3/skins/Vector.php
===================================================================
--- trunk/phase3/skins/Vector.php 2010-09-04 10:20:57 UTC (rev 72365)
+++ trunk/phase3/skins/Vector.php 2010-09-04 10:24:23 UTC (rev 72366)
@@ -364,7 +364,7 @@
* 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 @@
}
}
// 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'] =
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs