MediaWiki REL1_35
|
Stable to implement. More...
Public Member Functions | |
onEditPageGetPreviewContent ( $editPage, &$content) | |
Use this hook to modify the wikitext that will be previewed. | |
Stable to implement.
Definition at line 12 of file EditPageGetPreviewContentHook.php.
MediaWiki\Hook\EditPageGetPreviewContentHook::onEditPageGetPreviewContent | ( | $editPage, | |
& | $content | ||
) |
Use this hook to modify the wikitext that will be previewed.
Note that it is preferable to implement previews for different data types using the ContentHandler facility.
EditPage | $editPage | |
Content | &$content | Content object to be previewed (may be replaced by hook function) |
Implemented in MediaWiki\HookContainer\HookRunner.