MediaWiki REL1_40
|
This is a hook handler interface, see docs/Hooks.md. More...
Inherited by MediaWiki\HookContainer\HookRunner.
Public Member Functions | |
onMovePageCheckPermissions ( $oldTitle, $newTitle, $user, $reason, $status) | |
Use this hook to specify whether the user is allowed to move the page. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "MovePageCheckPermissions" to register handlers implementing this interface.
Definition at line 16 of file MovePageCheckPermissionsHook.php.
MediaWiki\Hook\MovePageCheckPermissionsHook::onMovePageCheckPermissions | ( | $oldTitle, | |
$newTitle, | |||
$user, | |||
$reason, | |||
$status ) |
Use this hook to specify whether the user is allowed to move the page.
Title | $oldTitle | Current (old) location |
Title | $newTitle | New location |
User | $user | User making the move |
string | null | $reason | Reason provided by the user |
Status | $status | Status object to pass error messages to |
Implemented in MediaWiki\HookContainer\HookRunner.