On Tue, Jul 23, 2013 at 6:17 PM, Jeroen De Dauw <jeroendedauw@gmail.com> wrote:
Hey,

> To distinguish, you do [[w:en]] for English Wikipedia and [[voy:en]] for English Wikivoyage.

Interesting. Where do these "w" and "voy" come from?

 
These are defined in one of the most wikimedia-specific scripts that exist :)

https://github.com/wikimedia/mediawiki-extensions-WikimediaMaintenance/blob/master/rebuildInterwiki.php

You can see that "voy" takes you to English Wikivoyage, and then if specified, the local interwiki id is used to redirect again to the specified "lang" / subdomain.

http://en.wikipedia.org/w/api.php?action=query&meta=siteinfo&siprop=interwikimap&format=json

And you can see that not *all* of the sites are in the interwiki map for enwiki.  It only has *all* Wikipedias + the external iwprefix for sister projects and other external sites.

Cheers,
Katie
 

> In Wikimedia's config, the interwiki code is same as language code and there can't be more than one language per site group.

Can you link to this config?


Cheers

--
Jeroen De Dauw
http://www.bn2vs.com
Don't panic. Don't be evil. ~=[,,_,,]:3
--

_______________________________________________
Wikidata-tech mailing list
Wikidata-tech@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-tech




--
Katie Filbert
Wikidata Developer

Wikimedia Germany e.V. | NEW: Obentrautstr. 72 | 10963 Berlin
Phone (030) 219 158 26-0

http://wikimedia.de

Wikimedia Germany - Society for the Promotion of free knowledge eV Entered in the register of Amtsgericht Berlin-Charlottenburg under the number 23 855 as recognized as charitable by the Inland Revenue for corporations I Berlin, tax number 27/681/51985.