Page MenuHomePhabricator
Feed Advanced Search

Nov 7 2016

Mushroom awarded T148179: Statements should be added without reloading the page a Like token.
Nov 7 2016, 4:24 PM · Epic, Wikidata-primary-sources, Wikidata

Apr 24 2016

Mushroom added projects to T133490: Wikidata Query Service REST endpoint returns truncated results: Varnish, SRE.
Apr 24 2016, 3:09 PM · Patch-For-Review, Traffic, SRE, Discovery-ARCHIVED, Wikidata, Wikidata-Query-Service
Mushroom added a comment to T133490: Wikidata Query Service REST endpoint returns truncated results.

I have noticed that if I set the --compressed option in Curl the file does not get truncated. I searched on Gerrit and found a Varnish configuration change from April 11 whose commit message says:

Note we still need to re-test assumptions about do_stream=false adding Content-Length to responses which lacked them in the common case (no gzip/gunzip on the fly on the response side).

Commit here: https://gerrit.wikimedia.org/r/#/c/282716. Related tasks: T128813, T131501, T131761

Apr 24 2016, 3:08 PM · Patch-For-Review, Traffic, SRE, Discovery-ARCHIVED, Wikidata, Wikidata-Query-Service
Mushroom added a comment to T133490: Wikidata Query Service REST endpoint returns truncated results.

A similar issue has been reported by Ivan A. Krestinin here: https://www.wikidata.org/wiki/Wikidata:Contact_the_development_team#Corrupted_response_end.
It happens to him with Wikidata API requests, not WQS, but it has oddly similar features:

  • Large response (in my case more than 70 MB)
  • Works fine in the browser
  • Fails through bots/Python/Curl etc.
  • Returns truncated results
  • Started about the same date (after 10 April)
Apr 24 2016, 12:58 PM · Patch-For-Review, Traffic, SRE, Discovery-ARCHIVED, Wikidata, Wikidata-Query-Service
Mushroom added a comment to T133490: Wikidata Query Service REST endpoint returns truncated results.

Here is the SPARQL, for clarity:

SELECT ?qid ?imdb WHERE {?qid wdt:P345 ?imdb. FILTER regex(str(?imdb), "nm|tt")} ORDER BY ?qid
Apr 24 2016, 12:45 PM · Patch-For-Review, Traffic, SRE, Discovery-ARCHIVED, Wikidata, Wikidata-Query-Service
Mushroom created T133490: Wikidata Query Service REST endpoint returns truncated results.
Apr 24 2016, 12:29 PM · Patch-For-Review, Traffic, SRE, Discovery-ARCHIVED, Wikidata, Wikidata-Query-Service

Mar 12 2016

Mushroom created T129739: SPARQL query returns item that was deleted months ago.
Mar 12 2016, 1:09 PM · Wikidata, Wikidata-Query-Service, Discovery-ARCHIVED

Mar 11 2015

Gerrit Code Review <gerrit@wikimedia.org> committed rMEXT032da62111e6: Updated mediawiki/extensions Project: mediawiki/extensions/Wikibase… (authored by Mushroom).
Updated mediawiki/extensions Project: mediawiki/extensions/Wikibase…
Mar 11 2015, 5:56 AM