[01:39:24] is there an admin around for a non-urgent thing? [04:06:07] hey [04:08:06] !admin [09:18:42] sjoerddebruin I fixed the reference copy widget [09:19:00] Jonas_WMDE: <3 <3 <3 <3 [09:19:02] https://www.wikidata.org/wiki/User:Jonas_Kress_(WMDE)/common.js [09:19:11] would you update the gadget [09:19:27] Of course! [09:20:18] sjoerddebruin ups and remove the debugger line [09:20:46] So remove "debugger;"? [09:21:20] jap [09:21:38] https://www.wikidata.org/w/index.php?title=MediaWiki%3AGadget-DuplicateReferences.js&type=revision&diff=377848492&oldid=376172079 [09:23:02] should work! sjoerddebruin have you tried? [09:23:13] Will do now [09:25:57] Jonas_WMDE: only the display of "copy reference" at a new statement (without refreshing) after saving is weird. [09:26:28] Or is that a bug in Wikibase? The delete button doesn't go away. [09:27:14] you mean that one in the header bar? [09:27:54] I think? [09:28:30] this will be fixed when the new code is deployed [09:28:50] Okay! [09:30:27] What to do with the Phab task, does the code still need a review? [09:31:13] sjoerddebruin: how do you mean "sources" ? [09:31:48] https://www.wikidata.org/w/index.php?title=Q24448646&type=revision&diff=377673512&oldid=372824266 adds the "retrieved" qualifier. Or am I not seeing something ? [09:32:25] It shouldn't be used as qualifier imo, there is also a constraint for it [09:33:03] "Part of statement references. Not to be used in claims or qualifiers." according to the proposal. [09:33:23] oh... dam... [09:35:01] sjoerddebruin: thanks for pointing this out. Do you have a qualifier in mind that I could use for that purpose ? [09:35:28] https://www.wikidata.org/wiki/Property:P585 is used for websites afaik [09:36:42] Jonas_WMDE: feel free to make a new task for the idea of Adrian. Again, thanks for your help. [09:37:47] sjoerddebruin: excellent, thanks [09:39:35] * dachary fixing FLOSSbot misbehavior [09:50:21] Jonas_WMDE: also, it doesn't seem to possible to copy another reference and paste it on a statement if you did the same before (copying and pasting). [09:58:29] sjoerddebruin: Is there a tool to easily find/create given/surnames for items...? None of https://www.wikidata.org/wiki/Q24572330 's names exists on WIkidata as items... [10:03:50] Josve05a: there is a proposal to create a gadget that adds a link to the suggestions to create a new item [10:04:54] https://phabricator.wikimedia.org/T107693 [10:10:32] Josve05a we have a bot for that in #wikidata-fr :p [10:11:17] Alphos: hm? [10:11:27] handles creating surnames, creating male/female/both given names :p [10:11:48] returns the Qid of the new item ^^ [10:13:20] woah [10:13:51] I thought we weren't supposed to manually add imported from wikipedia references? [10:16:56] It should only be used for bot imports yeah [10:17:06] But some new users add it to every single statement... [10:19:37] I was looking at the statements Josve05a added to that item :P [10:25:31] Nikki: Well, I did a semi-automated import, so I added it anyways... [10:27:10] it just seems silly putting extra effort into making more work for people :/ [10:31:06] I used to remove the imported from things when adding real references, but then the interface was changed and now it's more work to remove them so I don't bother removing them any more :/ [10:31:40] nikki: one could see it that way, or one could see it as being transparent from where I found the info, and not make Wikipedia later look at Wikidata and claim it as a circular source [10:32:44] wikipedia shouldn't be citing wikidata as a source [10:33:01] it might as well just cite itself [11:02:47] help, does someone know which are given names and which are surnames in "Adele Laurie Blue Adkins"? (real name of the singer Adele) [11:10:38] I would expect that only the last one is the surname [11:17:55] http://tinyurl.com/zjpqnsx items which uses surnames as given names... only 18 :p [11:18:00] please help me, :p [11:42:47] * Alphos pats harmonia on the head [11:42:51] "you're almost done !" [11:42:53] * Alphos helped [11:43:51] >< [11:47:58] sjoerddebruin :( [11:48:16] Could you please report errors and logs to the ticket I will have a look then [11:51:47] It feels weird to reuse that ticket though. [11:54:51] I think nothing is broken, just stuff missing. :) [12:14:35] is there a way to get a list of all properties that were proposed as "Generic" properties ? [12:14:53] https://www.wikidata.org/wiki/Special:MyLanguage/Wikidata:List_of_properties/Generic only has a few it seems [12:34:40] can someone merge https://www.wikidata.org/wiki/Q21501997 and https://www.wikidata.org/wiki/Q168078 ? I have a weird error [12:37:34] done [14:21:21] is there a SPARQL way of saying : "is this date more than one month old compared to now ? " i.e. something like "?date < now() - month(1)" ? [14:24:01] dachary: yes, see for example http://tinyurl.com/gp466tl (line 7) [14:24:27] WikidataFacts: great :-) [14:29:29] WikidataFacts: http://tinyurl.com/zafvfzw is what I came up with to say : "software with a source code repository with a point-in-time that is either not set or older than one month". Is there maybe a more concise way to say the same ? [14:31:54] dachary: nothing that stands out to me, no [14:32:09] cool, thanks for taking a look [14:32:10] but you should probably take care that ?repository and ?pit don’t come from different statements [14:32:22] hum [14:32:27] ?floss p:P1324 ?stat. ?stat ps:P1324 ?repository; pq:P585 ?pit. [14:32:36] ah right [14:32:39] (forgot to make the last one OPTIONAL) [14:32:42] * dachary fixing [14:33:25] hi dachary [14:33:31] Ash_Crow: hi [14:33:39] well, you could remove the BIND and filter for ?pit < now() - "P1M"^^xsd:duration, that would be shorter, but a bit less readable, so I’m not sure if it’s an improvement [14:34:05] yes, I made it to help the reader figure out what it means [14:34:22] yeah, okay [14:34:44] dachary & harmonia: I'll be tomorrow evening at the FPH in Paris to discuss with people from Parinux & maybe Framasoft about integrating data about free software on Wikidata [14:34:57] if you want to come along, you are welcome [14:35:17] Ash_Crow: not sure, I'm pretty tired these days [14:35:19] Ash_Crow: thanks for the invite [14:35:22] but thanks [14:38:37] (FPH = Fondation Charles Léopold Mayer pour le progrès de l'Homme, 38 Saint-Sabin) [14:43:14] WikidataFacts: https://www.w3.org/TR/sparql11-query/ does not contain xsd:duration. Is there another URL I should bookmark to use as a reference ? I assumed P15D would mean 15 days but it's just guessing on my part based on your comment in http://tinyurl.com/gp466tl [14:46:27] dachary: no idea, I got it from Ash_Crow (https://phabricator.wikimedia.org/T143897) [14:47:18] actually, I think they’re defined here: https://www.w3.org/TR/xmlschema-2/ [14:48:18] yup [14:48:49] the prefixes are great for hiding the fact that xsd:duration is in fact just a URL :D [14:49:13] (doesn’t help that the URL doesn’t directly go to the spec…) [14:49:40] the url links to a page with links to the spec [15:09:29] DanielK_WMDE: Hey, I'm looking on this: https://phabricator.wikimedia.org/T145965 We have EntityTitleLookup that I can use but it's in the repo, What do you suggest to me to use instead? [15:09:57] The {{#property:}} seems super complicated to me to use it's formatter [15:10:00] *its [15:48:45] Amir1: EntityTitleLookup is for getting the page title of an item, it has nothing to do with labels. [15:50:42] DanielK_WMDE: yeah but I thought it might be useful, Is there any kind of look up that I can use? I searched for them but couldn't find anything [15:51:35] Amir1: LabelDescriptionLookup, you can get one from a LanguageFallbackLabelDescriptionLookupFactory. [15:51:39] See SpecialPagesWithBadges for an example [15:51:54] Awesome [15:51:56] Thanks [15:51:59] np [15:52:25] LanguageFallbackLabelDescriptionLookupFactory probably wins the longest-class-name cup [15:52:55] yea, i just said it out loud and had to smile :) [15:53:28] hm, there should be a factory method for this ni WikibaseClient [15:53:34] it makes no sense to construct it by hand [15:53:35] *sigh* [15:54:53] :D [17:17:42] WikidataFacts: :-) https://www.w3.org/TR/xmlschema11-2/#duration indeed [17:20:39] Ash_Crow: do you also happen to know where the calculation rules regarding dates are defined ? https://www.w3.org/TR/sparql11-query/#OperatorMapping does not seem to cover it. [17:21:46] dachary: https://www.w3.org/TR/xpath-functions-31/ I guess [17:22:11] https://www.w3.org/TR/xpath-functions-31/#durations [17:22:56] Ash_Crow: thanks :-) [17:23:24] dachary: when you are on query.wikidata.org [17:23:52] click prefixes and the prefix you want to get it explicitely [17:24:07] in this case it will show : [17:24:07] PREFIX xsd: [17:24:55] and from there you should be able to read the specs ;) [17:25:32] it's indeed convenient to have these links [17:25:49] you can also query for SELECT (xsd:duration AS ?x) {} to get the link :) [18:22:47] cute [18:46:19] http://tinyurl.com/h9kax8b O_O [18:46:38] why is Q18335803 an answer here? O_O [18:48:03] I get 0 results [18:48:17] WikidataFacts: weird [18:48:22] but I'm glad [19:07:08] addshore: Don't you have a bot to detect stuff like https://www.wikidata.org/w/index.php?title=Q17558139&type=revision&diff=303493349&oldid=301360576 ? [19:07:56] I can't tell what it is meant to detec from that diff :D [19:08:25] It was merged and emptied out [19:08:42] But no redirect [19:10:09] addshore: I thought you had a bot that found items that were merged, but not redirected [19:10:31] ahh no, I had a script that I used to undelete items and then create redirects [19:11:26] Right, so that was a one time run? [19:11:44] yeh basically :) [19:11:45] Hmm, so we might have many items out there that got emptied out, but not redirected.... [19:11:56] multichill: very possible! [19:12:45] Basically need revision edit summarys (since I did my run) find all merge summarries and check them [19:17:13] I recall having a query for this somewhere [19:19:45] addshore: https://tools.wmflabs.org/multichill/queries/wikidata/items_to_redirect.sql <- look what I found! ;-) I'm running it. Do you still have that merge script somewhere? [19:20:15] I do believe I do! [19:20:35] though It could be rewritten as I wrote it for doing the batch of 500,000 items as quickly as possible i believe! [19:21:49] addshore: Only 97 @ https://tools.wmflabs.org/multichill/queries/wikidata/items_to_redirect.txt [19:28:29] I think krbot handles some [19:46:08] DanielK_WMDE: ping? [19:49:58] SMalyshev: hey [19:50:20] SMalyshev: i only have a few minutes before the next meeting [19:52:26] DanielK_WMDE: ok, I wanted to talk about page props etc. updates, I guess few minutes is not enough so maybe ping me when you have time [19:53:46] SMalyshev: not today... but consistency of secondary tables with recentchanges is a general concern [19:54:00] i suggest to take write to wikitech-l about it [19:54:51] ok, I'll write a mail then [20:17:14] SMalyshev: re the gui patch by Jonas: i'm not ignoring you. i just don't know what it actually is really about and wanted Jonas to show me and we've only seen each other for like 30 minutes over the past week -.- [20:17:20] hope i can get to it tomorrow [20:17:28] Lydia_WMDE: great [20:17:33] crazy week [20:17:53] np, that's not very urgent so tomorrow's completely fine [20:17:58] k [20:18:03] thanks! [20:18:45] :3 [20:18:59] it's a sjoerddebruin! [20:19:01] :D [20:19:07] So? [20:19:17] nothing ;-) [20:19:25] :( [20:19:33] besides that it is good to have oyu here of course [20:19:34] ! [20:22:52] == Wikidata == [20:22:52] * Blocker: Can not connect to the Hangout on [20:22:52] https://hangouts.google.com/hangouts/_/wikimedia.org/scrum-of-scrums. Get [20:22:52] error "HJR: 2-RNF". [20:22:54] well played [20:22:57] :) [20:23:18] heh [20:23:52] Looks like fixing something creates new bugs. :( [20:24:09] sjoerddebruin: :/ yeah [20:24:27] hopefully less bad than the fixed one though? [20:25:01] Well, the basic functionality of DuplicateReferences works again. [20:25:07] \o/ [20:36:01] But I've created new tasks for regressions or bugs with the new version. [20:40:15] thanks! [21:50:22] This is how we record errors in databases, right? https://www.wikidata.org/w/index.php?title=Q21258362&type=revision&diff=377984022&oldid=377983643 [22:42:33] DanielK_WMDE: I was working on the unit test [22:42:42] add it now, it was much easier than I thought :D [22:44:27] cool :) [22:44:53] i'm too tired to give a +2 now, but hopefully tomorrow! [22:47:50] Amir1: close! nearly happy... [22:48:41] DanielK_WMDE: I have a strange situation with this patch, I told you before. Jenkins always fails on my CI tests but it passes in my local host so I don't know how to debug it properly [22:49:31] I checked, everything is synced, php versions match, and I ran out of ideas [22:49:48] Check it in your localhost tomorrow please [22:50:33] will do [22:55:38] DanielK_WMDE: Also the test is now in another method [22:55:43] I'm heading bed [22:55:48] see you tomorrow [22:55:49] o/ [23:02:02] Amir1: sleep well!