MediaWiki fundraising/REL1_35
|
Stable to implement. More...
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. | |
Stable to implement.
Definition at line 12 of file HistoryToolsHook.php.
MediaWiki\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.