Extension:Renameuser/Hooks/RenameUserSQL

From MediaWiki.org
Jump to navigation Jump to search
RenameUserSQL
Available from version ???
Allow modifying the SQL query for when a user is renamed
Define function:
public static function onRenameUserSQL( RenameuserSQL $randomUserSQL ) { ... }
Attach hook:
$wgHooks['RenameUserSQL'][] = 'MyExtensionHooks::onRenameUserSQL';
Called from:File(s): RenameuserSQL.php
Function(s): __construct

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

Details[edit]

  • $renameUserSQL: RenameuserSQL object