MediaWiki
master
RenameUserWarningHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\RenameUser\Hook
;
4
16
interface
RenameUserWarningHook
{
17
27
public
function
onRenameUserWarning
(
string
$oldUsername,
string
$newUsername, array &$warnings ): void;
28
29
}
MediaWiki\RenameUser\Hook\RenameUserWarningHook
This is a hook handler interface, see docs/Hooks.md.
Definition
RenameUserWarningHook.php:16
MediaWiki\RenameUser\Hook\RenameUserWarningHook\onRenameUserWarning
onRenameUserWarning(string $oldUsername, string $newUsername, array &$warnings)
Called on Special:Renameuser before a user is renamed.
MediaWiki\RenameUser\Hook
Definition
RenameUserAbortHook.php:3
includes
RenameUser
Hook
RenameUserWarningHook.php
Generated on Fri Apr 4 2025 19:26:20 for MediaWiki by
1.10.0