Translate extension for MediaWiki
 
Loading...
Searching...
No Matches
MediaWiki\Extension\Translate\PageTranslation\ParsingFailure Class Reference

Represents any kind of failure to parse a translatable page source code. More...

Inheritance diagram for MediaWiki\Extension\Translate\PageTranslation\ParsingFailure:

Public Member Functions

 __construct (string $message, MessageSpecifier $messageSpec)
 
 getMessageSpecification ()
 

Detailed Description

Represents any kind of failure to parse a translatable page source code.

This is an internal exception that includes information to produce translated error messages, but actually displaying them to users is handled by MediaWiki core.

Author
Niklas Laxström @license GPL-2.0-or-later
Since
2020.08

Definition at line 19 of file ParsingFailure.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\Extension\Translate\PageTranslation\ParsingFailure::__construct ( string $message,
MessageSpecifier $messageSpec )

Definition at line 22 of file ParsingFailure.php.

Member Function Documentation

◆ getMessageSpecification()

MediaWiki\Extension\Translate\PageTranslation\ParsingFailure::getMessageSpecification ( )

Definition at line 27 of file ParsingFailure.php.


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