MediaWiki REL1_35
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.

Detailed Description

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,

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

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
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: