[02:54:32] Hi hi! Do we have a page that list projects that support Wikifunctions embedded function calls? I think I can search some status updates, but I am afraid that I will miss some projects [05:32:17] Here https://t.me/Wikifunctions/27467 (re @nikolaskhf: Hi hi! Do we have a page that list projects that support Wikifunctions embedded function calls? I think I can search some status...) [05:35:19] Ah thank you, didn't see that (re @Jan_ainali: Here https://t.me/Wikifunctions/27467) [06:36:43] I hadn't spotted this until now, but this kind of list looks very useful for those who want to get fragments going in their language, but aren't going to write the functions themselves. https://www.wikifunctions.org/wiki/User:Dnshitobu/Dagbani_Fragments [18:58:15] I started a similar for Swedish [[Wikifunctions:Human_languages/Swedish#NLG_fragments]] (re @u99of9: I hadn't spotted this until now, but this kind of list looks very useful for those who want to get fragments going in their lang...) [21:00:44] Today I started working on a Swedish version of Z21734. [21:00:45] To create it I first need to get Z30349 working and to get that to work I need at least one of these new functions: [21:00:46] * is common noun? [21:00:48] * is neuter noun? [21:00:49] And to create them I need to learn how to get out the statements of a lexeme. Then I have to get out the P31. Then compare it to the relevant wikidata items for common/neuter. [21:00:51] Phew this is hard work 😅 [21:03:46] Oh, I just found Z19300 in the catalogue 🤩 [21:03:48] Thanks @u99of9 ! [21:04:35] Am I wrong or is Z26955 the same as Z26039? [21:05:45] but unfortunately none of the tests pass. Perhaps they need to emulate the statement? (re @Npriskorn: Oh, I just found Z19300 in the catalogue 🤩 [21:05:46] Thanks @u99of9 !) [21:05:48] https://tools-static.wmflabs.org/bridgebot/ca858c92/file_75926.jpg [21:09:24] Oh that's unfortunate. I think they used to. (re @Npriskorn: but unfortunately none of the tests pass. Perhaps they need to emulate the statement?) [21:11:48] I tried with an emulated one, but I'm not sure I got it right [21:11:50] https://tools-static.wmflabs.org/bridgebot/aa7443e6/file_75927.jpg [21:12:47] got no error, is this a known bug? [21:12:49] https://tools-static.wmflabs.org/bridgebot/4652e433/file_75928.jpg [21:15:24] For "en eller ett?" the groudwork should be done in Z26681. (re @wikilinksbot: Z21734 – English indef noun phrase [21:15:25] Z30349 – en eller ett? (Swedish) [21:15:27] P31 – instance of) [21:16:10] nice! (re @Jan_ainali: For "en eller ett?" the groudwork should be done in Z26681.) [21:18:34] oh, its using Z20616 (re @Jan_ainali: For "en eller ett?" the groudwork should be done in Z26681.) [21:19:14] and I just found Z26676 which is exactly what I need 🤩 [21:20:55] /delete@wikilinksbot [21:29:59] this accepts a lexeme instead of just a lexeme reference, is that intentional? (re @Npriskorn: and I just found Z26676 which is exactly what I need, thanks @Jan_ainali 🤩) [21:32:15] Z30353 now works 🥳 [21:35:51] Z30349 now works also 🥳 [21:35:55] this is fun! [21:45:18] but perhaps there is a good reason for propagaring lexemes instead of the references? (re @Npriskorn: this accepts a lexeme instead of just a lexeme reference, is that intentional? (makes it a little bit harder to use)) [21:50:37] should we change this to return a lexeme reference? Z22696 [21:50:37] or should I change Z30349 to accept a lexeme as input? [22:00:21] In general this kind of choice is not easy. Think about how many fetches will be done underneath the actual use case. (re @Npriskorn: but perhaps there is a good reason for propagaring lexemes instead of the references?) [22:03:41] yeah, I guessed optimization is something we need to agree about. [22:03:42] Usually the paradigm is: code first, optimize later. [22:03:43] I'm guessing its easier to optimize in the backend (orchestrator) by caching for a short while (say duration of a function x 100) than it is to tell everyone to use lexemes over references to lexemes. [22:08:07] I failed to make a lexeme version FWIW Z30360 [22:08:09] I'll stick with lexeme references for now, seems easier to me. [22:13:49] @Jan_ainali FWIW I succeded in removing the ugly workaround, see Z30363 which works [22:14:21] https://tools-static.wmflabs.org/bridgebot/022b9d49/file_75929.jpg [22:26:59] I’ve fixed Z19321. I think you got no error because there is no error in the call. The problem is with the validation, which needs a Boolean result first it to be interpreted as a pass or fail. (re @Npriskorn: got no error, is this a known bug?) [22:30:47] I took the liberty of splitting information from this page into 4 subpages for better readability/findability https://www.wikifunctions.org/wiki/Wikifunctions:Catalogue/Wikidata_operations [22:46:51] I also improved the subcategorization to make it easier to navigate [22:46:53] https://tools-static.wmflabs.org/bridgebot/ab4f1ff3/file_75930.jpg [22:47:16] see [[Wikifunctions:Catalogue/Wikidata operations/Lexeme]] [23:20:19] I got an interesting error on Z30364 [23:20:29] https://tools-static.wmflabs.org/bridgebot/7a57a327/file_75931.jpg