[14:08:12] Harmonia_Boulot, hoi [14:08:35] where is this DæghrefnBot located on IRC, and how do I get in on the action? [14:08:48] at #wikidata-fr [14:09:00] and you must be in the trusted list to operate [14:09:02] it [14:09:09] Harmonia_Boulot, how do i get on it? :) [14:09:16] you ask Dereckson [14:09:26] cool, thx :) [14:09:28] and you come in the right channel ^^ [14:12:53] Jhs: even with the bot, you still have to add P1705 manually [14:12:58] but still, it helps [14:13:49] Harmonia_Boulot, indeed. and the nice thing is that it adds labels and descriptions without using one edit per language [14:14:14] Jhs: you should use AutoEdit to do that yourself [14:14:25] the way i've been doing it now (with Quickstatements) has racked me up some 30-40 000 edits in a few days :s [14:14:45] Jhs: urgh no [14:15:08] mw.loader.load("//en.wikipedia.org/w/index.php?title=MediaWiki:Wdsearch-autodesc.js&action=raw&ctype=text/javascript"); [14:15:08] wd_auto_desc_wd_always_show = true ; [14:15:22] uh >< [14:15:24] sorry [14:15:27] bad c/c [14:19:45] Jhs: the bot only handle latin-script names, you have to add the missing properties and adding aliases and correct descriptions yourself after that [14:20:02] Harmonia_Boulot, [14:20:03] yup [14:20:57] i added the languages I usually do to the bot, https://github.com/dereckson/Daeghrefn-Wikidata/pull/1 , so we'll see when Dereckson merges :) [14:21:43] ohh great! [14:21:52] i'll add it to my own scripts [14:21:59] https://www.wikidata.org/wiki/User:Harmonia_Amanda/autoEditLists.js [15:36:07] I'm trying to hack on the wikidata query service GUI and I have no idea how to test it locally [15:36:42] pintoch: `grunt build` and then open index.html in your browser [15:37:10] you don’t need `grunt build` after every change you make (I actually don’t know when it’s needed and when not), but I assume you need an initial build at least [15:37:17] also probably `npm install` before that, to install the dependencies [15:37:31] Lucas_WMDE: thanks, so I need to figure out first how to install grunt on Debian [15:37:57] hmm it *is* in the repo [15:38:17] I think I did `sudo npm install -g grunt` [15:38:40] I have a symlink /usr/local/bin/grunt to ../lib/node_modules/grunt-cli/bin/grunt, but I’m not sure if npm created that or I did it manually [15:38:53] sorry, npm install -g grunt-cli, not grunt [15:41:30] Lucas_WMDE: it works! thanks a lot for your help :) [15:41:44] yay, you’re welcome :) [15:42:55] pintoch: also, just a shot in the dark – but if the reason you want to hack on it is the broken autocompletion, that’s already fixed: https://phabricator.wikimedia.org/T166762 [15:45:15] Lucas_WMDE: I hadn't noticed it ^^ [15:45:51] whaaat, you don’t use autocompletion every waking hour? :P [16:06:04] Lucas_WMDE: you'll be shocked to hear I *never* use it, then :P [16:06:31] * Lucas_WMDE passes out [16:07:18] hehe [16:08:12] nikki knows all the 4000 property ids by heart B-) [16:09:04] no, but I do know the ones I use a lot :P [16:09:57] and if I'm searching for something else, I probably have the property page open already (or an item which uses it) so it's not hard to find out [16:13:56] I actually ended up adding some css to the page to hide various things, because things popping up/down/out all the time was annoying me too much [16:17:40] A lot of people were or are still are unaware of the shortcut [16:30:31] I don't suppose anyone has any good ideas for how to get all the people items with a label in a particular language, other than by downloading and parsing the entire data dump? [16:37:48] nikki: what about https://dpaste.de/PdMF ? [16:40:12] it times out if I try to get them all :/ [16:41:08] nikki: there'll be a lot of items for that, I don't think web interface is a good choice for that, try using CLI [16:41:48] there's a command line client? [16:43:58] if the query times out on the server, then the choice of client won’t make a difference [16:44:26] Lucas_WMDE: then database is the only option? [16:44:43] *database dump [16:44:51] nikki: I thought that perhaps you could get all labels in that language, and then filter for human items, which *might* work if the language has very very few labels overall [16:45:05] but that doesn’t seem to work very well [16:45:25] no other ideas other than database dump, I’m afraid [16:45:28] even if it had worked, I'm looking for japanese ones, so not exactly a small language D: [16:45:46] :/ [16:50:05] what if we reduce the number of examples by getting items whose label begin with a particular letter? [16:50:42] and then repeating for "beginning" with every other letter [16:52:43] japanese uses thousands of characters, so that wouldn't be very efficient, and one of the things I'm looking for is weird labels [16:53:52] nikki: you can list all possible letters and run the query for every letter in a python script, if the query does not time out, you have all the data you need [16:54:14] basically a crude way to batch a large data [16:54:46] but if I'm going to loop over all unicode characters to make sure I get everything, I might as well just parse the data dump :P [16:56:12] I'm not sure that it would work anyway because it would need to check all the strings in order to find the ones which start with the character I'm looking for [16:56:47] if it can't find all the labels for a language without timing out, it's not going to be able to find them all and then filter them [16:57:29] I think it's just not very fast at finding labels by language in general :/ [17:42:57] PROBLEM - Host wdqs1002 is DOWN: PING CRITICAL - Packet loss = 100% [17:59:15] RECOVERY - Host wdqs1002 is UP: PING OK - Packet loss = 0%, RTA = 37.30 ms [19:24:27] Jonas_WMDE: your fix is finally deployed. Sorry for the delay, there's been a lot going on this afternoon... [19:36:42] gehel thanks! [22:00:19] Found a duplicate q, want to learn how to merge. [22:01:54] PROBLEM - Blazegraph process on wdqs2001 is CRITICAL: PROCS CRITICAL: 0 processes with UID = 997 (blazegraph), regex args ^java .* blazegraph-service-.*war [22:02:14] The unnecessary q is Q21537611. It is already covered by Q5478223, connected to enwiki article Franc Falkiner [22:02:24] PROBLEM - Blazegraph Port on wdqs2001 is CRITICAL: connect to address 127.0.0.1 and port 9999: Connection refused [22:03:24] RECOVERY - Blazegraph Port on wdqs2001 is OK: TCP OK - 0.000 second response time on 127.0.0.1 port 9999 [22:03:54] RECOVERY - Blazegraph process on wdqs2001 is OK: PROCS OK: 1 process with UID = 997 (blazegraph), regex args ^java .* blazegraph-service-.*war [22:06:43] paaln: have you seen https://www.wikidata.org/wiki/Help:Merge? [22:23:37] nikki: that did the trick, thanks [22:44:11] if you had to build an HTML form where one input expects a Wikidata item (with auto-completion), what would you use?