<div dir="ltr">Alright, we're close to issuing this code in production for the Wikipedia Zero end user use case.<div><br></div><div>Federico, you're right - <a href="http://www.wikipedia.org/">www.wikipedia.org/</a> gets a lot more traffic than <a href="http://m.wikipedia.org/">m.wikipedia.org/</a>; <a href="http://www.wikipedia.org/">www.wikipedia.org/</a> skews more toward English, for several reasons, but it still seems like wiring up a JavaScript widget to talk to an API that examines the Accept-Languages, or something like that, might be useful for multilingual users and users not reading a language listed toward the top of the page. I'm currently pretty busy, but we could maybe at least ask Mxn (if not on this list) what Mxn thinks, as Mxn has been pretty involved with the global Wikipedia portal template. Should I BCC Mxn on this thread, or email Mxn off-thread? Mxn tries to avoid spam from what I can tell on Mxn's personal website.</div><div><br></div><div>-Adam</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 28, 2014 at 2:28 PM, Federico Leva (Nemo) <span dir="ltr"><<a href="mailto:nemowiki@gmail.com" target="_blank">nemowiki@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Adam Baso, 28/10/2014 21:26:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
Hi, just wanted to give people a heads up about language-sensitive<br></span>
redirects on the <a href="http://m.wikipedia.org/" target="_blank">m.wikipedia.org/</a> <<a href="http://m.wikipedia.org/" target="_blank">http://m.wikipedia.org/</a>> (and<br>
<a href="http://zero.wikipedia.org/" target="_blank">zero.wikipedia.org/</a> <<a href="http://zero.wikipedia.org/" target="_blank">http://zero.wikipedia.org/</a>>) webroot:<span class=""><br>
<br>
<a href="https://www.mediawiki.org/wiki/Wikipedia_Zero/Accept-Language_Aware_Redirects" target="_blank">https://www.mediawiki.org/<u></u>wiki/Wikipedia_Zero/Accept-<u></u>Language_Aware_Redirects</a><br>
<br>
Dan Foy, Maryana, and I spoke on this stuff, and we thought it would be<br>
best to see how this works in Wikipedia Zero land, and then if it works<br>
well, continue dialog for the mobile web Wikipedia webroot afterward for<br>
the non-Wikipedia Zero use case.<br>
<br>
Usually we don't like to vary the cache on Accept-Language, but this is<br>
one place where we're exploring the concept. It's possible to try to<br>
figure out the language prefix in Varnish, but for now we're trying this<br>
as a pure MediaWiki thing.<br>
</span></blockquote>
<br>
Cc mediawiki-i18n. As for MediaWiki, this is UniversalLanguageSelector domain; outside MediaWiki, do note the project portals (<<a href="https://meta.wikimedia.org/wiki/Project_portals" target="_blank">https://meta.wikimedia.org/<u></u>wiki/Project_portals</a>>) sorely need to be made language-aware at some point, and probably have several orders of magnitudes more visitors than the "mdot webroots".<span class="HOEnZb"><font color="#888888"><br>
<br>
Nemo<br>
</font></span></blockquote></div><br></div>