Last modified: 2010-12-25 22:18:42 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T28424, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 26424 - Add a version field to dump files
Add a version field to dump files
Status: RESOLVED WORKSFORME
Product: Datasets
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Ariel T. Glenn
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-12-25 08:47 UTC by Andrew Dunbar
Modified: 2010-12-25 22:18 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Andrew Dunbar 2010-12-25 08:47:09 UTC
From time to time the XML format of the dump files has changed. For instance <redirect> was not in the original format and I think also <restrictions> was not there.

If the header of the dump files had provided a version I could've handled redirect tags efficiently with a fallback to parsing the text field for older versions.

Since the dump file format is sure to change again in the future a version field would make much sense.
Comment 1 Bawolff (Brian Wolff) 2010-12-25 22:18:42 UTC
In theory thats what the version="0.4" on the root element is for. The different versions have a different schema, which should say what elements are allowed (however, see bug 25753)

If the version number actually gets updated is an open question.


Marking as works for me. Please re-open if I misunderstand, or if that otherwise doesn't address your issue.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links