Hook handler for the TranslateSandbox. More...
Public Member Functions | |
__construct (Config $config) | |
onUserGetRights ( $user, &$rights) | |
@inheritDoc | |
onTitleQuickPermissions ( $title, $user, $action, &$errors, $doExpensiveQueries, $short) | |
@inheritDoc | |
onGetPreferences ( $user, &$preferences) | |
@inheritDoc | |
onApiCheckCanExecute ( $module, $user, &$message) | |
Inclusion listing for certain API modules. | |
Hook handler for the TranslateSandbox.
Definition at line 21 of file TranslateSandboxHookHandler.php.
MediaWiki\Extension\Translate\TranslatorSandbox\TranslateSandboxHookHandler::__construct | ( | Config | $config | ) |
Definition at line 38 of file TranslateSandboxHookHandler.php.
MediaWiki\Extension\Translate\TranslatorSandbox\TranslateSandboxHookHandler::onApiCheckCanExecute | ( | $module, | |
$user, | |||
& | $message ) |
Inclusion listing for certain API modules.
See also onUserGetRights. @inheritDoc
Definition at line 92 of file TranslateSandboxHookHandler.php.
MediaWiki\Extension\Translate\TranslatorSandbox\TranslateSandboxHookHandler::onGetPreferences | ( | $user, | |
& | $preferences ) |
@inheritDoc
Definition at line 79 of file TranslateSandboxHookHandler.php.
MediaWiki\Extension\Translate\TranslatorSandbox\TranslateSandboxHookHandler::onTitleQuickPermissions | ( | $title, | |
$user, | |||
$action, | |||
& | $errors, | ||
$doExpensiveQueries, | |||
$short ) |
@inheritDoc
Definition at line 59 of file TranslateSandboxHookHandler.php.
MediaWiki\Extension\Translate\TranslatorSandbox\TranslateSandboxHookHandler::onUserGetRights | ( | $user, | |
& | $rights ) |
@inheritDoc
Definition at line 43 of file TranslateSandboxHookHandler.php.