In T298280, we defined the wikis that will participate in the A/B test of the sticky header with editing functionality included.
This task involves the work with ensuring people at the wikis listed in T298280 are being assigned to A/B test buckets in the ways necessary to complete the analysis T294506 describes.
Acceptance criteria
- The enabled bucket should show an edit button identical to the existing configuration $wgVectorStickyHeaderEdit
- The logic for the existing experiment vector.sticky_header should remain untouched. This will allow us to test the robustness of our A/B architecture and to run a test on IDWIKI
- Add support for a new experiment name vector.sticky_header_edit with 2 buckets - stickyHeaderEditButton and stickyHeaderNoEditButton
- The new experiment only applies to logged in users.
- With the default sticky header configuration (e.g. no A/B test) the sticky header should not display on talk pages or special pages. It should display in other places.
QA
- Make sure when the table of contents experiment is enabled the sticky header experiment is not enabled.
- Make sure when the sticky header experiment is enabled the table of contents experiment is not enabled.
- With the experiment enabled, make sure that some accounts see the edit button and some do not.
Developer notes
This should be a JS only change if done correctly.
- Check the current active experiment
- When it has the name vector.sticky_header_edit check the buckets.
- If bucket is stickyHeaderEditButton add the edit icon to the sticky header
- If bucket is stickyHeaderEditNoButton or unsampled then do not add the edit icon
Note
For a/b test setup, we will have two different sets of controls:
- Wikis that do not have a sticky header:
- Control: no sticky header
- Test: sticky header with edit button
- Wikis that already have a sticky header:
- Control: sticky header without edit button
- Test: sticky header with edit button
QA Results - Beta
AC | Status | Details |
---|---|---|
1 | ✅ | T299959#8038942 |
QA Results - Prod
AC | Status | Details |
---|---|---|
1 | ✅ | T299959#8069539 |