Add page language to MediaWiki's export dumps
MediaWiki has recently had a new feature added (disabled by default) that allows users to specify the language of an individual page.
Your task is to add a <lang>
element to MediaWiki's XML export dumps, which will contain the language code of the page. You will also need to add this element to the XML dump schema in XSD format.
Note: I have a couple of other things I'd like to add to the export schema, but they won't all fit in the one GCI task. Because schema updates should be kept to a minimum, I will try to push them all out together, so your patch will not be able to be merged straight away. This is not a problem; I will mark this task as accepted once I am satisfied that your code works and that your schema is correct, even though your patch is not merged.
More details: https://phabricator.wikimedia.org/T118114