Page MenuHomePhabricator

API: revision deletion
Closed, ResolvedPublic

Description

Author: matthew.britton

Description:
The API currently does not allow revision deletion.

While it is not enabled by default, revision deletion is a core feature, it replaces a more awkward method that is possible with the existing API, and there seems to be an intention to use it on Wikimedia wikis. It is thus probably worth supporting at some point.


Version: unspecified
Severity: enhancement

Details

Reference
bz23005

Event Timeline

bzimport raised the priority of this task from to Low.
bzimport set Reference to bz23005.
bzimport created this task.Mar 30 2010, 3:00 PM
Reedy added a comment.Apr 26 2010, 7:45 PM

bug 23332 isn't a blocker for this, but a nice prerequisite

Do we want:

api.php?action=revisiondelete&ids=1|2&token=123ABC&reason=Example&hidetext=Yes&hidesummary=Yes&hideusername=No&suppress=

Or:

api.php?action=revisiondelete&ids=1|2&token=123ABC&reason=Example&hide=text|summary&unhide=username&suppress=

?

I think the second one looks cleaner, but it really doesn't matter.

Related URL: https://gerrit.wikimedia.org/r/70749 (Gerrit Change Iee146fed648603b86a35927518f850771fc69bd2)

Since nothing has happened with this for a few months, I took a shot at it.

Change 70749 merged by jenkins-bot:
Add API action=revisiondelete

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

Anomie added a comment.Feb 4 2014, 8:20 PM

This should be deployed to WMF wikis with 1.23wmf13, see https://www.mediawiki.org/wiki/MediaWiki_1.23/Roadmap for the schedule.