Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F7404586
CodeMirrorSpecialPageHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
696 B
Referenced Files
None
Subscribers
None
CodeMirrorSpecialPageHook.php
View Options
<?php
declare
(
strict_types
=
1
);
namespace
MediaWiki\Extension\CodeMirror\Hooks
;
use
MediaWiki\SpecialPage\SpecialPage
;
/**
* This is a hook handler interface, see docs/Hooks.md in core.
* Use the hook name "CodeMirrorSpecialPage" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface
CodeMirrorSpecialPageHook
{
/**
* Allows to load CodeMirror on special pages.
*
* @param SpecialPage $special The special page
* @param array &$textareas The textareas to load CodeMirror on
* @return bool True to continue or false to abort
*/
public
function
onCodeMirrorSpecialPage
(
SpecialPage
$special
,
array
&
$textareas
):
bool
;
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, Nov 21, 19:15 (1 d, 2 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
2b/8a/ccbda3a65d1211a836522bf6f4d3
Default Alt Text
CodeMirrorSpecialPageHook.php (696 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment