Manual:$wgCommentTableSchemaMigrationStage/hu

Category:MediaWiki configuration settings/hu#CommentTableSchemaMigrationChangeCategory:MediaWiki configuration settings introduced in version 1.30.0/hu#CommentTableSchemaMigrationChangeCategory:MediaWiki configuration settings removed in version 1.33.0/hu#CommentTableSchemaMigrationChangeCategory:MediaWiki deprecated or obsolete features/hu#CommentTableSchemaMigrationChangeCategory:Database variables/hu#CommentTableSchemaMigrationChange
Egyéb beállítások: $wgCommentTableSchemaMigrationStage
A comment összefoglalók táblájának sémamigrációs állapotát határozza meg.
Bevezetve:1.30.0 (Gerrit change 357892; git #Ic3a434c)
Eltávolítva:1.33.0 (Gerrit change 482371; git #0abb9338)
Megengedett értékek:Lásd alább
Alapértelmezett érték:MIGRATION_OLD

A $wgCommentTableSchemaMigrationStage jelöli a comment összefoglalók táblájának sémamigrációs szintjét. A legtöbb wikiben ezt MIGRATION_NEW értékre állítják és ahogyan frissültek a fontos kiterjesztések, futtatják a maintenance/migrateComments.php szkriptet.

Részletek

A $wgCommentTableSchemaMigrationStage a sémaváltozás migrációs címkéinek egyikét veheti fel. A megengedett tartomány a MIGRATION_* konstansok egyike. A rendelkezésre álló konstansok és a Wikimédia Alapítvány wikijein tervezett használatuk a következő:

  • MIGRATION_OLD (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.
  • MIGRATION_WRITE_BOTH (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.
  • MIGRATION_WRITE_NEW (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.
  • MIGRATION_NEW (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 MIGRATION_NEW and to run maintenance/migrateComments.php in order to take advantage of the new schema.

$wgForeignFileRepos

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

Foreign repo wiki
No schema changeOLDWRITE_BOTHWRITE_NEWNEWFields dropped
Client wikiNo schema change IgenIgenIgenNemNemNem
OLD IgenIgenIgenNemNemNem
WRITE_BOTH NemIgenIgenIgenIgenNem
WRITE_NEW NemIgenIgenIgenIgenNem
NEW NemNemIgenIgenIgenIgen
Fields dropped NemNemIgenIgenIgenIgen
Category:Database variables/hu Category:MediaWiki configuration settings/hu Category:MediaWiki configuration settings introduced in version 1.30.0/hu Category:MediaWiki configuration settings removed in version 1.33.0/hu Category:MediaWiki deprecated or obsolete features/hu