Extension:Translate/Hooks/TranslateEventTranslationReview

From MediaWiki.org
Jump to navigation Jump to search
TranslateEventTranslationReview
Available from version ??? (Gerrit change 26598)
Event triggered when a translation is proofread
Define function:
public static function onTranslateEventTranslationReview( $handle ) { ... }
Attach hook:
$wgHooks['TranslateEventTranslationReview'][] = 'MyExtensionHooks::onTranslateEventTranslationReview';
Called from:File(s): Translate / api/ApiTranslationReview.php
Function(s): doReview

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

Details[edit]

  • MessageHandle $handle