From c1f9b1f7b1b77776192048005dcc66dcf3df2bfb Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Sat, 27 Dec 2014 15:41:37 +0100 Subject: Update to MediaWiki 1.24.1 --- maintenance/showSiteStats.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'maintenance/showSiteStats.php') diff --git a/maintenance/showSiteStats.php b/maintenance/showSiteStats.php index 49148b33..374a66e9 100644 --- a/maintenance/showSiteStats.php +++ b/maintenance/showSiteStats.php @@ -41,6 +41,7 @@ class ShowSiteStats extends Maintenance { parent::__construct(); $this->mDescription = "Show the cached statistics"; } + public function execute() { $fields = array( 'ss_total_views' => 'Total views', @@ -65,7 +66,11 @@ class ShowSiteStats extends Maintenance { // Show them foreach ( $fields as $field => $desc ) { - $this->output( sprintf( "%-{$max_length_desc}s: %{$max_length_value}d\n", $desc, $stats->$field ) ); + $this->output( sprintf( + "%-{$max_length_desc}s: %{$max_length_value}d\n", + $desc, + $stats->$field + ) ); } } } -- cgit v1.2.3-54-g00ecf