Manual:Hooks/ArticleContentOnDiff/es

Category:MediaWiki hooks/es#ArticleContentOnDiff Category:Hooks added in MediaWiki 1.17.0/es#ArticleContentOnDiff
ArticleContentOnDiff
Disponible desde versión 1.17.0
Before showing the article content below a diff.
Definir función:
public static function onArticleContentOnDiff( $diffEngine, $output ) { ... }
Attach hook: En extension.json:
{
	"Hooks": {
		"ArticleContentOnDiff": "MediaWiki\\Extension\\MyExtension\\Hooks::onArticleContentOnDiff"
	}
}
Called from: Archivo(s): diff/DifferenceEngine.phpCategory:MediaWiki hooks included in DifferenceEngine.php#es
Interface: ArticleContentOnDiffHook.php

For more information about attaching hooks, see Manual:Enganches .
For examples of extensions using this hook, see Category:ArticleContentOnDiff extensions/es.

Detalles

Utilice esto para cambiar el contenido en este área o como se carga.

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