Manual:migrateRevisionActorTemp.php

From Linux Web Expert

Revision as of 14:17, 22 September 2023 by imported>GregRundlett (make it clearer that the configuration settings do NOT apply to an actual upgrade to 1.39 since the setting does not exist in 1.39.0)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Maintenance script that merges the revision_actor_temp table into the revision table.

It will run automatically during the upgrade to MediaWiki 1.39.

On large wikis, you can set $wgActorTableSchemaMigrationStage to SCHEMA_COMPAT_WRITE_TEMP_AND_NEW | SCHEMA_COMPAT_READ_TEMP prior to the upgrade to MediaWiki 1.39 (the config was completely removed in 1.39.0) and run this script to populate the new schema.