From 7b85c7be518b49e7deebd832320b5fa22c7543a5 Mon Sep 17 00:00:00 2001 From: "Amir E. Aharoni" Date: Thu, 13 Oct 2011 13:43:02 +0000 Subject: [PATCH] Made the arrow point in the correct direction according to the user's language, which may be different from the wiki language. --- includes/ChangesList.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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' ) ); } -- 2.20.1