MediaWiki REL1_37
|
This is a hook handler interface, see docs/Hooks.md. More...
Public Member Functions | |
onAlternateEditPreview ( $editPage, &$content, &$previewHTML, &$parserOutput) | |
This hook is called before generating the preview of the page when editing ( EditPage::getPreviewText() ). | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "AlternateEditPreview" to register handlers implementing this interface.
Definition at line 16 of file AlternateEditPreviewHook.php.
MediaWiki\Hook\AlternateEditPreviewHook::onAlternateEditPreview | ( | $editPage, | |
& | $content, | ||
& | $previewHTML, | ||
& | $parserOutput | ||
) |
This hook is called before generating the preview of the page when editing ( EditPage::getPreviewText() ).
EditPage | $editPage | |
Content | &$content | Content object for the text field from the edit page |
string | &$previewHTML | Text to be placed into the page for the preview |
ParserOutput | &$parserOutput | ParserOutput object for the preview |
Implemented in MediaWiki\HookContainer\HookRunner.