Page MenuHomePhabricator

Ensure that if 'useParsoid' flag is present in ParserOptions that we use Parsoid to parse the page.
Closed, ResolvedPublic

Description

We *could* hack Parser.php::parser() to do this, but it might be a bit fragile in case of recursive parses. It might also be possible to manipulate the ContentTransformer mechanism to do the appropriate substitution, or even hack it in Article.php, which would be a bit more robust against other ancillary/recursive calls to the Parser (which should still use the legacy parser for now).

Related Objects

Event Timeline