Background
We would like to do two A/B test on the changes planned to the search widget as a part of the desktop improvements project:
- Moving the search bar to the header of the page (target 2.5% overall increase in search sessions initiated, monitor and report on search sessions completed)
- Switching the current search widget to the new search widget (target 2.5% overall increase in search sessions initiated, monitor and report on search sessions completed)
- Search changes will be rolled back if we see a 5% overall decrease in search sessions initiated
- Individual test will be performed per wiki for logged-in user only (nice to have: all users)
Additional background in T256100, T249366, T251740, and T257698.
Acceptance Criteria
- Ensure we have the ability to perform the above A/B tests
- For officewiki and testwiki only, the default experience should be the test experience (widget in new location), rather than the control
Proposed Implementation
See T259250#6389243.
developer notes
- Logged out not worth implementing - too much work. Maybe impossible
- Currently the search in header feature is controlled by a feature flag $wgVectorIsSearchInHeader . This would need to be changed to use SearchInHeaderLookup (like SkinVersionLookup). For logged in users, the A/B test would need to be applied based on User ID using a mod operator. See T259250#6418936.
SearchSatisfaction schema needs to be modified to check the class on the body. Possibly send skin version 3. Done in T256100
QA Results - Prod
AC | Status | Details |
---|---|---|
1 | ✅ | T259250#6529304 |
2 | ✅ | T259250#6529304 |