MediaWiki REL1_35
MediaWiki\Diff\Hook\ArticleContentOnDiffHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\Diff\Hook\ArticleContentOnDiffHook:

Public Member Functions

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

Detailed Description

Stable to implement.

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