Extension:Renameuser/Hooks/RenameUserAbort

RenameUserAbort
Available from versionĀ ???
Allows the renaming to be aborted
Define function:
public static function onRenameUserAbort( $uid, $oldusername, $newusername ) { ... }
Attach hook:
$wgHooks['RenameUserAbort'][] = 'MyExtensionHooks::onRenameUserAbort';
Called from:File(s): Renameuser / includes/SpecialRenameuser.php
Function(s): execute

For more information about attaching hooks, see Manual:Hooks.
For examples of other extensions using this hook, see Category:RenameUserAbort extensions.

DetailsEdit

  • $uid: The user ID
  • $oldusername: The old username
  • $newusername: The new username