MediaWiki
REL1_35
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
12
interface
HistoryToolsHook
{
26
public
function
onHistoryTools
( $revRecord, &$links, $prevRevRecord, $userIdentity );
27
}
MediaWiki\Revision\RevisionRecord
Page revision base class.
Definition
RevisionRecord.php:46
MediaWiki\Hook\HistoryToolsHook
Stable to implement.
Definition
HistoryToolsHook.php:12
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
MediaWiki\Hook
Definition
ActionBeforeFormDisplayHook.php:3
includes
actions
Hook
HistoryToolsHook.php
Generated on Sat Apr 6 2024 00:06:48 for MediaWiki by
1.9.8