MediaWiki master
EditPageGetPreviewContentHook.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\Hook;
4
7
26 public function onEditPageGetPreviewContent( $editPage, &$content );
27}
The HTML user interface for page editing.
Definition EditPage.php:149
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.