MediaWiki
master
MovePageIsValidMoveHook.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
15
interface
MovePageIsValidMoveHook
{
26
public
function
onMovePageIsValidMove
( $oldTitle, $newTitle, $status );
27
}
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\Hook\MovePageIsValidMoveHook
This is a hook handler interface, see docs/Hooks.md.
Definition
MovePageIsValidMoveHook.php:15
MediaWiki\Hook\MovePageIsValidMoveHook\onMovePageIsValidMove
onMovePageIsValidMove( $oldTitle, $newTitle, $status)
Use this hook to specify whether a page can be moved for technical reasons.
MediaWiki\Hook
Definition
ActionBeforeFormDisplayHook.php:3
includes
Hook
MovePageIsValidMoveHook.php
Generated on Sun Oct 6 2024 22:23:42 for MediaWiki by
1.10.0