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 }
Represents a title within MediaWiki.
Definition: Title.php:48
The User object encapsulates all of the user-specific settings (user_id, name, rights,...
Definition: User.php:68
This is a hook handler interface, see docs/Hooks.md.
onTitleMoveStarting( $old, $nt, $user)
This hook is called before moving an article (title), but just after the atomic DB section starts.