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

 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 32 of file ExportTranslationsSpecialPage.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\Extension\Translate\Synchronization\ExportTranslationsSpecialPage::__construct ( )

Definition at line 44 of file ExportTranslationsSpecialPage.php.

Member Function Documentation

◆ execute()

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

Definition at line 49 of file ExportTranslationsSpecialPage.php.

◆ getGroupName()

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

Definition at line 339 of file ExportTranslationsSpecialPage.php.

Member Data Documentation

◆ $format

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

Definition at line 38 of file ExportTranslationsSpecialPage.php.

◆ $groupId

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

Definition at line 40 of file ExportTranslationsSpecialPage.php.

◆ $language

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

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


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