Page MenuHomePhabricator

Need a username parameter in query-continue for API usercontribs
Closed, ResolvedPublic


Author: herd

query-continue in list=usercontribs with multiple usernames (ucuser=foo|bar or ucuserprefix, user or IP) cannot query-continue completely:

Example: if has 500 edits and .90 has one chronologically in the middle, the query-continue will never find the one by .90:

Another example with logged in users (sorted by userID in this case):|Tim_Starling

Ideally, after listing all contributions by first users (numerically by IP, numerically by user ID), the next user's list would start.

More ideally would to be sorting all matched users' contribs by time in a mixed format, but this was deemed too inefficient.

Version: 1.14.x
Severity: normal



Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:20 PM
bzimport set Reference to bz16018.

Created attachment 5449

The attached patch fixes this bug by introducing a uccontinue parameter which contains both the username and the timestamp to continue at. In single user mode (i.e. one username in ucuser), ucstart is still used as query-continue parameter.