Remove some unneeded spaces in output
authorSiebrand Mazeland <siebrand@users.mediawiki.org>
Tue, 10 Feb 2009 23:58:16 +0000 (23:58 +0000)
committerSiebrand Mazeland <siebrand@users.mediawiki.org>
Tue, 10 Feb 2009 23:58:16 +0000 (23:58 +0000)
maintenance/language/StatOutputs.php

index f65b263..b41278b 100644 (file)
@@ -48,7 +48,7 @@ class wikiStatsOutput extends statsOutput {
                echo '';
        }
        function element( $in, $heading = false ) {
-               echo ($heading ? '!' : '|') . " $in\n";
+               echo ($heading ? '!' : '|') . "$in\n";
        }
        function formatPercent( $subset, $total, $revert = false, $accuracy = 2 ) {
                $v = @round(255 * $subset / $total);
@@ -68,7 +68,7 @@ class wikiStatsOutput extends statsOutput {
                $color = $red . $green . $blue;
 
                $percent = statsOutput::formatPercent( $subset, $total, $revert, $accuracy );
-               return 'bgcolor="#'. $color .'" | '. $percent;
+               return 'bgcolor="#'. $color .'"|'. $percent;
        }
 }