https://bugzilla.wikimedia.org/show_bug.cgi?id=44746

       Web browser: ---
            Bug ID: 44746
           Summary: aborted search requests - can't add item to statement
           Product: MediaWiki extensions
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: WikidataRepo
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected],
                    [email protected]
    Classification: Unclassified
   Mobile Platform: ---

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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to