MediaWiki master
MediaWiki\Diff\Hook\DifferenceEngineShowEmptyOldContentHook Interface Reference

This is a hook handler interface, see docs/Hooks.md. More...

Inherited by MediaWiki\HookContainer\HookRunner.

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

This is a hook handler interface, see docs/Hooks.md.

Use the hook name "DifferenceEngineShowEmptyOldContent" to register handlers implementing this interface.

Stability: stable
to implement

Definition at line 14 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: