MediaWiki REL1_37
MediaWiki\Hook\MovePageIsValidMoveHook Interface Reference

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

Inheritance diagram for MediaWiki\Hook\MovePageIsValidMoveHook:

Public Member Functions

 onMovePageIsValidMove ( $oldTitle, $newTitle, $status)
 Use this hook to specify whether a page can be moved for technical reasons.
 

Detailed Description

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

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

Stability: stable
to implement

Definition at line 15 of file MovePageIsValidMoveHook.php.

Member Function Documentation

◆ onMovePageIsValidMove()

MediaWiki\Hook\MovePageIsValidMoveHook::onMovePageIsValidMove (   $oldTitle,
  $newTitle,
  $status 
)

Use this hook to specify whether a page can be moved for technical reasons.

Since
1.35
Parameters
Title$oldTitleCurrent (old) location
Title$newTitleNew location
Status$statusStatus object to pass error messages to
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: