Translate extension for MediaWiki
 
Loading...
Searching...
No Matches
MediaWiki\Extension\Translate\PageTranslation\MarkForTranslationActionApi Class Reference

API module to mark a page for translation. More...

Inheritance diagram for MediaWiki\Extension\Translate\PageTranslation\MarkForTranslationActionApi:

Public Member Functions

 __construct (ApiMain $mainModule, string $moduleName, TranslatablePageMarker $translatablePageMarker, MessageGroupMetadata $messageGroupMetadata)
 
 execute ()
 
 isWriteMode ()
 
 needsToken ()
 

Protected Member Functions

 getAllowedParams ()
 

Detailed Description

API module to mark a page for translation.

Author
Tim Starling @license GPL-2.0-or-later

Definition at line 21 of file MarkForTranslationActionApi.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\Extension\Translate\PageTranslation\MarkForTranslationActionApi::__construct ( ApiMain $mainModule,
string $moduleName,
TranslatablePageMarker $translatablePageMarker,
MessageGroupMetadata $messageGroupMetadata )

Definition at line 25 of file MarkForTranslationActionApi.php.

Member Function Documentation

◆ execute()

MediaWiki\Extension\Translate\PageTranslation\MarkForTranslationActionApi::execute ( )

Definition at line 36 of file MarkForTranslationActionApi.php.

◆ getAllowedParams()

MediaWiki\Extension\Translate\PageTranslation\MarkForTranslationActionApi::getAllowedParams ( )
protected

Definition at line 172 of file MarkForTranslationActionApi.php.

◆ isWriteMode()

MediaWiki\Extension\Translate\PageTranslation\MarkForTranslationActionApi::isWriteMode ( )

Definition at line 164 of file MarkForTranslationActionApi.php.

◆ needsToken()

MediaWiki\Extension\Translate\PageTranslation\MarkForTranslationActionApi::needsToken ( )

Definition at line 168 of file MarkForTranslationActionApi.php.


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