Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4068239
RenameUserPreRenameHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
700 B
Referenced Files
None
Subscribers
None
RenameUserPreRenameHook.php
View Options
<?php
namespace
MediaWiki\RenameUser\Hook
;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "RenameUserPreRename" to register handlers implementing this interface.
*
* Between MediaWiki 1.36 and 1.39, this interface was part of the Renameuser extension,
* with the namespace MediaWiki\Extension\Renameuser\Hook.
*
* @stable to implement
* @ingroup Hooks
* @since 1.40
*/
interface
RenameUserPreRenameHook
{
/**
* Called before a user is renamed.
*
* @param int $uid The user ID
* @param string $old The old username
* @param string $new The new username
*/
public
function
onRenameUserPreRename
(
int
$uid
,
string
$old
,
string
$new
):
void
;
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Aug 16 2026, 19:49 (11 w, 5 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
f4/ad/16fc97273e7a8547aa8e00a2be97
Default Alt Text
RenameUserPreRenameHook.php (700 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment