| RenameUserComplete | |
|---|---|
| Available fromversion 1.40.0 After a sucessful user rename | |
| Define function: | publicstaticfunctiononRenameUserComplete($uid,$oldName,$newName){...} |
| Attach hook: | Inextension.json:{"Hooks":{"RenameUserComplete":"MediaWiki\\Extension\\MyExtension\\Hooks::onRenameUserComplete"}} |
| Called from: | File(s):RenameUser/RenameuserSQL.php |
| Interface: | RenameUserCompleteHook.php |
For more information about attaching hooks, seeManual:Hooks.
For examples of extensions using this hook, seeCategory:RenameUserComplete extensions.