[07:43:09] I don't see why this is needed. https://www.wikidata.org/w/index.php?title=Q12078&curid=13645&diff=340103928&oldid=339960272 [08:36:06] hello [08:36:59] Hello, afghan [08:38:31] hello [08:38:35] how are u? [08:39:19] Good, do you have a question about Wikidata? [08:40:22] yeah i am new to this portale can u help me to understan this wikidata how its works and what is purpose of this? [08:40:50] Have you read https://www.wikidata.org/wiki/Wikidata:Introduction? [08:42:54] tnx a ton i will read it [14:24:00] aude: lydia suggested to talk to you at some point. [14:27:48] mvolz: sure [14:28:06] which session are you in? [14:28:07] we are not really hacking today [14:28:10] ah ok [14:28:17] so tomorrow? [14:28:20] maybe [14:28:23] :) [14:28:24] or can be anytime [14:28:54] i'm just figuring out how to translate the api parameters that citoid provides to wikidata properties and value types [14:29:16] if you want to do hangouts with me my physical embodiment is in the lounge. I think. [14:29:42] initially as a gadget, but as it's javascript, maybe some of this would be better as part of the citoid service [14:30:20] Since there's only one wikidata it could probably all be hard-coded within the gadget [14:30:21] * nikki wonders how you can be not quite sure where your physical embodiment is [14:30:45] I am attending a conference remotely and I'm on google hangouts on a laptop :) [14:31:01] so I am not entirely sure where the laptop is [14:31:06] mvolz: i imagine there would be some sort of "templates", maybe as json that provides mapping of properties [14:31:27] so with visual editoe, we have template data [14:31:30] which is json [14:31:32] mvolz: are you listening to andrea's session? [14:31:32] I see... still sounds funny :P [14:31:48] :) [14:32:03] something like template data but for wikidata could work [14:32:11] I asked Dario about having a telepresence robot but he said they couldn't spring for one, alas [14:32:29] aude: I think that would be a good idea. I don't know about what kind of namespaces wikidata has [14:32:31] the wifi is not really working today (except some of us are using tethering) [14:32:43] with VE we also have a Mediawiki message that does the config [14:32:51] i saw the config [14:33:28] think i just want to take baby steps, and for example, convert date of publication to wikibase format [14:33:33] so maybe just a Mediawiki message on wikidata too? [14:33:38] maybe [14:33:45] that can be json [14:33:48] or whatever [14:33:56] yeah [14:34:55] aude: the audio is not really good enough for ambient sound to follow unfortunately. Although A LOT better than it was earlier today [14:35:15] aude: so I added your script and I can't get it to work [14:35:15] :/ [14:35:20] :) [14:35:34] i think there is a bug in the script [14:35:36] the link shows up but then when I click not much happens [14:35:37] ya [14:37:06] * aude is a bit new to OOUI [14:37:43] I wish I could help more with that :D [14:37:50] I'm technically on the VE team [14:37:54] so I should... but... haha [14:38:06] it's ok. i'm sure i can get help (krinkle already helped me at the hackathon) [14:38:23] is there anyway to do a gadget that could be more collaborative? Like a script that is on-wiki? [14:39:03] it can be on wiki (or you can copy it) [14:39:44] or on labs [14:41:32] which session are you in? [14:41:49] think i see the problem [14:41:51] https://github.com/filbertkm/wikidata-refs/blob/master/refs.js#L251 [14:42:00] it's hard coded to work with my development wiki :P [14:42:09] i am in andrea's session [14:42:51] i don't want to be experimenting too much on wikidata, though suppose test.wikidata could be used [14:48:11] aude: sensible. I guess this means I have to figure out how to set up a local wikidata. Do you use vagrant? [14:52:53] i have used vagrant and it probably works okay enough [14:54:53] any chance you could dump the contents of your http://wikidatawiki/scripts/template.json somewhere? Not sure what should be in it ^-^ [14:55:17] https://github.com/filbertkm/wikidata-refs/blob/master/template.json [14:55:22] oh ha thanks [14:55:54] there might be different mappings for different types of sources (e.g. newspaper articles, books, ...) [14:57:31] yes. actually you'll need one for every single different zotero type... http://aurimasv.github.io/z2csl/typeMap.xml [14:57:37] it's going to be annoying :) [14:57:46] ok [14:58:04] because there are lots of zotero types. [14:58:38] i'm starting with one or a few types, but will want to support them all :) [15:00:07] https://www.wikidata.org/wiki/Wikidata:WikiProject_Source_MetaData/Source_types is trying to match zotero types to wikidata items, for the "instance of" statement. (only left column is relevant) [15:03:52] That would be so much easier to edit if VE was installed on wikidata (hint hint hint) [15:03:59] I guess i should be hinting in the VE channel [15:06:35] aude: is template.json just for matching what type? all of them right now? [15:06:38] the link is useful [15:06:53] i was working with newspaperArticle [15:08:29] ok, I can probably work on that without installing wikidata if you want (because I know these types backwards and forwards :P). If you want OOUI help it will probably have to wait until when/if I get a local installation of wikibase (that could take all day!) [15:09:07] :/ [15:09:19] vagrant is probably okay enough [15:09:22] for this [15:09:44] or you can use test.wikidata.org or beta wikidata [15:09:55] why do you need to specify valuetype? [15:10:13] Iin the json [15:10:23] is that just an option of how to get the value from wikidata? [15:10:27] will perhaps need it to know, for example, publication date needs to be a time value [15:10:31] (I will have lots of wikidata questions) [15:10:52] it has a different structure that needs to be provided in the reference (to the wikidata api) [15:11:26] Hmm, but if you don't tell the api you are inserting a time, it will not work? [15:12:21] no [15:12:44] if you open the js console and look at the api responses being made when editing, you will see [15:13:17] there might be some of the wikibase code we already have that can be reused to help [15:22:36] i am almost out of battery on my laptop [15:24:18] :( [15:24:52] and I think the computer my hangouts was on fell asleep haha [15:25:01] I've been disconnected. Not that it really matters. [15:25:09] Was not really getting much out of it anyway. [15:25:17] wait! [15:25:21] I'm back! [20:04:33] hoo there already is a patch for the article placeholder issue [20:04:52] We could merge it and then follow up to address the suggestions [20:07:32] audephone: link? [20:07:57] can't easily find it from my phone [20:08:13] but look at open patches [20:08:54] ok [20:09:25] think it's ok to merge though the code could be nicer per the comments [20:11:29] aude: Ok, +2ed [20:12:07] thanks [20:20:24] audephone: Do we need to backport? [20:20:41] We can [20:21:05] I'm preparing for traveling tomorrow (need to coordinate with others) [20:21:14] It's a notice though [20:21:31] Ok, so I think we can postpone it [20:21:39] So don't think needs to be now [20:22:05] Can maybe do tomorrow [20:23:03] ok [20:23:12] think that's fine given it's a notice [20:23:19] yep [20:23:46] more important is the linker issue [20:27:53] dunno who could review that [20:28:04] Lego [20:28:11] true [20:28:39] Daniel merged it [20:28:48] maybe he also knows the code [20:28:48] Was just telling him [20:28:53] Yeah [20:32:08] hoo just curious no labels where. ? [20:32:27] audephone: Special pages [20:32:29] recent changes? [20:32:31] Ok [20:32:41] That's why I didn't see the issue [20:32:49] Yeah, not on mobile [20:33:01] I immediately saw it when I refreshed my watchlist on wikidata [20:33:08] I looked on non mobile [20:33:39] But only kitten item [20:33:47] heh :) [20:54:16] audephone, hoo: uhoh, is something linker related broken? [20:54:30] legoktm: Yeah, see https://gerrit.wikimedia.org/r/290737 [20:55:55] +2'd [20:56:08] needs backport I assume? [20:57:47] legoktm: Yeah [21:14:59] * aude back [21:18:05] aude: :) [21:19:08] thanks legoktm and hoo :)