Translate extension for MediaWiki
 
Loading...
Searching...
No Matches
MediaWiki\Extension\Translate\PageTranslation\TranslationUnitIssue Class Reference
Inheritance diagram for MediaWiki\Extension\Translate\PageTranslation\TranslationUnitIssue:

Public Member Functions

 __construct (string $severity, string $messageKey, array $messageParams=[])
 
 getSeverity ()
 
 getKey ()
 
 getParams ()
 

Public Attributes

const ERROR = 'error'
 
const WARNING = 'warning'
 

Detailed Description

Author
Niklas Laxström @license GPL-2.0-or-later
Since
2021.05
See also
ValidationIssue (similar, but different use case)

Definition at line 16 of file TranslationUnitIssue.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\Extension\Translate\PageTranslation\TranslationUnitIssue::__construct ( string $severity,
string $messageKey,
array $messageParams = [] )

Definition at line 26 of file TranslationUnitIssue.php.

Member Function Documentation

◆ getKey()

MediaWiki\Extension\Translate\PageTranslation\TranslationUnitIssue::getKey ( )

Definition at line 39 of file TranslationUnitIssue.php.

◆ getParams()

MediaWiki\Extension\Translate\PageTranslation\TranslationUnitIssue::getParams ( )

Definition at line 43 of file TranslationUnitIssue.php.

◆ getSeverity()

MediaWiki\Extension\Translate\PageTranslation\TranslationUnitIssue::getSeverity ( )

Definition at line 35 of file TranslationUnitIssue.php.

Member Data Documentation

◆ ERROR

const MediaWiki\Extension\Translate\PageTranslation\TranslationUnitIssue::ERROR = 'error'

Definition at line 17 of file TranslationUnitIssue.php.

◆ WARNING

const MediaWiki\Extension\Translate\PageTranslation\TranslationUnitIssue::WARNING = 'warning'

Definition at line 18 of file TranslationUnitIssue.php.


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