X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2FDefaultSettings.php;h=f3bc9cce0a2ae373d2f64d0490e2c88d9d2bce04;hp=488fef0b56de78bb75646f1bf484e01229f9e155;hb=fa321e46322048e4d22c660a02d683a03b960f55;hpb=5e2af4503bc9a5194e74e1af050c010de0afc161 diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 488fef0b56..f3bc9cce0a 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -8892,13 +8892,23 @@ $wgInterwikiPrefixDisplayTypes = []; $wgCommentTableSchemaMigrationStage = MIGRATION_OLD; /** - * RevisionStore table schema migration stage (content, slots, content_models & slot_roles tables) + * RevisionStore table schema migration stage (content, slots, content_models & slot_roles tables). + * Use the SCHEMA_COMPAT_XXX flags. Supported values: + * + * - SCHEMA_COMPAT_OLD + * - SCHEMA_COMPAT_WRITE_BOTH | SCHEMA_COMPAT_READ_OLD + * - SCHEMA_COMPAT_WRITE_BOTH | SCHEMA_COMPAT_READ_NEW + * - SCHEMA_COMPAT_OLD + * + * Note that reading the old and new schema at the same time is not supported. + * Attempting to set both read bits in $wgMultiContentRevisionSchemaMigrationStage + * will result in an InvalidArgumentException. * * @see Task: https://phabricator.wikimedia.org/T174028 * @see Commit: https://gerrit.wikimedia.org/r/#/c/378724/ * * @since 1.32 - * @var int One of the MIGRATION_* constants + * @var int An appropriate combination of SCHEMA_COMPAT_XXX flags. */ $wgMultiContentRevisionSchemaMigrationStage = MIGRATION_OLD;