MediaWiki REL1_40
MediaWiki\Diff\Hook\ArticleContentOnDiffHook Interface Reference

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

Inherited by MediaWiki\HookContainer\HookRunner.

Public Member Functions

 onArticleContentOnDiff ( $diffEngine, $output)
 This hook is called before showing the article content below a diff.
 

Detailed Description

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

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

Stability: stable
to implement

Definition at line 15 of file ArticleContentOnDiffHook.php.

Member Function Documentation

◆ onArticleContentOnDiff()

MediaWiki\Diff\Hook\ArticleContentOnDiffHook::onArticleContentOnDiff ( $diffEngine,
$output )

This hook is called before showing the article content below a diff.

Use this hook to change the content in this area or how it is loaded.

Since
1.35
Parameters
DifferenceEngine$diffEngine
OutputPage$output
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: