Movatterモバイル変換


[0]ホーム

URL:


Jump to content
MediaWiki
Search

Manual:Hooks/DifferenceEngineViewHeader

From mediawiki.org
<Manual:Hooks
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.


Details

[edit]
  • $differenceEngine: A DifferenceEngine object
Retrieved from "https://www.mediawiki.org/w/index.php?title=Manual:Hooks/DifferenceEngineViewHeader&oldid=4039987"
Categories:

[8]ページ先頭

©2009-2025 Movatter.jp