Extension:Translate/Hooks/TranslateGetExtraInputs
Appearance
This feature was removed completely in version gerrit:372434. |
TranslateGetExtraInputs | |
---|---|
Available from version ??? (Gerrit change 20901) Removed in version gerrit:372434 Provides an opportunity to add extra form inputs to to the default translation editor |
|
Define function: | public static function onTranslateGetExtraInputs( &$translation, &$extraInputs ) { ... }
|
Attach hook: | $wgHooks['TranslateGetExtraInputs'][] = 'MyExtensionHooks::onTranslateGetExtraInputs';
|
Called from: | File(s): Translate / utils/TranslationEditPage.php Function(s): execute |
For more information about attaching hooks, see Manual:Hooks .
For examples of other extensions using this hook, see Category:TranslateGetExtraInputs extensions.
Details
[edit]- string &$translation: The translation as it stands
- string &$extraInputs: The extra input space, ready for HTML to be appended