Last modified: 2014-06-29 20:46:53 UTC
If a new item is created with the 'Add links' function in Wikipedia, labels are set with language codes equal project prefix. e.g. item is created with sitelink to simple.wikipedia.org -> label is set for language 'simple'.
WikidataClient should not *try* to add such a label, but WikidataRepo should reject them anyway (bug 37459); marking as dependent.
A site's real language (eg. simple isn't a language) should be added to the sites table and then be propagated to JS (via PHP). With that information, this bug could be fixed.