Translate extension for MediaWiki
 
Loading...
Searching...
No Matches
MediaWiki\Extension\Translate\TranslatorInterface\ReviewTranslationActionApi Class Reference

API module for marking translations as reviewed. More...

Inheritance diagram for MediaWiki\Extension\Translate\TranslatorInterface\ReviewTranslationActionApi:

Public Member Functions

 __construct (ApiMain $main, string $moduleName, RevisionLookup $revisionLookup, TitleFormatter $titleFormatter, ILoadBalancer $loadBalancer, HookRunner $hookRunner)
 
 execute ()
 
 isWriteMode ()
 
 needsToken ()
 

Protected Member Functions

 getAllowedParams ()
 
 getExamplesMessages ()
 

Static Protected Attributes

static $right = 'translate-messagereview'
 

Detailed Description

API module for marking translations as reviewed.

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

Definition at line 25 of file ReviewTranslationActionApi.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\Extension\Translate\TranslatorInterface\ReviewTranslationActionApi::__construct ( ApiMain $main,
string $moduleName,
RevisionLookup $revisionLookup,
TitleFormatter $titleFormatter,
ILoadBalancer $loadBalancer,
HookRunner $hookRunner )

Definition at line 33 of file ReviewTranslationActionApi.php.

Member Function Documentation

◆ execute()

MediaWiki\Extension\Translate\TranslatorInterface\ReviewTranslationActionApi::execute ( )

Definition at line 48 of file ReviewTranslationActionApi.php.

◆ getAllowedParams()

MediaWiki\Extension\Translate\TranslatorInterface\ReviewTranslationActionApi::getAllowedParams ( )
protected

Definition at line 159 of file ReviewTranslationActionApi.php.

◆ getExamplesMessages()

MediaWiki\Extension\Translate\TranslatorInterface\ReviewTranslationActionApi::getExamplesMessages ( )
protected

Definition at line 168 of file ReviewTranslationActionApi.php.

◆ isWriteMode()

MediaWiki\Extension\Translate\TranslatorInterface\ReviewTranslationActionApi::isWriteMode ( )

Definition at line 151 of file ReviewTranslationActionApi.php.

◆ needsToken()

MediaWiki\Extension\Translate\TranslatorInterface\ReviewTranslationActionApi::needsToken ( )

Definition at line 155 of file ReviewTranslationActionApi.php.

Member Data Documentation

◆ $right

MediaWiki\Extension\Translate\TranslatorInterface\ReviewTranslationActionApi::$right = 'translate-messagereview'
staticprotected

Definition at line 27 of file ReviewTranslationActionApi.php.


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