MediaWiki REL1_40
|
This is a hook handler interface, see docs/Hooks.md. More...
Inherited by MediaWiki\HookContainer\HookRunner.
Public Member Functions | |
onRenameUserPreRename (int $uid, string $old, string $new) | |
Called before a user is renamed. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "RenameUserPreRename" to register handlers implementing this interface.
Between MediaWiki 1.36 and 1.39, this interface was part of the Renameuser extension, with the namespace MediaWiki\Extension\Renameuser\Hook.
Definition at line 16 of file RenameUserPreRenameHook.php.
MediaWiki\RenameUser\Hook\RenameUserPreRenameHook::onRenameUserPreRename | ( | int | $uid, |
string | $old, | ||
string | $new ) |
Called before a user is renamed.
int | $uid | The user ID |
string | $old | The old username |
string | $new | The new username |
Implemented in MediaWiki\HookContainer\HookRunner.