Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F5962677
MovePageIsValidMoveHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
750 B
Referenced Files
None
Subscribers
None
MovePageIsValidMoveHook.php
View Options
<?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
Details
Attached
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)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment