Last modified: 2014-08-16 19:46:38 UTC
It would be useful to be able to check the header information on an XML database dump file to confirm the database of origin. I'm imagining something like the dbname that you can get from the API (e.g. http://en.wikipedia.org/w/api.php?action=sitematrix). My current use-case is error checking. I want to make sure that the XML dump file being processed by originated from the intended wiki. Right now, I need to parse filenames in order to do that and that makes me sad. I propose adding a field to <siteinfo /> called <dbname /> that would contain this value.
Should be r
Change 149642 had a related patch set uploaded by Reedy: Add dbname to XML database dump "siteinfo" https://gerrit.wikimedia.org/r/149642
Change 149643 had a related patch set uploaded by Reedy: Add export-0.9.xsd https://gerrit.wikimedia.org/r/149643
Change 149642 merged by jenkins-bot: Add dbname to XML database dump "siteinfo" https://gerrit.wikimedia.org/r/149642
Thanks for the blazing fast turn-around, folks. I wish I could buy you all a beer. Find me at Wikimania, and I'll make good on that.
Change 149643 merged by jenkins-bot: Add export-0.9.xsd https://gerrit.wikimedia.org/r/149643