wiki.techinc.nl/includes/diff/Hook/DifferenceEngineViewHeaderHook.php
DannyS712 a5dc0331d0 Add new DifferenceEngineViewHeader hook to replace DiffViewHeader
Bug: T255769
Change-Id: I8adf51fe641c88c9b37080af065a0a9cd920de44
2020-06-18 13:25:29 +00:00

21 lines
432 B
PHP

<?php
namespace MediaWiki\Diff\Hook;
use DifferenceEngine;
/**
* @stable for implementation
* @ingroup Hooks
*/
interface DifferenceEngineViewHeaderHook {
/**
* This hook is called before diff display.
*
* @since 1.35
*
* @param DifferenceEngine $differenceEngine
* @return bool|void True or no return value to continue or false to abort
*/
public function onDifferenceEngineViewHeader( $differenceEngine );
}