http://www.mediawiki.org/wiki/Special:Code/MediaWiki/99680
Revision: 99680
Author: amire80
Date: 2011-10-13 13:43:02 +0000 (Thu, 13 Oct 2011)
Log Message:
-----------
Made the arrow point in the correct direction according to the user's language,
which may be different from the wiki language.
Modified Paths:
--------------
trunk/phase3/includes/ChangesList.php
Modified: trunk/phase3/includes/ChangesList.php
===================================================================
--- trunk/phase3/includes/ChangesList.php 2011-10-13 12:34:39 UTC (rev
99679)
+++ trunk/phase3/includes/ChangesList.php 2011-10-13 13:43:02 UTC (rev
99680)
@@ -1051,8 +1051,8 @@
* @return String: HTML <img> tag
*/
protected function sideArrow() {
- global $wgContLang;
- $dir = $wgContLang->isRTL() ? 'l' : 'r';
+ global $wgLang;
+ $dir = $wgLang->isRTL() ? 'l' : 'r';
return $this->arrow( $dir, '+', wfMsg( 'rc-enhanced-expand' ) );
}
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs