On Mon, 13 Aug 2012 09:47:21 -0700, Denny Vrandečić denny.vrandecic@wikimedia.de wrote:
Hi everyone,
The use case is the following: in order for Wikidata to be able to provide language links for the wikis using Wikidata, we need to use consistent global IDs when communicating about the involved wikis (i.e. if a "client wiki", i.e. a Wikipedia like fr.wp, asks Wikidata for the language links for an article X, the client and the repo need to know that e.g. "enwiki" refers to en.wp. Right now the table does not sport any such field -- the local prefix "en" might be differently defined on fr.wp and fr.wikinews, for example, and we obviously do not want to break that).
We further made some configurations explicit that are as of now embedded in the code using the current interwiki table.
The change also facilitates synchronizing that data, but this is part of another changeset and of other code.
Cheers, Denny
I actually have a side question in this area.
You mention using a global id to refer to sites for making links. And synchronization of the sites table.
So you're saying that this part of Wikidata only works within Wikimedia projects right?
Does Wikidata overall only function within Wikimedia projects. Or is there a different mechanism to deal with clients from external wikis?