Page MenuHomePhabricator

MCR: Include all slots in XML dumps per default
Open, HighPublic

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.

Details

Related Gerrit Patches:

Event Timeline

daniel created this task.Nov 22 2019, 12:57 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptNov 22 2019, 12:57 PM

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

daniel triaged this task as High priority.Nov 22 2019, 8:25 PM

@CCicalese_WMF ready for review ;)

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 added a subscriber: mobrovac.

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

ArielGlenn moved this task from Backlog to Active on the Dumps-Generation board.Wed, Feb 19, 4:01 PM