Page MenuHomePhabricator

[BUG] Welcome survey is not being shown to a new account in our experiment
Closed, ResolvedPublicBUG REPORT

Description

List of steps to reproduce (step by step, including full links if applicable):
Create an account on eswiki

What happens?:
For account in the experiment group, after registration, the user is not being taken to the Welcome survey

What should have happened instead?:
The user should be shown the Welcome survey

Software version (if not a Wikimedia wiki), browser information, screenshots, other information, etc:
This occurred on eswiki on 8-Jun-2021 during a demo by @MMiller_WMF


Config on eswiki:

>>> $wgWelcomeSurveyExperimentalGroups
=> [
     "exp2_target_specialpage" => [
       "range" => "0-9",
       "percentage" => 0,
       "format" => "specialpage",
       "questions" => [
         "reason",
         "edited",
         "email",
         "languages",
       ],
     ],
     "exp2_target_popup" => [
       "range" => "x",
     ],
     "exp1_group1" => [
       "percentage" => 0,
       "format" => "specialpage",
       "questions" => [
         "reason",
         "edited",
         "email",
       ],
     ],
     "exp1_group2" => [
       "percentage" => 100,
       "questions" => [],
     ],
     "exp2_control" => [
       "percentage" => 0,
       "questions" => [],
     ],
   ]

Event Timeline

kostajh triaged this task as High priority.Jun 8 2021, 7:44 PM
kostajh added a subscriber: Urbanecm_WMF.

This is probably happening for all wikis and if so I would suspect is related to rEGREbf3f47da80bb: Make it possible to deploy welcomesurvey to % of users that's not divisible by… and related config changes.

I just created an account in cswiki, and did not receive the survey there either.

Change 698969 had a related patch set uploaded (by Urbanecm; author: Urbanecm):

[operations/mediawiki-config@master] WelcomeSurveyExperimentalGroups: Use new syntax

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

Change 698969 merged by jenkins-bot:

[operations/mediawiki-config@master] WelcomeSurveyExperimentalGroups: Use new syntax

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

Change 698970 had a related patch set uploaded (by Urbanecm; author: Urbanecm):

[operations/mediawiki-config@master] WelcomeSurveyExperimentalGroups: Explicitly set exp1_group1 percentage to 0

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

Change 698970 merged by jenkins-bot:

[operations/mediawiki-config@master] WelcomeSurveyExperimentalGroups: Explicitly set exp1_group1 percentage to 0

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

Mentioned in SAL (#wikimedia-operations) [2021-06-09T12:00:56Z] <urbanecm@deploy1002> Synchronized wmf-config/InitialiseSettings.php: ac43baa: d185728: WelcomeSurveyExperimentalGroups: Use new syntax (T284599) (duration: 01m 19s)

Urbanecm_WMF added a subscriber: Etonkovidova.

This should be fixed (tested by creating an account at cswiki). Moving to QA, so @Etonkovidova can confirm.

Thanks for creating this task @RHo.

Tested along with T284597 - a new account on bnwiki has WelcomeSurvey displayed.