MediaWiki REL1_37
MediaWiki\Hook\TitleMoveStartingHook Interface Reference

This is a hook handler interface, see docs/Hooks.md. 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

This is a hook handler interface, see docs/Hooks.md.

Use the hook name "TitleMoveStarting" to register handlers implementing this interface.

Stability: stable
to implement

Definition at line 15 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: