Remove jobqueue length from the user interface
authorNiklas Laxström <nikerabbit@users.mediawiki.org>
Thu, 15 Apr 2010 12:47:05 +0000 (12:47 +0000)
committerNiklas Laxström <nikerabbit@users.mediawiki.org>
Thu, 15 Apr 2010 12:47:05 +0000 (12:47 +0000)
It causes more confusion than it is worth:
* The figures are essentially random, so it does not help to detect problems
* There shouldn't be any problems with default configuration anyway
* The number is still accessible by other means

includes/specials/SpecialStatistics.php
languages/messages/MessagesEn.php
maintenance/language/messages.inc

index 60b98d3..6afba12 100644 (file)
@@ -153,11 +153,9 @@ class SpecialStatistics extends SpecialPage {
                                                array( 'class' => 'mw-statistics-edits' ) ) .
                                $this->formatRow( wfMsgExt( 'statistics-edits-average', array( 'parseinline' ) ),
                                                $wgLang->formatNum( sprintf( '%.2f', $this->total ? $this->edits / $this->total : 0 ) ),
-                                               array( 'class' => 'mw-statistics-edits-average' ) ) .
-                               $this->formatRow( wfMsgExt( 'statistics-jobqueue', array( 'parseinline' ) ),
-                                               $wgLang->formatNum( $this->numJobs ),
-                                               array( 'class' => 'mw-statistics-jobqueue' ) );
+                                               array( 'class' => 'mw-statistics-edits-average' ) );
        }
+
        private function getUserStats() {
                global $wgLang, $wgUser, $wgRCMaxAge;
                $sk = $wgUser->getSkin();
index 93dfeea..9ba52fb 100644 (file)
@@ -2321,7 +2321,6 @@ Remember to check for other links to the templates before deleting them.',
 'statistics-edits-average'     => 'Average edits per page',
 'statistics-views-total'       => 'Views total',
 'statistics-views-peredit'     => 'Views per edit',
-'statistics-jobqueue'          => '[http://www.mediawiki.org/wiki/Manual:Job_queue Job queue] length',
 'statistics-users'             => 'Registered [[Special:ListUsers|users]]',
 'statistics-users-active'      => 'Active users',
 'statistics-users-active-desc' => 'Users who have performed an action in the last {{PLURAL:$1|day|$1 days}}',
index d3b1f8f..cdff4d5 100644 (file)
@@ -1424,7 +1424,6 @@ $wgMessageStructure = array(
                'statistics-edits-average',
                'statistics-views-total',
                'statistics-views-peredit',
-               'statistics-jobqueue',
                'statistics-users',
                'statistics-users-active',
                'statistics-users-active-desc',