MediaWiki  master
TitleMoveCompletingHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Hook;
4 
5 use Revision;
6 use Title;
7 use User;
8 
31  public function onTitleMoveCompleting( $old, $nt, $user, $pageid, $redirid,
32  $reason, $revision
33  );
34 }
MediaWiki\Hook
Definition: ActionBeforeFormDisplayHook.php:3
MediaWiki\Hook\TitleMoveCompletingHook
This is a hook handler interface, see docs/Hooks.md.
Definition: TitleMoveCompletingHook.php:16
Revision
Definition: Revision.php:40
MediaWiki\Hook\TitleMoveCompletingHook\onTitleMoveCompleting
onTitleMoveCompleting( $old, $nt, $user, $pageid, $redirid, $reason, $revision)
This hook is called after moving an article (title), pre-commit.
Title
Represents a title within MediaWiki.
Definition: Title.php:47
User
The User object encapsulates all of the user-specific settings (user_id, name, rights,...
Definition: User.php:66