Page MenuHomePhabricator

API for retrieving Revision Deleted information
Closed, ResolvedPublic

Description

The Current deletedrevs module of MediaWiki API does not provide any functionality for exporting pages which have been revdeled, nor the index.php accepts unhide=1 when the action parameter is other than view. (e.g. [zh.wikipedia.org/w/index.php?action=raw&oldid=18255759&unhide=1] and [zh.wikipedia.org/w/index.php?action=raw&oldid=18255759&unhide=1]) Therefore, it may be necessary to implement such functions to the API system.


Version: 1.22.0
Severity: enhancement
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=43937

Details

Reference
bz48966

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 1:42 AM
bzimport set Reference to bz48966.

Related to bug 23005 - except for this I think you want to be able to view revdeleted information rather than revdelete.

(In reply to comment #2)

Sounds like bug 27747

Well, maybe. But we'd also need the same sort of thing for prop=revisions, too, in addition to list=deletedrevs.

prop=revisions already outputted revision deleted version, you will get a userhidden="" or texthidden="", but you cannot unhide it, that is right. There was a try with gerrit 4658.

Other modules like deletedrevs, recentchanges (bug 27748) and filearchive (bug 34926) would skipped such revisions.

I have another issue to fix first, but then I'll fix this.

Change 107389 had a related patch set uploaded by Anomie:
Improve API query RevDel handling

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

Change 107389 merged by jenkins-bot:
Improve API query RevDel handling

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

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

Restricted Application added a subscriber: Stang. · View Herald TranscriptOct 16 2020, 5:43 PM