== 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)
- 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
== 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.
* SearchSatisfaction schema needs to be modified to check the class on the body. Possibly send skin version 3.