Page MenuHomePhabricator

[EPIC] A/B Test: add display of languages by region
Closed, DeclinedPublic


This is an epic story ticket to run an A/B test to add in languages by region or country.

This new set of language links can be created using translatewiki's proven ability to detect what country a user is in display regional language options for the visitor.

This set of language links would be in addition to the languages we already display on

Here is a draft mock of what this test could look like to a visitor to the portal page (also viewable here):

screenshot-lang-list-by-region.png (505×790 px, 77 KB)

Note: the above mock was created before the latest update to the page that added all the secondary language links to a dropdown (Aug 2016)

A mock of what it could look like on the portal page:

wikipedia portal suggested languages.jpg (521×1 px, 83 KB)

Note: this ticket will be the A/B test for a previously written ticket: T142839

Event Timeline

debt triaged this task as Medium priority.Jul 12 2016, 7:49 PM
Danny_B renamed this task from [EPIC] A/B Test (Beta): sort languages by region(s) to A/B Test (Beta): sort languages by region(s).Jul 12 2016, 10:10 PM
Danny_B added projects: Wikimedia-Portals, Epic.
debt renamed this task from A/B Test (Beta): sort languages by region(s) to A/B Test: add display of languages by region.Aug 22 2016, 7:02 PM
debt updated the task description. (Show Details)
debt renamed this task from A/B Test: add display of languages by region to [EPIC] A/B Test: add display of languages by region.Sep 23 2016, 6:11 PM
debt updated the task description. (Show Details)

I'm a bit confused by the second mockup. Would the sections other than Recommended still be divided by article count, or would it be based on region like in the first mockup? If the latter, perhaps we could attempt to give the largest Wikipedias more prominence in the lists with a darker color or slightly larger size.

Yes, we were thinking that the various listings of language links - by article count - would be displayed as they are now with the treatment in the second mock.

We'd be adding in the 'recommended' languages for easy use by visitors (when we can detect their region) and not changing the existing display of languages by article count. least that's the thought as of right now. :)

OK, that sounds reasonable. I wonder if we should try to make this new section consistent with the browser-based recommendation that goes in the top 10 ring – maybe include both browser-based and region-based languages in the new section for good measure.

Sure, that could work - it probably wouldn't hurt to duplicate those browser based languages in the regional area. Ordering in that area could be regional languages first, then browser based.

I spoke about this to @Deskana today. It already works fairly well with ULS in Wikipedias in general, and for Compact Language Links in particular, so you could simply reuse the code. It would be especially good for massively-multilingual countries like India, Russia, Nigeria, South Africa, etc.

AFAIK, currently only the Accept-Language sent by the browser is used by the portal, and it should definitely use more than that.