jenkins-bot has submitted this change and it was merged.
Change subject: Add default properties for the password reset form skip button
......................................................................
Add default properties for the password reset form skip button
Make "skip" the last option (so it's not the default action when
the user presses enter in a text field) and do not mark it as
primary/constructive as there shouldn't be multiple such buttons.
Bug: T136894
Change-Id: I2a8cd4850f740240520732b1b54d7876f25a00b8
---
M includes/specialpage/LoginSignupSpecialPage.php
1 file changed, 5 insertions(+), 0 deletions(-)
Approvals:
Anomie: Looks good to me, approved
jenkins-bot: Verified
diff --git a/includes/specialpage/LoginSignupSpecialPage.php
b/includes/specialpage/LoginSignupSpecialPage.php
index 8dff163..d8f5e66 100644
--- a/includes/specialpage/LoginSignupSpecialPage.php
+++ b/includes/specialpage/LoginSignupSpecialPage.php
@@ -1050,6 +1050,11 @@
], $this->msg( 'userlogin-helplink2'
)->text() ),
'weight' => 200,
],
+ // button for
ResetPasswordSecondaryAuthenticationProvider
+ 'skipReset' => [
+ 'weight' => 110,
+ 'flags' => [],
+ ],
];
}
$fieldDefinitions['username'] += [
--
To view, visit https://gerrit.wikimedia.org/r/293536
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I2a8cd4850f740240520732b1b54d7876f25a00b8
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Gergő Tisza <[email protected]>
Gerrit-Reviewer: Anomie <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits