MediaWiki
REL1_41
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 Wed Nov 27 2024 07:22:41 for MediaWiki by
1.10.0