From af668cc7c962bf8a38ed5396ae19669b1b833c0b Mon Sep 17 00:00:00 2001 From: Andrew Garrett Date: Fri, 17 Feb 2012 22:49:04 +0000 Subject: [PATCH] Add both size *and* size difference on history page per bug 34449 --- includes/actions/HistoryAction.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 ); -- 2.20.1