mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-27 15:30:42 +00:00
62127964b7
Bug: T321681 Change-Id: If3940c982d55643a685e2dedccab0540f86b9ae9
32 lines
609 B
PHP
32 lines
609 B
PHP
<?php
|
|
|
|
namespace MediaWiki\Extension\AbuseFilter;
|
|
|
|
use MediaWiki\User\ActorMigrationBase;
|
|
use MediaWiki\User\ActorStoreFactory;
|
|
|
|
/**
|
|
* Temporary class for actor migration
|
|
*/
|
|
class AbuseFilterActorMigration extends ActorMigrationBase {
|
|
|
|
public const SERVICE_NAME = 'AbuseFilterActorMigration';
|
|
|
|
/**
|
|
* @param int $stage
|
|
* @param ActorStoreFactory $actorStoreFactory
|
|
*/
|
|
public function __construct( $stage, ActorStoreFactory $actorStoreFactory ) {
|
|
parent::__construct(
|
|
[
|
|
'af_user' => [],
|
|
'afh_user' => [],
|
|
],
|
|
$stage,
|
|
$actorStoreFactory,
|
|
[ 'allowUnknown' => false ]
|
|
);
|
|
}
|
|
|
|
}
|