From 9f6807f26855fd9fd1d985739834e786334b631a Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Sun, 4 Jun 2006 05:42:18 +0000 Subject: [PATCH] added jobs field to action=raw output --- includes/SpecialStatistics.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ) ) ); -- 2.20.1