Template:MediaIncluHook

From Bonkipedia
Revision as of 00:59, 22 March 2020 by [[mw:]]>Shirayuki (update SVN links)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Template documentation

Copy and paste template

MyHook
Available from version ???


Define function:
public static function onMyHook( $x, $y ) { ... }

Attach hook:
$wgHooks['MyHook'][] = 'MyExtensionHooks::onMyHook';
Called from:

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

{{MediaIncluHook
|name = MyHook
|version =
|gerrit =
|removed =
|summary =
|args = $x, $y
|source =
|sourcefunction =
|sourceclass =
|newvarname =
|newvarlink =
}}