MediaWiki  master
EditPageGetPreviewContentHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Hook;
4 
5 use Content;
7 
26  public function onEditPageGetPreviewContent( $editPage, &$content );
27 }
The HTML user interface for page editing.
Definition: EditPage.php:146
Base interface for representing page content.
Definition: Content.php:39
This is a hook handler interface, see docs/Hooks.md.
onEditPageGetPreviewContent( $editPage, &$content)
Use this hook to modify the wikitext that will be previewed.
$content
Definition: router.php:76