|
Parsoid
A bidirectional parser between wikitext and HTML5
|
Exception thrown to halt extension tag content parsing and produce standard error output. More...
Inheritance diagram for Wikimedia\Parsoid\Ext\ExtensionError:
Collaboration diagram for Wikimedia\Parsoid\Ext\ExtensionError:Public Member Functions | |
| __construct (DataMwError|string $key='mw-extparse-error',... $params) | |
Public Attributes | |
| readonly DataMwError | $err |
Exception thrown to halt extension tag content parsing and produce standard error output.
$key and $params are basically the arguments to wfMessage, although they will be stored in the data-mw of the encapsulation wrapper.
See https://www.mediawiki.org/wiki/Specs/HTML#Error_handling
| Wikimedia\Parsoid\Ext\ExtensionError::__construct | ( | DataMwError|string | $key = 'mw-extparse-error', |
| $params ) |
| DataMwError | string | $key | |
| mixed | ...$params |