Followup r100722, show the full size of the page in the tooltip
authorJohn Du Hart <johnduhart@users.mediawiki.org>
Wed, 23 Nov 2011 21:01:03 +0000 (21:01 +0000)
committerJohn Du Hart <johnduhart@users.mediawiki.org>
Wed, 23 Nov 2011 21:01:03 +0000 (21:01 +0000)
includes/ChangesList.php

index d603c16..eade6cb 100644 (file)
@@ -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();
        }