Extension:Renameuser/RenameUserWarning

From MediaWiki.org
Jump to: navigation, search
RenameUserWarning
Available from version 1.13
Get warnings when renaming an user

*Define function:
function fnMyHook( $oldName, $newName, &$warnings ) { ... }

*Attach hook:
$wgHooks['RenameUserWarning'][] = 'MyExtensionHooks::someExample';
Called from: Renameuser extension

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


[edit] Details

  • $oldName: old name
  • $newName: new name
  • &$warnings: array of warning (messages names, may be with parameters)
Personal tools
Namespaces
Variants
Actions
Site
Support
Download
Development
Communication
Print/export
Toolbox