Translate extension for MediaWiki
 
Loading...
Searching...
No Matches
MediaWiki\Extension\Translate\Synchronization\ExportTranslationsSpecialPage Class Reference

This special page allows exporting groups for offline translation. More...

Inheritance diagram for MediaWiki\Extension\Translate\Synchronization\ExportTranslationsSpecialPage:

Public Member Functions

 __construct (TitleFormatter $titleFormatter, ParserFactory $parserFactory, FormatterFactory $formatterFactory)
 
 execute ( $par)
 

Public Attributes

const MAX_EXPORT_SIZE = 10000
 Maximum size of a group until exporting is not allowed due to performance reasons.
 

Protected Member Functions

 getGroupName ()
 

Protected Attributes

string $language
 
string $format
 
string $groupId
 

Detailed Description

This special page allows exporting groups for offline translation.

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

Definition at line 35 of file ExportTranslationsSpecialPage.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\Extension\Translate\Synchronization\ExportTranslationsSpecialPage::__construct ( TitleFormatter $titleFormatter,
ParserFactory $parserFactory,
FormatterFactory $formatterFactory )

Definition at line 47 of file ExportTranslationsSpecialPage.php.

Member Function Documentation

◆ execute()

MediaWiki\Extension\Translate\Synchronization\ExportTranslationsSpecialPage::execute ( $par)
Parameters
null | string$par

Definition at line 59 of file ExportTranslationsSpecialPage.php.

◆ getGroupName()

MediaWiki\Extension\Translate\Synchronization\ExportTranslationsSpecialPage::getGroupName ( )
protected

Definition at line 359 of file ExportTranslationsSpecialPage.php.

Member Data Documentation

◆ $format

string MediaWiki\Extension\Translate\Synchronization\ExportTranslationsSpecialPage::$format
protected

Definition at line 39 of file ExportTranslationsSpecialPage.php.

◆ $groupId

string MediaWiki\Extension\Translate\Synchronization\ExportTranslationsSpecialPage::$groupId
protected

Definition at line 40 of file ExportTranslationsSpecialPage.php.

◆ $language

string MediaWiki\Extension\Translate\Synchronization\ExportTranslationsSpecialPage::$language
protected

Definition at line 38 of file ExportTranslationsSpecialPage.php.

◆ MAX_EXPORT_SIZE

const MediaWiki\Extension\Translate\Synchronization\ExportTranslationsSpecialPage::MAX_EXPORT_SIZE = 10000

Maximum size of a group until exporting is not allowed due to performance reasons.

Definition at line 37 of file ExportTranslationsSpecialPage.php.


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