Page MenuHomePhabricator

Only include page revisions in the contributions endpoints
Closed, ResolvedPublic


In the initial implementation of the contributions endpoints (/me/contributions, /user/{name}/contributions), the listing may include contributions that are not proper page revisions, but injected contributions from extensions like Flow. These other kinds of contributions should be modeled separately. For now, they should not be included at all. This would also ensure consistency with the /me/contributions/count endpoint, which only counts page revisions.

See also: T257838

Event Timeline

daniel created this task.Jul 13 2020, 1:59 PM

Change 613211 had a related patch set uploaded (by Nikki Nikkhoui; owner: Nikki Nikkhoui):
[mediawiki/core@master] Add option to not call onContribsPager__reallyDoQuery hook

Change 613211 merged by jenkins-bot:
[mediawiki/core@master] Add option to not call onContribsPager__reallyDoQuery hook

eprodromou added a subscriber: nnikkhoui.

Will re-post this comment here as it is relevant to this ticket specifically!

eprodromou closed this task as Resolved.Sep 16 2020, 2:57 PM