Build an A/B test that will test a feature which detects the user's language and re-sorts the links around the globe on the Wikipedia portal in line with their preferred language settings.
If they do not have as many language preferences as there are available links to display, fill the remainder links around the globe with the "top" links that are not in their language preferences.
If they do not have a header (lang pref) or we cannot retrieve it, do a full stop and give them the default experience.
We also want to count how many users go directly to the search box.
Logic should look like the following:
- 1 in 200 people are included in EventLogging
- Of those 1 in 200 people, 1 in 10 are included in the test
- Of those 10 people, 5 go in a test group, with the cohort "language-detection-b", and 5 go in a control group, with the cohort name "language-detection-a"
- The other chunk of the 200 people gets a NULL (the string null, or the MySQL null, we can detect either).