MediaWiki REL1_35
MediaWiki\Diff\Hook\DifferenceEngineShowEmptyOldContentHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\Diff\Hook\DifferenceEngineShowEmptyOldContentHook:

Public Member Functions

 onDifferenceEngineShowEmptyOldContent ( $differenceEngine)
 Use this hook to change the diff table body (without header) in cases when there is no old revision or the old and new revisions are identical.
 

Detailed Description

Stable to implement.

Definition at line 11 of file DifferenceEngineShowEmptyOldContentHook.php.

Member Function Documentation

◆ onDifferenceEngineShowEmptyOldContent()

MediaWiki\Diff\Hook\DifferenceEngineShowEmptyOldContentHook::onDifferenceEngineShowEmptyOldContent (   $differenceEngine)

Use this hook to change the diff table body (without header) in cases when there is no old revision or the old and new revisions are identical.

Since
1.35
Parameters
DifferenceEngine$differenceEngine
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: