Available from version ???
Allow hooks to change workflow states depending on the group's ID.
Define function:
public static function onTranslate_modifyMessageGroupStates( $groupId, &$conf ) { ... }
Attach hook:
$wgHooks['Translate:modifyMessageGroupStates'][] = 'MyExtensionHooks::onTranslate_modifyMessageGroupStates';
Called from:File(s): Translate / messagegroups\MessageGroupBase.php, messagegroups\MessageGroupOld.php

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

Details edit

  • string $groupId: ID of the current message group.
  • array &$conf: Workflow states, can be modified.