MediaWiki
REL1_35
DiffToolsHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Diff\Hook
;
4
5
use
MediaWiki\Revision\RevisionRecord
;
6
use
MediaWiki\User\UserIdentity
;
7
12
interface
DiffToolsHook
{
25
public
function
onDiffTools
( $newRevRecord, &$links, $oldRevRecord, $userIdentity );
26
}
MediaWiki\Revision\RevisionRecord
Page revision base class.
Definition
RevisionRecord.php:46
MediaWiki\Diff\Hook\DiffToolsHook
Stable to implement.
Definition
DiffToolsHook.php:12
MediaWiki\Diff\Hook\DiffToolsHook\onDiffTools
onDiffTools( $newRevRecord, &$links, $oldRevRecord, $userIdentity)
Use this hook to override or extend the revision tools available from the diff view,...
MediaWiki\User\UserIdentity
Interface for objects representing user identity.
Definition
UserIdentity.php:32
MediaWiki\Diff\Hook
Definition
AbortDiffCacheHook.php:3
includes
diff
Hook
DiffToolsHook.php
Generated on Sat Apr 6 2024 00:07:06 for MediaWiki by
1.9.8