Add additional namespace metadata to MediaWiki's export dumps
MediaWiki allows various parameters to be set for each namespace. Except for the case sensitivity configuration, this data is not exported in XML dumps.
Your task is to add additional attributes to the <namespace>
elements in MediaWiki's XML export dumps, which will contain additional metadata as explained in my comment at the Phabricator task: https://phabricator.wikimedia.org/T64109#1905401. 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.
Have a look at ApiQuerySiteinfo::appendNamespaces
for some code that fetches similar data.
More details: https://phabricator.wikimedia.org/T64109