Manual:Hooks/DifferenceEngineShowDiffPage

Category:MediaWiki hooks#DifferenceEngineShowDiffPage Category:Hooks added in MediaWiki 1.29.0#DifferenceEngineShowDiffPage
DifferenceEngineShowDiffPage
Available from version 1.29.0 (Gerrit change 298026)
Add additional output via the available OutputPage object into the diff view
Define function:
public static function onDifferenceEngineShowDiffPage( $out ) { ... }
Attach hook: In extension.json:
{
	"Hooks": {
		"DifferenceEngineShowDiffPage": "MediaWiki\\Extension\\MyExtension\\Hooks::onDifferenceEngineShowDiffPage"
	}
}
Called from: File(s): diff/DifferenceEngine.phpCategory:MediaWiki hooks included in DifferenceEngine.php#DifferenceEngineShowDiffPage
Function(s): showDiffPage
Interface: DifferenceEngineShowDiffPageHook.php

For more information about attaching hooks, see Manual:Hooks .
For examples of extensions using this hook, see Category:DifferenceEngineShowDiffPage extensions.

Details

  • $out: OutputPage object
Category:Hooks added in MediaWiki 1.29.0 Category:MediaWiki hooks Category:MediaWiki hooks included in DifferenceEngine.php