Manual:Hooks/ArticleContentOnDiff/de

Category:MediaWiki hooks/de#ArticleContentOnDiff Category:Hooks added in MediaWiki 1.17.0/de#ArticleContentOnDiff
ArticleContentOnDiff
Erhältlich ab Version 1.17.0
Before showing the article content below a diff.
Funktion definieren:
public static function onArticleContentOnDiff( $diffEngine, $output ) { ... }
Haken anbringen: In extension.json:
{
	"Hooks": {
		"ArticleContentOnDiff": "MediaWiki\\Extension\\MyExtension\\Hooks::onArticleContentOnDiff"
	}
}
Angerufen von: Datei(en): diff/DifferenceEngine.phpCategory:MediaWiki hooks included in DifferenceEngine.php#de
Interface: ArticleContentOnDiffHook.php

For more information about attaching hooks, see Handbuch:Hooks .
For examples of extensions using this hook, see Category:ArticleContentOnDiff extensions/de.

Details

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

  • $diffEngine - the DifferenceEngine
  • $output - the OutputPage object ($wgOut)
Category:Hooks added in MediaWiki 1.17.0/de Category:MediaWiki hooks/de Category:MediaWiki hooks included in DifferenceEngine.php