From 4ac9fa081a7c045f6a9f1cfc529d82423f485b2e Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Sun, 8 Dec 2013 09:55:49 +0100 Subject: Update to MediaWiki 1.22.0 --- maintenance/showSiteStats.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'maintenance/showSiteStats.php') diff --git a/maintenance/showSiteStats.php b/maintenance/showSiteStats.php index e7359b2f..49148b33 100644 --- a/maintenance/showSiteStats.php +++ b/maintenance/showSiteStats.php @@ -29,7 +29,7 @@ * @license GNU General Public License 2.0 or later */ -require_once( __DIR__ . '/Maintenance.php' ); +require_once __DIR__ . '/Maintenance.php'; /** * Maintenance script to show the cached statistics. @@ -48,6 +48,7 @@ class ShowSiteStats extends Maintenance { 'ss_good_articles' => 'Number of articles', 'ss_total_pages' => 'Total pages', 'ss_users' => 'Number of users', + 'ss_active_users' => 'Active users', 'ss_images' => 'Number of images', ); @@ -59,7 +60,7 @@ class ShowSiteStats extends Maintenance { $max_length_value = $max_length_desc = 0; foreach ( $fields as $field => $desc ) { $max_length_value = max( $max_length_value, strlen( $stats->$field ) ); - $max_length_desc = max( $max_length_desc, strlen( $desc ) ) ; + $max_length_desc = max( $max_length_desc, strlen( $desc ) ); } // Show them @@ -70,4 +71,4 @@ class ShowSiteStats extends Maintenance { } $maintClass = "ShowSiteStats"; -require_once( RUN_MAINTENANCE_IF_MAIN ); +require_once RUN_MAINTENANCE_IF_MAIN; -- cgit v1.2.3-54-g00ecf