MediaWiki REL1_35
MediaWiki\Hook\MovePageCheckPermissionsHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\Hook\MovePageCheckPermissionsHook:

Public Member Functions

 onMovePageCheckPermissions ( $oldTitle, $newTitle, $user, $reason, $status)
 Use this hook to specify whether the user is allowed to move the page.
 

Detailed Description

Stable to implement.

Definition at line 13 of file MovePageCheckPermissionsHook.php.

Member Function Documentation

◆ onMovePageCheckPermissions()

MediaWiki\Hook\MovePageCheckPermissionsHook::onMovePageCheckPermissions (   $oldTitle,
  $newTitle,
  $user,
  $reason,
  $status 
)

Use this hook to specify whether the user is allowed to move the page.

Since
1.35
Parameters
Title$oldTitleCurrent (old) location
Title$newTitleNew location
User$userUser making the move
string$reasonReason provided by the user
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: