MediaWiki REL1_35
MediaWiki\Hook\MovePageIsValidMoveHook Interface Reference

Stable to implement. 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

Stable to implement.

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