|
Wikibase
MediaWiki Wikibase extension
|
This is a hook handler interface, see docs/Hooks.md in MediaWiki core. More...
Inheritance diagram for Wikibase\Lib\Hooks\WikibaseContentLanguagesHook:Public Member Functions | |
| onWikibaseContentLanguages (array &$contentLanguages) | |
| This hook is called to define the content languages per context. | |
This is a hook handler interface, see docs/Hooks.md in MediaWiki core.
Use the hook name "WikibaseContentLanguages" to register handlers implementing this interface.
| Wikibase\Lib\Hooks\WikibaseContentLanguagesHook::onWikibaseContentLanguages | ( | array & | $contentLanguages | ) |
This hook is called to define the content languages per context.
| ContentLanguages[] | &$contentLanguages | An associative array mapping contexts ('term', 'monolingualtext', extension-specific…) to ContentLanguages objects. |
Implemented in Wikibase\Client\Hooks\WikibaseContentLanguagesHandler, and Wikibase\Lib\Hooks\WikibaseLibHookRunner.