HomePhabricator

form: Show dialog to visit Special:ChangeEmail

Description

form: Show dialog to visit Special:ChangeEmail

Why:

  • We want users without a verified email address to be able to see that they can report an incident, but to prevent abuse, we want to them to verify their email before submitting the form.

What:

  • Show a dialog when the user does not have a verified email address.
  • Require a verified email address when submitting data to the API
  • [misc] introduce DeveloperMode config property, to allow faking the confirmed email status in Selenium tests. To use it, set $wgDeveloperMode = true; in LocalSettings.php, then set &withconfirmedemail=1 in the URL of a page when reporting an incident. This would allow your account to submit a report even if it does not have a confirmed email address

Depends-On: Ib4d8559a67103f5e0dcda4efd525eba701f08e58
Depends-On: I5c5b0d7cef24af108aeab461ba06b533eae4b739
Bug: T348322
Bug: T339276
Change-Id: I909e060ebcd4afd0dfa9befd1438beec3831541d

Details

Provenance
kostajhAuthored on Oct 6 2023, 12:22 PM
Parents
rEREI4488a1828301: Suggest usernames for the reported username field
Branches
Unknown
Tags
Unknown
References
refs/changes/02/964002/27
ChangeId
I909e060ebcd4afd0dfa9befd1438beec3831541d