Extension:Translate/Hooks/TranslateInitGroupLoaders

TranslateInitGroupLoaders
Available from versionĀ ??? (Gerrit change 508112)
Hook to register new message group loaders that can then load MessageGroups for translation purpose.
Define function:
public static function onTranslateInitGroupLoaders( &$groupLoader ) { ... }
Attach hook:
$wgHooks['TranslateInitGroupLoaders'][] = 'MyExtensionHooks::onTranslateInitGroupLoaders';
Called from:File(s): Translate / MessageGroups.php
Function(s): getGroupLoaders

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

DetailsEdit

  • array &$groupLoader: List of message group loader class names that implement the MessageGroupLoader