MediaWiki
master
MovePageCheckPermissionsHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Hook
;
4
5
use
MediaWiki\Status\Status
;
6
use
MediaWiki\Title\Title
;
7
use
MediaWiki\User\User
;
8
16
interface
MovePageCheckPermissionsHook
{
29
public
function
onMovePageCheckPermissions
( $oldTitle, $newTitle, $user,
30
$reason, $status
31
);
32
}
MediaWiki\Status\Status
Generic operation result class Has warning/error list, boolean status and arbitrary value.
Definition
Status.php:54
MediaWiki\Title\Title
Represents a title within MediaWiki.
Definition
Title.php:78
MediaWiki\User\User
internal since 1.36
Definition
User.php:93
MediaWiki\Hook\MovePageCheckPermissionsHook
This is a hook handler interface, see docs/Hooks.md.
Definition
MovePageCheckPermissionsHook.php:16
MediaWiki\Hook\MovePageCheckPermissionsHook\onMovePageCheckPermissions
onMovePageCheckPermissions( $oldTitle, $newTitle, $user, $reason, $status)
Use this hook to specify whether the user is allowed to move the page.
MediaWiki\Hook
Definition
ActionBeforeFormDisplayHook.php:3
includes
Hook
MovePageCheckPermissionsHook.php
Generated on Thu Dec 12 2024 19:24:02 for MediaWiki by
1.10.0