Add direction mark for better RTL display
authorRobin Pepermans <robin@users.mediawiki.org>
Fri, 1 Jul 2011 20:48:16 +0000 (20:48 +0000)
committerRobin Pepermans <robin@users.mediawiki.org>
Fri, 1 Jul 2011 20:48:16 +0000 (20:48 +0000)
includes/specials/SpecialContributions.php

index 1b5360c..fb89776 100644 (file)
@@ -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}";