Last modified: 2014-01-18 00:43:44 UTC
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.
Related to bug 23005 - except for this I think you want to be able to view revdeleted information rather than revdelete.
Sounds like bug 27747
(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 change #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.