Page MenuHomePhabricator

MCR: Include all slots in XML dumps per default
Closed, ResolvedPublic

Description

Version 0.11 of the XML dump schema supports all slots. We currently still use 0.10 per default, with options in the API and the dump script to use 0.11. We should switch to 0.11 per default soon.

NOTE: this is *not* for WMF production. Before changing the default, the config variable needs to be set explicitly in the site configuration for WMF wikis, so we can make the switch in production independently from changing the default in master.

Event Timeline

We should really have made the 0.11 schema the default in the 1.34 release, to align with the fact that we use the MCR enabled database schema per default in that release. @CCicalese_WMF do we want to squeeze that in? All it needs is a change of the default value of a config variable - and perhaps some communication of the change.

ArielGlenn renamed this task from MCR: Include all sots in XML dumps per default to MCR: Include all slots in XML dumps per default.Nov 22 2019, 1:39 PM
ArielGlenn added a project: Dumps-Generation.

@daniel If it is just a matter of changing the default value of a config variable, I think it would be good to try to fit that in. Any more substantial change would have to wait at this point.

Change 552564 had a related patch set uploaded (by Daniel Kinzler; owner: Daniel Kinzler):
[mediawiki/core@master] Use XML dump schema version 0.11 for new installs.

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

Change 552565 had a related patch set uploaded (by Daniel Kinzler; owner: Daniel Kinzler):
[operations/mediawiki-config@master] Ping XML dump schema version at 0.10 for now.

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

Change 552566 had a related patch set uploaded (by Daniel Kinzler; owner: Daniel Kinzler):
[mediawiki/core@REL1_34] Use XML dump schema version 0.11 for new installs.

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

See T238972 for the production dumps switchover ticket.

This task is now blocked on T238959, so will not be included in the initial MediaWiki 1.34 release.

Change 552565 merged by jenkins-bot:
[operations/mediawiki-config@master] Pin XML dump schema version at 0.10 for now.

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

Mentioned in SAL (#wikimedia-operations) [2019-12-03T22:03:07Z] <jforrester@deploy1001> Synchronized wmf-config/InitialiseSettings.php: Set wgXmlDumpSchemaVersion to 0.1.0 everywhere T238921 T174031 (duration: 01m 03s)

mobrovac subscribed.

@daniel Gerrit 552564 which is awaiting review depends on a WIP patch, so moving back to Ready.

Change 584095 had a related patch set uploaded (by Reedy; owner: Reedy):
[operations/mediawiki-config@master] Add export-11

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

Change 584095 merged by jenkins-bot:
[operations/mediawiki-config@master] Add export-11

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

Change 552564 merged by jenkins-bot:
[mediawiki/core@master] Use XML dump schema version 0.11 for new installs.

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

daniel claimed this task.

Change 552566 abandoned by Daniel Kinzler:
Use XML dump schema version 0.11 for new installs.

Reason:
backporting this is probably not a good idea

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