diff options
author | daniel <dkinzler@wikimedia.org> | 2019-12-11 11:39:48 +0100 |
---|---|---|
committer | Daniel Kinzler <dkinzler@wikimedia.org> | 2020-02-25 09:13:20 +0000 |
commit | effef5211e2e6a525798c8649948785e2ecbe646 (patch) | |
tree | 3e2e49c9725ac654ac80a2334ef18b14c353bdb4 /docs/export-0.11.xsd | |
parent | 7c6ec9a895c07d20462c44c994c3d305735103ac (diff) | |
download | mediawikicore-effef5211e2e6a525798c8649948785e2ecbe646.tar.gz mediawikicore-effef5211e2e6a525798c8649948785e2ecbe646.zip |
XmlDumpWriter: fix blob address output in stubs
* Change export schema to allow "sha1" attribute in <text> tags nested
in content tags. This was apparently overlooked when adding the location
attribute to the <text> tag for the main slot.
* Change XmlDumpWriter to only output text row IDs in <text> tags for the
main slot. Backwards compatibility is not needed for <text> tags nested
inside <content> tags.
Bug: T246074
Change-Id: I5e2bd28cc346d4a3cdc5e2dd5119eca5609385a7
Diffstat (limited to 'docs/export-0.11.xsd')
-rw-r--r-- | docs/export-0.11.xsd | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/export-0.11.xsd b/docs/export-0.11.xsd index 6dbc63b789c3..d32cab00f702 100644 --- a/docs/export-0.11.xsd +++ b/docs/export-0.11.xsd @@ -226,6 +226,7 @@ <!-- This allows deleted=deleted on non-empty elements, but XSD is not omnipotent --> <attribute name="deleted" type="mw:DeletedFlagType" /> <attribute name="location" type="anyURI" /> + <attribute name="sha1" type="string" /> <attribute name="bytes" type="nonNegativeInteger" /> </extension> </simpleContent> |