X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FshowSiteStats.php;h=49148b3390b10ab8e9714e66f6f4c8c18933c146;hb=db36d1be5a163e0917c17477e6e95f4f320fae8e;hp=e7359b2f631f096af0599dbbf09c189e84bf27fd;hpb=d514374a0062202d680af131a8479eace677be70;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/showSiteStats.php b/maintenance/showSiteStats.php index e7359b2f63..49148b3390 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;