Jump to content

Extension:WikibaseLib/Hooks/WikibaseContentLanguages

From mediawiki.org
WikibaseContentLanguages
Available from version ??? (Gerrit change 452710)

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

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