r42335 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r42334‎ | r42335 | r42336 >
Date:12:16, 22 October 2008
Author:catrope
Status:old
Tags:
Comment:
API: (bug 16047) Added activeusers attribute to meta=siteinfo&siprop=statistics output
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/includes/api/ApiQuerySiteinfo.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiQuerySiteinfo.php
@@ -239,6 +239,7 @@
240240 $data['edits'] = intval( SiteStats::edits() );
241241 $data['images'] = intval( SiteStats::images() );
242242 $data['users'] = intval( SiteStats::users() );
 243+ $data['activeusers'] = intval( SiteStats::activeUsers() );
243244 $data['admins'] = intval( SiteStats::numberingroup('sysop') );
244245 $data['jobs'] = intval( SiteStats::jobs() );
245246 $this->getResult()->addValue( 'query', $property, $data );
Index: trunk/phase3/RELEASE-NOTES
@@ -354,6 +354,8 @@
355355 sortkeys containing pipes
356356 * (bug 16018) Added uccontinue parameter to list=usercontribs so paging
357357 works properly when multiple users are queried or a userprefix is used
 358+* (bug 16047) Added activeusers attribute to meta=siteinfo&siprop=statistics
 359+ output
358360
359361 === Languages updated in 1.14 ===
360362

Status & tagging log