< Extension:Renameuser < Hooks
RenameUserSQL
Available from version ??? (Gerrit change 50474)
Allow modifying the SQL query for when a user is renamed
Define function:
public static function onRenameUserSQL( RenameuserSQL $renameUserSql ) { ... }
Attach hook:
$wgHooks['RenameUserSQL'][] = 'MyExtensionHooks::onRenameUserSQL';
Called from:File(s): Renameuser / 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.

Parameters

  • $renameUserSql: An instance of RenameuserSQL
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.