From 6d894f787246498dafcca2d6da29795f42568d5d Mon Sep 17 00:00:00 2001 From: Robin Pepermans Date: Sun, 19 Jun 2011 14:27:55 +0000 Subject: [PATCH] Change $wgContLang->getDirMark() to wfUILang()->getDirMark() (improvement when $wgBetterDirectionality is enabled) --- includes/ChangesList.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/ChangesList.php b/includes/ChangesList.php index f25678d3e2..2386a3a4ad 100644 --- a/includes/ChangesList.php +++ b/includes/ChangesList.php @@ -355,7 +355,7 @@ class ChangesList { $articlelink = "{$articlelink}"; } # RTL/LTR marker - $articlelink .= $wgContLang->getDirMark(); + $articlelink .= wfUILang()->getDirMark(); wfRunHooks( 'ChangesListInsertArticleLink', array(&$this, &$articlelink, &$s, &$rc, $unpatrolled, $watched) ); @@ -867,7 +867,7 @@ class EnhancedChangesList extends ChangesList { $users = array(); foreach( $userlinks as $userlink => $count) { $text = $userlink; - $text .= $wgContLang->getDirMark(); + $text .= wfUILang()->getDirMark(); if( $count > 1 ) { $text .= ' (' . $wgLang->formatNum( $count ) . '×)'; } @@ -909,7 +909,7 @@ class EnhancedChangesList extends ChangesList { $this->insertArticleLink( $r, $block[0], $block[0]->unpatrolled, $block[0]->watched ); } - $r .= $wgContLang->getDirMark(); + $r .= wfUILang()->getDirMark(); $queryParams['curid'] = $curId; # Changes message -- 2.20.1