== Background
This task encompasses deploying the configuration to enable the new search experience on the test wikis as well as as a user preference to users opted out of legacy mode.
== Pre-launch checklist
- [] All open tasks in [[ https://phabricator.wikimedia.org/T244392 | the overarching epic ]] are identified to be blockers or non-blockers.
- [] Config patches are staged and +1d by at least one other person.
- [] Ensure new pilot wikis have logos
- [] Deployments are scheduled and assigned here and [[ https://wikitech.wikimedia.org/wiki/Deployments | on wiki ]].
- [] Do a risk assessment, reviewing the decisions made in {T252348} and the implications on pushing this code to production. The risk assessment should acknowledge any technical debt acquired; how this decision impacts future work by us and other teams and how and when we plan to pay it off.
- [] QA completed on testwiki and beta cluster as a part of {T259798}
== Acceptance criteria
- [] Deployed to test wikis
- [] [[ https://logstash.wikimedia.org/app/kibana#/dashboard/AXDBY8Qhh3Uj6x1zCF56?_g=h@44136fa&_a=h@4f171a4 | Client ]] and [[ https://logstash.wikimedia.org/goto/daa10d84bc592c1e9b5b727314092ba5 | server ]] errors are monitored and prevalent issues are tasked.
- [] Performance identified
- [] Deployment dates are documented on the [[ https://www.mediawiki.org/wiki/Reading/Web/Release_timeline | notable events ]] and the [[ https://www.mediawiki.org/wiki/Reading/Web/Desktop_Improvements/Vue.js_case_study/Status_log | Vue.js status log ]] pages.
== Deployment timeline
Note: we will **not** be deploying the new search experience to Commons.
[] **Stage 0** (tracked separately in {T259798}: [[ https://en.wikipedia.beta.wmflabs.org | Beta cluster ]], [[ https://test.wikipedia.org | Test Wikipedia ]] (group 0, testwiki), - [[https://office.wikimedia.org | Wikimedia Office ]] (group 0, officewiki)
[] **Stage 1**: deploy to all logged-in users (note: this will include all users that have explicitly opted into legacy mode
[] **Stage 2**: deploy to first set of test wikis (group1) and begin A/B test of **old search widget in new location vs new search widget in new location**
- [[ https://fr.wiktionary.org | French Wiktionary ]] (frwiktionary, group 1)
- [[ https://he.wikipedia.org | Hebrew Wikipedia ]] (hewiki, group 1)
- [[ https://pt.wikiversity.org | Portuguese Wikiversity ]] (ptwikiversity, group 1)
[] **Stage 3**: deploy to second set of test wikis (group 2) and begin A/B test of **old search widget in new location vs new search widget in new location**
- [[ https://fr.wikipedia.org | French Wikipedia ]] (frwiki, group 2)
- [[ https://eu.wikipedia.org | Basque Wikipedia ]] (euwiki, group 2)
- [[ https://fa.wikipedia.org | Persian Wikipedia ]] (fawiki, group 2)
[] **Stage 4**: deploy to new test wikis and begin A/B test **done in a separate task**
- Turkish Wikipedia
- Serbian Wikipedia
- Korean Wikipedia
- Portuguese Wikipedia
NOTE: prior to stage 4 deployment, we will coordinate with the Traffic team to check if we can turn off the cache for these wikis as done during previous deployments.
== Open questions
- What configs do we want to flip on and when? This is kind of like the "ultimate deploy task." Do we need intermediate deploys for logged-in users only and other configs? For example, a specific configuration may be needed for a length of time to collect instrumentation and performance data. Is it just the config added in T257706?
# Developer notes
To enable the new search in modern Vector after merging feat/search branch into master you'll need to backport the following config change:
```
$wgVectorUseWvuiSearch = true;
```
# QA steps
## Check key presses
Resize the browser window so that its height is 400px. Run a search that provides enough search results that the bottom search result is not visible. check up and down arrows allow you to jump between all the search result items. Context T256042#6431695
== References
- [[ https://tools.wmflabs.org/versions/ | Wikimedia MediaWiki verisons ]]
- [[ https://en.wikipedia.org/wiki/List_of_Wikipedias | List of Wikipedias ]]
- [[ https://en.wikipedia.org/wiki/List_of_Wiktionaries | List of Wiktionaries ]]
- [[ https://meta.wikimedia.org/wiki/Complete_list_of_Wikimedia_projects | Complete list of Wikimedia projects ]]
- [[ https://gerrit.wikimedia.org/r/plugins/gitiles/operations/mediawiki-config/+/master/dblists/ | Operations' configurations for all projects ]] (actual `DBname`s per project)