MediaWiki master
MediaWiki\Diff\Hook\DifferenceEngineShowDiffPageMaybeShowMissingRevisionHook Interface Reference

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

Inherited by MediaWiki\HookContainer\HookRunner.

Public Member Functions

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

Detailed Description

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

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

Stability: stable
to implement

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