|
MediaWiki master
|
Public Member Functions | |
| __construct (private readonly ServiceOptions $options, private readonly CentralIdLookupFactory $centralIdLookupFactory, private readonly IConnectionProvider $dbProvider, private readonly JobQueueGroupFactory $jobQueueGroupFactory, private readonly MovePageFactory $movePageFactory, private readonly UserFactory $userFactory, private readonly UserNameUtils $userNameUtils, private readonly PermissionManager $permissionManager, private readonly TitleFactory $titleFactory,) | |
| newDerivedRenameUser (User $performer, int $uid, string $oldName, string $newName, string $reason, array $renameOptions=[]) | |
| Creates a RenameUser for performing a local rename operation derived from a global rename. | |
| newRenameUser (User $performer, $target, string $newName, string $reason, array $renameOptions=[]) | |
| Creates a RenameUser for performing a new rename operation. | |
Public Attributes | |
| const | CONSTRUCTOR_OPTIONS = RenameUser::CONSTRUCTOR_OPTIONS |
Definition at line 19 of file RenameUserFactory.php.
| MediaWiki\RenameUser\RenameUserFactory::__construct | ( | private readonly ServiceOptions | $options, |
| private readonly CentralIdLookupFactory | $centralIdLookupFactory, | ||
| private readonly IConnectionProvider | $dbProvider, | ||
| private readonly JobQueueGroupFactory | $jobQueueGroupFactory, | ||
| private readonly MovePageFactory | $movePageFactory, | ||
| private readonly UserFactory | $userFactory, | ||
| private readonly UserNameUtils | $userNameUtils, | ||
| private readonly PermissionManager | $permissionManager, | ||
| private readonly TitleFactory | $titleFactory ) |
Definition at line 26 of file RenameUserFactory.php.
| MediaWiki\RenameUser\RenameUserFactory::newDerivedRenameUser | ( | User | $performer, |
| int | $uid, | ||
| string | $oldName, | ||
| string | $newName, | ||
| string | $reason, | ||
| array | $renameOptions = [] ) |
Creates a RenameUser for performing a local rename operation derived from a global rename.
The operation must have been performed on central wiki and not locally.
| User | $performer | |
| int | $uid | |
| string | $oldName | |
| string | $newName | |
| string | $reason | |
| array | $renameOptions |
Definition at line 91 of file RenameUserFactory.php.
| MediaWiki\RenameUser\RenameUserFactory::newRenameUser | ( | User | $performer, |
| $target, | |||
| string | $newName, | ||
| string | $reason, | ||
| array | $renameOptions = [] ) |
Creates a RenameUser for performing a new rename operation.
The operation should not have been performed on any wikis yet.
| User | $performer | |
| User | $target | |
| string | $newName | |
| string | $reason | |
| array | $renameOptions |
Definition at line 52 of file RenameUserFactory.php.
| const MediaWiki\RenameUser\RenameUserFactory::CONSTRUCTOR_OPTIONS = RenameUser::CONSTRUCTOR_OPTIONS |
Definition at line 24 of file RenameUserFactory.php.