Manual:Hooks/ListDefinedTags

From MediaWiki.org
Jump to: navigation, search
ListDefinedTags
Available from version 1.15.0
When trying to find all defined tags.

*Define function:
function fnMyHook( &$tags ) { ... }

*Attach hook:
$wgHooks['ListDefinedTags'][] = 'MyExtensionHooks::someExample';
Called from: ChangeTags.php

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


[edit] Details

  • &$tags: The list of tags.
Personal tools
Namespaces
Variants
Actions
Site
Support
Download
Development
Communication
Print/export
Toolbox