From: Tim Starling Date: Sun, 4 Jun 2006 05:42:18 +0000 (+0000) Subject: added jobs field to action=raw output X-Git-Tag: 1.31.0-rc.0~56900 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/password.php?a=commitdiff_plain;h=9f6807f26855fd9fd1d985739834e786334b631a;p=lhc%2Fweb%2Fwiklou.git added jobs field to action=raw output --- diff --git a/includes/SpecialStatistics.php b/includes/SpecialStatistics.php index 34351fb39f..5903546ade 100644 --- a/includes/SpecialStatistics.php +++ b/includes/SpecialStatistics.php @@ -55,7 +55,7 @@ function wfSpecialStatistics() { if ($action == 'raw') { $wgOut->disable(); header( 'Pragma: nocache' ); - echo "total=$total;good=$good;views=$views;edits=$edits;users=$users;admins=$admins;images=$images\n"; + echo "total=$total;good=$good;views=$views;edits=$edits;users=$users;admins=$admins;images=$images;jobs=$numJobs\n"; return; } else { $text = '==' . wfMsg( 'sitestats' ) . "==\n" ; @@ -76,7 +76,7 @@ function wfSpecialStatistics() { $wgLang->formatNum( $users ), $wgLang->formatNum( $admins ), '[[' . wfMsgForContent( 'administrators' ) . ']]', - // should logically be after #admins, danm backwards compatability! + // should logically be after #admins, damn backwards compatability! $wgLang->formatNum( sprintf( '%.2f', $admins / $users * 100 ) ) );