Parsoid
A bidirectional parser between wikitext and HTML5
|
Public Member Functions | |||||||||||||
__construct (?DOMPostProcessor $domPP) | |||||||||||||
run (Env $env, Node $root, array $options=[], bool $atTopLevel=false) | |||||||||||||
| |||||||||||||
Wikimedia\Parsoid\Wt2Html\DOM\Processors\AddMetaData::run | ( | Env | $env, |
Node | $root, | ||
array | $options = [], | ||
bool | $atTopLevel = false ) |
Env | $env | |
Element | DocumentFragment | $root | The root of the tree to process |
array | $options | |
bool | $atTopLevel | Is this processor invoked on the top level page? If false, this is being invoked in a sub-pipeline (ex: extensions) |
FIXME: The JS side has a bunch of other checks here
Implements Wikimedia\Parsoid\Wt2Html\Wt2HtmlDOMProcessor.