From: Amir E. Aharoni Date: Thu, 13 Oct 2011 13:43:02 +0000 (+0000) Subject: Made the arrow point in the correct direction according to the user's language, which... X-Git-Tag: 1.31.0-rc.0~27121 X-Git-Url: http://git.cyclocoop.org/%24self?a=commitdiff_plain;h=7b85c7be518b49e7deebd832320b5fa22c7543a5;p=lhc%2Fweb%2Fwiklou.git Made the arrow point in the correct direction according to the user's language, which may be different from the wiki language. --- diff --git a/includes/ChangesList.php b/includes/ChangesList.php index 08e0718d6c..a407277e0e 100644 --- a/includes/ChangesList.php +++ b/includes/ChangesList.php @@ -1051,8 +1051,8 @@ class EnhancedChangesList extends ChangesList { * @return String: HTML 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' ) ); }