WebAPI module for storing translations for users who are in a sandbox. More...
Public Member Functions | |
__construct (ApiMain $mainModule, string $moduleName, IConnectionProvider $dbProvider, UserFactory $userFactory, MessageIndex $messageIndex) | |
execute () | |
isWriteMode () | |
needsToken () | |
Protected Member Functions | |
getAllowedParams () | |
getExamplesMessages () | |
WebAPI module for storing translations for users who are in a sandbox.
Access is controlled by hooks in TranslateSandbox class.
Definition at line 24 of file TranslationStashActionApi.php.
MediaWiki\Extension\Translate\TranslatorSandbox\TranslationStashActionApi::__construct | ( | ApiMain | $mainModule, |
string | $moduleName, | ||
IConnectionProvider | $dbProvider, | ||
UserFactory | $userFactory, | ||
MessageIndex | $messageIndex ) |
Definition at line 29 of file TranslationStashActionApi.php.
MediaWiki\Extension\Translate\TranslatorSandbox\TranslationStashActionApi::execute | ( | ) |
Definition at line 42 of file TranslationStashActionApi.php.
|
protected |
Definition at line 130 of file TranslationStashActionApi.php.
|
protected |
Definition at line 151 of file TranslationStashActionApi.php.
MediaWiki\Extension\Translate\TranslatorSandbox\TranslationStashActionApi::isWriteMode | ( | ) |
Definition at line 122 of file TranslationStashActionApi.php.
MediaWiki\Extension\Translate\TranslatorSandbox\TranslationStashActionApi::needsToken | ( | ) |
Definition at line 126 of file TranslationStashActionApi.php.