MediaWiki REL1_37
|
This is not intended to be a long-term part of MediaWiki; it will be deprecated and removed once actor migration is complete. More...
Public Member Functions | |
__construct ( $stage, ActorStoreFactory $actorStoreFactory) | |
Public Member Functions inherited from ActorMigrationBase | |
__construct ( $fieldInfos, $stage, ActorStoreFactory $actorStoreFactory, $options=[]) | |
getInsertValues (IDatabase $dbw, $key, UserIdentity $user) | |
Get UPDATE fields for the actor. | |
getInsertValuesWithTempTable (IDatabase $dbw, $key, UserIdentity $user) | |
Get UPDATE fields for the actor. | |
getJoin ( $key) | |
Get SELECT fields and joins for the actor key. | |
getWhere (IDatabase $db, $key, $users, $useId=true) | |
Get WHERE condition for the actor. | |
isAnon ( $field) | |
Return an SQL condition to test if a user field is anonymous. | |
isNotAnon ( $field) | |
Return an SQL condition to test if a user field is non-anonymous. | |
Static Public Member Functions | |
static | newMigration () |
Static constructor. | |
Public Attributes | |
const | FIELD_INFOS |
Field information. | |
const | MIGRATION_STAGE_SCHEMA_COMPAT = 1 |
Constant for extensions to feature-test whether $wgActorTableSchemaMigrationStage (in MW <1.34) expects MIGRATION_* or SCHEMA_COMPAT_*. | |
Additional Inherited Members | |
Protected Member Functions inherited from ActorMigrationBase | |
checkDeprecation ( $key) | |
Issue deprecation warning/error as appropriate. | |
getFieldInfo ( $key) | |
Get config information about a field. | |
getInstanceName () | |
Get a name for this instance to use in error messages. | |
This is not intended to be a long-term part of MediaWiki; it will be deprecated and removed once actor migration is complete.
Definition at line 15 of file ActorMigration.php.
ActorMigration::__construct | ( | $stage, | |
ActorStoreFactory | $actorStoreFactory | ||
) |
int | $stage | |
ActorStoreFactory | $actorStoreFactory |
Definition at line 86 of file ActorMigration.php.
References SCHEMA_COMPAT_OLD.
|
static |
const ActorMigration::FIELD_INFOS |
Field information.
Definition at line 26 of file ActorMigration.php.
const ActorMigration::MIGRATION_STAGE_SCHEMA_COMPAT = 1 |
Constant for extensions to feature-test whether $wgActorTableSchemaMigrationStage (in MW <1.34) expects MIGRATION_* or SCHEMA_COMPAT_*.
Definition at line 20 of file ActorMigration.php.