MediaWiki REL1_40
|
This is a hook handler interface, see docs/Hooks.md. More...
Inherited by MediaWiki\HookContainer\HookRunner.
Public Member Functions | |
onDiffTools ( $newRevRecord, &$links, $oldRevRecord, $userIdentity) | |
Use this hook to override or extend the revision tools available from the diff view, i.e. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "DiffTools" to register handlers implementing this interface.
Definition at line 15 of file DiffToolsHook.php.
MediaWiki\Diff\Hook\DiffToolsHook::onDiffTools | ( | $newRevRecord, | |
& | $links, | ||
$oldRevRecord, | |||
$userIdentity ) |
Use this hook to override or extend the revision tools available from the diff view, i.e.
undo, etc.
RevisionRecord | $newRevRecord | New revision |
string[] | &$links | Array of HTML links |
RevisionRecord | null | $oldRevRecord | Old revision (may be null) |
UserIdentity | $userIdentity | Current user |
Implemented in MediaWiki\HookContainer\HookRunner.