NOTE: Do not deploy until blockers are resolved. Tentative date: Wednesday, April 28
== Background
We are planning on deploying the new language switching functionality. We will begin with logged-in users that have opted out of legacy vector
== Acceptance criteria
[] Stage 1: deploy to testwiki and officewiki
- Ensure full QA has been completed on these wikis
[] Stage 2: Deploy new language switching functionality to all users that have opted out of legacy vector
* **Exclude** the following pilot wikis from the above:
Basque Wikipedia
French Wikipedia
French Wiktionary
Hebrew Wikipedia
Persian Wikipedia
Portuguese Wikiversity
Bengali Wikipedia
German Wikivoyage
Korean Wikipedia
Portuguese Wikipedia
Serbian Wikipedia
Turkish Wikipedia
Venetian Wikipedia
Wikimedia Incubator
# Developer notes
The required config changes are:
Stage 1:
```lang=php
'wgVectorLanguageInHeader' => [
'default' => [
'logged_in' => false,
'logged_out' => false,
],
'testwiki' => [
'logged_in' => true,
'logged_out' => false,
],
'officewiki' => [
'logged_in' => true,
'logged_out' => false,
],
],
```
Stage 2:
```lang=php
'wgVectorLanguageInHeader' => [
'default' => [
'logged_in' => true,
'logged_out' => false,
],
// Initially exclude those wikis in the Desktop Improvements group. See https://phabricator.wikimedia.org/T280526 for detail.
'desktop-improvements' => [
'logged_in' => false,
'logged_out' => false,
],
],
```