MediaWiki REL1_35
MediaWiki\Diff\Hook\DifferenceEngineOldHeaderNoOldRevHook Interface Reference

Stable to implement. 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.
 

Detailed Description

Stable to implement.

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