Last modified: 2014-02-04 20:20:19 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T25005, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 23005 - API: revision deletion
API: revision deletion
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
unspecified
All All
: Low enhancement (vote)
: ---
Assigned To: Brad Jorsch
:
Depends on:
Blocks: SWMT
  Show dependency treegraph
 
Reported: 2010-03-30 15:00 UTC by Gurch
Modified: 2014-02-04 20:20 UTC (History)
9 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Gurch 2010-03-30 15:00:29 UTC
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.
Comment 1 Sam Reed (reedy) 2010-04-26 19:45:29 UTC
bug 23332 isn't a blocker for this, but a nice prerequisite
Comment 2 Alex Monk 2013-03-12 20:26:29 UTC
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=

?
Comment 3 Kunal Mehta (Legoktm) 2013-03-12 23:22:17 UTC
I think the second one looks cleaner, but it really doesn't matter.
Comment 4 Gerrit Notification Bot 2013-06-26 21:14:43 UTC
Related URL: https://gerrit.wikimedia.org/r/70749 (Gerrit Change Iee146fed648603b86a35927518f850771fc69bd2)
Comment 5 Brad Jorsch 2013-06-26 21:15:28 UTC
Since nothing has happened with this for a few months, I took a shot at it.
Comment 6 Gerrit Notification Bot 2014-02-04 20:08:32 UTC
Change 70749 merged by jenkins-bot:
Add API action=revisiondelete

https://gerrit.wikimedia.org/r/70749
Comment 7 Brad Jorsch 2014-02-04 20:20:19 UTC
This should be deployed to WMF wikis with 1.23wmf13, see https://www.mediawiki.org/wiki/MediaWiki_1.23/Roadmap for the schedule.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links