MediaWiki master
AlternateEditPreviewHook.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\Hook;
4
8
30 public function onAlternateEditPreview( $editPage, &$content, &$previewHTML,
31 &$parserOutput
32 );
33}
The HTML user interface for page editing.
Definition EditPage.php:152
ParserOutput is a rendering of a Content object or a message.
Content objects represent page content, e.g.
Definition Content.php:42
This is a hook handler interface, see docs/Hooks.md.
onAlternateEditPreview( $editPage, &$content, &$previewHTML, &$parserOutput)
This hook is called before generating the preview of the page when editing ( EditPage::getPreviewText...