[08:29:55] sjoerddebruin on the weekend I tried to add the calories to the kinder country Q3815377, but couldn't find the right property :( [08:31:02] Jonas_WMDE: I think we don't have any specific food property... [08:31:20] I think we even use https://www.wikidata.org/wiki/Property:P186 for ingredients [08:32:31] ups ... Wikidata is not a good place for chocolate lovers then :( [08:32:41] But should we have separate properties for calories, fat, etc? [08:34:13] I am not sure, but I think it would be cool to have all the nutrition stuff in wikidata [08:35:17] .wikibase-referenceview.wb-edit > .wikibase-referenceview-heading, .wikibase-statementgroupview-property.wb-edit + .wikibase-statementlistview > .wikibase-toolbar-wrapper [08:35:38] Maybe you should ask in the project chat. I'm not sure what's the right choice. [08:42:58] ok thanks [08:50:16] remember to login though [09:10:50] Hi! Can you create a new item and specify a new property for it in the same API call? [09:11:10] I.e. in the data parameter. [09:11:44] Or is it only possible to create labels and descriptions when you create a new item? [09:12:20] As per the web interface: https://test.wikidata.org/wiki/Special:NewItem [09:15:36] I want to add "critical limb ischaemia" "cause of" "rest pain". "rest pain" already exists, so I want to add "critical limb ischaemia" and specify that is has "cause of" "rest pain" in the same API call. Or do I have to do it in two calls? [09:16:42] I.e. create "critical limb ischaemia" then create claim "cause of" "rest pain" on it. [09:29:17] Hi ! [09:30:47] Could someone check the P31 of https://www.wikidata.org/wiki/Q16845412 ? Not sure if I should have drawing, watercolour, painting, or a combinaison of some of those [09:43:23] Lydia_WMDE: You misspelled ‘status’ :P [09:44:04] Revent: bah :D [09:44:47] Revent: where? [09:45:02] “Made the tatus bar messages in the Query Service translatable (phabricator:T140383)” [09:45:06] In the news. [09:45:15] ah [09:45:19] fixing in the wiki page [09:45:21] thx [10:23:32] Jonas_WMDE: https://phabricator.wikimedia.org/T141448 [10:46:50] Does anyone have PHP5.5 handy? [10:47:09] As of yesterday the Wikibase tests are failing on Travis because php 5.5 segfaults: https://travis-ci.org/wikimedia/mediawiki-extensions-Wikibase/builds [10:47:18] I don't have a setup handy for testing that right now [10:47:30] can also be tested on travis, but that's not exactly convenient [11:05:16] As to my question earlier, I've worked it out. I can do it in one API call! [13:02:10] aude: Still there? My laptop battery is empty now. [13:05:33] Hi! I'm trying to use test.wikidata.org's API but I keep getting "Unexpected entity type item". Does this sound familiar? [13:05:53] I'm doing wbeditentity. [13:09:02] Using the web interface, I can't even create statements about items I've created. [13:09:44] This is on test.wikidata. On wikidata though I've been able to. [13:27:32] Will_: it works for me [13:27:43] creating statements with item values [13:36:49] Okay, going to try over from web interface inwards. Thanks. [13:39:01] Okay, for instance, I'm trying to create "has cause" "critical heart ischaemia" on "rest pain" (https://test.wikidata.org/wiki/Q5437) but it doesn't work. [13:39:24] Here's critical heart ischaemia: https://test.wikidata.org/wiki/Q5442 [13:39:37] I just get "No match found" [13:40:07] Using the web interface. [13:45:16] there's probably not a test item for that [13:45:38] or ... [13:47:01] https://test.wikidata.org/wiki/Property:P2265 (data type = property) [13:47:09] meaning the value must be a property (not an item) [13:54:28] I see! [13:54:53] So properties can be for items or for properties. [13:55:05] yes [13:55:34] When I created "has cause" I was confused why I had to choose between Data Types! [13:56:05] e.g. https://www.wikidata.org/wiki/Property:P580 (subproperty of) [13:58:43] Yes, and inverse of. [13:59:10] How can I change "has cause" to be an item property? [14:00:19] i think you need to create a new property [14:00:54] (we do have a maintenance script that can change data types, but just recreating is probalby easiest) [14:03:17] I can't because "has cause" is now taken. It's not critical I guess, just useful for me to work with while developing. I'll create "has cause2". [14:03:29] you can rename "has cause" [14:03:38] or remove the label [14:03:54] I see! [14:04:30] on the test system, i think ok to do that [14:05:49] worked [14:06:03] :) [14:06:04] Thanks aude. [16:14:31] I see that a bot submitted after https://www.wikidata.org/wiki/Wikidata:Requests_for_permissions/Bot#FLOSSbot got approved. This makes me think I'm missing something ?