Page MenuHomePhabricator

XML exported from Special:Export should follow the schema (export-0.11.xsd)
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

What happens?:

The validator gives some errors because the <comment> tag is missing and not optional in schema ver 0.11 (it was in 0.10).

I wonder why that definition changed though, it seems not part of T174031 which introduced ver 0.11.

What should have happened instead?:

No XML validation errors, either set the <comment> tag to optional again, or use empty <comment> tags for empty edit summaries.

Software version (skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.):

Event Timeline

Change 945829 had a related patch set uploaded (by Func; author: Func):

[mediawiki/core@master] docs: Set the <comment> tag back to optional

https://gerrit.wikimedia.org/r/945829

Change 945829 merged by jenkins-bot:

[mediawiki/core@master] docs: Set the <comment> tag back to optional

https://gerrit.wikimedia.org/r/945829

Change 948591 had a related patch set uploaded (by Func; author: Func):

[mediawiki/core@REL1_40] docs: Set the <comment> tag back to optional

https://gerrit.wikimedia.org/r/948591

Change 948592 had a related patch set uploaded (by Func; author: Func):

[mediawiki/core@REL1_39] docs: Set the <comment> tag back to optional

https://gerrit.wikimedia.org/r/948592

Change 948592 merged by jenkins-bot:

[mediawiki/core@REL1_39] docs: Set the <comment> tag back to optional

https://gerrit.wikimedia.org/r/948592

Change 948591 merged by jenkins-bot:

[mediawiki/core@REL1_40] docs: Set the <comment> tag back to optional

https://gerrit.wikimedia.org/r/948591

Func claimed this task.

Change #1048014 had a related patch set uploaded (by Func; author: Func):

[operations/mediawiki-config@master] mediawiki.org: Sync xml/export-*.xsd files with MW core

https://gerrit.wikimedia.org/r/1048014

Change #1048014 merged by jenkins-bot:

[operations/mediawiki-config@master] mediawiki.org: Sync xml/export-*.xsd files with MW core

https://gerrit.wikimedia.org/r/1048014

Mentioned in SAL (#wikimedia-operations) [2024-06-24T13:08:40Z] <urbanecm@deploy1002> Started scap: Backport for [[gerrit:1048014|mediawiki.org: Sync xml/export-*.xsd files with MW core (T343622)]], [[gerrit:1039597|CommonSettings: Restore the original behaviour of Reference Previews (T366419)]], [[gerrit:rGERRIT10491539569d|[MediaModeration] Update 'From' email address to wiki@wikimedia.org (T368258)]]

Mentioned in SAL (#wikimedia-operations) [2024-06-24T13:24:26Z] <urbanecm@deploy1002> urbanecm, func, dreamyjazz: Backport for [[gerrit:1048014|mediawiki.org: Sync xml/export-*.xsd files with MW core (T343622)]], [[gerrit:1039597|CommonSettings: Restore the original behaviour of Reference Previews (T366419)]], [[gerrit:rGERRIT10491539569d|[MediaModeration] Update 'From' email address to wiki@wikimedia.org (T368258)]] synced to the testservers (https://wikitech.wikimedia.org/wiki/Mwdebug)

Mentioned in SAL (#wikimedia-operations) [2024-06-24T13:44:10Z] <urbanecm@deploy1002> Finished scap: Backport for [[gerrit:1048014|mediawiki.org: Sync xml/export-*.xsd files with MW core (T343622)]], [[gerrit:1039597|CommonSettings: Restore the original behaviour of Reference Previews (T366419)]], [[gerrit:rGERRIT10491539569d|[MediaModeration] Update 'From' email address to wiki@wikimedia.org (T368258)]] (duration: 35m 30s)