MediaWiki  master
MediaWiki\Hook\TitleMoveCompletingHook Interface Reference
Inheritance diagram for MediaWiki\Hook\TitleMoveCompletingHook:

Public Member Functions

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

Detailed Description

Deprecated:
since 1.35, use the PageMoveCompleting hook instead

Definition at line 13 of file TitleMoveCompletingHook.php.

Member Function Documentation

◆ onTitleMoveCompleting()

MediaWiki\Hook\TitleMoveCompletingHook::onTitleMoveCompleting (   $old,
  $nt,
  $user,
  $pageid,
  $redirid,
  $reason,
  $revision 
)

This hook is called after moving an article (title), pre-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: