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, IConnectionProvider $dbProvider, UserFactory $userFactory, MessageIndex $messageIndex)
 
 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,
IConnectionProvider $dbProvider,
UserFactory $userFactory,
MessageIndex $messageIndex )

Definition at line 29 of file TranslationStashActionApi.php.

Member Function Documentation

◆ execute()

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

Definition at line 42 of file TranslationStashActionApi.php.

◆ getAllowedParams()

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

Definition at line 130 of file TranslationStashActionApi.php.

◆ getExamplesMessages()

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

Definition at line 151 of file TranslationStashActionApi.php.

◆ isWriteMode()

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

Definition at line 122 of file TranslationStashActionApi.php.

◆ needsToken()

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

Definition at line 126 of file TranslationStashActionApi.php.


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