Last modified: 2014-07-01 19:41:29 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T69301, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 67301 - list=allusers "recenteditcount" result property is inaccurately named
list=allusers "recenteditcount" result property is inaccurately named
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-06-30 13:36 UTC by billinghurst
Modified: 2014-07-01 19:41 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description billinghurst 2014-06-30 13:36:45 UTC
I was doing some checking on activity using the API at a WMF wiki, and
found that the wiki was reporting that in some cases that the recentedit
count was reporting higher than editcount, and in some cases significantly
higher.

https://tt.wikipedia.org/w/api.php?action=query&list=allusers&auactiveusers&auwitheditsonly&aulimit=500&auprop=editcount
eg. <u userid="3235" name="[redacted]" editcount="1" recenteditcount="121"
/>

I checked logs for administrative rights, or patrolling, and they showed
nothing.

Reported to Mediawiki-L and declared a bug
Comment 1 Brad Jorsch 2014-06-30 15:24:45 UTC
"editcount" counts edits, specifically the creation of new revisions. "recenteditcount" counts all actions in recent changes; in the case of the user you mention, his recent "edits" appear to be Wikidata changes.

The real problem is probably that "recenteditcount" should be named "recentactions", but changing that is difficult due to backwards-compatibility concerns. I'm going to retitle the bug accordingly.
Comment 2 Gerrit Notification Bot 2014-06-30 16:34:40 UTC
Change 130093 had a related patch set uploaded by Anomie:
API: Fix queries for list=allusers&auactiveusers

https://gerrit.wikimedia.org/r/130093
Comment 3 Gerrit Notification Bot 2014-07-01 19:15:03 UTC
Change 130093 merged by jenkins-bot:
API: Fix queries for list=allusers&auactiveusers

https://gerrit.wikimedia.org/r/130093
Comment 4 Brad Jorsch 2014-07-01 19:41:29 UTC
Should be deployed to WMF wikis with 1.24wmf12, see https://www.mediawiki.org/wiki/MediaWiki_1.24/Roadmap for the schedule.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links