MediaWiki REL1_35
MediaWiki\Hook\PageMoveCompletingHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\Hook\PageMoveCompletingHook:

Public Member Functions

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

Detailed Description

Stable to implement.

Definition at line 13 of file PageMoveCompletingHook.php.

Member Function Documentation

◆ onPageMoveCompleting()

MediaWiki\Hook\PageMoveCompletingHook::onPageMoveCompleting (   $old,
  $new,
  $user,
  $pageid,
  $redirid,
  $reason,
  $revision 
)

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

Since
1.35
Parameters
LinkTarget$oldOld title
LinkTarget$newNew title
UserIdentity$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
RevisionRecord$revisionRevision created by the move
Returns
bool|void True or no return value to continue or false stop other hook handlers, doesn't abort the move itself

Implemented in MediaWiki\HookContainer\HookRunner.


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