MediaWiki REL1_39
MovePageCheckPermissionsHook.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\Hook;
4
5use Status;
6use Title;
7use User;
8
29 public function onMovePageCheckPermissions( $oldTitle, $newTitle, $user,
30 $reason, $status
31 );
32}
Generic operation result class Has warning/error list, boolean status and arbitrary value.
Definition Status.php:44
Represents a title within MediaWiki.
Definition Title.php:49
internal since 1.36
Definition User.php:70
This is a hook handler interface, see docs/Hooks.md.
onMovePageCheckPermissions( $oldTitle, $newTitle, $user, $reason, $status)
Use this hook to specify whether the user is allowed to move the page.