Page MenuHomeWickedGov Phorge

MovePageIsValidMoveHook.php
No OneTemporary

Size
750 B
Referenced Files
None
Subscribers
None

MovePageIsValidMoveHook.php

<?php
namespace MediaWiki\Hook;
use MediaWiki\Status\Status;
use MediaWiki\Title\Title;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "MovePageIsValidMove" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface MovePageIsValidMoveHook {
/**
* Use this hook to specify whether a page can be moved for technical reasons.
*
* @since 1.35
*
* @param Title $oldTitle Current (old) location
* @param Title $newTitle New location
* @param Status $status Status object to pass error messages to
* @return bool|void True or no return value to continue or false to abort
*/
public function onMovePageIsValidMove( $oldTitle, $newTitle, $status );
}

File Metadata

Mime Type
text/x-php
Expires
Sat, Oct 3, 09:02 (1 w, 4 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
29/b6/2a1ed9ab54de7227147adbfc863e
Default Alt Text
MovePageIsValidMoveHook.php (750 B)

Event Timeline