|
MediaWiki master
|
This is a hook handler interface, see docs/Hooks.md. More...
Inherited by MediaWiki\HookContainer\HookRunner.
Public Member Functions | |
| onHistoryTools ( $revRecord, &$links, $prevRevRecord, $userIdentity) | |
| Use this hook to override or extend the revision tools available from the page history view, i.e. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "HistoryTools" to register handlers implementing this interface.
Definition at line 15 of file HistoryToolsHook.php.
| MediaWiki\Actions\Hook\HistoryToolsHook::onHistoryTools | ( | $revRecord, | |
| & | $links, | ||
| $prevRevRecord, | |||
| $userIdentity ) |
Use this hook to override or extend the revision tools available from the page history view, i.e.
undo, rollback, etc.
| RevisionRecord | $revRecord | |
| string[] | &$links | Array of HTML links |
| RevisionRecord | null | $prevRevRecord | RevisionRecord object, next in line in page history, or null |
| UserIdentity | $userIdentity | Current user |
Implemented in MediaWiki\HookContainer\HookRunner.