[08:26:12] I'm trying to add a property example to https://www.wikidata.org/wiki/Property:P1324 but it looks like it's hanging after I select "Wikidata property example" in a newly created statement. Is it just me or is there a problem ? [08:26:13] P1324 Masterwork From Distant Lands - https://phabricator.wikimedia.org/P1324 [17:24:34] and another day... https://www.wikidata.org/w/index.php?title=Q300920&action=history [17:24:51] Lydia_WMDE: can't the sitelink interface gives a confirmation dialog when removing more than X links? [17:25:09] At least for editors with not much contributions [17:25:24] sjoerddebruin: i am not sure but i'll ask tomorrow [17:25:34] :) [17:25:58] I can remember we tried an abuse filter but that didn't work [17:26:21] yeah because the edits are done one after the other so i guess the abuse filter doesn't know? [17:26:40] which is also why i am not sure we can do it in the software directly atm. but i'll ask [17:26:41] Hmm and that it isn't designed for wikibase either [17:27:11] that too -.- [17:27:14] yeah [17:27:31] Amir said he wanted to look into improving that [17:27:39] after he is done with another task [17:28:11] Great. [17:32:29] the function triggered by the save button could check how many sitelinks are being changed, I would have thought [17:32:38] (even if it saves each one separately) [17:34:16] otherwise we should look at the UX of the sitelink interface, as it seems confusing for some. [17:35:17] I still think something weird must be happening, because I can't imagine someone clicking lots of remove buttons by accident [17:35:36] and the one person I did ask had no idea that they had removed all the other sitelinks [17:36:02] it removes all of them if you keep holding backspace tho [17:36:31] yeah, that is annoying, but it still seems like you'd have to hold it for quite a while on items which have a lot of links [17:37:11] i really don't know... [17:37:23] me neither :( [19:35:07] Hi, any PetScan expert? It is a nice tool, but documentation is a bit poor. [19:35:39] jklamo: not really a expert, but shoot me. [19:39:58] Not a complicated query, need to list of items that have P18 with specific picture. Tried on Wikidata tab at "Uses items/props" to fill "P18:File:MyFile.ext" [19:39:59] P18 my paste! - https://phabricator.wikimedia.org/P18 [19:41:36] pretty sure it doesn't work as that though [19:42:30] doesn't obviously :-( [19:43:22] But I have not better idea yet. [19:43:44] can't find a similar example on https://www.mediawiki.org/wiki/Wikibase/Indexing/SPARQL_Query_Examples [19:46:00] http://tinyurl.com/jgwh8ym [19:46:36] not sure if there's a nicer way to do the file name, that was the first thing I got to work :P [19:48:11] good job nikki [19:48:31] also commons lists the wikidata items linking to an image, if you're not expecting many items, you could just open them from the commons page and see if it's P18 [19:48:32] P18 my paste! - https://phabricator.wikimedia.org/P18 [19:49:35] nikki: Good direrection, but there is problem with <> :-( [19:49:44] oh? [19:51:16] java.util.concurrent.ExecutionException: org.openrdf.query.MalformedQueryException: Encountered " "<" "< "" at line 2, column 15. [19:51:29] I tried to make it nicer, but it doesn’t work with a prefix for some reason: http://tinyurl.com/z85hdz4 [19:53:02] if the image url has < or > it probably needs escaping, if it doesn't, I'm not sure what you're doing that breaks it [20:03:44] there is a break, dash and even a diacritic in filename... [20:04:32] But even a "simple" filename (http://tinyurl.com/jtbfam9) does not work for me. [20:05:07] putting the entire name in the prefix works, but of course that’s completely pointless [20:05:09] wait [20:07:57] (my aim is to clean-up placeholder images) [20:23:32] it only seems to work with %20 not _ [20:23:39] and it doesn't work with a prefix for me [20:23:49] (i.e. only http://tinyurl.com/htgdy7x works for me) [20:32:32] yeah, it works. So it seems to be about to replace "special characters" in filename. Will try.. [20:45:27] Needs two url encoders, but it works! Thanks...