Translate extension for MediaWiki
 
Loading...
Searching...
No Matches
MediaWiki\Extension\Translate\MessageGroupProcessing\ImportTranslationsFromCsv Class Reference

Script to import translations from a CSV file. More...

Inheritance diagram for MediaWiki\Extension\Translate\MessageGroupProcessing\ImportTranslationsFromCsv:
MediaWiki\Extension\Translate\Utilities\BaseMaintenanceScript

Public Member Functions

 execute ()
 
 progressReporter (Title $title, array $messageImportStatuses, int $total, int $processed)
 

Additional Inherited Members

- Protected Attributes inherited from MediaWiki\Extension\Translate\Utilities\BaseMaintenanceScript
const OPTIONAL = false
 
const REQUIRED = true
 
const HAS_ARG = true
 
const NO_ARG = false
 

Detailed Description

Script to import translations from a CSV file.

Since
2022.06 @license GPL-2.0-or-later
Author
Abijeet Patro

Definition at line 17 of file ImportTranslationsFromCsv.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\Extension\Translate\MessageGroupProcessing\ImportTranslationsFromCsv::__construct ( )

Definition at line 18 of file ImportTranslationsFromCsv.php.

Member Function Documentation

◆ execute()

MediaWiki\Extension\Translate\MessageGroupProcessing\ImportTranslationsFromCsv::execute ( )

Definition at line 52 of file ImportTranslationsFromCsv.php.

◆ progressReporter()

MediaWiki\Extension\Translate\MessageGroupProcessing\ImportTranslationsFromCsv::progressReporter ( Title $title,
array $messageImportStatuses,
int $total,
int $processed )

Definition at line 118 of file ImportTranslationsFromCsv.php.


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