Page MenuHomePhabricator

list=allusers auactiveusers recenteditcount value is multiplied by the number of groups
Closed, ResolvedPublic


Author: dariogiova

Consider the following queries:

As you can see the value of recenteditcount is x in the first query, 2x in the second query and 3x in the third query. My guess is that the first one returns the correct value, while the other two multiply it by the number of queried (with augroup) groups that Selenium_user belongs to.

Now consider the following query:

The value of recenteditcount is now 4x, which I guess is the number of the groups that augroup could accept and that Selenium_user belongs to. The fact that augroup is used or not doesn't influence the result in this case.

I think the value of recenteditcount should be x in all the above queries.

(Not relevant, but this bug was originally discovered in )

Version: 1.24rc
Severity: normal



Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 3:09 AM
bzimport added a project: MediaWiki-API.
bzimport set Reference to bz64505.
bzimport added a subscriber: Unknown Object (MLST).
bzimport created this task.Apr 27 2014, 2:02 PM

dariogiova wrote:

Sorry for the typo in the original subject (list=allursers should be list=allusers). may be related.

Change 130093 had a related patch set uploaded by Anomie:
API: Fix queries for list=allusers&auactiveusers

Change 130093 merged by jenkins-bot:
API: Fix queries for list=allusers&auactiveusers

Anomie added a comment.Jul 1 2014, 7:41 PM

Should be deployed to WMF wikis with 1.24wmf12, see for the schedule.