MediaWiki  master
MediaWiki\Diff\Hook\DifferenceEngineOldHeaderNoOldRevHook Interface Reference

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

Inheritance diagram for MediaWiki\Diff\Hook\DifferenceEngineOldHeaderNoOldRevHook:

Public Member Functions

 onDifferenceEngineOldHeaderNoOldRev (&$oldHeader)
 Use this hook to change the $oldHeader variable in cases when there is no old revision. More...
 

Detailed Description

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

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

Stable to implement

Definition at line 12 of file DifferenceEngineOldHeaderNoOldRevHook.php.

Member Function Documentation

◆ onDifferenceEngineOldHeaderNoOldRev()

MediaWiki\Diff\Hook\DifferenceEngineOldHeaderNoOldRevHook::onDifferenceEngineOldHeaderNoOldRev ( $oldHeader)

Use this hook to change the $oldHeader variable in cases when there is no old revision.

Since
1.35
Parameters
string&$oldHeaderEmpty string by default
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: