diff --git a/includes/ApiVisualEditor.php b/includes/ApiVisualEditor.php index 5d3393dace..0a0126c45d 100644 --- a/includes/ApiVisualEditor.php +++ b/includes/ApiVisualEditor.php @@ -421,7 +421,7 @@ class ApiVisualEditor extends ApiBase { $notices[] = MediaWikiServices::getInstance()->getParser()->parse( '
{{:' . $eiTitle->getFullText() . '}}
', $title, - new ParserOptions() + new ParserOptions( $user ) )->getText(); } }