|
MediaWiki REL1_35
|
Stable to implement. More...

Public Member Functions | |
| onAlternateEditPreview ( $editPage, &$content, &$previewHTML, &$parserOutput) | |
| This hook is called before generating the preview of the page when editing ( EditPage::getPreviewText() ). | |
Stable to implement.
Definition at line 13 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.