From: Robin Pepermans Date: Sun, 19 Jun 2011 14:27:55 +0000 (+0000) Subject: Change $wgContLang->getDirMark() to wfUILang()->getDirMark() (improvement when $wgBet... X-Git-Tag: 1.31.0-rc.0~29419 X-Git-Url: http://git.cyclocoop.org/%22.%24h.%22?a=commitdiff_plain;h=6d894f787246498dafcca2d6da29795f42568d5d;p=lhc%2Fweb%2Fwiklou.git Change $wgContLang->getDirMark() to wfUILang()->getDirMark() (improvement when $wgBetterDirectionality is enabled) --- 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