Translate extension for MediaWiki
 
Loading...
Searching...
No Matches
MediaWiki\Extension\Translate\Utilities\ConfigHelper Class Reference

A helper class added to work with configuration values of the Translate Extension. More...

Public Member Functions

 getValidationExclusionFile ()
 
 getTranslateAuthorExclusionList ()
 
 getDisabledTargetLanguages ()
 
 isAuthorExcluded (string $groupId, string $languageCode, string $username)
 

Detailed Description

A helper class added to work with configuration values of the Translate Extension.

Also used temporarily to simplify deprecation of old configuration variables. New variable names, if set, are given preference over the old ones. See: https://phabricator.wikimedia.org/T277965

Author
Abijeet Patro. @license GPL-2.0-or-later
Since
2021.06

Definition at line 17 of file ConfigHelper.php.

Member Function Documentation

◆ getDisabledTargetLanguages()

MediaWiki\Extension\Translate\Utilities\ConfigHelper::getDisabledTargetLanguages ( )

Definition at line 29 of file ConfigHelper.php.

◆ getTranslateAuthorExclusionList()

MediaWiki\Extension\Translate\Utilities\ConfigHelper::getTranslateAuthorExclusionList ( )

Definition at line 24 of file ConfigHelper.php.

◆ getValidationExclusionFile()

MediaWiki\Extension\Translate\Utilities\ConfigHelper::getValidationExclusionFile ( )
Returns
bool|string

Definition at line 19 of file ConfigHelper.php.

◆ isAuthorExcluded()

MediaWiki\Extension\Translate\Utilities\ConfigHelper::isAuthorExcluded ( string $groupId,
string $languageCode,
string $username )

Definition at line 34 of file ConfigHelper.php.


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