Last modified: 2013-08-22 14:46:36 UTC
The IW-prefix for direct linking to Wikidata, that is for example [[d:Q1]], will add the subdomain to the link. So for example such a link as in the example if it is used at ru.wikipedia.org will be rewritten into ru.wikidata.org/wiki/Q1. Because that isn't expected by scripts some of them will break. (Not sure which one, and exactly why.) Instead of adding the subdomain from Wikipedia as a subdomain on Wikidata, a fix could be to use the subdomain as the language code in "?uselang=subdomain" but that needs additional rewrite rules for those languages where that fails. That is "no" should be replaced by "nb". In addition the user isn't logged in at wikidata.org, which adds additional confusion to the mixture as Firefox will try to add the subdomain www to the url. So not only will the user not be logged in, he is also left unaware of how to fix the problem.
Using uselang is a terrible hack... I don't understand, why is this marked shell? What's the config to change? Also, is this about links added by the wikidata extension somewhere or what else? Because if it's about manual links the solution is simple: don't use the language-dependant one-letter interwiki but [[wikidata:]].
d: now always uses www.wikidata.org.