Page MenuHomePhabricator

Update the email field to conform with the V1/V2 experiment changes
Closed, ResolvedPublic3 Estimated Story Points

Description

As part of the V2 experiment for Special:Create Account (T422295, which included the changes from the V1 experiment), we made a number of changes to the email field on that page.
This task is about upstreaming these changes into mediawiki core.

Acceptance criteria

  • The GrowthExperiments extension no longer has code modifying the email fields on Special:CreateAccount
  • The adjustments that were made during the experiment to this field for the treatment group are now available in MediaWiki core as the default experience.
  • The following aspects should be verified as working as expected:
    • Special:Create Account
    • visiting/using these pages as anonymous, temporary, or named user
    • visiting/using these pages both on desktop (=Vector2022) and on mobile (=Minerva)
    • when logged-in: checking the check-box that says "Use a temporary random password and send it to the specified email address"

Event Timeline

KStoller-WMF set the point value for this task to 3.Jun 30 2026, 4:38 PM

Change #1307177 had a related patch set uploaded (by EMcFarland; author: EMcFarland):

[mediawiki/core@master] Special:CreateAccount: Update email field to match the V1/V2 experiment changes

https://gerrit.wikimedia.org/r/1307177

Change #1307143 had a related patch set uploaded (by EMcFarland; author: EMcFarland):

[mediawiki/extensions/GrowthExperiments@master] Special:CreateAccount: Move email field changes to mediawiki core

https://gerrit.wikimedia.org/r/1307143

Change #1307177 merged by jenkins-bot:

[mediawiki/core@master] Special:CreateAccount: Update email field to match the V1/V2 experiment changes

https://gerrit.wikimedia.org/r/1307177

Change #1307143 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@master] Special:CreateAccount: Move email field changes to mediawiki core

https://gerrit.wikimedia.org/r/1307143

The email change appears similar to the V1/V2 changes to me when I checkout beta

Screenshot 2026-07-07 at 17.01.15.png (980×1,268 px, 128 KB)

@EMcFarland-WMF does this query parameter that appears tied to an experiment in the url affect the form? experiments[0]=we-1-8-account-creation-no-desktop-benefits:unsampled

The email change appears similar to the V1/V2 changes to me when I checkout beta

Screenshot 2026-07-07 at 17.01.15.png (980×1,268 px, 128 KB)

@EMcFarland-WMF does this query parameter that appears tied to an experiment in the url affect the form? experiments[0]=we-1-8-account-creation-no-desktop-benefits:unsampled

@DMburugu - the email field verification should be done for both - v1/v2 account creation form and the non-treatment account creation form since now it is in MediaWiki core and the default experience.
experiments[0]=we-1-8-account-creation-no-desktop-benefits:unsampled is for hiding the text on CreateAccount page - "Wikipedia is made by people like you." etc

Testing note: should be checked in wmf.11

Checked for the following

  • default (no treatment) form
  • treatment (v2) form
  • mobile/desktop

The email field works as expected; according to https://gerrit.wikimedia.org/r/c/mediawiki/extensions/GrowthExperiments/+/1307143

  • general cleanup
wmf.9enwiki beta
Screenshot 2026-07-07 at 3.50.27 PM.png (2,038×1,432 px, 289 KB)
Screenshot 2026-07-07 at 4.19.54 PM.png (682×1,590 px, 209 KB)
Screenshot 2026-07-07 at 4.00.13 PM.png (2,852×1,138 px, 224 KB)
Screenshot 2026-07-07 at 4.02.39 PM.png (800×1,726 px, 173 KB)
v2
Screenshot 2026-07-07 at 4.17.36 PM.png (804×1,692 px, 164 KB)
  • the previous email validation is still in place
Screenshot 2026-07-07 at 10.52.09 AM.png (1,140×1,100 px, 113 KB)
  • email field is still optional (wgEmailConfirmToEdit is set via config on some wikis, not on CreateAccount page)

The email change appears similar to the V1/V2 changes to me when I checkout beta

Screenshot 2026-07-07 at 17.01.15.png (980×1,268 px, 128 KB)

@EMcFarland-WMF does this query parameter that appears tied to an experiment in the url affect the form? experiments[0]=we-1-8-account-creation-no-desktop-benefits:unsampled

@DMburugu - the email field verification should be done for both - v1/v2 account creation form and the non-treatment account creation form since now it is in MediaWiki core and the default experience.
experiments[0]=we-1-8-account-creation-no-desktop-benefits:unsampled is for hiding the text on CreateAccount page - "Wikipedia is made by people like you." etc

Plus one to Elena's response.

DMburugu closed this task as Resolved.EditedJul 8 2026, 4:10 PM

I'll go ahead and resolve as there appears to be nothing else and the task will behave the form will behave the same in testwiki. Any issues can be filled in a follow up task.