Manual:$wgCommentTableSchemaMigrationStage/cs

$wgCommentTableSchemaMigrationStage označuje fázi migrace schématu tabulky. Většina wiki může toto nastavit na  a spustit , jakmile budou aktualizována potřebná rozšíření.

Podrobnosti
$wgCommentTableSchemaMigrationStage lze nastavit na jeden z příznaků migrace změny schématu. Povolený rozsah hodnot pro konfiguraci je jedna z konstant. Dostupné konstanty a jejich plánované případy použití na wiki Wikimedia Foundation jsou následující:


 * (0, default value ) - Only read and write the old schema. The new schema need not even exist. This is used from when the patch is merged until the schema change is actually applied to the database.
 * (1) - Write both the old and new schema. Read the new schema preferentially, falling back to the old. This is used while the change is being tested, allowing easy roll-back to the old schema.
 * (2) - Write only the new schema. Read the new schema preferentially, falling back to the old. This is used while running the maintenance script to migrate existing entries in the old schema to the new schema.
 * (3) - Only read and write the new schema. The old schema (and the feature flag) may now be removed.

For non-Wikimedia Foundation wikis it is recommended to set this to  and to run   in order to take advantage of the new schema.

$wgForeignFileRepos
If you operate a wiki farm using  with   or , it is important to keep in mind that client and repository wiki must be in nearby migration stages. (see T181930)