fix deprecated notice

This commit is contained in:
Universal Omega 2020-12-06 11:43:24 -07:00 committed by GitHub
parent dfa19cffe0
commit e78429942a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -881,7 +881,7 @@ class Parse {
private function triggerEndResets($output, &$reset, &$eliminate, $isParserTag) {
global $wgHooks;
$localParser = new \Parser();
$localParser = \MediaWiki\MediaWikiServices::getInstance()->getParserFactory()->create();
$parserOutput = $localParser->parse($output, $this->parser->mTitle, $this->parser->mOptions);
if (!is_array($reset)) {