Made the arrow point in the correct direction according to the user's language, which...
authorAmir E. Aharoni <amire80@users.mediawiki.org>
Thu, 13 Oct 2011 13:43:02 +0000 (13:43 +0000)
committerAmir E. Aharoni <amire80@users.mediawiki.org>
Thu, 13 Oct 2011 13:43:02 +0000 (13:43 +0000)
includes/ChangesList.php

index 08e0718..a407277 100644 (file)
@@ -1051,8 +1051,8 @@ class EnhancedChangesList extends ChangesList {
         * @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' ) );
        }