Page MenuHomePhabricator

Add a version field to dump files
Closed, DeclinedPublic

Description

Author: hippietrail

Description:
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.


Version: unspecified
Severity: enhancement

Details

Reference
bz26424

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:15 PM
bzimport set Reference to bz26424.

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.