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)
 
 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

 $language
 
 $format
 
 $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 33 of file ExportTranslationsSpecialPage.php.

Constructor & Destructor Documentation

◆ __construct()

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

Definition at line 49 of file ExportTranslationsSpecialPage.php.

Member Function Documentation

◆ execute()

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

Definition at line 56 of file ExportTranslationsSpecialPage.php.

◆ getGroupName()

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

Definition at line 359 of file ExportTranslationsSpecialPage.php.

Member Data Documentation

◆ $format

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

Definition at line 39 of file ExportTranslationsSpecialPage.php.

◆ $groupId

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

Definition at line 41 of file ExportTranslationsSpecialPage.php.

◆ $language

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

Definition at line 37 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 35 of file ExportTranslationsSpecialPage.php.


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