MediaWiki REL1_35
MediaWiki\Hook\TitleMoveCompleteHook Interface Reference
Inheritance diagram for MediaWiki\Hook\TitleMoveCompleteHook:

Public Member Functions

 onTitleMoveComplete ( $old, $nt, $user, $pageid, $redirid, $reason, $revision)
 This hook is called after moving an article (title), post-commit.
 

Detailed Description

Deprecated:
since 1.35, use the PageMoveComplete hook instead

Definition at line 13 of file TitleMoveCompleteHook.php.

Member Function Documentation

◆ onTitleMoveComplete()

MediaWiki\Hook\TitleMoveCompleteHook::onTitleMoveComplete (   $old,
  $nt,
  $user,
  $pageid,
  $redirid,
  $reason,
  $revision 
)

This hook is called after moving an article (title), post-commit.

Since
1.35
Parameters
Title$oldOld title
Title$ntNew title
User$userUser who did the move
int$pageidDatabase ID of the page that's been moved
int$rediridDatabase ID of the created redirect
string$reasonReason for the move
Revision$revisionRevision created by the move
Returns
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\HookContainer\HookRunner.


The documentation for this interface was generated from the following file: