mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-29 00:30:44 +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()
|
) + $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();
|
$view->displayTag();
|
||||||
}
|
}
|
||||||
$result['contentSub'] = $this->getOutput()->getSubtitle();
|
$result['contentSub'] = $this->getOutput()->getSubtitle();
|
||||||
|
|
Loading…
Reference in a new issue