Manual:Hooks/MinervaDiscoveryTools

From Linux Web Expert

MinervaDiscoveryTools
Available from version 1.25.0 (Gerrit change 191219)
Executes when navigation menu discovery tools have been created.
Define function:
public static function onMinervaDiscoveryTools( &$items ) { ... }
Attach hook:
$wgHooks['MinervaDiscoveryTools'][] = 'MyExtensionHooks::onMinervaDiscoveryTools';
Called from:File(s):

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

Details

  • $items: Array of menu items.