MediaWiki
REL1_39
AlternateEditPreviewHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Hook
;
4
5
use
Content
;
6
use
EditPage
;
7
use
ParserOutput
;
8
16
interface
AlternateEditPreviewHook
{
30
public
function
onAlternateEditPreview
( $editPage, &
$content
, &$previewHTML,
31
&$parserOutput
32
);
33
}
EditPage
The edit page/HTML interface (split from Article) The actual database and text munging is still in Ar...
Definition
EditPage.php:103
ParserOutput
Definition
ParserOutput.php:38
Content
Base interface for content objects.
Definition
Content.php:35
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
$content
$content
Definition
router.php:76
includes
Hook
AlternateEditPreviewHook.php
Generated on Mon Dec 16 2024 06:35:07 for MediaWiki by
1.10.0