[06:04:46] Hello. If anyone is interested, could you help me with these questions please: https://en.wikipedia.org/wiki/Module_talk:WikidataIB#Need_some_help_with_lua_errors_and_other_issues [06:05:13] Thanks a ton [07:55:16] How to get only the wikidata Q number, when fetching a property value from wikidata to wikipedia? [08:00:30] i.e. without the labels [09:48:08] Tpt[m]: can you help maybe? ^ [09:56:29] Auregann_WMDE it relies a lot on modules written by enwiki contributors [10:06:26] But doing it anyway [10:25:00] Thanks you, both. I found a solution, and posted it here: https://en.wikipedia.org/wiki/Module_talk:WikidataIB#Check_for_a_specific_property_value [10:25:33] A blessing by RexxS some years ago [10:26:17] basically... {{#invoke:Wikidata|getPropertyIDs|P31|qid={{{qid|}}}|FETCH_WIKIDATA}} [10:26:22] getPropertyIDs [10:30:25] nice [10:31:17] if you want to write a lot of templates working with Wikidata content, you should maybe learn lua, Wikidata content retrieval and manipulation is way easier than in Wikitext and creates templates that are much faster to render [10:40:09] Yeah. I guess I should add that to my bucket list [11:09:45] Rehman: there's a Wikibook :D https://en.wikibooks.org/wiki/Lua_Programming [11:13:37] Wow, I didn't know that [11:13:41] Thank you :D [15:00:43] Does anyone know how to get the datatype of a given property from the API? I feel like I should have been able to find that on my own but I'm failing to :). [15:03:11] mvolz: https://www.wikidata.org/w/api.php?action=wbgetentities&ids=P17&props=datatype etc. [15:03:29] dammit, James_F was just a bit faster than me ^^ [15:03:31] James_F: thanks! [15:03:33] ^-^ [15:03:37] exactly what I was going to recommend too [15:03:37] * James_F grins. [15:03:58] I really should have shilled for P31 as it's my creation, but… ;-) [15:04:41] I guess I had this concept that entities were only Qxxxx and didn't include properties. [15:04:51] data model updated. [15:05:08] Yeah, the words are… confusing to me, too. [15:06:42] items are just one kind of entity [15:06:56] properties, lexemes, MediaInfo are others [17:08:17] hola [20:44:46] Oscariot: Hola :) [22:09:11] good night [22:10:19] May I get invited to #wikidata-admin?