MediaWiki REL1_37
|
This is a hook handler interface, see docs/Hooks.md. More...
Public Member Functions | |
onTitleMove (Title $old, Title $nt, User $user, $reason, Status &$status) | |
This hook is called before moving an article (title). | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "TitleMove" to register handlers implementing this interface.
Definition at line 16 of file TitleMoveHook.php.
MediaWiki\Hook\TitleMoveHook::onTitleMove | ( | Title | $old, |
Title | $nt, | ||
User | $user, | ||
$reason, | |||
Status & | $status | ||
) |
This hook is called before moving an article (title).
Title | $old | Old title |
Title | $nt | New title |
User | $user | User who does the move |
string | $reason | Reason provided by the user |
Status | &$status | To abort the move, add a fatal error to this object (i.e. call $status->fatal()) |