Merge "Pass empty summary to parseAndStash() to avoid warnings"

This commit is contained in:
jenkins-bot 2016-06-16 21:14:44 +00:00 committed by Gerrit Code Review
commit 7810dd74a1

View file

@ -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'." );
}