mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-09-23 10:22:05 +00:00
Remove calls to ParserOptions::setTidy()
ParserOptions::setTidy() was already a no-op in MW 1.35, and Echo already requires MW >= 1.35 in extension.json. ParserOptions::setTidy() was deprecated in MW 1.35 and will be removed in a future release. Bug: T198214 Change-Id: I6a5378a42a6cf035296ad549525c25438803970a
This commit is contained in:
parent
45700120f5
commit
37261f977e
|
@ -437,7 +437,6 @@ abstract class EchoDiscussionParser {
|
|||
$parser = MediaWikiServices::getInstance()->getParser();
|
||||
|
||||
$options = new ParserOptions( $article->getContext()->getUser() );
|
||||
$options->setTidy( true );
|
||||
$output = $parser->parse( $wikitext, $article->getTitle(), $options );
|
||||
$cache[$cacheKey] = $output;
|
||||
|
||||
|
|
Loading…
Reference in a new issue