Page MenuHomePhabricator

API: Allow filter of revision deleted usercontribs
Open, NormalPublic


In addition to bug 20186: Please allow filtering of (revision) deleted version in usercontribs.

Maybe add a ucdeletedonly param to list=usercontribs.


Version: 1.18.x
Severity: enhancement



Related Objects

Event Timeline

bzimport raised the priority of this task from to Normal.Nov 21 2014, 11:20 PM
bzimport added a project: MediaWiki-API.
bzimport set Reference to bz26874.
bzimport added a subscriber: Unknown Object (MLST).
MER-C added a subscriber: MER-C.Jan 25 2018, 4:36 PM

Special:Contributions now has a checkbox that filters for revision deleted edits; the same functionality is desired in the API. I think it would make most sense to implement this as additional options for ucshow = { summarydeleted, !summarydeleted, contentdeleted, !contentdeleted }.

Anomie added a subscriber: Anomie.Jan 25 2018, 6:17 PM

I worry about query efficiency. What happens if someone asks for summarydeleted contribs of ClueBot on enwiki. for example?

MER-C added a comment.Jan 25 2018, 9:59 PM

I tried; the results aren't pretty. Wait until the revision table refactoring (T161671) goes through, perhaps?