Thanks, the conversation indeed helped me!<div><br></div><div>Cheers,</div><div>Denny<br><br><div class="gmail_quote">2012/5/9 Siebrand Mazeland (WMF) <span dir="ltr"><<a href="mailto:smazeland@wikimedia.org" target="_blank">smazeland@wikimedia.org</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Denny,<br>
<div class="im"><br>
On Wed, May 9, 2012 at 3:36 AM, Denny Vrandečić<br>
<<a href="mailto:denny.vrandecic@wikimedia.de">denny.vrandecic@wikimedia.de</a>> wrote:<br>
</div><div class="im">> (Siebrand, I am unsure if this will arrive at mediawiki-i18n, feel free to<br>
> forward it you consider it interesting to them).<br>
<br>
</div>It does after the list admin approves it, but you may just want to subscribe[1].<br>
<div class="im"><br>
> OK, I've written a few lines of Python [1] which actually helped me answer<br>
> my questions. Sorry to bother.<br>
><br>
> And the answers are yes, yes, no, but close, and i hope so.<br>
<br>
</div>No problem. We like people answering their own question. More time for<br>
us to do other things :).<br>
<div class="im"><br>
> There are a small number of wikis which use a different language code than<br>
> their site code is, namely:<br>
><br>
> crh -> crh-latn<br>
> als -> gsw<br>
> be-x-old -> be-tarask<br>
> roa-rup -> rup<br>
> simple -> en<br>
<br>
</div>There are a few more, actually. See includes/DefaultSettings.php,<br>
$wgDummyLanguageCodes.<br>
<div class="im"><br>
> But, at the same time, the given *site* codes exist as *language* codes as<br>
> well, i.e. the languages/messages files exist for them, but they just<br>
> fallback to the given language code (i.e. MessagesAls.php just names gsw as<br>
> a fallback).<br>
<br>
</div>That's an issue with the Wikimedia setup, I guess. If the language<br>
code could be different from the subdomain name, that is what should<br>
be done. It's probably not as simple as it looks. See next item.<br>
<div class="im"><br>
> I would not be surprised if each of these five examples would have an<br>
> anecdote to explain why they are the way they are :)<br>
<br>
</div>That, and a past in which there was less attention for trying to stick<br>
to a particular standard. Doesn't really matter, we're stuck with it<br>
for now, and should try to not make it worse, and fix it on the long<br>
run. For the 5+ years that I'm involved in MediaWiki development,<br>
there have been requests to rename wikis to more appropriate subdomain<br>
names, but for some reason, no progress has been made on it yet. These<br>
10+ requests are tracked in <a href="https://bugzilla.wikimedia.org/19986" target="_blank">https://bugzilla.wikimedia.org/19986</a>.<br>
<div class="im"><br>
> P.S.: There is one thing I do not understand though. According<br>
> to <a href="https://simple.wikipedia.org/w/api.php?action=query&meta=siteinfo" target="_blank">https://simple.wikipedia.org/w/api.php?action=query&meta=siteinfo</a> the<br>
> language of simple.wp is "en", but MessagesSimple.php seems to be taken into<br>
> account (instead of "edit" it has "change" in the UI, one of only two<br>
> changes in MessagesSimple to MessagesEn).<br>
<br>
</div>Thanks for mentioning. That shouldn't have been there. Fixed in<br>
<a href="https://gerrit.wikimedia.org/r/#/c/7035/" target="_blank">https://gerrit.wikimedia.org/r/#/c/7035/</a>.<br>
<div class="im"><br>
> So it seems that the language is<br>
> "simple" -- why does it say "en" in the siteinfo?<br>
<br>
</div>Because it *is* English. It just should be English with a reduced<br>
vocabulary. There have been many debates in the past over its<br>
usefulness, and if possibly other languages should also get a simple<br>
vocabulary Wikimedia project (and subdomain). This is just for<br>
reference, please do not comment on this in this thread, but start a<br>
new one if you'd wish to discuss simple language versions.<br>
<br>
Not sure if this made your insight clearer, but at least I hope I was<br>
able to add some details :).<br>
<br>
[1] <a href="https://lists.wikimedia.org/mailman/listinfo/mediawiki-i18n" target="_blank">https://lists.wikimedia.org/mailman/listinfo/mediawiki-i18n</a><br>
<br>
Cheers!<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Siebrand Mazeland<br>
Product Manager Localisation<br>
Wikimedia Foundation<br>
<br>
M: <a href="tel:%2B31%206%2050%2069%201239" value="+31650691239">+31 6 50 69 1239</a><br>
Skype: siebrand<br>
<br>
Support Free Knowledge: <a href="http://wikimediafoundation.org/wiki/Donate" target="_blank">http://wikimediafoundation.org/wiki/Donate</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br>Project director Wikidata<div>Wikimedia Deutschland e.V. | Obentrautstr. 2 | 10963 Berlin</div><div>Tel. +49-30-219 158 26-0 | <a href="http://wikimedia.de" target="_blank">http://wikimedia.de</a></div>
<div><div><br></div><div>Wikimedia Deutschland - Gesellschaft zur Förderung Freien Wissens e.V. Eingetragen im Vereinsregister des Amtsgerichts Berlin-Charlottenburg unter der Nummer 23855 B. Als gemeinnützig anerkannt durch das Finanzamt für Körperschaften I Berlin, Steuernummer 27/681/51985.</div>
</div><br>
</div>