jenkins-bot has submitted this change and it was merged.

Change subject: Use mw-ui-progressive CSS class for buttons
......................................................................


Use mw-ui-progressive CSS class for buttons

mw-ui-constructive and mw-ui-primary are deprecated.

Bug: T146923
Change-Id: I04ca93a4a664c70d51a7f52443a823f4c7bd8eb3
---
M frontend/specialpages/SpecialMWOAuth.php
M frontend/specialpages/SpecialMWOAuthManageMyGrants.php
2 files changed, 2 insertions(+), 2 deletions(-)

Approvals:
  VolkerE: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/frontend/specialpages/SpecialMWOAuth.php 
b/frontend/specialpages/SpecialMWOAuth.php
index 2fed2a9..0397987 100644
--- a/frontend/specialpages/SpecialMWOAuth.php
+++ b/frontend/specialpages/SpecialMWOAuth.php
@@ -397,7 +397,7 @@
                $form->suppressDefaultSubmit();
                $form->addButton( 'accept',
                        wfMessage( 'mwoauth-form-button-approve' )->text(), 
null,
-                       array( 'class' => 'mw-mwoauth-authorize-button 
mw-ui-button mw-ui-constructive',
+                       array( 'class' => 'mw-mwoauth-authorize-button 
mw-ui-button mw-ui-progressive',
                                'id' => 'mw-mwoauth-accept' ) );
                $form->addButton( 'cancel',
                        wfMessage( 'mwoauth-form-button-cancel' )->text(), null,
diff --git a/frontend/specialpages/SpecialMWOAuthManageMyGrants.php 
b/frontend/specialpages/SpecialMWOAuthManageMyGrants.php
index d869f37..b089954 100644
--- a/frontend/specialpages/SpecialMWOAuthManageMyGrants.php
+++ b/frontend/specialpages/SpecialMWOAuthManageMyGrants.php
@@ -227,7 +227,7 @@
                        $form->addButton( 'update',
                                $this->msg( 'mwoauthmanagemygrants-update' 
)->text(),
                                null,
-                               array( 'class' => 'mw-ui-button mw-ui-primary' )
+                               array( 'class' => 'mw-ui-button 
mw-ui-progressive' )
                        );
                }
                $form->addPreText(

-- 
To view, visit https://gerrit.wikimedia.org/r/313313
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I04ca93a4a664c70d51a7f52443a823f4c7bd8eb3
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/OAuth
Gerrit-Branch: master
Gerrit-Owner: Jdlrobson <jrob...@wikimedia.org>
Gerrit-Reviewer: VolkerE <volke...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to