Merge "Add PLURAL support and "human readable" sizes for mediastatistics messages"
[lhc/web/wiklou.git] / includes / specials / SpecialMediaStatistics.php
index b49b669..fb78a40 100644 (file)
@@ -139,6 +139,8 @@ class MediaStatisticsPage extends QueryPage {
                }
                if ( $prevMediaType !== null ) {
                        $this->outputTableEnd();
+                       // add total size of all files
+                       $this->outputMediaType( 'total' );
                        $this->getOutput()->addWikiText(
                                $this->msg( 'mediastatistics-allbytes' )
                                        ->numParams( $this->totalSize )