MediaWiki REL1_35
|
Stable to implement. More...
Public Member Functions | |
onEditPageGetDiffContent ( $editPage, &$newtext) | |
Use this hook to modify the wikitext that will be used in "Show changes". | |
Stable to implement.
Definition at line 12 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.