Currently, we only dump the main slot, but there are a few wikis that leverage the work done for Multi-Content Revisions (aka MCR). For example, commonswiki has both a main slot, as well as a mediainfo slot.
We have an XML XSD file that specifies how the dumped content should look. Version 0.11 introduced the <content> tag to be used for any extra slots. Note that the main slot will continue to be dumped under the <revision> tag for backwards compatibility.
Here is a random example from commonswiki that has a mediainfo slot: https://commons.wikimedia.org/wiki/Special:Export/File:Borodino_in_Khimki_Reservoir_2016-05-10_Pic_08.JPG
In this task we want to:
- Abide by this Version 0.11 XSD and export any additional slots under <content> tags if found.
- Modify our tests to have example of both: dumps that contain just the main slot, and dumps that contain extra slots.
- Do a quick comparison with current commonswiki dumps (or any other smaller wiki that may use MCR) to double we comply with existing behavior.