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