Extension:Translate/Hooks/Translate:MessageGroupStats:isIncluded

Translate:MessageGroupStats:isIncluded
Available from version ???
Controls whether message group is shown for a given language in language or message group statistics. Mostly used internally by Translate to hide discouraged groups and groups restricted to certain languages.
Define function:
public static function onTranslate_MessageGroupStats_isIncluded( $groupId, $code ) { ... }
Attach hook:
$wgHooks['Translate:MessageGroupStats:isIncluded'][] = 'MyExtensionHooks::onTranslate_MessageGroupStats_isIncluded';
Called from:File(s): Translate / utils/MessageGroupStats.php, utils/StatsTable.php

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

Details

edit
  • string $groupId: Message group id
  • string $code: Language code