https://bugzilla.wikimedia.org/show_bug.cgi?id=72417
Bug ID: 72417
Summary: Put the <model> and <format> tags before the <text>
tag.
Product: MediaWiki
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Export/Import
Assignee: [email protected]
Reporter: [email protected]
Web browser: ---
Mobile Platform: ---
According to export-0.9.xsd, the <model> and <format> tags follow the <text>
tag. That is however quite annoying when processing the XML event stream, since
it means we do not know how to process the contents of the <text> tag when we
receive it. Adding <model> and <format> at the end was simply an oversight on
my part when I introduced them.
Outputting these tags before the <text> tag would be simple to do, but would
technically be a breaking change to the export format. I see no good way to
make this backwards compatible, aside from outputting these tags twice.
As a stop gap, model and format could be included as attributes of the <text>
tag. This is however rather inconsistent with the rest of the format, and would
also need to be included in a new version of the XSD.
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l