MediaWiki REL1_35
MediaWiki\Diff\Hook\DiffViewHeaderHook Interface Reference
Inheritance diagram for MediaWiki\Diff\Hook\DiffViewHeaderHook:

Public Member Functions

 onDiffViewHeader ( $diff, $oldRev, $newRev)
 This hook is called before diff display.
 

Detailed Description

Deprecated:
since 1.35, use DifferenceEngineViewHeader

Definition at line 12 of file DiffViewHeaderHook.php.

Member Function Documentation

◆ onDiffViewHeader()

MediaWiki\Diff\Hook\DiffViewHeaderHook::onDiffViewHeader (   $diff,
  $oldRev,
  $newRev 
)

This hook is called before diff display.

Since
1.35
Parameters
DifferenceEngine$diff
Revision | null$oldRevOld revision (may be null/invalid)
Revision$newRevNew revision
Returns
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\HookContainer\HookRunner.


The documentation for this interface was generated from the following file: