Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4199133
TitleIsMovableHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
906 B
Referenced Files
None
Subscribers
None
TitleIsMovableHook.php
View Options
<?php
namespace
MediaWiki\Hook
;
use
MediaWiki\Title\Title
;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "TitleIsMovable" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface
TitleIsMovableHook
{
/**
* This hook is called when determining if it is possible to move a page. Note
* that this hook is not called for interwiki pages or pages in immovable
* namespaces: for these, isMovable() always returns false.
*
* @since 1.35
*
* @param Title $title Title object that is being checked
* @param bool &$result Whether MediaWiki currently thinks this page is movable.
* Hooks may change this value to override the return value of
* Title::isMovable().
* @return bool|void True or no return value to continue or false to abort
*/
public
function
onTitleIsMovable
(
$title
,
&
$result
);
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Aug 20 2026, 22:34 (12 w, 2 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
c8/3d/86ec084919aac94500b64e30bd8f
Default Alt Text
TitleIsMovableHook.php (906 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment