mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-09-23 18:28:51 +00:00
Set 'notminor' if minor edit box not checked
In order to properly override the minor-edit-by-default setting if it is used. Bug: 51515 Change-Id: Ic49d47971a795c7efd860a962cfe13b89d2bb95a
This commit is contained in:
parent
393807462e
commit
78ec5e84d9
|
@ -23,6 +23,8 @@ class ApiVisualEditorEdit extends ApiVisualEditor {
|
|||
|
||||
if ( $params['minor'] ) {
|
||||
$apiParams['minor'] = true;
|
||||
} else {
|
||||
$apiParams['notminor'] = true;
|
||||
}
|
||||
|
||||
// FIXME add some way that the user's preferences can be respected
|
||||
|
|
Loading…
Reference in a new issue