[02:16:57] uggh canvassing [02:17:18] I think this will doom that candidate [02:19:40] and seems that we got another spambot within the last hour [02:20:32] yeah, blocked. [02:20:37] fortunately abuse filter will start working tommorow [02:23:08] * Hazard-SJ says hello [02:23:20] hi Hazard-SJ :) [02:23:23] :) [02:24:11] * Hazard-SJ is trying to get familiar with coding for Wikidata repository :) [02:25:05] :) [02:25:22] Can't find what I'm looking for though :( [02:26:39] aude: Around? [02:27:12] For what I'm seeing I need to know the item ID, but for what I want, that wouldn't be know, the intention is to search for it. [02:27:38] Why on earth do we create items for pages without langlinks per bot? [02:27:54] wait, why can't I add an enwiki link to http://www.wikidata.org/wiki/Q21198? [02:28:07] To produce admin workload? To screw with tools? ...? [02:28:56] hoo: bots make that? [02:29:05] I guess so [02:29:15] that makes me hit my head against the table hard [02:29:29] as it makes development of user friendly tools challenging [02:29:40] I though I had it all done... then I realized we had those bots [02:29:44] * thougt [02:30:40] That makes almost every linking attempt to a merge of items... great [02:36:10] Jasper_Deng: Do you think it's ok to automatically blank items with only one page link in case that page should be linked to another one? [02:36:26] hoo: ? [02:37:03] Jasper_Deng: I have to merge items automatically without having the user notice that. [02:37:31] hoo: making a bot? [02:37:45] Jasper_Deng: No, that's part of wikibase [02:39:18] I suppose that you can automatically /blank/ an entry /merged/ into another, and then delete the unused page [02:40:27] Jasper_Deng: I can't delete the page as the users aren't admin and I'm not going to screw over the complete back end [02:41:37] hoo: I would think you'd need special permission to do this kind of thing [02:41:58] Jasper_Deng: What kind of permission do you mean? [02:42:21] hoo: not all users can be trusted to use such a tool lest they mess something up [02:42:49] (this will become less of a problem when redirects are implemented) [02:42:55] Jasper_Deng: That will only happen for items with only one link [02:43:11] sure... it can be blanked then [04:13:38] New patchset: Hoo man; "(bug 43997) UI for linking articles to Wikidata items from the client" [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/45114 [04:13:46] finally :P [06:03:15] so when is phase 2 starting again? [06:03:27] rschen7754: poke [06:03:29] 2A is starting monday [06:03:33] A? [06:03:40] because it's not the whole thing [06:03:47] how much is included? [06:04:06] just links to other items and to commons files [06:04:39] hm [06:04:41] so like [06:04:46] if its a hockey player [06:04:50] wow we're really having a spambot problem [06:05:00] i can add a thing like "Team" "San Jose Sharks"? [06:05:07] rschen7754: as I said @ AN abusefilter will begin to work 2mmorow [06:05:13] yup [06:05:27] yeah, seems like we have a spambot every 2-3 hours [06:05:39] is the API documented anywhere? [06:06:46] no idea [06:09:32] is it live on the test repo? [06:10:03] yeah i think so [06:12:02] * Moe_Epsilon frowns at spambots [06:12:17] * duh smiles at Moe_Epsilon  [06:14:37] * Moe_Epsilon uh, looks away [06:15:41] :( [06:16:09] oh fine [06:16:15] * Moe_Epsilon gives duh a cookie [06:16:23] :D [06:16:25] * duh munches down [06:16:43] * rschen7754 files a complaint with assembla.com [06:17:32] I visited one of the URLs the first time I saw one, and it redirected to another site, which redirected to another [06:18:33] go to wikidata.org/wiki [06:18:34] We're fortunate that relief may happen tommorow [06:20:08] * rschen7754 does have an assembla account [06:22:00] ok, sent them a complaint [06:24:06] Does someone mind explaining how https://en.wikidata.org/wiki/Wikidata:Infoboxes_task_force/persons works? [06:24:24] I'm utterly confused [06:31:30] Anyone? [06:32:58] Moe_Epsilon: http://www.wikidata.org/wiki/User_talk:190.90.161.246 <--- We don't have an unblock template yet do we? [06:33:24] we can steal one from somewhere [06:33:33] actually we do http://www.wikidata.org/wiki/Template:Unblock [06:35:00] Yeah, I saw we have template:unblock but I'm not sure if it's working correctly [06:35:14] it looks like the one used on Commons [06:35:53] I did {{unblock|Unblock me.}} on my talk page and previewed and it looked rather odd [06:36:27] the enwikivoyage one is self-contained pretty well since there's no other templates allowed :P [06:36:38] Moe_Epsilon: what's wrong with it? [06:38:16] Maybe it was just the color, it looked like it had documentation on it :P [06:38:59] I think we can fix that [06:39:18] * duh needs someone to answer his question :/ [06:41:04] * Moe_Epsilon looks at the infoboxes [06:46:52] I'm not entirely sure what to make of that [06:47:05] Right [06:47:12] Neither do I. [06:47:36] I'm going to spend about 10 more minutes trying to figure it out [06:47:41] Before just doing it myself [06:57:06] I found the documentation. [06:57:06] https://www.mediawiki.org/wiki/Extension:Wikibase/API#wbcreateclaim [06:57:11] > To be defined. [06:57:43] woohoo [06:59:22] Well [06:59:26] I found the automated documentation [07:04:17] so uh [07:04:28] Whats a "GUID"? [07:04:37] and [07:04:39] whats a "snaktype"? [07:06:33] GUID usually is some sort of unique identifier [07:07:23] Right [07:07:24] But [07:07:28] I don't know where to get it from [07:07:34] I think snaktype=value [07:07:40] Based on [07:07:41] http://wikidata-test-repo.wikimedia.de/wiki/Special:ApiSandbox#action=wbgetentities&format=json&ids=Q117 [07:44:26] Oh well, I'm giving up now [15:10:32] guys, come on, shut up a bit, you're talking too much [15:10:35] :D [15:13:04] ? [15:13:12] :D [15:13:39] Sannita: let's start: how are you? :P [15:14:01] Vogone: left knee apart, well, thanks :) [15:15:00] :S [15:16:36] hey, it hurts... [15:17:28] Nikerabbit: Where are you guys hanging out? [15:19:01] multichill: uh? [15:19:14] Are you at FOSDEM? [15:19:16] sure [15:19:26] we (who?) are all over fosdem now [15:19:43] probably heading to janson soon for fina keynotes and then away [15:19:46] final [15:20:07] Romaine: ^^ [15:20:58] looking anyone in particular? [15:21:05] Lydia [15:21:59] I last saw her in the mediawiki bof at noon [15:24:52] mmm [15:27:28] Nikerabbit: if you see her, please tell me [15:28:19] sure, though unlikely [15:28:51] where would she be most likely, any idea? [15:29:20] I have no idea, but mostly people are assembling to janson [15:29:45] Romaine: in Berlin [15:29:52] :P [15:30:46] * Romaine lifts Vogone out of his place and pulls him to FOSDEM [15:32:29] in Brussels? :O [15:32:34] yessss [15:32:41] meh [15:48:11] JeroenDeDauw: you are at FOSDEM right? [15:54:51] Romaine: He is/was [15:55:06] was yes [15:55:27] now only need to find Lydia [15:56:40] Romaine: do you need her phone number? :P [15:57:03] if someone hs the mobile of her? [15:57:21] Is it that important? [15:58:01] I am not dying without :p [15:58:05] I have to go now [15:58:08] IIRC DerHexer has her mobile [15:58:35] if someone sees her, say I am looking for her [15:58:41] okay [16:45:20] Hallo. [16:45:22] There's a city in Israel called "נשר". It's also a name of bird. When I try to search wikidata.org for this string, I only find the bird. [16:45:44] That's if I try the "item by title" search. [16:45:57] And if I try to use the search box, it doesn't find anything at all. [16:46:22] Here's the city item: https://www.wikidata.org/wiki/Q135432 . [16:46:33] And here's the bird: https://www.wikidata.org/wiki/Q123120 . [16:46:50] Am I missing something or is the search just not so great? [16:47:01] [ Yet :) ] [16:47:12] search is still broken, afaik [16:48:59] !logs [16:48:59] http://bots.wmflabs.org/~wm-bot/logs/ [16:50:59] http://bots.wmflabs.org/~wm-bot/logs/%23wikimedia-wikidata/ [16:58:02] :O [16:58:27] this chan is logged? [16:58:43] great :) [16:59:18] * Vogone counts the hat collectors in this channel :P [17:03:19] I have the bestest hat. [17:06:46] yeah [17:06:51] staff :P [17:07:21] * root! [17:07:36] Yeah, Reedy has a much better set of hats than me. :-) [17:08:03] No root, unfortunately :( [17:08:40] hoo: staff is correct :P [17:09:03] staff+shell [17:09:25] Pyfisch o.O.(hurra!) [17:09:25] Vogone: Yeah... but root is a whole new level :P [17:10:08] Vogone: weißt du noch wer ich bin ;) [17:11:36] Vogone: ich kenne nur dein hier und jetzt :) [18:35:52] aharoni: with ItemByTitle you will only find one item as otherwise the links would be identical [18:36:36] Jeblad_WMDE: ah! of course, it finds by Wikipedia article and not by Wikidata item. [18:36:58] so is there anything that I can do to find it in Wikidata? [18:37:35] http://wikidata.org/wiki/Special:ItemDisambiguation/he/%D7%A0%D7%A9%D7%A8 [18:38:04] There are five items [18:39:45] Seems like the special page is brioken, the API works [18:40:18] Not sure why the search bx doesnt work, the drop down uses the search API [18:41:25] https://bugzilla.wikimedia.org/show_bug.cgi?id=44624 [18:48:52] thanks, Jeblad_WMDE . useful links. [19:53:54] New review: Raimond Spekking; "+1 for i18n review" [mediawiki/extensions/Wikibase] (master); V: 0 C: 1; - https://gerrit.wikimedia.org/r/45114 [20:02:34] Change abandoned: John Erling Blad; "Outdated" [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/35123 [20:04:54] New patchset: John Erling Blad; "Rename CreateEntity and CreateItem to NewEntity and NewItem" [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/32921 [21:30:34] New patchset: John Erling Blad; "Make test providers static" [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/47370 [21:47:41] * Jasper_Deng wonders if Ajraddatz would support a minimum requirement of 10-20 edits to vote in a Wikidata RfP [21:48:03] Nope. It wouldn't keep out the irregulars anyways. [21:48:18] hi Jasper_Deng [21:50:18] hi Nikerabbit [22:07:04] New review: John Erling Blad; "Move the metainfo later if necessary, merging this on." [mediawiki/extensions/Wikibase] (master); V: 2 C: 2; - https://gerrit.wikimedia.org/r/47080 [22:07:05] Change merged: John Erling Blad; [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/47080 [22:22:11] hoo, are you here? [22:22:21] Jeblad_WMDE: Yes [22:22:43] oki, downloaded your changeset to try it out [22:22:51] :) And? [22:23:33] Your gadget is supposed to open on the "Edit links" below the languages? [22:24:08] Jeblad_WMDE: No, it's called "Add links" [22:24:23] and only appears on page without a langlink [22:26:21] I got (none) where it should show up [22:26:46] :/ Any JS error? [22:27:01] nope.. [22:27:18] Jeblad_WMDE: You need to be logged in on both the client and the repo [22:28:05] Hm.. [22:28:22] Do you handle the error situation where that isn't the case? [22:28:52] The gadget doesn't link itself in those cases [22:29:23] There should be an explanation [22:29:32] In the commit message? [22:30:03] No to the user why it fails [22:30:18] I just get (non) [22:30:25] !logs [22:30:25] http://bots.wmflabs.org/~wm-bot/logs/ [22:30:43] That's not a failure it's just nothing [22:31:33] I could enable the link for anyone and tell the user after he clicks that he needs to log in though [22:31:53] From the users perspective the UI is broken and he will not know why [22:32:09] But thats not the issue here [22:32:41] I'll change that [22:35:17] It fails consistently.. [22:35:20] ;/ [22:35:45] Define "fails" :/ [22:35:53] no link [22:35:57] no gadget [22:36:03] no function [22:37:07] Mh, weird [22:38:11] Jeblad_WMDE: Is there anything special about your test set up? [22:39:17] (Have you made sure you're logged into both repo and client and are viewing an article without langlinks) [22:39:41] yes [22:39:52] Still no JS error? [22:40:48] nope [22:41:08] the (none) thingy jumps sideways during load [22:42:16] Slow CSS load [22:42:25] Still works for me... with bot debug=true and false [22:42:29] * both [22:43:06] you should not load css in js.. it makes the layout jump [22:43:18] I don't do that [22:43:54] Solved that by setting position => top on wikibase.client.init [22:49:14] Is this what you wanted? https://gerrit.wikimedia.org/r/#/c/45114/9/repo/Wikibase.i18n.php [22:49:35] Exactly, yes [22:49:47] I've moved those to lib as I need them [22:49:57] (they are used in a JS module in lib) [22:57:38] What kind of browser do you use? [23:01:52] Jeblad_WMDE: Firefox and Midori (Webkit based) [23:02:24] Didn't you set up the cross site thingy? [23:02:46] Is that in our code? [23:02:47] Is it failing on CORS? [23:03:23] I don't know, I wonder where is that code [23:03:39] Most of the magic is in the core [23:03:54] the rest is in wikibase.RepoApi (part of wikibase.store) [23:03:57] Is the code merged? [23:04:06] Yes [23:22:33] New patchset: Hoo man; "(bug 43997) UI for linking articles to Wikidata items from the client" [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/45114 [23:22:40] Jeblad_WMDE: ^ check that out [23:23:11] Somehow the repo reports that I'm not logged in [23:24:08] Weird [23:26:01] You need to be logged in on this wiki and in the central data repository to use this feature. [23:27:27] Grrr, can you check the http headers of the api request to the repo? [23:34:31] Jeblad_WMDE: That's exactly what should happen... despite the response [23:35:14] Do you get the same if you manually navigate to api.php?action=query&meta=userinfo on the repo? [23:36:19] [23:36:20] [23:36:22] [23:40:27] Jeblad_WMDE: My set up is more or less identical to yours and it works like a charm [23:42:45] I have a single server with mw running in two subfolders [23:42:52] Same for me [23:43:09] I can't see that a setup like that would need cors to work.. [23:43:10] I'm using Silke's Vagrant [23:43:24] It doesn't and the CORS headers aren't set [23:43:35] so that's fine [23:44:36] And it should not give me something other than a response according to the session cookie for the user involved.. [23:44:48] Exactly [23:45:01] I have no idea why it does that [23:45:11] that is the repo and client user, are the only ones involved.. [23:46:06] I verified the response by logging the content of the reply so it is correct [23:47:59] correct in which sense? Correct as my tool handles it correctly or the API is giving what we expect? [23:49:54] The API gives the reply that I'm not logged in [23:50:05] which is wrong [23:54:14] Jeblad_WMDE: Last idea I have: Add smth. like foo = bar to the parameters maybe it's a weird caching hiccup [23:54:21] though that shouldn't be the case [23:54:31] I think I perhaps found it.. [23:56:04] mh? [23:57:46] Yepp, but now the spinner is just running and nothing happens [23:58:23] ok, that means that .done wasn't triggered