< Extension:Renameuser < Hooks
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.

Details

  • $uid: The user ID
  • $oldusername: The old username
  • $newusername: The new username
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.