mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-09-23 10:19:35 +00:00
Actually send oldid on POST like we promised Parsoid we would
VisualEditor did not send an oldid on POST so far, which disabled selective serialization in production. Bug: 47434 Change-Id: Ib1b7079a7fd3357903e5a14795ed0d2f2bdc5d16
This commit is contained in:
parent
a22c8fe94e
commit
1d27c3cd26
|
@ -75,9 +75,11 @@ class ApiVisualEditor extends ApiBase {
|
|||
$wgVisualEditorParsoidURL . '/' . $wgVisualEditorParsoidPrefix .
|
||||
'/' . urlencode( $title->getPrefixedDBkey() ),
|
||||
array(
|
||||
'postData' => array( 'content' => $html ),
|
||||
'timeout' => $wgVisualEditorParsoidTimeout,
|
||||
'oldid' => $parserParams['oldid']
|
||||
'postData' => array(
|
||||
'content' => $html,
|
||||
'oldid' => $parserParams['oldid']
|
||||
),
|
||||
'timeout' => $wgVisualEditorParsoidTimeout
|
||||
)
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue