Jump to content

Extension:Gadgets/Hooks/Gadgets::allowLegacy

From mediawiki.org
Gadgets::allowLegacy
Available from version ???
Please edit this page to enter a summary.
Define function:
public static function onGadgets_allowLegacy( Context $context ) { ... }
Attach hook:
$wgHooks['Gadgets::allowLegacy'][] = 'MyExtensionHooks::onGadgets_allowLegacy';
Called from:File(s): Gadgets / includes/GadgetHooks.php
Function(s): beforePageDisplay

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