MediaWiki
REL1_40
HistoryToolsHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Hook
;
4
5
use
MediaWiki\Revision\RevisionRecord
;
6
use
MediaWiki\User\UserIdentity
;
7
15
interface
HistoryToolsHook
{
29
public
function
onHistoryTools
( $revRecord, &$links, $prevRevRecord, $userIdentity );
30
}
MediaWiki\Revision\RevisionRecord
Page revision base class.
Definition
RevisionRecord.php:47
MediaWiki\Hook\HistoryToolsHook
This is a hook handler interface, see docs/Hooks.md.
Definition
HistoryToolsHook.php:15
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:39
MediaWiki\Hook
Definition
ActionBeforeFormDisplayHook.php:3
includes
actions
Hook
HistoryToolsHook.php
Generated on Thu Jun 27 2024 14:02:09 for MediaWiki by
1.10.0