Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F6005448
VisualEditorBeforeEditorHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
645 B
Referenced Files
None
Subscribers
None
VisualEditorBeforeEditorHook.php
View Options
<?php
namespace
MediaWiki\Extension\VisualEditor
;
use
MediaWiki\Output\OutputPage
;
use
MediaWiki\Skin\Skin
;
/**
* VisualEditorBeforeEditorHook
*
* @file
* @ingroup Extensions
* @copyright 2011-2021 VisualEditor Team and others; see AUTHORS.txt
* @license MIT
*/
interface
VisualEditorBeforeEditorHook
{
/**
* This hook is executed in before deciding if the editor is available on a certain page
*
* If the hook returns false, the editor is not available.
*
* @param OutputPage $output
* @param Skin $skin
* @return bool
*/
public
function
onVisualEditorBeforeEditor
(
OutputPage
$output
,
Skin
$skin
):
bool
;
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Oct 4 2026, 07:57 (5 w, 2 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
d3/55/b63c55d8fb6bb9a6804277332d47
Default Alt Text
VisualEditorBeforeEditorHook.php (645 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment