MediaWiki
REL1_35
MovePageIsValidMoveHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Hook
;
4
5
use
Status
;
6
use
Title
;
7
12
interface
MovePageIsValidMoveHook
{
23
public
function
onMovePageIsValidMove
( $oldTitle, $newTitle, $status );
24
}
Status
Generic operation result class Has warning/error list, boolean status and arbitrary value.
Definition
Status.php:44
Title
Represents a title within MediaWiki.
Definition
Title.php:42
MediaWiki\Hook\MovePageIsValidMoveHook
Stable to implement.
Definition
MovePageIsValidMoveHook.php:12
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 Sat Apr 6 2024 00:07:13 for MediaWiki by
1.9.8