[01:47:04] (03PS1) 10Hoo man: Fix flaky UsageTableUpdaterTest::testRemoveEntities [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/214790 [01:52:31] (03PS2) 10Hoo man: Make rank selector CSS selector as specific as it needs to be [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/214671 (https://phabricator.wikimedia.org/T100798) (owner: 10Gilles) [01:54:03] (03CR) 10Hoo man: [C: 032] Make rank selector CSS selector as specific as it needs to be [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/214671 (https://phabricator.wikimedia.org/T100798) (owner: 10Gilles) [01:57:27] (03Merged) 10jenkins-bot: Make rank selector CSS selector as specific as it needs to be [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/214671 (https://phabricator.wikimedia.org/T100798) (owner: 10Gilles) [02:24:04] (03CR) 10Hoo man: [C: 032] "Looks good, manually verified (also with change dispatching)." [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/212273 (owner: 10Daniel Kinzler) [02:27:13] (03Merged) 10jenkins-bot: Inject language links on ContentAlterParserOutput [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/212273 (owner: 10Daniel Kinzler) [03:46:53] Hello all [03:47:14] any wikidata expert around ? [03:47:18] I have some questions ! [03:48:13] !ask|Hussain [03:48:27] Hussai, just ask, if there's someone who can help they'll reply [03:48:32] thanks codzee . [03:48:54] When I want to add a new lets say city to the wikidata . [03:49:07] a city has specific properties . [03:49:26] does wikidata provide those propertiese to me in orther to fill them as fields . [03:49:27] ? [03:49:38] order* [03:50:42] is there a mechanism in which the new items class is defined and so the wikidata knows to ask for value for which predefined fields . [03:50:55] in case new item is a city : [03:51:12] propertiese would be things like : population , area , meyer etc . [04:15:01] Hussain: items are not associated with properties by default to allow for predefined fields [07:27:56] 10Wikidata, 10Citoid, 6Editing-Department, 10Possible-Tech-Projects, 10Wikidata-Query-Service: Create a system to store and query links to books - https://phabricator.wikimedia.org/T90852#1322603 (10Ladsgroup) [08:50:14] benestar: cool idea! :) Maybe a good step is to ask on the wikidata page on dewp? [08:51:41] 10MediaWiki-extensions-WikibaseRepository, 10Wikidata: make it possible to easily clone an existing reference from the same item - https://phabricator.wikimedia.org/T76233#1322621 (10Bene) I created [[ https://www.wikidata.org/wiki/User:Bene*/DuplicateReferences.js | DuplicateReferences.js ]] which allows to c... [08:51:43] 10[1] 04https://www.wikidata.org/wiki/https://www.wikidata.org/wiki/User:Bene%2A/DuplicateReferences.js [08:52:08] woot [08:53:07] benestar: Is there also a way you could improve the warning script? https://www.wikidata.org/w/index.php?title=User_talk:193.153.84.88&diff=prev&oldid=220677584 [08:53:54] sjoerddebruin: sure [08:54:05] can you try the duplicator script for me? :) [08:54:13] Yeah, already doing that. [08:56:50] Lydia_WMDE: it would be great if you supported a nice way to inject custom buttons into the edit toolbar for gadgets [08:57:46] benestar: want to open a ticket with usecases? :) [08:58:04] probably will have to be done as part of the redesign of the statement section [08:58:44] benestar: please check https://www.wikidata.org/w/index.php?title=Q19801924&action=history [08:58:48] it would be cool if wikibase used more hooks in javavscript [08:59:04] so that one can hook into an [edit] click [08:59:54] sjoerddebruin: which edit is the one you did with the script? [09:00:01] * benestar needs to add a custom edit summary [09:00:30] The latest 6. [09:01:46] And damn, that is the working fast bug again. https://www.wikidata.org/w/index.php?title=Q19801924&type=revision&diff=220683196&oldid=220682636 [09:04:58] sjoerddebruin: however, the tool seems to work? [09:05:15] Yeah, but I miss some feedback. [09:05:17] could it be more intuitive to use or any other things to improve? [09:05:22] (that a reference has been copied, etc) [09:05:32] good point [09:05:49] 10MediaWiki-extensions-WikibaseRepository, 10Wikidata: Line height changes in Wikidata suggester - https://phabricator.wikimedia.org/T100804#1322625 (10Lydia_Pintscher) @snaterlicious: What do you think? [09:05:50] And make the strings translatable. [09:06:03] 10MediaWiki-extensions-WikibaseRepository, 10Wikidata: Line height changes in Wikidata suggester - https://phabricator.wikimedia.org/T100804#1322627 (10Lydia_Pintscher) p:5Triage>3Normal [09:25:05] sjoerddebruin: added some user feedback and made it translatable :) [09:25:08] wanna try it again? ^^ [09:30:53] benestar: Works good. [09:31:43] Can you append the edit summary? [09:47:14] 10Wikidata, 10MediaWiki-extensions-ContentTranslation: run a bot that adds sitelinks to articles that were created using ContentTranslation and not linked to other languages - https://phabricator.wikimedia.org/T100875#1322663 (10Amire80) 3NEW [09:48:13] 10Wikidata, 10MediaWiki-extensions-ContentTranslation: run a bot that adds sitelinks to articles that were created using ContentTranslation and not linked to other languages - https://phabricator.wikimedia.org/T100875#1322673 (10Amire80) (This is not a bug in #Wikidata on in #MediaWiki-extensions-ContentTransl... [09:56:26] 10Wikidata, 3Roadmap, 7notice: Enable arbitrary access on Wikisource projects - https://phabricator.wikimedia.org/T98756#1322684 (10Lydia_Pintscher) [09:57:19] 10Wikidata, 10MediaWiki-extensions-ContentTranslation: run a bot that adds sitelinks to articles that were created using ContentTranslation and not linked to other languages - https://phabricator.wikimedia.org/T100875#1322685 (10Bene) > I guess that it's better to get the list from the central contenttranslat... [09:58:25] sjoerddebruin: fixed the bug in userwarn.js [09:59:04] Great. [09:59:23] Will you do a OOjs rewrite in the future? [10:00:03] sjoerddebruin: you mean of the whole ui? [10:00:13] (03PS1) 10WikidataBuilder: New Wikidata Build - 2015-05-30T10:00:01+0000 [extensions/Wikidata] - 10https://gerrit.wikimedia.org/r/214793 [10:00:44] Maybe. [10:01:12] It looks so shitty now. :P [10:20:36] 10Wikidata, 10MediaWiki-extensions-ContentTranslation: run a bot that adds sitelinks to articles that were created using ContentTranslation and not linked to other languages - https://phabricator.wikimedia.org/T100875#1322705 (10Nikerabbit) Which labs do you mean? There are separate tables for production and b... [10:22:36] 10Wikidata, 10MediaWiki-extensions-ContentTranslation: run a bot that adds sitelinks to articles that were created using ContentTranslation and not linked to other languages - https://phabricator.wikimedia.org/T100875#1322706 (10Amire80) >>! In T100875#1322685, @Bene wrote: >> I guess that it's better to get... [10:40:51] sjoerddebruin: I've been noticing that that bug is still there too :( I've seen it happen seven times in the last two days (maybe there were more I haven't spotted yet) [10:42:44] (03PS1) 10Bene: Add resolvePropertyId to mw.wikibase lua module [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/214794 [10:45:39] (03PS1) 10Bene: Add getBestStatements to mw.wikibase.entity lua module [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/214795 [10:45:59] (03CR) 10jenkins-bot: [V: 04-1] Add resolvePropertyId to mw.wikibase lua module [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/214794 (owner: 10Bene) [10:48:15] 10MediaWiki-extensions-WikibaseClient, 10Wikidata, 10MediaWiki-extensions-Capiunto, 7Tracking: Capiunto support for Wikibase [tracking] - https://phabricator.wikimedia.org/T100880#1322719 (10Bene) 3NEW [10:48:49] (03CR) 10jenkins-bot: [V: 04-1] Add getBestStatements to mw.wikibase.entity lua module [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/214795 (owner: 10Bene) [10:48:55] nikki: Unbreak now doesn't have a meaning anymore. [10:49:21] heh, I was wondering about that [10:49:30] 10MediaWiki-extensions-WikibaseClient, 10Wikidata: Add method to resolve a property's label to its id - https://phabricator.wikimedia.org/T100881#1322726 (10Bene) 3NEW [10:51:43] 10MediaWiki-extensions-WikibaseClient, 10Wikidata: Add method to get the list of best statements for a given property id - https://phabricator.wikimedia.org/T100882#1322732 (10Bene) 3NEW [10:52:48] (03PS2) 10Bene: Add getBestStatements to mw.wikibase.entity lua module [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/214795 (https://phabricator.wikimedia.org/T100882) [10:53:37] (03PS2) 10Bene: Add resolvePropertyId to mw.wikibase lua module [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/214794 (https://phabricator.wikimedia.org/T100881) [10:55:55] (03CR) 10jenkins-bot: [V: 04-1] Add getBestStatements to mw.wikibase.entity lua module [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/214795 (https://phabricator.wikimedia.org/T100882) (owner: 10Bene) [10:59:28] (03PS3) 10Bene: Add getBestStatements to mw.wikibase.entity lua module [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/214795 (https://phabricator.wikimedia.org/T100882) [11:04:08] (03CR) 10Bene: "recheck" [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/214794 (https://phabricator.wikimedia.org/T100881) (owner: 10Bene) [11:08:13] 10Wikidata, 10MediaWiki-extensions-ContentTranslation: run a bot that adds sitelinks to articles that were created using ContentTranslation and not linked to other languages - https://phabricator.wikimedia.org/T100875#1322759 (10santhosh) >>! In T100875#1322706, @Amire80 wrote: > I suspect that we don't have a... [11:10:37] 10Wikidata, 10MediaWiki-extensions-ContentTranslation: run a bot that adds sitelinks to articles that were created using ContentTranslation and not linked to other languages - https://phabricator.wikimedia.org/T100875#1322762 (10Amire80) >>! In T100875#1322759, @santhosh wrote: >>>! In T100875#1322706, @Amire8... [11:11:59] (03PS2) 10Sumit: WikidataPageBanner allow named parameters [extensions/WikidataPageBanner] - 10https://gerrit.wikimedia.org/r/214672 (https://bugzilla.wikimedia.org/100486) [11:13:01] (03PS3) 10Bene: Add resolvePropertyId to mw.wikibase lua module [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/214794 (https://phabricator.wikimedia.org/T100881) [11:16:26] Lydia_WMDE: two changes are now on gerrit to improve the lua interface wikibase provides [11:16:36] more to come, would be great if you could add them to the next sprint as well [11:16:37] \o/ [11:17:43] benestar: any idea is the json dumps for wikidata are on labs? [11:18:35] addshore: nope, no idea :( [11:18:42] kk :) [11:19:09] Lydia_WMDE: I've also created a tracking bug, https://phabricator.wikimedia.org/T100880 [11:19:19] sjoerddebruin: i added https://phabricator.wikimedia.org/T98471 to the top of the list for the next sprint start on tuesday [11:19:22] * benestar hopes this is no duplicate :/ [11:19:31] benestar: thanks. added to sprint start list [11:20:01] Lydia_WMDE: Thanks, it's weird for me seeing that bug take so long. [11:20:15] sjoerddebruin: hackathon and stuff got in the way :/ [11:20:23] but you're right. should have been fixed already [11:21:20] sjoerddebruin: wish i could reproduce the issue :( [11:21:35] Have you tried working very fast? [11:21:38] yes [11:22:04] does it happen also on test.wikidata? [11:22:11] it did last I checked [11:22:13] * nikki can try again [11:22:19] ok [11:22:30] * aude would prefer experimenting there [11:22:34] 10Wikidata, 10Datasets-General-or-Unknown, 6Labs, 10Labs-Infrastructure: Add Wikidata json dumps to labs - https://phabricator.wikimedia.org/T100885#1322765 (10Addshore) 3NEW [11:23:08] ok, reproduced it! [11:24:23] 10MediaWiki-extensions-WikibaseRepository, 10Wikidata, 5Patch-For-Review: Rank selector is not styled correctly - https://phabricator.wikimedia.org/T100798#1322774 (10Lydia_Pintscher) p:5Unbreak!>3Triage [11:24:41] 10MediaWiki-extensions-WikibaseRepository, 10Wikidata, 5Patch-For-Review: Rank selector is not styled correctly - https://phabricator.wikimedia.org/T100798#1320707 (10Lydia_Pintscher) p:5Unbreak!>3Triage [11:25:19] argh [11:25:26] stupid phabricator [11:25:41] 10MediaWiki-extensions-WikibaseRepository, 10Wikidata, 5Patch-For-Review: Rank selector is not styled correctly - https://phabricator.wikimedia.org/T100798#1320707 (10Lydia_Pintscher) p:5Triage>3High [11:25:51] :D [11:25:53] 10Wikidata, 3Roadmap, 7notice: Deploy arbitrary access to s7 wikis (arwiki, cawiki, eswiki, huwiki, kowiki, rowiki, ukwiki, viwiki) - https://phabricator.wikimedia.org/T100776#1322780 (10Lydia_Pintscher) p:5Triage>3High [11:26:22] 10Wikidata, 3Roadmap, 7notice: Deploy arbitrary access to Wikiquote and Wikivoyage - https://phabricator.wikimedia.org/T100774#1322782 (10Lydia_Pintscher) p:5Triage>3Normal [11:26:30] 10Wikidata, 3Roadmap, 7notice: Deploy Wikibase usage tracking to remaining s7 wikis - https://phabricator.wikimedia.org/T100659#1322785 (10Lydia_Pintscher) p:5Triage>3Normal [11:26:44] 10Wikidata, 3Wikidata-Sprint-2015-05-05: when the autoloader of Wikibase is loaded the Mediawiki installer fails - https://phabricator.wikimedia.org/T100813#1322786 (10Lydia_Pintscher) p:5Triage>3Normal [11:27:06] Lydia_WMDE: those are "unbreak" because they hit wikidata on tuesday [11:27:13] 10Wikidata: Suggester styling issues on test.wikidata - https://phabricator.wikimedia.org/T100794#1322788 (10Lydia_Pintscher) p:5Unbreak!>3High [11:27:16] unless we backport on monday [11:27:23] e.g. red dots [11:27:45] aude: ah ok. i have them in the sprint start doc now but if we need them earlier that's ok. will change [11:27:48] 10MediaWiki-extensions-WikibaseClient, 10Wikidata, 10MediaWiki-extensions-Capiunto: Add an `addStatement` method to the capiunto interface - https://phabricator.wikimedia.org/T100886#1322791 (10Bene) 3NEW [11:27:53] yeah, I managed to reproduce it again as well: https://test.wikidata.org/w/index.php?title=Q772&diff=14769&oldid=14768 I backspaced until there was only one left, it claims to have saved "s", actually saved "ss" [11:28:00] 10Wikidata: Suggester styling issues on test.wikidata - https://phabricator.wikimedia.org/T100794#1320602 (10Lydia_Pintscher) p:5High>3Unbreak! [11:28:01] we have the patches and will deploy on monday [11:28:03] k [11:28:31] 10MediaWiki-extensions-WikibaseRepository, 10Wikidata, 5Patch-For-Review: Rank selector is not styled correctly - https://phabricator.wikimedia.org/T100798#1322798 (10Lydia_Pintscher) p:5High>3Unbreak! [11:29:27] 10Wikidata, 10Datasets-General-or-Unknown, 6Labs, 10Labs-Infrastructure: Add Wikidata json dumps to labs - https://phabricator.wikimedia.org/T100885#1322800 (10Lydia_Pintscher) [11:30:21] Lydia_WMDE: agree on this proposal? https://phabricator.wikimedia.org/T100886 [11:30:32] I will create more tasks for handling references and qualifiers [11:30:38] for references, I have already a working prototype \o/ [11:31:30] benestar: sounds good to me. hoo discussed it with you already? [11:31:39] and \o/ [11:33:37] (03PS6) 10Sumit: WikidataPageBanner client-side image loading [extensions/WikidataPageBanner] - 10https://gerrit.wikimedia.org/r/212512 (https://phabricator.wikimedia.org/T98031) [11:50:40] 10Wikidata, 3Roadmap, 7notice: Deploy arbitrary access to Wikiquote and Wikivoyage - https://phabricator.wikimedia.org/T100774#1322824 (10Bugreporter) [11:50:41] 10Wikidata, 3Roadmap, 7notice: Enable arbitrary access on Wikivoyage projects - https://phabricator.wikimedia.org/T98827#1322822 (10Bugreporter) [11:50:43] 10Wikidata, 3Roadmap, 7notice: Enable arbitrary access on Wikiquote projects - https://phabricator.wikimedia.org/T98826#1322821 (10Bugreporter) [11:58:54] Lydia_WMDE: yes, I talked with hoo about that on the hackathon [11:59:30] 10MediaWiki-extensions-WikibaseClient, 10Wikidata, 10MediaWiki-extensions-Capiunto, 7Tracking: Capiunto support for Wikibase [tracking] - https://phabricator.wikimedia.org/T100880#1322836 (10Bene) [12:02:35] (03CR) 10Bene: Display badges on the other project sidebar (031 comment) [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/213340 (https://phabricator.wikimedia.org/T73887) (owner: 10Tpt) [12:03:52] (03CR) 10Bene: "@Daniel you suggested to create such a wrapper class. Do you like/dislike this approach? Do you have any comments?" [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/205097 (owner: 10Bene) [12:06:07] (03Abandoned) 10Bene: Allow filtering by site on Special:ItemsWithoutSitelinks [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/204529 (https://phabricator.wikimedia.org/T55019) (owner: 10Bene) [12:06:46] (03CR) 10Bene: "I will split this commit into several patches and address the issues mentioned in those patches." [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/204752 (owner: 10Bene) [12:09:45] (03PS3) 10Bene: Dont require entityId to be set in labelview [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/209864 [12:43:55] do we have a place on Wikidata to save interesting SPARQL queries? [12:44:09] like this one http://tinyurl.com/qbernbe [12:50:15] (03PS7) 10Sumit: WikidataPageBanner client-side image loading [extensions/WikidataPageBanner] - 10https://gerrit.wikimedia.org/r/212512 (https://phabricator.wikimedia.org/T98031) [12:54:20] https://www.wikidata.org/wiki/Wikidata:Status_updates/Next <- please add all of the things [12:54:28] benestar: there was a page on mediawiki [12:54:31] by stas [13:04:34] Lydia_WMDE: me and andy mabbett are at state fo the map this week [13:04:52] aude: k [13:04:58] he is talking and i am bringing all the swag :) [13:05:13] state of the map US* [13:05:44] http://stateofthemap.us/ [13:14:50] Lydia_WMDE: does that page still exist? [13:15:04] benestar: afaik yes [13:16:26] https://www.mediawiki.org/wiki/Wikibase/Indexing/SPARQL_Query_Examples this? [13:20:48] nikki: https://www.wikidata.org/wiki/User_talk:Addshore#Restoring_items (just in case you want to comment) [13:21:36] Also for those that have used SPARQL more than me, I would love an example that finds all items that have a claim using the coordinate location property where the coordinate is on earth ;p [13:25:09] Lydia_WMDE: to late to add my references tool to status updates -.- [13:25:24] benestar: just add it to the page and it'll go out with the next one :) [13:25:35] sure [13:25:51] addshore: thanks for the link, are they actually objecting to the redirects, or just asking what you're doing? [13:26:02] nikki: not sure :P [13:26:04] we will see [13:26:08] nikki: added it https://www.mediawiki.org/wiki/Wikibase/Indexing/SPARQL_Query_Examples#Aliases_of_properties_which_are_used_more_than_once [13:26:43] Also for those that have used SPARQL more than me, I would love an example that finds all items that have a claim using the coordinate location property where the coordinate is on earth ;p [13:26:54] I'll wait then :) I added the page to my watchlist anyway [13:26:58] coordinate is on earth or is not on earth? [13:27:10] benestar: is on earth [13:27:12] [= [13:27:23] well, that will be all of them i guess.. [13:27:41] I thought there were some things on other planets and stuff? [13:27:46] hmm, noo, they are globe coordinates, not specifically on earth [13:27:58] does the ui actually support entering other globes? [13:28:15] I think it is only possible through the api and I'm not sure if many users know how to change the globe using it [13:28:15] no, but the api does [13:28:38] imo it would be more interesting to find all coordinates where the globe is not earth :P [13:28:50] benestar, well do both? :) [13:29:18] hm, is https://www.wikidata.org/wiki/Q409418 wrong or does it just not make it clear which globe it is? [13:29:19] will try ^^ [13:29:58] "globe": "http://www.wikidata.org/entity/Q111" [13:30:26] interesting, the globe in the data specifices mars, but the link to geohack specifies earth [13:30:36] yeah, that's why I was confused [13:31:02] which tool generates the link? [13:31:10] it's perhaps not wikibase itself [13:31:12] some gadget! :) [13:38:17] addshore: i fear the query searching for all coordinate locations which have globe -> Q2 times out :/ [13:38:54] do you know what the timeout length is? and which endpoint were you using? [13:39:05] I did think it might not be possible, but thought it was worth a shot [13:44:49] addshore: not sure what the length is but the server runs on a vm so it isn't very powerful yet [13:44:54] http://wdqs-beta.wmflabs.org [13:45:47] any chance you could pastebin me the query benestar ? :) [13:45:52] SMalyshev: give us more power on wdqs!!!11 [13:46:04] http://wdqs-beta.wmflabs.org/#PREFIX%20wd%3A%20%3Chttp%3A%2F%2Fwww.wikidata.org%2Fentity%2F%3E%20%0APREFIX%20wdt%3A%20%3Chttp%3A%2F%2Fwww.wikidata.org%2Fprop%2Fdirect%2F%3E%0APREFIX%20rdfs%3A%20%3Chttp%3A%2F%2Fwww.w3.org%2F2000%2F01%2Frdf-schema%23%3E%0APREFIX%20skos%3A%20%3Chttp%3A%2F%2Fwww.w3.org%2F2004%2F02%2Fskos%2Fcore%23%3E%0APREFIX%20wikibase%3A%20%3Chttp%3A%2F%2Fwikiba.se%2Fontology%23%3E%0APREFIX%20p%3A%20%3Chttp%3A%2F%2Fwww.wikid [13:46:04] ata.org%2Fprop%2F%3E%0APREFIX%20v%3A%20%3Chttp%3A%2F%2Fwww.wikidata.org%2Fprop%2Fstatement%2F%3E%0A%0ASELECT%20%3Fx%20%3Fy%20%3Fz%20WHERE%20{%0A%20%20%3Fx%20p%3AP625%2Fv%3AP625%20%3Fy%20FILTER%20NOT%20EXISTS%20{%20%3Fy%20wikibase%3AgeoGlobe%20wd%3AQ2%20}%0A}%20LIMIT%2010 [13:46:05] moare powwers! [13:46:08] gnah :/ [13:46:33] http://pastebin.com/gndeMkgn [13:47:00] does limit 10 work? :P [13:47:27] nope, it doesnt matter [13:47:46] because blazegraph has to look through a lot of statements to find one without globe -> Q2 [13:51:17] I guess the dumps are the only way forward [13:51:27] time to look at the Wikidata-Toolkit perhaps :D [13:51:55] what are you actually trying to do with a list of all things on earth with coordinates? [14:00:41] aude: meeeeeerge!!!!! :D https://gerrit.wikimedia.org/r/#/c/203681/11 [14:01:06] .oO( addshore could also merge that [14:06:20] 10MediaWiki-extensions-WikibaseClient, 10Wikidata, 5Patch-For-Review: Add method to resolve a property's label to its id - https://phabricator.wikimedia.org/T100881#1322971 (10Bene) [14:06:21] 10MediaWiki-extensions-WikibaseClient, 10Wikidata, 5Patch-For-Review: Add method to get the list of best statements for a given property id - https://phabricator.wikimedia.org/T100882#1322972 (10Bene) [14:06:24] 10MediaWiki-extensions-WikibaseClient, 10Wikidata, 10MediaWiki-extensions-Capiunto: Add an `addStatement` method to the capiunto interface - https://phabricator.wikimedia.org/T100886#1322970 (10Bene) [14:10:45] 10MediaWiki-extensions-WikibaseClient, 10Wikidata, 10MediaWiki-extensions-Capiunto: Add an `addStatement` method to the capiunto interface - https://phabricator.wikimedia.org/T100886#1322988 (10Bene) P707 is a proposal how this module could/should look like. {P707} [14:46:57] (03PS1) 10Jonaskeutel: add try catch in constraintReport helper that caused crash [extensions/WikidataQualityConstraints] (v1) - 10https://gerrit.wikimedia.org/r/214810 [15:34:55] benestar: its opne in my browser, but nipping out now :) [15:54:30] addshore: just hit merge on all my patches will do the job :P [16:00:13] 10MediaWiki-extensions-WikibaseClient, 10Wikidata, 10MediaWiki-extensions-Capiunto: An optional callback should be passed to capiunto to render references - https://phabricator.wikimedia.org/T100897#1323089 (10Bene) 3NEW [16:00:21] 10MediaWiki-extensions-WikibaseClient, 10Wikidata, 10MediaWiki-extensions-Capiunto: An optional callback should be passed to capiunto to render references - https://phabricator.wikimedia.org/T100897#1323089 (10Bene) [16:00:55] 10MediaWiki-extensions-WikibaseClient, 10Wikidata, 10MediaWiki-extensions-Capiunto: Add an `addStatement` method to the capiunto interface - https://phabricator.wikimedia.org/T100886#1323098 (10Bene) [16:00:57] 10MediaWiki-extensions-WikibaseClient, 10Wikidata, 10MediaWiki-extensions-Capiunto: An optional callback should be passed to capiunto to render references - https://phabricator.wikimedia.org/T100897#1323089 (10Bene) [16:03:54] 10MediaWiki-extensions-WikibaseClient, 10Wikidata, 10MediaWiki-extensions-Capiunto: An optional callback should be passed to capiunto to render references - https://phabricator.wikimedia.org/T100897#1323100 (10Bene) P707 also includes this feature already. {P707} [16:40:22] 10MediaWiki-extensions-WikibaseClient, 10Wikidata: Allow filtering by property in wikibase.renderSnaks - https://phabricator.wikimedia.org/T100899#1323126 (10Bene) 3NEW [16:40:51] (03PS1) 10Bene: Allow filtering by property in wikibase.renderSnaks [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/214820 (https://phabricator.wikimedia.org/T100899) [16:41:22] 10MediaWiki-extensions-WikibaseClient, 10Wikidata, 5Patch-For-Review: Allow filtering by property in wikibase.renderSnaks - https://phabricator.wikimedia.org/T100899#1323142 (10Bene) [16:41:24] 10MediaWiki-extensions-WikibaseClient, 10Wikidata, 10MediaWiki-extensions-Capiunto: An optional callback should be passed to capiunto to render references - https://phabricator.wikimedia.org/T100897#1323141 (10Bene) [16:48:02] 10MediaWiki-extensions-WikibaseRepository, 10Wikidata, 7Need-volunteer: Special page to items with most sitelinks not including a given site - https://phabricator.wikimedia.org/T55019#1323161 (10matej_suchanek) [17:05:27] Lydia_WMDE: we should introduce a label called "userscript available" on phabricator [17:05:34] like "patch for review" [17:12:58] Is there a good tool to explore the JSON dump of wikidata? [17:15:12] (03CR) 10Hoo man: [C: 04-1] "Missing documentation, also I think this is overengineering and shouldn't be part of the same function." [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/214820 (https://phabricator.wikimedia.org/T100899) (owner: 10Bene) [17:15:21] RailRoadRunner: Explore? [17:15:39] hoo: For example, extract data for a given item or property? [17:16:06] That sounds like a use case for the API [17:16:28] hoo: Right, I want to try this without making http calls. I assume the dump has some purpose. [17:16:58] hoo: hi, created a bunch of patches for wikibase lua ;) [17:17:01] hoo: Of course, I'll use the API to get the Q and P numbers, but, once I have those, I'd like to use the dump to get the info. [17:17:02] It can do that, but that's highly inefficient (you would need to read a lot to find that) [17:17:06] perhaps you wanna review them :) [17:17:19] benestar: Seen them [17:17:25] I think all are lacking docs [17:17:48] hoo: well, our lua in general is lacking docs :P [17:17:55] No, it's not [17:17:55] or i didn't find them :S [17:17:55] hoo: So you're saying the dump is not a good way to query data? What is the purpose of the dump then? [17:18:33] RailRoadRunner: Well, it only allows sequential reads (like a tape drive), so you dan't want to use it for random access, right? [17:18:35] hoo: argh, why did you hide them in the docs folder :P [17:18:42] But you can dump it into some DB if you like and use that [17:18:43] thanks for the hint xD [17:18:47] hoo: No, I can use lseek, can't I? And binary searching? [17:19:00] It's not ordered [17:19:19] hoo: Oh, I get it. It's more for creating a db than for looking at directly. Oh, I thought it was ordered, but I'm just seeing things? [17:19:31] * benestar will add docs for all of the patches [17:19:36] It might look ordered, but that is a wrong impression [17:19:41] each shard is ordered [17:19:50] hoo: The dump is an intermediate transfer format, not intended for direct use... is what you're saying? [17:19:52] and there are four of them concatenated right now [17:19:55] but that might change [17:20:08] hoo: Yes, the Q values are first, then, well I haven't looked that far yet. [17:20:25] hoo: So you're saying that non-sorted dumps may occur in the future? Theoretically, I could reorder them [17:20:29] RailRoadRunner: totally depends on what you want to do... [17:20:51] Yes, I would not rely on the sorting that is present now [17:20:56] also that's as told not absolute [17:20:56] hoo: Extract data on a given Q object or P propety. [17:21:01] *property [17:21:06] you have four blocks of sorted entities in there [17:21:10] and that number might also change [17:21:27] hoo: Well, yes, but if it has some known sorted order, you can seek in it. [17:21:45] Yeah, sure... you can just sort it [17:22:20] Not sure that's worth it compared to using a full blown database of some kind, though [17:22:28] hoo: I realize that would take some effort. However, since the current JSON dump appears to have some type of sorting, it seems like you could seek() in it. [17:22:44] hoo: Well, creating a db from that data would probably take more effort... hmmm, or would it? [17:22:56] Totally depends on how you do it [17:23:07] just pushing it into a key value store should be easy [17:23:08] hoo: How many triples does wikidata contain? Probably lots. [17:23:16] No idea about the number [17:23:24] but the json dump doesn't contain triples [17:23:29] (03PS4) 10Bene: Add resolvePropertyId to mw.wikibase lua module [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/214794 (https://phabricator.wikimedia.org/T100881) [17:24:57] hoo: A "claim" is a triple, no? [17:26:06] RailRoadRunner: Well, it can be represented as that [17:26:13] but that's not equivalent [17:26:20] as you will loose qualifiers in that case [17:26:27] also references, but only statements have references [17:26:42] hoo: Maybe I'd better look at what exactly the JSON dump has... [17:27:33] (03PS4) 10Bene: Add getBestStatements to mw.wikibase.entity lua module [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/214795 (https://phabricator.wikimedia.org/T100882) [17:27:51] hoo: I seem to be running into Exception Caught: DB connection error: Can't connect to MySQL server on '10.64.32.28' (4) (10.64.32.28) every once in a while [17:28:04] Any more complaints floating around? :P [17:28:09] multichill: Nasty, will have a look [17:28:12] hoo: do you suggest having a renderSnaksByPropertyId instead? [17:28:51] benestar: I consider that behavoir kind of weird... if we really need one... yes, make it a separate function [17:28:54] maybe on the entity [17:29:08] not on the entity [17:29:14] we're talking about Snaks :P [17:33:17] multichill: MySQL on that server looks happy [17:34:16] can you ping me when this happens next time? [17:38:16] sure [17:39:23] Ugh, merged items don't disappear from autolist. :/ [17:39:28] Same for deleted [17:41:34] Weird enough these errors don't show up on fluorine... I can only see a lot of performance warnings about connect [17:41:51] but still not an amount I'd worry about [17:43:15] What is a 'snak'? [17:45:03] hoo: which behaviour? filtering snaks by property? [17:45:10] Snak is a single, basic assertion in Wikidata, including property-value assertions, "no value" assertions, and others. Statements are composed of one-to-many snaks. Snaks are an integral part of the data model, but, normally, this term will not be exposed to editors and users of Wikidata. For more information, see mw:Wikibase/DataModel#Snaks. [17:45:25] RailRoadRunner: https://www.wikidata.org/w/index.php?title=Wikidata:Glossary covers that nicely, better than I probably could [17:45:52] benestar: Yes, not fond of having that auxiliary function [17:45:57] hoo: Thanks! I ended up finding that page after googling after realizing the wikipedia definition of 'snak' didn't apply here. [17:45:58] people can just filter on their own [17:46:13] hoo: we want to provide as much convenience as possible, right? :P [17:46:37] i think reducing the lines of code which have to be written on the actual wiki should be minimized [17:46:47] I still don't really see the use case [17:46:55] hoo: consider the following: [17:47:10] i want to render a reference, and first there should be the author(s) which are italic [17:47:20] then there should be the title/url which should maybe be in quotes [17:47:28] after that the pages in brackets [17:47:43] all of this requires to render only a subset of the list of snaks [17:49:38] I see what you want to do... but I'm not convinced that's a good way to assemble infoboxes [17:49:41] Is there a digraph representation of some of the glossary or other tutorial items on wikidata? [17:49:55] you would probably need more logic wiki side anyway [17:50:02] so i wanna write "''" .. renderSnaks( snaks, 'author' ) .. "'': \"" .. renderSnaks( snaks, 'title' ) .. "\" (Pages " .. renderSnaks( snaks, 'pages' ) .. ")" [17:50:46] hoo: maybe, but I think we can cover all cases with something like the line above [17:50:55] I don't think so [17:51:01] what if we don't have authors? [17:51:04] that will look ugly [17:51:12] You need to apply more filtering etc. [17:51:27] wouldn't it just not show them? [17:51:46] It would return an empty string [17:51:53] So you had ": ..." then [17:51:59] (nothing before th colon) [17:52:01] oh, the ":" i see [17:52:16] That's just an exmaple [17:52:28] I think we should think that through more thoroughly [17:52:31] but you also understand my concerns of having the interface too complicated on wikis? [17:52:40] Maybe can/ should have an own module to render references [17:52:53] that's what I suggested ;) [17:52:53] Yes, I do [17:53:11] or do you mean an own module inside of wikibase? oO [17:53:12] but people keep implementing their own formatters because ours aren't good enough [17:53:26] so we really need to be very good to make people actually use that stuff [17:53:31] also we should fix the formatters :D [17:53:34] +1 [17:53:48] RailRoadRunner: Do you think of something like this: https://commons.wikimedia.org/wiki/File:Wikidata_statement.svg [17:54:30] hoo: I saw that on the glossary page, but that's not really a digraph. A diagram, yes, not a digraph. [17:54:42] hoo: btw the snaks in a reference *are* ordered [17:56:16] 10MediaWiki-extensions-WikibaseClient, 10Wikidata, 10MediaWiki-extensions-Capiunto: Add an `addStatement` method to the capiunto interface - https://phabricator.wikimedia.org/T100886#1323256 (10Bene) [17:56:20] 10MediaWiki-extensions-WikibaseClient, 10Wikidata, 5Patch-For-Review: Add method to get the list of best statements for a given property id - https://phabricator.wikimedia.org/T100882#1323258 (10Bene) [17:56:24] 10MediaWiki-extensions-WikibaseClient, 10Wikidata, 5Patch-For-Review: Add method to resolve a property's label to its id - https://phabricator.wikimedia.org/T100881#1323260 (10Bene) [17:57:09] benestar: Cool... and yet, useless :P [17:57:13] At least here [17:57:38] hoo: true :P [17:57:58] hoo: but allows us to create a very simple default renderer for reference [17:58:40] hoo: have you seen my cool prototype paste? https://phabricator.wikimedia.org/P707 [17:58:56] sjoerddebruin: Tagging some humans [17:59:03] I thought we found most of them? [17:59:24] Yeah, but bots that import articles without adding statements multichill. [17:59:37] Right. Tagging about 2000 now [17:59:47] Probably some mistakes, but most of them should be good [18:00:02] And I couldn't detect some humans because they had P17 on them, added by your bot. ;) [18:00:11] (that property hides them from the people game) [18:00:16] P17? [18:00:19] country. [18:00:26] Right... [18:00:49] Long live ValterVBot... https://www.wikidata.org/w/index.php?title=User%3APasleim%2Fprojectmerge%2Fenwiki-nlwiki&type=revision&diff=220760673&oldid=220758377 [18:00:51] https://www.wikidata.org/wiki/Q17141416 is quite old [18:00:58] Wonder why nobody found that one before [18:01:46] The English Wikipedia is not much active on Wikidata as you think... [18:02:13] Finding stuff to tag is very easy on enwp [18:02:13] But I see that you're looking at other wiki's than nlwiki, any humans there? :) [18:02:14] 10MediaWiki-extensions-WikibaseClient, 10Wikidata, 10MediaWiki-extensions-Capiunto: Have Wikibase client extend Capiunto with an addStatement method - https://phabricator.wikimedia.org/T100886#1323263 (10hoo) [18:02:32] I think my wiki was pretty clean... [18:02:40] Enwp or nlwp? Enwp i found about 2000 in the living people category [18:02:58] Not much left on nlwp I think. [18:03:16] I've almost filled all new items of May. [18:09:27] 10MediaWiki-extensions-WikibaseClient, 10Wikidata, 10MediaWiki-extensions-Capiunto: An optional callback should be passed to capiunto to render references - https://phabricator.wikimedia.org/T100897#1323273 (10hoo) I'm not sure about the scope of this bug, it mixes many things... First of all, this has hardl... [18:10:06] 10MediaWiki-extensions-WikibaseClient, 10Wikidata, 10MediaWiki-extensions-Capiunto: Allow formatting references by a callback in Wikibase's infobox functionality - https://phabricator.wikimedia.org/T100897#1323274 (10hoo) [18:12:09] 10MediaWiki-extensions-WikibaseClient, 10Wikidata, 10MediaWiki-extensions-Capiunto, 7Tracking: Capiunto support for Wikibase [tracking] - https://phabricator.wikimedia.org/T100880#1323278 (10hoo) [18:18:10] hoo: http://postimg.org/image/p8xv0zmmz/ is the sort of thing I meant [18:19:46] (03PS1) 10Amire80: Little grammar fixes in apihelp messages [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/214829 [18:21:27] RailRoadRunner: Where did you get that from? [18:21:35] hoo: I made it [18:21:40] Ah ok [18:22:03] hoo: Is that the right digraph for London's population? [18:22:22] No [18:22:30] You want Statement instead of Snak there [18:22:45] also you want references instead of source (if you want to be exact) [18:23:04] [ack, rl "emergency", back later] [18:23:39] (03PS2) 10Amire80: Little grammar fixes in apihelp messages [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/214829 [18:31:35] hoo: do you wanna review/merge https://gerrit.wikimedia.org/r/#/c/214794/ and https://gerrit.wikimedia.org/r/#/c/214795/ ? [18:31:54] I think those methods are the very least we need to make wikibase's lua interface more useful [18:32:14] No one else is going to review these... so yes, I'll do taht [18:32:47] (03CR) 10Bene: [C: 032] Little grammar fixes in apihelp messages [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/214829 (owner: 10Amire80) [18:32:56] hoo: <3 [18:33:09] hoo: I think you should say this sentence for all of my patches ;) [18:33:16] I'll add you to a few patches in reverse :D *muhahahaha* [18:34:16] hoo: sure :) [18:35:02] hoo: I guess I'll have to do more code review anyways when I get deeper integrated into the development team [18:35:50] (03Merged) 10jenkins-bot: Little grammar fixes in apihelp messages [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/214829 (owner: 10Amire80) [18:36:47] benestar: You don't have to, but it would be nice [18:38:38] hoo: that's an easy one, since it already had +2 :P [18:41:12] (03CR) 10Bene: [C: 032] Rename SiteLinkLookup::getEntityIdForSiteLink to getItemIdForSiteLink [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/202715 (owner: 10Hoo man) [18:41:39] * benestar of course double-checked all changes :P [18:44:23] (03Merged) 10jenkins-bot: Rename SiteLinkLookup::getEntityIdForSiteLink to getItemIdForSiteLink [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/202715 (owner: 10Hoo man) [18:46:35] (03CR) 10Bene: [C: 032] Remove unused messages from the "wikibase" module dependencies [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/214497 (owner: 10Hoo man) [18:48:09] (03CR) 10Bene: [C: 031] "All tables in production have been updated to the new layout I guess?" [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/214518 (owner: 10Hoo man) [18:48:52] (03CR) 10Hoo man: "Yes (given we had 23 months to do that :D)" [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/214518 (owner: 10Hoo man) [18:49:11] hoo: OK, back, sorry about that. So, what's the difference between a Snak and a statement? [18:49:43] (03Merged) 10jenkins-bot: Remove unused messages from the "wikibase" module dependencies [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/214497 (owner: 10Hoo man) [18:49:49] RailRoadRunner: A snak is just a simple Property -> Value/Novalue/somevalue thing [18:50:05] while a statement has several Snaks, plus qualifiers and references each [18:50:16] I get it! [18:50:18] qualifiers and references are lists of snaks (essentially) [18:50:53] (03CR) 10Bene: [C: 032] Fix flaky UsageTableUpdaterTest::testRemoveEntities [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/214790 (owner: 10Hoo man) [18:51:15] So, London.population (as a statement), value, 8173900 is a SNAK, but London.population itself is a statement [18:51:17] hoo: reviewed and already merged them as they were so minor :P [18:51:52] RailRoadRunner: a statement contains a main snak, a list of qualifiers which are snaks themselves and a list of references [18:51:59] a snak contains a property id and a datavalue [18:52:07] hoo: So, a SNAK is a triplet x,y,z where z is a "base type"? [18:52:31] RailRoadRunner: the snak knows nothing about the subject [18:52:36] it is only y -> z in your example [18:52:56] so population -> 123 would be a snak [18:53:05] benestar: OK, so a snak is a property whose value is not itself an object? [18:53:32] RailRoadRunner: a snak can also be city -> London [18:53:47] so it has an object, but knows nothing about the *subject* [18:53:51] (03Merged) 10jenkins-bot: Fix flaky UsageTableUpdaterTest::testRemoveEntities [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/214790 (owner: 10Hoo man) [18:53:53] benestar: Wait, you mean the string "London" or the city "London"? [18:54:03] the entity which describes the city London [18:54:19] so basically city -> Qxxx [18:54:21] benestar: Oh, so the y,z pair can have z itself be an object? [18:54:30] yes, it is an URI then [18:54:52] benestar: So a snak is just a property/value pair of any sort? [18:54:57] yep [18:55:08] benestar: I'm not seeing the advantage of giving that a name, but ok. [18:55:20] RailRoadRunner: just accept it ;) [18:56:01] furhter reading: https://www.mediawiki.org/wiki/Wikibase/DataModel#Snaks [18:56:10] benestar: I accept only the Zermelo-Franco axioms :P [18:56:18] xD [19:02:16] benestar: OK, so wouldn't "population -> statement" also be a snak? [19:02:35] what do you mean with statement in this context? [19:02:39] a statement is not a datavalue [19:02:52] benestar: But a statement is an object, right? [19:02:54] it's always -> [19:03:08] a statement is not an entity and also not a datavalue [19:03:10] benestar: Sorry, I meant a specific statement, which would have more detail in it. [19:03:24] no, that isn't an entity [19:03:31] A statement isn't an entity? [19:04:22] So if I say "x -> value -> 123" and "x -> source -> abc", x is not an entity? [19:05:15] (03CR) 10Bene: [C: 04-1] "Looks good and nice to have this finally." (035 comments) [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/214517 (owner: 10Hoo man) [19:05:40] RailRoadRunner: now I see what you mean ^^ [19:05:57] a statement is a subject in RDF/SPARQL but not an entity [19:06:01] benestar: So, yes, the x I created is an entity, and thus population -> x is a snak? [19:06:20] no, the x isn't an entity ;) entities are only properties and items [19:06:23] benestar: So it's an "object" but not an entity? [19:06:36] kindof, yes [19:06:56] there are two different kind of statements in our RFD model [19:07:26] the truthy ones only act as predicates with the prefix [19:07:57] benestar: Got a 404 on that [19:08:01] the full statements also contain qualifiers and references and thus are also subjects in the RFD model http://www.wikidata.org/prop/ [19:08:12] RailRoadRunner: it's an URI which does not resolve to a webpage [19:08:21] benestar: Oh, ok, got it. [19:08:28] however, it would be nice if it did :S [19:09:03] benestar: I'm still fairly confused. I'm trying to look at it as either all triples or all digraphs, but neither model seems to fit perfectly. [19:09:32] the easy way is to just consider truthy statements and ignore qualifiers and references [19:09:58] So the edge y and the node z constitute a snak if z is either a simple value or an item, but not a statement? [19:10:01] as soon as you wanna know about those qualifiers and references, it gets complicated [19:10:18] RailRoadRunner: a snak basically exists only in the PHP datamodel [19:10:24] Or z is the empty set or z is the existential condition? [19:10:47] is the prefix for the actual value [19:11:06] benestar: So I don't need to know about snaks? [19:11:13] basically not [19:11:20] if you deal with RDF/SPARQL only [19:11:30] benestar: OK, I heard a lot of talk about them. Well, I'm trying to learn this stuff in general. [19:11:42] consider the following: [19:11:57] so, "president -> Bob Smith" is a snak (that would presumably attach to a country), yes? [19:12:04] a statement is a subject in RDF itself, however not an entity in the datamodel but we don't care about that [19:12:11] yes [19:12:11] (03CR) 10Hoo man: [C: 04-1] "Nit picks" (033 comments) [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/214794 (https://phabricator.wikimedia.org/T100881) (owner: 10Bene) [19:12:27] and "president -> none" is also a snak (eg, for Antarctica, let's say) [19:12:34] its a novaluesnak [19:12:43] benestar: Yes, I read about that. [19:12:54] and "president -> one exists, but the value is unknown" is also a snak [19:13:31] yep, a somevaluesnak [19:13:56] benestar: OK, I think I got that. However, attaching "president -> Bob Smith" to a country would be wrong because it only applies for a specific period of time. [19:14:25] RailRoadRunner: sure, that's why we have qualifiers (and where it gets complicated) [19:14:47] benestar: So then I take that snak and add, say "time -> 2004-2008" (another snak) and glue them together in a Statement? [19:14:54] while the truthy statement will just return the current president, you might also want to see all previous presidents [19:15:07] RailRoadRunner: basically yes [19:15:09] benestar: What is a "truthy" statement? [19:15:23] which I described above, only consider the statement, not the qualifiers [19:15:25] benestar: OK, so snaks are important because combinations of snaks form statements. [19:15:33] correct [19:15:52] benestar: and statements, which aren't entities (but do have properties) are attached to entities. [19:16:09] right [19:16:21] benestar: However, properties are themselves also entities? [19:16:55] yes, they can also have information attached [19:17:06] there are statements about formatting rules etc [19:17:25] benestar: So could I attach the qualifier to the property entity instead of creating a statement? [19:17:31] so the property "date of birth" has the constraint that all uses of this should also have "instance of" -> "human" [19:17:44] (03CR) 10Hoo man: [C: 04-1] "Nit picks, some suggestions" (035 comments) [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/214795 (https://phabricator.wikimedia.org/T100882) (owner: 10Bene) [19:17:50] RailRoadRunner: nope, because the statements on a property are valid for all uses of that property [19:18:30] benestar: Oh, so I could attach edges to properties, but not actual values since those will be different in each case. [19:18:46] only "meta-values" [19:18:56] so information about that property [19:19:10] benestar: For example, the Population property must have a value? [19:20:12] RailRoadRunner: do you mean property as entity or property as predicate? [19:21:23] Ah, property as a predicate! [19:21:46] (03PS5) 10Bene: Add resolvePropertyId to mw.wikibase lua module [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/214794 (https://phabricator.wikimedia.org/T100881) [19:24:00] benestar: Btw, these aren't modules [19:24:01] (03CR) 10Bene: Add resolvePropertyId to mw.wikibase lua module (031 comment) [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/214794 (https://phabricator.wikimedia.org/T100881) (owner: 10Bene) [19:24:10] They are libraries in Scribunto's terminology [19:24:18] modules are only the things define don wiki [19:24:21] so modules are only the things on-wiki? [19:24:24] k :D [19:25:40] (03PS6) 10Bene: Add resolvePropertyId to mw.wikibase lua library [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/214794 (https://phabricator.wikimedia.org/T100881) [19:28:28] (03PS5) 10Bene: Add getBestStatements to mw.wikibase.entity lua library [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/214795 (https://phabricator.wikimedia.org/T100882) [19:28:42] hoo: adressed your nitpicks ;) [19:33:10] (03CR) 10Bene: [C: 032] Remove the DummyPropertyInfoStore [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/214519 (owner: 10Hoo man) [19:39:36] (03CR) 10Hoo man: "re" (034 comments) [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/214517 (owner: 10Hoo man) [19:40:17] (03PS2) 10Hoo man: Generalize the action=query&meta=wikibase API, expose siteid [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/214517 [19:43:40] sjoerddebruin: Maybe I should apply the same noclaim strategy to enwp like I did on nlwp. [19:43:44] Not sure it scales though [19:45:11] (03CR) 10Bene: [C: 032] "Will fix the inline comment in another patch." (031 comment) [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/214517 (owner: 10Hoo man) [19:46:01] (03CR) 10Hoo man: Generalize the action=query&meta=wikibase API, expose siteid (031 comment) [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/214517 (owner: 10Hoo man) [19:48:08] (03Merged) 10jenkins-bot: Generalize the action=query&meta=wikibase API, expose siteid [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/214517 (owner: 10Hoo man) [19:49:44] (03PS1) 10Bene: Remove wrong and unnecessary default in ApiClientInfo [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/214832 [19:51:09] benestar: Why is it *wrong*? [19:51:19] It's dead code, yes... but why wrong? .P [19:51:21] hoo: there is a semicolon after default [19:51:31] That's equivalent to a colon [19:51:37] is it oO [19:51:48] yep [19:51:57] PHP is weird, didn't you know? :'D [19:52:19] silly php [19:52:21] xD [19:52:34] hoo: merge it anyways :P [19:52:48] (03PS2) 10Hoo man: Remove unnecessary default in ApiClientInfo [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/214832 (owner: 10Bene) [19:53:01] (03CR) 10Hoo man: [C: 032] Remove unnecessary default in ApiClientInfo [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/214832 (owner: 10Bene) [19:53:40] efficient code review is efficient [19:53:42] hoo --^ [19:55:00] (03CR) 10Hoo man: [C: 032] "Language fallbacks don't apply, which is in line with other Wikibase client functionality." [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/214794 (https://phabricator.wikimedia.org/T100881) (owner: 10Bene) [19:56:08] (03Merged) 10jenkins-bot: Remove unnecessary default in ApiClientInfo [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/214832 (owner: 10Bene) [19:58:05] (03Merged) 10jenkins-bot: Add resolvePropertyId to mw.wikibase lua library [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/214794 (https://phabricator.wikimedia.org/T100881) (owner: 10Bene) [19:59:07] 10MediaWiki-extensions-WikibaseClient, 10Wikidata: Add method to resolve a property's label to its id - https://phabricator.wikimedia.org/T100881#1323449 (10Bene) 5Open>3Resolved [19:59:08] 10MediaWiki-extensions-WikibaseClient, 10Wikidata, 10MediaWiki-extensions-Capiunto: Have Wikibase client extend Capiunto with an addStatement method - https://phabricator.wikimedia.org/T100886#1323453 (10Bene) [19:59:11] 10MediaWiki-extensions-WikibaseClient, 10Wikidata, 10MediaWiki-extensions-Capiunto, 7Tracking: Capiunto support for Wikibase [tracking] - https://phabricator.wikimedia.org/T100880#1323452 (10Bene) [19:59:27] 10MediaWiki-extensions-WikibaseClient, 10Wikidata: Add method to resolve a property's label to its id - https://phabricator.wikimedia.org/T100881#1322726 (10Bene) a:3Bene [20:03:37] (03CR) 10Hoo man: [C: 032] Add getBestStatements to mw.wikibase.entity lua library [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/214795 (https://phabricator.wikimedia.org/T100882) (owner: 10Bene) [20:06:50] (03Merged) 10jenkins-bot: Add getBestStatements to mw.wikibase.entity lua library [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/214795 (https://phabricator.wikimedia.org/T100882) (owner: 10Bene) [20:16:03] 10MediaWiki-extensions-WikibaseClient, 10Wikidata, 10MediaWiki-extensions-Capiunto, 7Tracking: Capiunto support for Wikibase [tracking] - https://phabricator.wikimedia.org/T100880#1323466 (10Bene) [20:16:05] 10MediaWiki-extensions-WikibaseClient, 10Wikidata: Add method to get the list of best statements for a given property id - https://phabricator.wikimedia.org/T100882#1323461 (10Bene) 5Open>3Resolved a:3Bene [20:16:08] 10MediaWiki-extensions-WikibaseClient, 10Wikidata, 10MediaWiki-extensions-Capiunto: Have Wikibase client extend Capiunto with an addStatement method - https://phabricator.wikimedia.org/T100886#1323465 (10Bene) [20:18:03] hoo|away / benestar : Any suggestions on how to make https://tools.wmflabs.org/multichill/queries/wikidata/noclaims_nlwiki.sql go faster? [20:18:22] multichill: will look at it later [20:19:03] I use these queries to find items with no claims, but do have a link to a wiki so I can grab info from that wiki. Thanks benestar [20:19:37] It doesn't seem to peform much better than https://tools.wmflabs.org/multichill/queries/wikidata/noclaims_nlwiki_old.sql . [20:19:45] Takes about 10 minutes to complete the first query [20:21:02] (03PS1) 10Jonaskeutel: change start of deferred job to 15 minutes [extensions/WikidataQualityExternalValidation] (v1) - 10https://gerrit.wikimedia.org/r/214835 [20:29:11] (03PS1) 10Jonaskeutel: remove evaluation since it won't be deployed in time [extensions/WikidataQualityExternalValidation] - 10https://gerrit.wikimedia.org/r/214836 [20:33:50] multichill: there is a page prop "wb-claims" that i think has some of this information [20:33:57] idk if it is faster [20:34:16] hmmm [20:34:33] 'wb-claims' => count( $this->getEntity()->getClaims() ) [20:34:46] it's intended so we can find stubs but don't think we use this much at all yet [20:39:05] aude: That looks promising! [20:39:18] :) [20:39:31] We seem to have 3432513 items without claims linking them to other items [20:40:58] I wonder if this is faster than the pagelinks table. Would be nice [20:42:04] not sure, but i think there is an index on pp_propname and value [20:42:29] so selecting on that should be pretty fast but then depends how it is joined with other stuff [20:46:41] aude: I guess I would replace the pagelinks part with the pp_props part at https://tools.wmflabs.org/multichill/queries/wikidata/noclaims_enwiki.sql [20:47:31] i think so [20:47:50] multichill: as aude said, use the page props [20:47:58] it's much faster to use them [20:48:14] and hi aude :) [20:48:31] what do I do with something like https://www.wikidata.org/wiki/Q20017313? remove the english label/desc? remove the sitelink and propose it for deletion? [20:49:19] nikki: isn't notable afaik [20:49:23] just rfd it [20:49:34] (03PS1) 10Jonaskeutel: remove evaluation since it won't be deployed in time [extensions/WikidataQualityConstraints] - 10https://gerrit.wikimedia.org/r/214840 [20:49:49] (03PS1) 10Amire80: Remove unnecessary and inconsistent line breaks from messages [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/214841 [20:50:43] aude / benestar : Running the new query on https://tools.wmflabs.org/multichill/queries/wikidata/noclaims_enwiki.sql [20:51:00] Old one was about 8 minutes, but that involved a bit of cache cheating [20:51:34] hehe [20:53:39] The number of items without claims is insande [20:53:42] *insane [20:55:13] is there a good property for the university to which a department or research institute/laboratory belongs? [20:55:24] Part of? [20:55:37] hmm, didn't think of that one [20:55:50] (or forgot I had ;-) [20:56:05] Part of/has part can be very useful for modelling these kind of multi item problems [20:56:27] how am I supposed to rfd it if you've already deleted it, benestar? :P (thanks :)) [20:56:32] I was looking for something starting with "parent" [20:56:39] nikki: ^^ [20:57:18] hoo: still around? [20:57:28] Yes [20:57:45] hoo: what do you think about creating a custom library for lists of snaks in lua? [20:58:02] this goes into the direction of having something custom for references [20:58:44] So you would create that by giving it a list of snaks? [20:58:53] yes [20:58:53] What methods would it define? [20:58:55] mw.wikibase.snaks [20:59:06] the rendering method we have, some filtering by property id [20:59:09] what exactly is a snak? I never quite managed to catch that. [20:59:31] maybe renderforpropertyifexists and allow to add some prefixes/formatting parameters [21:00:18] 8m32.805s [21:00:22] So about the same [21:00:24] that goes more into the direction of a renderList or renderStructre module [21:00:31] hoo: just a thought, if we find enough methods which are useful and have serious need we should consider that [21:00:48] renderList module which knows about property ids [21:01:29] SamB_laptop: a snak is a pair of a property id and a datavalue [21:01:50] ah [21:01:53] might also be novalue or somevalue instead of datavalue [21:02:47] so basically a tuple sans the subject item [21:07:15] [13WikimediaBadges] 15Benestar pushed 1 new commit to 06master: 02http://git.io/vkVOz [21:07:15] 13WikimediaBadges/06master 145cb2848 15Bene*: linkfix [21:16:13] hoo: I'm now trying to create a universal reference module which follows dewiki's citation rules https://de.wikipedia.org/wiki/Wikipedia:Zitierregeln [21:16:17] wish me fun :P [21:17:52] oO [21:20:43] 10Wikidata, 10MediaWiki-extensions-ContentTranslation: run a bot that adds sitelinks to articles that were created using ContentTranslation and not linked to other languages - https://phabricator.wikimedia.org/T100875#1323480 (10Ladsgroup) Writing something for that is pretty easy and I like to help about Cont... [21:21:00] 10Wikidata, 10MediaWiki-extensions-ContentTranslation: run a bot that adds sitelinks to articles that were created using ContentTranslation and not linked to other languages - https://phabricator.wikimedia.org/T100875#1323481 (10Ladsgroup) a:3Ladsgroup [21:22:48] 10Wikidata, 10MediaWiki-extensions-ContentTranslation: run a bot that adds sitelinks to articles that were created using ContentTranslation and not linked to other languages - https://phabricator.wikimedia.org/T100875#1323483 (10Amire80) @Ladsgroup, thanks! See https://noc.wikimedia.org/conf/highlight.php?fil... [21:52:28] (03PS1) 10Amire80: Remove an unnecessary line break after a comma [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/214886 [22:37:44] (03CR) 10Legoktm: [C: 032] Remove an unnecessary line break after a comma [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/214886 (owner: 10Amire80) [22:40:56] (03Merged) 10jenkins-bot: Remove an unnecessary line break after a comma [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/214886 (owner: 10Amire80)