MediaWiki  master
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 
27  public function onAlternateEditPreview( $editPage, &$content, &$previewHTML,
28  &$parserOutput
29  );
30 }
ParserOutput
Definition: ParserOutput.php:27
MediaWiki\Hook
Definition: ActionBeforeFormDisplayHook.php:3
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\AlternateEditPreviewHook
Stable to implement.
Definition: AlternateEditPreviewHook.php:13
$content
$content
Definition: router.php:76
EditPage
The edit page/HTML interface (split from Article) The actual database and text munging is still in Ar...
Definition: EditPage.php:62
Content
Base interface for content objects.
Definition: Content.php:35