MediaWiki
master
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
15
interface
DiffToolsHook
{
28
public
function
onDiffTools
( $newRevRecord, &$links, $oldRevRecord, $userIdentity );
29
}
MediaWiki\Revision\RevisionRecord
Page revision base class.
Definition
RevisionRecord.php:47
MediaWiki\Diff\Hook\DiffToolsHook
This is a hook handler interface, see docs/Hooks.md.
Definition
DiffToolsHook.php:15
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:39
MediaWiki\Diff\Hook
Definition
AbortDiffCacheHook.php:3
includes
diff
Hook
DiffToolsHook.php
Generated on Mon Dec 30 2024 14:23:47 for MediaWiki by
1.10.0