< Extension:Translate < Hooks
Translate:newTranslation | |
---|---|
Available from version ??? Event triggered when non-fuzzy translation has been made |
|
Define function: | public static function onTranslate_newTranslation( $handle, $revisionId, $text, $user ) { ... }
|
Attach hook: | $wgHooks['Translate:newTranslation'][] = 'MyExtensionHooks::onTranslate_newTranslation';
|
Called from: | File(s): Translate / TranslateEditAddons.php Function(s): onSave |
For more information about attaching hooks, see Manual:Hooks
For examples of other extensions using this hook, see Category:Translate:newTranslation extensions.
Details
- MessageHandle $handle
- int $revisionId
- string $text: Content of the new translation
- User $user: User who created or changed the translation
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.