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