Manual:migrateActors.php
Jump to navigation
Jump to search
MediaWiki version: | ≥ 1.31 |
MediaWiki file: migrateActors.php | |
---|---|
Location: | maintenance/ |
Source code: | master • 1.35.1 • 1.31.12 |
Classes: | MigrateActors |
Details[edit]
migrateActors.php is a maintenance script that migrates actors from pre-1.31 columns to the actor table.
$wgActorTableSchemaMigrationStage
needs to be set to MIGRATION_WRITE_NEW
or MIGRATION_NEW
for the script to do the migration.
The actors are finally stored in the column actor_name in the actor table.
To improve performance during the run-time of this script, for the table revision, a temporary table named revision_actor_temp
is being used during the migration.
This table will be merged with the table revision again in the future.
In order for this script to work properly, you first should run cleanupUsersWithNoId.php .
Usage[edit]
php migrateActors.php