mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-09-23 10:19:35 +00:00
Ensure page is reloaded after edit using Parsoid if appropriate
This passes the option to ApiParse which will ensure that it uses the ArticleParserOptions hook so that the parser options used after reload match the ones originally used to render the article. Bug: T373212 Depends-On: I906affc8d2335b7bb48dff3a4b061fcf86b71cee Change-Id: I18147254f1ac5f08a57e85eb2f031df7701dccef
This commit is contained in:
parent
6d527b9f0a
commit
c026712a40
|
@ -153,6 +153,7 @@ class ApiVisualEditorEdit extends ApiBase {
|
|||
'action' => 'parse',
|
||||
'oldid' => $newRevId,
|
||||
'prop' => 'text|revid|categorieshtml|sections|displaytitle|subtitle|modules|jsconfigvars',
|
||||
'usearticle' => true,
|
||||
'useskin' => $params['useskin'],
|
||||
];
|
||||
// Boolean parameters must be omitted completely to be treated as false.
|
||||
|
|
Loading…
Reference in a new issue