From: Andrew Garrett Date: Fri, 17 Feb 2012 22:49:04 +0000 (+0000) Subject: Add both size *and* size difference on history page per bug 34449 X-Git-Tag: 1.31.0-rc.0~24647 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=af668cc7c962bf8a38ed5396ae19669b1b833c0b;p=lhc%2Fweb%2Fwiklou.git Add both size *and* size difference on history page per bug 34449 --- diff --git a/includes/actions/HistoryAction.php b/includes/actions/HistoryAction.php index 5f8c7013a0..35e3c88f32 100644 --- a/includes/actions/HistoryAction.php +++ b/includes/actions/HistoryAction.php @@ -576,7 +576,8 @@ class HistoryPager extends ReverseChronologicalPager { # Size is always public data $prevSize = $prevRev ? $prevRev->getSize() : 0; $sDiff = ChangesList::showCharacterDifference( $prevSize, $rev->getSize() ); - $s .= ' . . ' . $sDiff . ' . . '; + $fSize = Linker::formatRevisionSize($rev->getSize()); + $s .= "' . . $fSize $sDiff . . "; $s .= Linker::revComment( $rev, false, true );