mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/RSS
synced 2024-11-23 23:34:07 +00:00
parser: Replace 'new Parser' in favour of using Parser::getFreshParser
Bug: T244055 Change-Id: Ib883d6ca154a01dd8f0ad45bc338e0aa05dee8ac
This commit is contained in:
parent
3d36eb80cf
commit
407c4aefe8
|
@ -328,7 +328,7 @@ class RSSParser {
|
|||
* @return string
|
||||
*/
|
||||
protected function sandboxParse( $wikiText, $origParser ) {
|
||||
$myParser = new Parser();
|
||||
$myParser = $origParser->getFreshParser();
|
||||
$result = $myParser->parse(
|
||||
$wikiText,
|
||||
$origParser->getTitle(),
|
||||
|
|
Loading…
Reference in a new issue