Forwarded. Please cc Denny,  as he is not on this list.

Begin doorgestuurd bericht:

Van: Denny Vrandečić <denny.vrandecic@wikimedia.de>
Datum: 9 mei 2012 01:36:01 GMT+02:00
Aan: MediaWiki Tech list <wikitech-l@lists.wikimedia.org>
Onderwerp: [Wikitech-l] Language codes vs site codes
Antwoord aan: Wikimedia developers <wikitech-l@lists.wikimedia.org>

Hi,

Wikimedia projects like Wikipedia exist for a large number of languages
(>280, wow). Let us call them the sites. They are identified by the site
code used in the subdomain and in language and interwiki links, e.g. "en"
for en.wikipedia.org, i.e. the English Wikipedia.

MediaWiki has a number of interface languages. These are selected through
the preferences. They also have short language codes that identify them and
which are used, e.g. in the localization of the code. "en" is used for
English.

My four questions:
* are the language codes a proper superset of the site codes?
* if the code is the same in both cases, does it always refer to the same
language?
* does the Wikimedia project identified by a specific site code also always
use the same language code as its default interface language?
* are the answers to the previous three questions accidental or by design,
i.e. can we expect that this will stay like this in the future?

I hope that the answers are yes,yes,yes,yes :)

Sorry for the nitpicking questions, I hope someone knows the answers.

Cheers,
Denny

--
Project director Wikidata
Wikimedia Deutschland e.V. | Obentrautstr. 2 | 10963 Berlin
Tel. +49-30-219 158 26-0 | http://wikimedia.de