| DifferenceEngineViewHeader | |
|---|---|
| Available fromversion 1.35.0 (Gerrit change 606429) Called before displaying a diff | |
| Define function: | publicstaticfunctiononDifferenceEngineViewHeader(DifferenceEngine$differenceEngine){...} |
| Attach hook: | Inextension.json:{"Hooks":{"DifferenceEngineViewHeader":"MediaWiki\\Extension\\MyExtension\\Hooks::onDifferenceEngineViewHeader"}} |
| Called from: | File(s):diff/DifferenceEngine.php Function(s):showDiffPage |
| Interface: | DifferenceEngineViewHeaderHook.php |
For more information about attaching hooks, seeManual:Hooks.
For examples of extensions using this hook, seeCategory:DifferenceEngineViewHeader extensions.