MediaWiki  master
MovePageIsValidMoveHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Hook;
4 
6 use Status;
7 
26  public function onMovePageIsValidMove( $oldTitle, $newTitle, $status );
27 }
Represents a title within MediaWiki.
Definition: Title.php:82
Generic operation result class Has warning/error list, boolean status and arbitrary value.
Definition: Status.php:46
This is a hook handler interface, see docs/Hooks.md.
onMovePageIsValidMove( $oldTitle, $newTitle, $status)
Use this hook to specify whether a page can be moved for technical reasons.