MediaWiki REL1_35
|
Public Member Functions | |
onDiffRevisionTools ( $newRev, &$links, $oldRev, $user) | |
Use this hook to override or extend the revision tools available from the diff view, i.e. | |
Definition at line 12 of file DiffRevisionToolsHook.php.
MediaWiki\Diff\Hook\DiffRevisionToolsHook::onDiffRevisionTools | ( | $newRev, | |
& | $links, | ||
$oldRev, | |||
$user | |||
) |
Use this hook to override or extend the revision tools available from the diff view, i.e.
undo, etc.
Revision | $newRev | New revision |
string[] | &$links | Array of HTML links |
Revision | null | $oldRev | Old revision (may be null) |
User | $user | Current user |
Implemented in MediaWiki\HookContainer\HookRunner.