This (currently skeletal) task covers the work to define what's important to measure in the new (and possibly old) search experience.
== Requirements identified
- Selecting the search widget
- Begin of search session (user enters text)
- End of search session (user selects a search result)
- End of search session (user closes search widget)
- We will be performing an A/B test of the new treatment for logged-in users for at least one of our test wikis
== Acceptance criteria
- [] A new task is created for developers to implement the requirements identified in this task.
- [] The #discovery team (see T130321) is pinged to ensure we do not interfere with their metrics.
== References
- [[ https://commons.wikimedia.org/wiki/File:Initial_Assessment_of_New_Wikipedia_Portal's_Search_Box_Deployment.pdf | Portal search box assessment ]]
- [[ https://meta.wikimedia.org/wiki/Schema:Search | Schema:Search ]]
- [[ https://meta.wikimedia.org/wiki/Schema:MobileWebSearch | Schema:MobileWebSearch ]] ([[ https://github.com/wikimedia/mediawiki-extensions-MobileFrontend/blob/8605f7db5db797731e07b80a856d8ef2d74fb43e/src/mobile.startup/search/MobileWebSearchLogger.js | client implementation ]])
- [[ https://meta.wikimedia.org/wiki/Schema:SearchSatisfaction | Schema:SearchSatisfaction ]]
- [[ https://etherpad.wikimedia.org/p/T250336-vue-js-search-performance | Performance team meeting minutes ]] for T250336
== Open questions
- Do we need any [[ https://wikitech.wikimedia.org/wiki/X-Analytics | X-Analytics ]] headers for skin version (e.g., 1 (or not present) = Legacy, 2 = Latest) or search version (e.g., search=1 and search=2)? It's possible that a test wiki may have the latest version of the skin deployed but the new Vue.js search disabled) at least initially. The new searches should be using the new MediaWiki REST API.