MediaWiki REL1_37
|
This is a hook handler interface, see docs/Hooks.md. More...
Public Member Functions | |
onEditPageGetDiffContent ( $editPage, &$newtext) | |
Use this hook to modify the wikitext that will be used in "Show changes". | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "EditPageGetDiffContent" to register handlers implementing this interface.
Definition at line 15 of file EditPageGetDiffContentHook.php.
MediaWiki\Hook\EditPageGetDiffContentHook::onEditPageGetDiffContent | ( | $editPage, | |
& | $newtext | ||
) |
Use this hook to modify the wikitext that will be used in "Show changes".
Note that it is preferable to implement diff handling for different data types using the ContentHandler facility.
Implemented in MediaWiki\HookContainer\HookRunner.