Jump to content

Manual:$wgPageLinksSchemaMigrationStage

From mediawiki.org
Database settings: $wgPageLinksSchemaMigrationStage
The pagelinks table schema migration stage, for normalising pl_namespace and pl_title fields.
Introduced in version:1.41.0 (Gerrit change 955004; git #f405bbb5)
Removed in version:Still in use
Allowed values:(integer)
Default value:SCHEMA_COMPAT_NEW (1.43+)
SCHEMA_COMPAT_WRITE_OLD | SCHEMA_COMPAT_READ_OLD (1.41-1.42)

Details

[edit]

The pagelinks table schema migration stage, for normalising pl_namespace and pl_title fields.

Use the SCHEMA_COMPAT_XXX flags. Supported values:

  • SCHEMA_COMPAT_WRITE_OLD | SCHEMA_COMPAT_READ_OLD (= 1 | 2 = 3) (SCHEMA_COMPAT_OLD)
  • SCHEMA_COMPAT_WRITE_BOTH | SCHEMA_COMPAT_READ_OLD (= 257 | 2 = 259)
  • SCHEMA_COMPAT_WRITE_BOTH | SCHEMA_COMPAT_READ_NEW (= 257 | 512 = 769)
  • SCHEMA_COMPAT_WRITE_NEW | SCHEMA_COMPAT_READ_NEW (= 256 | 512 = 768) (SCHEMA_COMPAT_NEW)