Extension:WikibaseLib/Hooks/WikibaseContentLanguages

From mediawiki.org
Jump to navigation Jump to search
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.