MediaWiki
master
AlternateEditPreviewHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Hook
;
4
5
use
MediaWiki\Content\Content
;
6
use
MediaWiki\EditPage\EditPage
;
7
use
MediaWiki\Parser\ParserOutput
;
8
16
interface
AlternateEditPreviewHook
{
30
public
function
onAlternateEditPreview
( $editPage, &$content, &$previewHTML,
31
&$parserOutput
32
);
33
}
MediaWiki\EditPage\EditPage
The HTML user interface for page editing.
Definition
EditPage.php:149
MediaWiki\Parser\ParserOutput
ParserOutput is a rendering of a Content object or a message.
Definition
ParserOutput.php:93
MediaWiki\Content\Content
Base interface for representing page content.
Definition
Content.php:39
MediaWiki\Hook\AlternateEditPreviewHook
This is a hook handler interface, see docs/Hooks.md.
Definition
AlternateEditPreviewHook.php:16
MediaWiki\Hook\AlternateEditPreviewHook\onAlternateEditPreview
onAlternateEditPreview( $editPage, &$content, &$previewHTML, &$parserOutput)
This hook is called before generating the preview of the page when editing ( EditPage::getPreviewText...
MediaWiki\Hook
Definition
ActionBeforeFormDisplayHook.php:3
includes
Hook
AlternateEditPreviewHook.php
Generated on Fri Dec 6 2024 17:24:07 for MediaWiki by
1.10.0