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 
28  public function onTitleMoveCompleting( $old, $nt, $user, $pageid, $redirid,
29  $reason, $revision
30  );
31 }
MediaWiki\Hook
Definition: ActionBeforeFormDisplayHook.php:3
MediaWiki\Hook\TitleMoveCompletingHook
Definition: TitleMoveCompletingHook.php:13
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:41
User
The User object encapsulates all of the user-specific settings (user_id, name, rights,...
Definition: User.php:55