From: John Du Hart Date: Wed, 23 Nov 2011 21:01:03 +0000 (+0000) Subject: Followup r100722, show the full size of the page in the tooltip X-Git-Tag: 1.31.0-rc.0~26316 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=54b97699209271e6c9f985adaed552e928f2d41d;p=lhc%2Fweb%2Fwiklou.git Followup r100722, show the full size of the page in the tooltip --- 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(); }