mirror of
https://github.com/Universal-Omega/DynamicPageList3
synced 2024-11-15 03:35:17 +00:00
fix deprecated notice
This commit is contained in:
parent
dfa19cffe0
commit
e78429942a
|
@ -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)) {
|
||||
|
|
Loading…
Reference in a new issue