22 lines
432 B
PHP
22 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 );
|
||
|
|
}
|