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 
24  public function onTitleMoveStarting( $old, $nt, $user );
25 }
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:41
MediaWiki\Hook\TitleMoveStartingHook
Stable to implement.
Definition: TitleMoveStartingHook.php:12
User
The User object encapsulates all of the user-specific settings (user_id, name, rights,...
Definition: User.php:55