MediaWiki REL1_35
MediaWiki\Hook\TitleMoveStartingHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\Hook\TitleMoveStartingHook:

Public Member Functions

 onTitleMoveStarting ( $old, $nt, $user)
 This hook is called before moving an article (title), but just after the atomic DB section starts.
 

Detailed Description

Stable to implement.

Definition at line 12 of file TitleMoveStartingHook.php.

Member Function Documentation

◆ onTitleMoveStarting()

MediaWiki\Hook\TitleMoveStartingHook::onTitleMoveStarting (   $old,
  $nt,
  $user 
)

This hook is called before moving an article (title), but just after the atomic DB section starts.

Since
1.35
Parameters
Title$oldOld title
Title$ntNew title
User$userUser who does 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: