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

Special page for new users to translate example messages. More...

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

Public Member Functions

 __construct (LanguageNameUtils $languageNameUtils, TranslationStashReader $stash, UserOptionsLookup $userOptionsLookup, ServiceOptions $options)
 
 doesWrites ()
 
 execute ( $params)
 

Public Attributes

const CONSTRUCTOR_OPTIONS
 

Protected Member Functions

 getGroupName ()
 
 getSourceLanguage ()
 Returns the source language for messages.
 

Detailed Description

Special page for new users to translate example messages.

Author
Santhosh Thottingal @license GPL-2.0-or-later

Definition at line 24 of file TranslationStashSpecialPage.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\Extension\Translate\TranslatorSandbox\TranslationStashSpecialPage::__construct ( LanguageNameUtils $languageNameUtils,
TranslationStashReader $stash,
UserOptionsLookup $userOptionsLookup,
ServiceOptions $options )

Definition at line 39 of file TranslationStashSpecialPage.php.

Member Function Documentation

◆ doesWrites()

MediaWiki\Extension\Translate\TranslatorSandbox\TranslationStashSpecialPage::doesWrites ( )

Definition at line 52 of file TranslationStashSpecialPage.php.

◆ execute()

MediaWiki\Extension\Translate\TranslatorSandbox\TranslationStashSpecialPage::execute ( $params)

Definition at line 60 of file TranslationStashSpecialPage.php.

◆ getGroupName()

MediaWiki\Extension\Translate\TranslatorSandbox\TranslationStashSpecialPage::getGroupName ( )
protected

Definition at line 56 of file TranslationStashSpecialPage.php.

◆ getSourceLanguage()

MediaWiki\Extension\Translate\TranslatorSandbox\TranslationStashSpecialPage::getSourceLanguage ( )
protected

Returns the source language for messages.

Definition at line 196 of file TranslationStashSpecialPage.php.

Member Data Documentation

◆ CONSTRUCTOR_OPTIONS

const MediaWiki\Extension\Translate\TranslatorSandbox\TranslationStashSpecialPage::CONSTRUCTOR_OPTIONS
Initial value:
= [
'TranslateSandboxLimit',
'TranslateSecondaryPermissionUrl'
]

Definition at line 34 of file TranslationStashSpecialPage.php.


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