It isn't possible to add a statement with some items as values. Discussion excerpt from http://www.wikidata.org/wiki/Wikidata:Contact_the_development_team#Slow_ajax.2Fsearch_code.3F :
From my Firebug:
GET http://www.wikidata.org/w/api.php?callback=jQuer...ities&format=json&language=nb&type=item&search=W 200 OK 2.35s
GET http://www.wikidata.org/w/api.php?callback=jQuer...ies&format=json&language=nb&type=item&search=Wik Aborted
GET http://www.wikidata.org/w/api.php?callback=jQuer...es&format=json&language=nb&type=item&search=Wiki Aborted
GET http://www.wikidata.org/w/api.php?callback=jQuer...s&format=json&language=nb&type=item&search=Wikip Aborted
GET http://www.wikidata.org/w/api.php?callback=jQuer...&format=json&language=nb&type=item&search=Wikipe Aborted
GET http://www.wikidata.org/w/api.php?callback=jQuer...language=nb&type=item&search=Wikipedia-pekerside Aborted
The code seems to have no qualms about launching two (or more?) GET requests at the same time, in other words searching for "Wiki" and "Wikip" at the same time. This can't be good for performance. And most of the requests seem to time out, I suppose this is because the server is overloaded because the server-side code needs some optimizing? In any case, right now it's impossible for me to add "is a" + "Wikipedia disambuguation" to an item, because all the GET requests (beyond searching for the single letter "W") time out. I had the same problem yesterday, so it seems like a chronic problem. - Soulkeeper (talk) 10:52, 7 February 2013 (UTC)
To reproduce, go to Q1176386. Select interface "Norsk (bokmål)". Click "Legg til" (add) under "Utsagn" (Statements). Type "er" (is a). When the other (value?) field shows up, try to save it as "Wikipedia-pekerside". It's next to impossible, because the ajax calls tend to be aborted before they return anything. - Soulkeeper (talk) 11:09, 7 February 2013 (UTC)
I can reproduce this also with language set to English.
Version: master
Severity: major
Whiteboard: u=dev c=backend p=0