|
MediaWiki REL1_35
|
Stable to implement. More...

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. | |
Stable to implement.
Definition at line 12 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.