MediaWiki
REL1_41
TitleMoveHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Hook
;
4
5
use
MediaWiki\Status\Status
;
6
use
MediaWiki\Title\Title
;
7
use
MediaWiki\User\User
;
8
16
interface
TitleMoveHook
{
30
public
function
onTitleMove
(
Title
$old,
Title
$nt,
User
$user, $reason,
Status
&$status );
31
}
MediaWiki\Status\Status
Generic operation result class Has warning/error list, boolean status and arbitrary value.
Definition
Status.php:58
MediaWiki\Title\Title
Represents a title within MediaWiki.
Definition
Title.php:76
MediaWiki\User\User
internal since 1.36
Definition
User.php:98
MediaWiki\Hook\TitleMoveHook
This is a hook handler interface, see docs/Hooks.md.
Definition
TitleMoveHook.php:16
MediaWiki\Hook\TitleMoveHook\onTitleMove
onTitleMove(Title $old, Title $nt, User $user, $reason, Status &$status)
This hook is called before moving an article (title).
MediaWiki\Hook
Definition
ActionBeforeFormDisplayHook.php:3
includes
Hook
TitleMoveHook.php
Generated on Wed Nov 27 2024 07:23:28 for MediaWiki by
1.10.0