MediaWiki REL1_35
MediaWiki\Diff\Hook\DifferenceEngineShowDiffPageMaybeShowMissingRevisionHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\Diff\Hook\DifferenceEngineShowDiffPageMaybeShowMissingRevisionHook:

Public Member Functions

 onDifferenceEngineShowDiffPageMaybeShowMissingRevision ( $differenceEngine)
 This hook is called in DifferenceEngine::showDiffPage() when revision data cannot be loaded.
 

Detailed Description

Stable to implement.

Definition at line 11 of file DifferenceEngineShowDiffPageMaybeShowMissingRevisionHook.php.

Member Function Documentation

◆ onDifferenceEngineShowDiffPageMaybeShowMissingRevision()

MediaWiki\Diff\Hook\DifferenceEngineShowDiffPageMaybeShowMissingRevisionHook::onDifferenceEngineShowDiffPageMaybeShowMissingRevision (   $differenceEngine)

This hook is called in DifferenceEngine::showDiffPage() when revision data cannot be loaded.

Since
1.35
Parameters
DifferenceEngine$differenceEngine
Returns
bool|void True or no return value to continue, or false to prevent displaying the missing revision message (i.e. to prevent DifferenceEngine::showMissingRevision() from being called)

Implemented in MediaWiki\HookContainer\HookRunner.


The documentation for this interface was generated from the following file: