33 'table' =>
'revision_actor_temp',
34 'pk' =>
'revactor_rev',
35 'field' =>
'revactor_actor',
38 'revactor_timestamp' =>
'rev_timestamp',
39 'revactor_page' =>
'rev_page',
46 'deprecatedVersion' =>
'1.37',
50 'deprecatedVersion' =>
'1.37',
54 'deprecatedVersion' =>
'1.37',
58 'deprecatedVersion' =>
'1.37',
62 'deprecatedVersion' =>
'1.37',
66 'deprecatedVersion' =>
'1.37',
70 'deprecatedVersion' =>
'1.37',
71 'textField' =>
'ipb_by_text',
72 'actorField' =>
'ipb_by_actor'
81 return MediaWikiServices::getInstance()->getActorMigration();
95 throw new InvalidArgumentException(
96 'The old actor table schema is no longer supported' );
111 return parent::getJoin( $key );
122 return parent::getWhere( $db, $key, $users, $useId );
132 return parent::getInsertValues( $dbw, $key, $user );
140 return parent::getInsertValuesWithTempTable( $dbw, $key, $user );
This abstract base class helps migrate core and extension code to use the actor table.
This is not intended to be a long-term part of MediaWiki; it will be deprecated and removed once acto...
const MIGRATION_STAGE_SCHEMA_COMPAT
Constant for extensions to feature-test whether $wgActorTableSchemaMigrationStage (in MW <1....
const FIELD_INFOS
Field information.
getInsertValues(IDatabase $dbw, $key, UserIdentity $user)
Get UPDATE fields for the actor.array to merge into $values to IDatabase->update() or $a to IDatabase...
__construct( $stage, ActorStoreFactory $actorStoreFactory)
static newMigration()
Static constructor.
getInsertValuesWithTempTable(IDatabase $dbw, $key, UserIdentity $user)
Get UPDATE fields for the actor.array with two values:array to merge into $values to IDatabase->updat...
getWhere(IDatabase $db, $key, $users, $useId=true)
Get WHERE condition for the actor.array With four keys:tables: (string[]) to include in the $table to...
getJoin( $key)
Get SELECT fields and joins for the actor key.array[] With three keys:tables: (string[]) to include i...