Create API for mass deleting pages (aka Special:Nuke)
Open, NormalPublic

Description

People would like an API module that can mass delete things, aka Special:Nuke

Details

Reference
bz33470
bzimport raised the priority of this task from to Normal.
bzimport set Reference to bz33470.
bzimport added a subscriber: Unknown Object (MLST).
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptOct 16 2015, 6:40 PM
Reedy set Security to None.Nov 29 2015, 1:59 PM
Reedy added a project: MediaWiki-API.
Reedy moved this task from Unsorted to Non-core-API stuff on the MediaWiki-API board.
Reedy removed a subscriber: wikibugs-l-list.
Mainframe98 added a subscriber: Mainframe98.

I've got a patch ready for this bug.

Change 341133 had a related patch set uploaded (by mainframe98):
[mediawiki/extensions/Nuke] add an API module for Nuke

https://gerrit.wikimedia.org/r/341133

Mainframe98 added a subscriber: Anomie.EditedMar 8 2017, 10:28 AM

@Anomie raised a valid concern related to this issue: Do we really need an API for Nuke? If I take this script for example, it utilizes existing API modules to emulate the nuke functionality, with the only drawback being that it has to delete each page individually.

Change 341133 abandoned by Mainframe98:
add an API module for Nuke

Reason:
See last comment of Anomie, an action=massdelete would be better.

https://gerrit.wikimedia.org/r/341133

Mainframe98 removed Mainframe98 as the assignee of this task.Apr 6 2017, 8:16 AM

I'll de-assign myself from this. I think it would be best to think up a strategy to tackle this bug, before submitting any patches.

Legoktm renamed this task from create api for Special:Nuke to Create API for mass deleting pages (aka Special:Nuke).
Legoktm updated the task description. (Show Details)
Legoktm added a subscriber: Legoktm.Mar 2 2018, 3:36 AM

I clarified the summary that people just want an API to mass delete pages, not necessarily the full equivalent of Special:Nuke. I wonder if we could have action=delete take a generator?

Anomie added a comment.Mar 2 2018, 3:51 PM

That is a possibility.