Page MenuHomePhabricator

API export action does not support exporting specific revisions
Open, MediumPublic

Description

On the api, if you specify a bunch of revisions, the export option should export those revisions, not the latest version of the page that those revisions correspond to.

Example: http://en.wikipedia.org/w/api.php?action=query&revids=10000&export&exportnowrap should export revision 1000, not the latest revision of [[Paris]].

Came up when trying to answer http://www.mediawiki.org/wiki/Thread:Project:Support_desk/Exporting_use_contributions_history . Be even cooler if list=usercontributions could be used as a generator for the specific revisions in question.


Version: 1.20.x
Severity: normal

Details

Reference
bz38669

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 1:00 AM
bzimport set Reference to bz38669.

Change 145910 had a related patch set uploaded by Rohan013:
Api now exports specified revision

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

Change 145910 abandoned by Rohan013:
Api now exports specified revision

Reason:
Incorrect patch.
Will submit a new one

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

Change 145910 restored by Rohan013:
Api now exports specified revision

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