Extension:Translate/Hooks/TranslateGetSpecialTranslateOptions

TranslateGetSpecialTranslateOptions
Available from versionĀ ??? (Gerrit change 20709)
Used only for instrumentation on SpecialMute
Define function:
public static function onTranslateGetSpecialTranslateOptions( &$defaults, &$nondefaults ) { ... }
Attach hook:
$wgHooks['TranslateGetSpecialTranslateOptions'][] = 'MyExtensionHooks::onTranslateGetSpecialTranslateOptions';
Called from:File(s): Translate / specials/SpecialTranslate.php
Function(s): setup

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

DetailsEdit

  • array &$defaults: Associative array of default values
  • array &$nondefaults: Associative array of nondefault (override) values