[07:15:39] Hi folks. Is it possible to pull in one field when using wbsearchentities in the API? I'd like to filter my results at this level, rather than have to check every returned entity to do my verification [07:16:16] https://www.wikidata.org/w/api.php?action=wbsearchentities&search=nokia&language=en&format=json I'd want to pull in specifically P856 [07:16:17] P856 Second run of convertNamespaceFromWikitext.php on Catalan Beta - https://phabricator.wikimedia.org/P856 [08:57:41] Also, this should give me the CEO's of microsoft, but it's returning the date info. How do I drill down further to get the names of CEOs (the linked entities): https://www.wikidata.org/w/api.php?action=wbgetclaims&entity=Q2283&claim=q2283$022683A3-3C93-4F23-998A-699EF27B173E [09:14:35] * audephone waves [09:15:36] Curious if Adrian_WMDE is at the office today? [09:15:50] yep [09:16:15] We are already talking about the stuff :) [09:16:20] There is a bug in the language falbak [09:16:22] Ok [09:16:40] I came up with a not nice solution that doesn't work [09:17:04] I want a solution that fixes the bug and keeps language fallback [09:17:18] And separation between view and mediawiki [09:17:28] And is small for backport [09:21:59] :D Will do that unicorn :) [09:23:52] Ok [09:24:11] I am willing to help with reviews and backports [09:27:30] audephone: Why do you not like the use of LabelDescriptionLookup? [09:29:33] Adrian it just needs to use the current entity being saved [09:29:55] That is what I tried to do but then in some cases the entity has no id [09:30:16] Like new entities and things break [09:30:38] And if the lookup only has the current entity [09:30:58] We need to be careful it's not mistakenly used to look up other stuff [09:31:21] I'd like some of the fallback applying logic to maybe be split up from the lookup [09:31:41] Then be able to apply it to labels provider etc [09:32:24] Hm, yeah [09:32:41] A FallbackLabelProvider / FallbackDescriptionProvider would be great [09:33:54] That's what i was then trying to do on friday [09:34:10] But then wasn't small for backport [09:35:35] Label description lookups are also a bit tied to how termindex structures things [09:39:46] (my connection is terible) I've managed to get just the one claim using this URL: https://www.wikidata.org/w/api.php?action=wbgetclaims&entity=Q2283&claim=q2283$022683A3-3C93-4F23-998A-699EF27B173E [09:40:10] But it still doesn't show me the names of the linked entities, and it doesn't even show me the actual values of or id's of the linked entities as far as i can see [09:49:03] Gotta go [09:49:18] audephone: We just agreed that we would revert the change on the branch [09:50:00] Adrian might not be trivial to just revert the patches [09:50:22] Easiest might be just to hack back in to not have fallback for now [09:51:56] The change is far enough back and enough things after that it's not a clean revert though maybe it s not too bad [11:46:58] Adrian_WMDE how's it going? [11:48:18] maybe everyone is at lunch... [14:01:58] hi [14:03:00] is there a way to get wikidata Q with Wikipedia API? [14:04:03] Magewhopper there is a page prop for that [14:04:20] And you can get page props from the api [14:09:10] audephone: thanks, I gat wikibase_item :) [14:09:41] :) [17:01:22] Lydia_WMDE: https://media.ccc.de/v/gpn16-7616-wikidata_query_service [17:08:23] it's a frimelle ! [17:10:09] :D In case you missed me you can see me talking about kittens above (really it's about the Query Service but all in German) [17:12:53] :) [18:10:12] Lydia_WMDE: https://phabricator.wikimedia.org/T76218