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:
Ed Sanders 2013-07-24 15:07:05 +01:00
parent 393807462e
commit 78ec5e84d9

View file

@ -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