Manual:$wgActorTableSchemaMigrationStage/ja

$wgActorTableSchemaMigrationStage は の段階を示しています. Most wikis can set this to  and run  as soon as any necessary extensions are updated.

Note that reading the old and new schema at the same time is not supported in 1.32, but was (with significant query performance issues) in 1.31.

MediaWiki 1.32+
$wgActorTableSchemaMigrationStage can be set to one combination of the Schema change migration flags.

The allowed values for the configuration are one of the  constants. The recommended values are:


 * (0x03, 既定値) - 旧スキーマのみを読み書きします. 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.
 * (0x13) - 新旧両方のスキーマに書き込みます. 旧スキーマを読み取ります.  This is used while the change is being tested, allowing easy roll-back to the old schema.
 * (0x31) - 新旧両方のスキーマに書き込みます. 新スキーマを読み取ります.  This is used while the change is being tested, allowing easy roll-back to the old schema.
 * (0x30) - 新スキーマのみを読み書きします. 旧スキーマ (および機能フラグ) は除去できる場合があります.

MediaWiki 1.31
$wgActorTableSchemaMigrationStage can be set to one of the Schema change migration flags. The allowed value range for the configuration is one of the  constants. The available constants and their planned use cases on Wikimedia Foundation wikis are as follows:


 * (0, 既定値) - 旧スキーマのみを読み書きします. 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) - 新旧両方のスキーマに書き込みます. 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) - 新スキーマのみに書き込みます. 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) - 新スキーマのみを読み書きします. 旧スキーマ (および機能フラグ) は除去できる場合があります.