From: Robin Pepermans Date: Fri, 1 Jul 2011 20:48:16 +0000 (+0000) Subject: Add direction mark for better RTL display X-Git-Tag: 1.31.0-rc.0~29119 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=9ca4a8a567736add3857fa17368361461af88c1c;p=lhc%2Fweb%2Fwiklou.git Add direction mark for better RTL display --- diff --git a/includes/specials/SpecialContributions.php b/includes/specials/SpecialContributions.php index 1b5360c175..fb89776405 100644 --- a/includes/specials/SpecialContributions.php +++ b/includes/specials/SpecialContributions.php @@ -684,7 +684,8 @@ class ContribsPager extends ReverseChronologicalPager { $diffHistLinks = '(' . $difftext . $this->messages['pipe-separator'] . $histlink . ')'; - $diffOut = ( $this->showSizeDiff ) ? ' . . '.ChangesList::showCharacterDifference( $row->rc_old_len, $row->rc_new_len ) : ' . . '.Linker::formatRevisionSize( $row->rev_len ); + $diffOut = ' . . ' . wfUILang()->getDirMark() . ( $this->showSizeDiff ? + ChangesList::showCharacterDifference( $row->rc_old_len, $row->rc_new_len ) : Linker::formatRevisionSize( $row->rev_len ) ); $ret = "{$del}{$d} {$diffHistLinks} {$nflag}{$mflag} {$link}{$diffOut}{$userlink} {$comment} {$topmarktext}";