Set default wgMultiContentRevisionSchemaMigrationStage to write-both
authorBrad Jorsch <bjorsch@wikimedia.org>
Mon, 16 Jul 2018 17:13:34 +0000 (13:13 -0400)
committerBrad Jorsch <bjorsch@wikimedia.org>
Mon, 16 Jul 2018 17:13:34 +0000 (13:13 -0400)
In progress of slowly rolling out MCR, this changes the default to
write both schemas while still reading only the old.

Bug: T198563
Change-Id: Ibd3279058d6ec3a2ce1cc6a2b3a503813d133917

includes/DefaultSettings.php

index 9f9d8ba..a74866e 100644 (file)
@@ -8912,7 +8912,7 @@ $wgCommentTableSchemaMigrationStage = MIGRATION_OLD;
  * @since 1.32
  * @var int An appropriate combination of SCHEMA_COMPAT_XXX flags.
  */
-$wgMultiContentRevisionSchemaMigrationStage = MIGRATION_OLD;
+$wgMultiContentRevisionSchemaMigrationStage = SCHEMA_COMPAT_WRITE_BOTH | SCHEMA_COMPAT_READ_OLD;
 
 /**
  * Actor table schema migration stage.