mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-24 14:33:59 +00:00
Merge "Pass empty summary to parseAndStash() to avoid warnings"
This commit is contained in:
commit
7810dd74a1
|
@ -140,7 +140,7 @@ class ApiVisualEditor extends ApiBase {
|
|||
$page = WikiPage::factory( $title );
|
||||
$content = ContentHandler::makeContent( $text, $title, CONTENT_MODEL_WIKITEXT );
|
||||
|
||||
$status = ApiStashEdit::parseAndStash( $page, $content, $this->getUser() );
|
||||
$status = ApiStashEdit::parseAndStash( $page, $content, $this->getUser(), '' );
|
||||
if ( $status === ApiStashEdit::ERROR_NONE ) {
|
||||
wfDebugLog( 'StashEdit', "Cached parser output for VE content key '$key'." );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue