From: jenkins-bot Date: Wed, 13 Nov 2013 16:09:09 +0000 (+0000) Subject: Merge "Use capital as first letter for class names" X-Git-Tag: 1.31.0-rc.0~18165 X-Git-Url: http://git.cyclocoop.org//%27http:/jquery.khurshid.com/ifixpng.php/%27?a=commitdiff_plain;h=35b74b43254d4abe48c236805a4989069c55bf55;p=lhc%2Fweb%2Fwiklou.git Merge "Use capital as first letter for class names" --- 35b74b43254d4abe48c236805a4989069c55bf55 diff --cc maintenance/language/StatOutputs.php index 0d6e159ea6,e1dc725c37..4e845f1336 --- a/maintenance/language/StatOutputs.php +++ b/maintenance/language/StatOutputs.php @@@ -24,12 -24,9 +24,12 @@@ */ /** A general output object. Need to be overriden */ - class statsOutput { + class StatsOutput { function formatPercent( $subset, $total, $revert = false, $accuracy = 2 ) { - return @sprintf( '%.' . $accuracy . 'f%%', 100 * $subset / $total ); + wfSuppressWarnings(); + $return = sprintf( '%.' . $accuracy . 'f%%', 100 * $subset / $total ); + wfRestoreWarnings(); + return $return; } # Override the following methods