MediaWiki  master
DiffRevisionToolsHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Diff\Hook;
4 
5 use Revision;
6 use User;
7 
28  public function onDiffRevisionTools( $newRev, &$links, $oldRev, $user );
29 }
MediaWiki\Diff\Hook
Definition: AbortDiffCacheHook.php:3
MediaWiki\Diff\Hook\DiffRevisionToolsHook\onDiffRevisionTools
onDiffRevisionTools( $newRev, &$links, $oldRev, $user)
Use this hook to override or extend the revision tools available from the diff view,...
Revision
Definition: Revision.php:40
User
The User object encapsulates all of the user-specific settings (user_id, name, rights,...
Definition: User.php:66
MediaWiki\Diff\Hook\DiffRevisionToolsHook
This is a hook handler interface, see docs/Hooks.md.
Definition: DiffRevisionToolsHook.php:15