MediaWiki  master
HistoryToolsHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Hook;
4 
7 
12 interface HistoryToolsHook {
26  public function onHistoryTools( $revRecord, &$links, $prevRevRecord, $userIdentity );
27 }
Revision\RevisionRecord
Page revision base class.
Definition: RevisionRecord.php:46
MediaWiki\Hook\HistoryToolsHook
Stable to implement.
Definition: HistoryToolsHook.php:12
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