MediaWiki  master
TitleMoveStartingHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Hook;
4 
5 use Title;
6 use User;
7 
27  public function onTitleMoveStarting( $old, $nt, $user );
28 }
MediaWiki\Hook
Definition: ActionBeforeFormDisplayHook.php:3
MediaWiki\Hook\TitleMoveStartingHook\onTitleMoveStarting
onTitleMoveStarting( $old, $nt, $user)
This hook is called before moving an article (title), but just after the atomic DB section starts.
Title
Represents a title within MediaWiki.
Definition: Title.php:47
MediaWiki\Hook\TitleMoveStartingHook
This is a hook handler interface, see docs/Hooks.md.
Definition: TitleMoveStartingHook.php:15
User
The User object encapsulates all of the user-specific settings (user_id, name, rights,...
Definition: User.php:68