Parsoid
A bidirectional parser between wikitext and HTML5
|
Localizable errors, stored in data-mw. More...
Public Member Functions | |
__construct (string $key, array $params=[], ?string $message=null) | |
__clone () | |
toJsonArray () | |
Static Public Member Functions | |
static | newFromJsonArray (array $json) |
Public Attributes | |
string | $key |
The error name, as a localizable key. | |
string | $message |
An unlocalized version of the error name, as a fallback. | |
array | $params |
Optional parameters for the error message. | |
Localizable errors, stored in data-mw.
array Wikimedia\Parsoid\NodeData\DataMwError::$params |
Optional parameters for the error message.
These should all be codecable.