Page MenuHomePhabricator

Add ReviseTone to selected tasks once for users in the treatment group
Closed, ResolvedPublic3 Estimated Story Points

Description

For the upcoming A/B test, we will target all users and not just newly registered ones. However, that means that many users in the treatment group will not have Revise Tone enabled by default.

So, we need to find some way to enable the Revise Tone task for users in the treatment group that already have been to the Homepage before. However, that should happen only once: if a user manually unselects the Revise Tone task, then it should stay unselected.

Acceptance Criteria

  • Users in the treatment group get Revise Tone added to their select tasks once during their next visit to the homepage

Event Timeline

Michael triaged this task as High priority.Nov 6 2025, 10:00 AM
Michael set the point value for this task to 3.Mon, Nov 10, 11:55 AM

Change #1205151 had a related patch set uploaded (by Michael Große; author: Michael Große):

[mediawiki/extensions/GrowthExperiments@master] feat(ReviseTone): add Revise Tone once for users in treatment group

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

Change #1205151 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@master] feat(ReviseTone): add Revise Tone once for users in treatment group

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

This might be a bit tricky to verify:

  1. on beta, create an account that either got sorted into the control group, or switch the new account to the control group by executing ge.utils.setUserVariant('growthexperiments-revise-tone_control') before the first visit to the Homepage.
  2. Go to the Homepage and explicitly change your selected task types to something other than the default
  3. switch to the treatment group by executing ge.utils.setUserVariant('growthexperiments-revise-tone_treatment') (this should trigger a page reload)
  4. => now also the "Revise tone" task should be selected on the Homepage
  5. unselect the "Revise tone" task
  6. reload the Homepage
  7. => the "Revise tone" task should remain not selected

I can confirm that this works for users in the treatment group according to the instructions you have given above.

Meets Acceptance Criteria: