MediaWiki  master
HistoryToolsHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Hook;
4 
7 
15 interface HistoryToolsHook {
29  public function onHistoryTools( $revRecord, &$links, $prevRevRecord, $userIdentity );
30 }
Revision\RevisionRecord
Page revision base class.
Definition: RevisionRecord.php:45
MediaWiki\Hook\HistoryToolsHook
This is a hook handler interface, see docs/Hooks.md.
Definition: HistoryToolsHook.php:15
MediaWiki\Hook
Definition: ActionBeforeFormDisplayHook.php:3
MediaWiki\Hook\HistoryToolsHook\onHistoryTools
onHistoryTools( $revRecord, &$links, $prevRevRecord, $userIdentity)
Use this hook to override or extend the revision tools available from the page history view,...
MediaWiki\User\UserIdentity
Interface for objects representing user identity.
Definition: UserIdentity.php:32