[01:24:23] Lydia_WMDE, aude, JeroenDeDauw, addshore, would appreciate a review from someone on the Wikibase team of https://gerrit.wikimedia.org/r/#/c/349977 when someone can. I appreciate it. [08:26:11] matt_flaschen: sorry - timezones are not our friend -.- I'll mention it in the daily today and see if someone can look at it [11:06:08] what is the appropriate action against this sort of vandalism? https://www.wikidata.org/w/index.php?title=Q206855&action=history [13:09:35] matt_flaschen: Daniel is looking at the patch he said [13:10:13] pintoch: your revert seems like the right thing to do [13:10:25] i also always check what else was done by the same user/IP [13:10:34] to see if there is more to clean up [13:11:00] if they have done a lot and continue to vandaloze then getting them blocked on the admin noticeboard is the next step [13:11:15] or protecting the item if the vandalism is about one item [13:11:20] or both [14:13:05] don't forget RollBot if they've really done a LOT of vandalism on MANY pages, something that's not easily revertable in a reasonable amount of time by hand :-) [15:59:36] i could use a bit of help with the sparql endpoint : how to send a request through post ? I read that https://www.mediawiki.org/wiki/Wikidata_query_service/User_Manual#SPARQL_endpoint but can't make if POST are supposed to sent as naked request in the body, "sparql=" with urlencoded query, … [16:08:42] Alphos: looks like you need query= with unencoded query: curl -d@- https://query.wikidata.org/sparql <<< 'query=SELECT (1 AS ?x) WHERE {}' [16:09:33] and it looks like you can also specify other parameters (like format=json) before the query= in the POST body (though putting them in the URL also works) [16:09:49] L2stupid -_-" [16:10:02] why on earth did i use "sparql" instead of "query" as param ? [16:10:29] oh, is that why it didn’t work for you? [16:10:31] feel free to chastise/whip/cane/spank/hit me >_< [16:10:36] no, but it seems plausible [16:10:39] :D [16:10:43] * Lucas_WMDE hugs Alphos instead [16:10:46] well, "no" as in "haven't checked yet" [16:11:15] apparently you can even specify other parameters after the query: curl -d@- https://query.wikidata.org/sparql <<< 'query=SELECT (1 AS ?x) WHERE {}&format=json' [16:11:29] so I guess you’d still have to escape '&'s in the query somehow [16:11:59] yeah, still URL encoding: curl -d@- https://query.wikidata.org/sparql <<< 'query=SELECT ("this%26that" AS ?x) WHERE {}&format=json' [16:12:11] but it seems you don’t need to URL-encode *everything*, so that’s nice :) [16:13:43] whaddaya know, it works [16:14:01] letting guzzle handle the encoding ;-) [17:25:50] Great. Thanks Lydia_WMDE (and Daniel but he's not on IRC :) ) [19:25:48] I see that Wikidata has many surnames, what would be the appropriate way to add certain attributes from the US Census to those surnames? Like rank and number of individuals with the surname, as well as demographic data? [19:26:04] We would like to display those attributes on Wiktionary on the surname pages...