Manual:Hooks/ArticleContentOnDiff/pl

Category:MediaWiki hooks/pl#ArticleContentOnDiff Category:Hooks added in MediaWiki 1.17.0/pl#ArticleContentOnDiff
ArticleContentOnDiff
Dostępne od wersji version 1.17.0
Before showing the article content below a diff.
Zdefiniuj funkcję:
public static function onArticleContentOnDiff( $diffEngine, $output ) { ... }
Dołącz hak: W extension.json:
{
	"Hooks": {
		"ArticleContentOnDiff": "MediaWiki\\Extension\\MyExtension\\Hooks::onArticleContentOnDiff"
	}
}
Called from: Plik(i): diff/DifferenceEngine.phpCategory:MediaWiki hooks included in DifferenceEngine.php#pl
Interface: ArticleContentOnDiffHook.php

For more information about attaching hooks, see Podręcznik:Haki .
For examples of extensions using this hook, see Category:ArticleContentOnDiff extensions/pl.

Szczegóły

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/pl Category:MediaWiki hooks/pl Category:MediaWiki hooks included in DifferenceEngine.php