Page MenuHomePhabricator

Allow WikiExporter to function with MCR-only schema
Closed, ResolvedPublic

Description

WikiExporter has an explicit check that makes it fail if the SCHEMA_COMPAT_WRITE_OLD flag is not set in $wgMultiContentRevisionMigrationStage. This causes all exports to fail in SCHEMA_COMPAT_NEW mode.

This check was needed to avoid breakage while WikiExporter was still relying on the old schema for bulk operations. This has has however been however been resolved by T198706: Make BackupDumper, WikiExporter and XmlDumpWriter compliant with the MCR revision retrival mechanism (main slot only) and T198341: Remove all references to the rev_text_id and ar_text_id fields. This check is now obsolete and should be removed to allow us to switch to SCHEMA_COMPAT_NEW everywhere.

Related Objects

StatusSubtypeAssignedTask
StalledNone
StalledNone
OpenNone
StalledNone
OpenNone
Resolveddaniel
ResolvedNone
ResolvedNone
ResolvedAnomie
Resolveddaniel
Resolveddaniel
ResolvedAnomie
ResolvedAnomie
Resolveddaniel
Resolveddaniel
Resolveddaniel
ResolvedNone
ResolvedCCicalese_WMF
ResolvedCCicalese_WMF
Resolveddaniel
ResolvedPchelolo
Resolveddaniel
ResolvedBPirkle
ResolvedPchelolo
ResolvedClarakosi
Resolveddaniel
ResolvedPchelolo
ResolvedPchelolo
ResolvedPchelolo
ResolvedPchelolo
ResolvedPchelolo
Resolveddaniel
Resolveddaniel
Resolvedholger.knust
ResolvedPchelolo
ResolvedNone
ResolvedNone

Event Timeline

Change 546711 had a related patch set uploaded (by Daniel Kinzler; owner: Daniel Kinzler):
[mediawiki/core@master] WikiExporter: remove check for SCHEMA_COMPAT_WRITE_OLD flag.

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

Change 546711 merged by jenkins-bot:
[mediawiki/core@master] WikiExporter: Remove unnecessary check for SCHEMA_COMPAT_WRITE_OLD flag

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

Change 551599 had a related patch set uploaded (by Daniel Kinzler; owner: Daniel Kinzler):
[mediawiki/core@REL1_34] WikiExporter: Remove unnecessary check for SCHEMA_COMPAT_WRITE_OLD flag

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

Change 551599 merged by jenkins-bot:
[mediawiki/core@REL1_34] WikiExporter: Remove unnecessary check for SCHEMA_COMPAT_WRITE_OLD flag

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