Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4204768
VisualEditorBeforeEditorHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
630 B
Referenced Files
None
Subscribers
None
VisualEditorBeforeEditorHook.php
View Options
<?php
namespace
MediaWiki\Extension\VisualEditor
;
use
MediaWiki\Output\OutputPage
;
use
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
Aug 21 2026, 02:21 (12 w, 3 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
52/3b/1eca868ad96a8546d316aa3773f4
Default Alt Text
VisualEditorBeforeEditorHook.php (630 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment