MediaWiki
master
EditPageGetDiffContentHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Hook
;
4
5
use
MediaWiki\Content\Content
;
6
use
MediaWiki\EditPage\EditPage
;
7
15
interface
EditPageGetDiffContentHook
{
27
public
function
onEditPageGetDiffContent
( $editPage, &$newtext );
28
}
MediaWiki\EditPage\EditPage
The HTML user interface for page editing.
Definition
EditPage.php:149
MediaWiki\Content\Content
Base interface for representing page content.
Definition
Content.php:39
MediaWiki\Hook\EditPageGetDiffContentHook
This is a hook handler interface, see docs/Hooks.md.
Definition
EditPageGetDiffContentHook.php:15
MediaWiki\Hook\EditPageGetDiffContentHook\onEditPageGetDiffContent
onEditPageGetDiffContent( $editPage, &$newtext)
Use this hook to modify the wikitext that will be used in "Show changes".
MediaWiki\Hook
Definition
ActionBeforeFormDisplayHook.php:3
includes
Hook
EditPageGetDiffContentHook.php
Generated on Mon Dec 2 2024 19:23:52 for MediaWiki by
1.10.0