EditPage: Update Save/Publish button flag from 'constructive' to 'progressive'
authorBartosz Dziewoński <matma.rex@gmail.com>
Wed, 17 Jan 2018 16:41:46 +0000 (17:41 +0100)
committerBartosz Dziewoński <matma.rex@gmail.com>
Wed, 17 Jan 2018 16:42:41 +0000 (17:42 +0100)
OOUI 'constructive' flag was removed in OOUI v0.25.0.

Change-Id: I751d45cca3919dcf67b79bc1de6a085ea018bf58

includes/EditPage.php

index a41e6d9..62307b6 100644 (file)
@@ -4405,7 +4405,7 @@ class EditPage {
                        'inputId' => 'wpSave',
                        // Support: IE 6 – Use <input>, otherwise it can't distinguish which button was clicked
                        'useInputTag' => true,
-                       'flags' => [ 'constructive', 'primary' ],
+                       'flags' => [ 'progressive', 'primary' ],
                        'label' => $buttonLabel,
                        'infusable' => true,
                        'type' => 'submit',