This task is about implementing the changes necessary to ensure people are being bucketed in the Topic Subscriptions A/B test (T280897) as expected.
Requirements
Bucketing Criteria
People who meet all of the "Conditions" listed below, ought to have a 50% chance of being included/bucketed into the A/B test's control or test group. Bucketing should be done on a per-Wikipedia basis.
- Conditions
- People who are editing at the Wikipedias listed in the ===Candidate wikis section of T304027.
- People are logged in (read: people who are logged out should be excluded from the A/B test)
- People should remain the same group they were bucketed in for the duration of the test, even if they explicitly turn on or off the Enable topic subscription setting within Special:Preferences
- Within the Topic Subscriptions A/B test, we are able to distinguish all events logged for the control group and the test group
- People who have or have NOT used [i] Topic Subscriptions prior to the A/B test beginning.
Meta
- The test bucket a person is assigned to should be reflected in/consistent with the state of the Enable topic subscription setting within Special:Preferences#mw-prefsection-editing-discussion
- People who have explicitly enabled or disabled the overall Discussion tools beta feature should NOT be excluded from the A/B test
- We need to be able to log when people who have used [i] Topic Subscriptions prior to the A/B test beginning re-enable or disable the Enable topic subscription setting within Special:Preferences after the A/B test begins.
- We need to be able to differentiate between people who have used [i] Topic Subscriptions prior to the A/B test beginning and those who have not
Open Questions
- Will we include people in the A/B test who have subscribed to a topic at any point prior to the A/B test beginning? Note: we did something similar as part of the New Discussion Tool A/B test (T291307).
- Yes. See: T304030#7836755.
Minimal test case
- Visit the beta cluster while logged in
- Verify you've been assigned to the test or control group
- If you're in the test group:
- Verify [ subscribe] links appear next to all talk page discussion sections
- Verify the Enable topic subscription setting within Special:Preferences#mw-prefsection-editing-discussion is ENABLED
- If you're in the control group, verify:
- Verify [ subscribe] links do NOT appear next to all talk page discussion sections
- Verify the Enable topic subscription setting within Special:Preferences#mw-prefsection-editing-discussion is DISABLED
Done
- Answers to all ===Open questions are documented
- A patch has been deployed that meets what's described in the ===Requirements section above
- @Ryasmeen has verified people are being bucketed on the client side on the beta cluster
i. "Used" in the context of this A/B test means that someone has subscribed to at least one topic, be it manually, by clicking a [ subscribe ] link, or automatically, by having the Automatically subscribe to topics setting enabled prior to commenting in a discussion or starting a new one.