Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F8106333
EditFormPreloadTextHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
624 B
Referenced Files
None
Subscribers
None
EditFormPreloadTextHook.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 "EditFormPreloadText" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface
EditFormPreloadTextHook
{
/**
* Use this hook to populate the edit form when creating pages.
*
* @since 1.35
*
* @param string &$text Text to preload with
* @param Title $title Page being created
* @return bool|void True or no return value to continue or false to abort
*/
public
function
onEditFormPreloadText
(
&
$text
,
$title
);
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Tue, Dec 8, 03:14 (1 d, 16 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
dd/e6/600745a8422f103ef1ab27f7c70c
Default Alt Text
EditFormPreloadTextHook.php (624 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment