MediaWiki  master
EditPageGetDiffContentHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Hook;
4 
5 use Content;
6 use EditPage;
7 
27  public function onEditPageGetDiffContent( $editPage, &$newtext );
28 }
The edit page/HTML interface (split from Article) The actual database and text munging is still in Ar...
Definition: EditPage.php:100
Base interface for content objects.
Definition: Content.php:35
This is a hook handler interface, see docs/Hooks.md.
onEditPageGetDiffContent( $editPage, &$newtext)
Use this hook to modify the wikitext that will be used in "Show changes".