MediaWiki REL1_35
TitleMoveHook.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\Hook;
4
5use Status;
6use Title;
7use User;
8
13interface TitleMoveHook {
27 public function onTitleMove( $old, $nt, $user, $reason, &$status );
28}
Generic operation result class Has warning/error list, boolean status and arbitrary value.
Definition Status.php:44
Represents a title within MediaWiki.
Definition Title.php:42
The User object encapsulates all of the user-specific settings (user_id, name, rights,...
Definition User.php:60
onTitleMove( $old, $nt, $user, $reason, &$status)
This hook is called before moving an article (title).