Translate extension for MediaWiki
 
Loading...
Searching...
No Matches
MediaWiki\Extension\Translate\TranslatorSandbox\TranslationStashActionApi Class Reference

WebAPI module for storing translations for users who are in a sandbox. More...

Inheritance diagram for MediaWiki\Extension\Translate\TranslatorSandbox\TranslationStashActionApi:

Public Member Functions

 __construct (ApiMain $mainModule, string $moduleName, ILoadBalancer $loadBalancer, UserFactory $userFactory)
 
 execute ()
 
 isWriteMode ()
 
 needsToken ()
 

Protected Member Functions

 getAllowedParams ()
 
 getExamplesMessages ()
 

Detailed Description

WebAPI module for storing translations for users who are in a sandbox.

Access is controlled by hooks in TranslateSandbox class.

Author
Niklas Laxström @license GPL-2.0-or-later
Since
2013.06

Definition at line 24 of file TranslationStashActionApi.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\Extension\Translate\TranslatorSandbox\TranslationStashActionApi::__construct ( ApiMain $mainModule,
string $moduleName,
ILoadBalancer $loadBalancer,
UserFactory $userFactory )

Definition at line 30 of file TranslationStashActionApi.php.

Member Function Documentation

◆ execute()

MediaWiki\Extension\Translate\TranslatorSandbox\TranslationStashActionApi::execute ( )

Definition at line 41 of file TranslationStashActionApi.php.

◆ getAllowedParams()

MediaWiki\Extension\Translate\TranslatorSandbox\TranslationStashActionApi::getAllowedParams ( )
protected

Definition at line 128 of file TranslationStashActionApi.php.

◆ getExamplesMessages()

MediaWiki\Extension\Translate\TranslatorSandbox\TranslationStashActionApi::getExamplesMessages ( )
protected

Definition at line 153 of file TranslationStashActionApi.php.

◆ isWriteMode()

MediaWiki\Extension\Translate\TranslatorSandbox\TranslationStashActionApi::isWriteMode ( )

Definition at line 120 of file TranslationStashActionApi.php.

◆ needsToken()

MediaWiki\Extension\Translate\TranslatorSandbox\TranslationStashActionApi::needsToken ( )

Definition at line 124 of file TranslationStashActionApi.php.


The documentation for this class was generated from the following file: