Extension:WikibaseLib/Hooks/WikibaseContentLanguages

From Linux Web Expert

Revision as of 15:36, 4 October 2019 by 50.53.21.2 (talk) (extension)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

WikibaseLib/Hooks/WikibaseContentLanguages
Available from version ??? (Gerrit change 452710)

Define function:
public static function onWikibaseLib_Hooks_WikibaseContentLanguages( array &$contentLanguages ) { ... }
Attach hook:
$wgHooks['WikibaseLib/Hooks/WikibaseContentLanguages'][] = 'MyExtensionHooks::onWikibaseLib_Hooks_WikibaseContentLanguages';
Called from:File(s): WikibaseLib/Hooks/WikibaseContentLanguages / lib/includes/WikibaseContentLanguages.php

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