Page MenuHomeWickedGov Phorge

VisualEditorBeforeEditorHook.php
No OneTemporary

Size
645 B
Referenced Files
None
Subscribers
None

VisualEditorBeforeEditorHook.php

<?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

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)

Event Timeline