From 54b97699209271e6c9f985adaed552e928f2d41d Mon Sep 17 00:00:00 2001 From: John Du Hart Date: Wed, 23 Nov 2011 21:01:03 +0000 Subject: [PATCH] Followup r100722, show the full size of the page in the tooltip --- includes/ChangesList.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/includes/ChangesList.php b/includes/ChangesList.php index d603c1657f..eade6cb7b4 100644 --- a/includes/ChangesList.php +++ b/includes/ChangesList.php @@ -216,8 +216,10 @@ class ChangesList extends ContextSource { $formattedSizeClass = 'mw-plusminus-neg'; } + $formattedTotalSize = wfMsgExt( 'nbytes', 'parsemag', $wgLang->formatNum( $new ) ); + return Html::element( $tag, - array( 'dir' => 'ltr', 'class' => $formattedSizeClass ), + array( 'dir' => 'ltr', 'class' => $formattedSizeClass, 'title' => $formattedTotalSize ), wfMessage( 'parentheses', $formattedSize )->plain() ) . $wgLang->getDirMark(); } -- 2.20.1