mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-01 09:26:37 +00:00
Merge "Stop warnings about calling FlaggablePageView::setPageContent with no parameters"
This commit is contained in:
commit
20e54e1c8f
|
@ -139,7 +139,11 @@ class ApiVisualEditorEdit extends ApiVisualEditor {
|
|||
) + $this->getRequest()->getValues()
|
||||
) );
|
||||
|
||||
$view->setPageContent();
|
||||
// The two parameters here are references but we don't care
|
||||
// about what FlaggedRevs does with them.
|
||||
$outputDone = null;
|
||||
$useParserCache = null;
|
||||
$view->setPageContent( $outputDone, $useParserCache );
|
||||
$view->displayTag();
|
||||
}
|
||||
$result['contentSub'] = $this->getOutput()->getSubtitle();
|
||||
|
|
Loading…
Reference in a new issue