[00:01:18] Looks like you have a nested Argument reference in the call to Z19825. The value in the argument reference object itself needs to be a literal string, not an argument reference. (re @Npriskorn: I got an interesting error on Z30364) [00:02:36] Z29285 (re @wikilinksbot: Z19825 – unsimplified 22/20 should round the same as 11/10) [00:03:04] Z19285 third time lucky! [00:20:40] I created new helpers and simplified the connected implementation here Z27454 [00:21:17] simple! : https://tools-static.wmflabs.org/bridgebot/fc4a6997/file_75932.jpg [00:36:52] @vrandecic this system is absolutely fantastic! The composing functionality is one of the easiest and most rewarding programming experiences I have had to date. [00:36:52] The team straight up beat every single IDE ever produced when it comes to fun/ease of use/instant reward/instant testing/speed/cooperation if you ask me. [00:36:54] No merge conflicts, no AI bullshit, no hidden functions, 100 small icons to learn, no tedious manual, no long education required - just raw powerful functions and a great and helpful community. [00:36:55] I really admire what you and the team and the community are doing here. 😍 [00:36:57] I love when a dream get broken down into a clear vision and get broken down into a long-term goal-> medium-term goals -> near-future goals -> milestones -> small steps x10000 => great success! [00:36:58] There are so many ways for the process/system to break down along the road, but somehow we have now again gone ahead and made something tangible and concrete that nobody has ever done before. [00:37:00] Groundbreaking! ⚑️ [10:02:01] Thanks for fixing the composition 🀩 [10:02:01] I found and fixed a grammatical gender bug in a lexeme thanks to a new test :) [10:02:03] https://www.wikidata.org/w/index.php?title=Lexeme:L477921&diff=prev&oldid=2439943743 (re @Al: Looks like you have a nested Argument reference in the call to Z19285. The value in the argument reference object itself needs t...) [10:14:37] David do we currently have a way to purge the cache of a specific Wikidata lexeme/item in the backend? If not is there a task about it? [10:14:37] Z30386 fails because of cached grammatical gender that was changed an hour ago approx [10:19:44] Has the community developed a hoverscript for when browsing the wikifunctions wiki? [10:19:45] Stories: [10:19:46] * as a user I want to hover on a ZID-link and know if it is a function/implementation/test so I don't have to open it [10:19:48] * as a user I want to hover on a ZID-link and if it is a function I want an overview of implementation and tests so I don't have to open it [10:19:49] * as a user I want to hover on a ZID-link and if it is a function I want to know if at least 1 implementation exists and if all connected tests pass so I don't have to open it [10:20:08] this is what I get today and it does not tell me what I want to know : https://tools-static.wmflabs.org/bridgebot/51161d10/file_75935.jpg [10:21:50] Oh, that's a good idea. Just figuring out what is what kind of thing and easier spot how they are connected is what caused me to start this discussion: [[Wikifunctions:Project_chat#Functions_using_this_function]]. (re @Npriskorn: Has the community developed a hoverscript for when browsing the wikifunctions wiki? [10:21:51] Stories: [10:21:52] * as a user I want to hover on a ZI...) [10:27:33] I added the new helper functions from yesterday to [[Wikifunctions:Human languages/Swedish]], probably not the best place for it. Maybe it should be moved to of [[Wikifunctions:NLG functions]] or a subpage of it? [10:29:54] I'm not sure how to best structure all the different functions outer/display dispatch/language specific/helper/etc 🫠 [10:29:54] Maybe we need a new new tool like Listeria that can generate them based on structured data? For that we first need structured data πŸ˜… [10:31:02] @vrandecic are you ready to revise the decision on adding the Wikibase extension or is it still too early for that? [10:58:17] @Jan_ainali I added columns for low/high helpers for Swedish NLG [10:58:19] https://tools-static.wmflabs.org/bridgebot/861b80e5/file_75936.jpg [11:04:15] @Jan_ainali I made changes to the sv NLG table to get an overview of helper functions. Now we can keep track of the different helpers needed. WDYT? [11:04:17] https://tools-static.wmflabs.org/bridgebot/b8efd3eb/file_75937.jpg [11:06:33] https://tools-static.wmflabs.org/bridgebot/21030866/file_75938.jpg [11:09:07] https://tools-static.wmflabs.org/bridgebot/82d0bbce/file_75939.jpg [11:10:19] @Jan_ainali as you can see in Z23414 the author choose to not have a highlevel helper leading to it not being so simple. I recommend we create a helper first and then copy the logic when doing the Swedish ones. [11:10:30] I think you lost some information when you changed the column I added. I specifically removed the redundant QID. (re @Npriskorn: @Jan_ainali I made changes to the sv NLG table to get an overview of helper functions. Now we can keep track of the different he...) [11:10:43] https://tools-static.wmflabs.org/bridgebot/2e803bc1/file_75940.jpg [11:11:56] I'm thinking we work on the first 5 or so for now and leave the rest for later since we iterate so fast. (re @Jan_ainali: I think you lost some information when you changed the column I added. I specifically removed the redundant QID.) [11:12:59] Perhaps we can make the required QID in bold in the column we have now? (re @Jan_ainali: I think you lost some information when you changed the column I added. I specifically removed the redundant QID.) [18:45:15] 1587 [21:25:32] ie begin with "contains" (re @Al: 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 nee...) [21:29:36] Z22664 now works in Swedish πŸ˜€ [21:34:49] That’s easiest, or you could make the call return only one statement (selective fetch Z6820 for the item) and use the equality function. (re @Npriskorn: solution= begin with "contains"?) [21:34:56] @dvd_ccc27919 very nice work on Z27147 🀩 [21:34:57] It worked out of the box for Swedish so I added a test. [21:35:42] Could you share a working example. I have trouble finding a Swedish adjective linked with P5137 (re @Npriskorn: Z22664 now works in Swedish πŸ˜€) [21:37:48] Z30418? (re @Jan_ainali: Could you share a working example? I have trouble finding a Swedish adjective linked with P5137) [21:39:41] That works, but I had hoped with these new links: https://www.wikifunctions.org/view/en/Z22664?call=%7B%22Z1K1%22%3A%22Z7%22%2C%22Z7K1%22%3A%22Z22664%22%2C%22Z22664K1%22%3A%7B%22Z1K1%22%3A%22Z6091%22%2C%22Z6091K1%22%3A%22Q5113%22%7D%2C%22Z22664K2%22%3A%7B%22Z1K1%22%3A%22Z6091%22%2C%22Z6091K1%22%3A%22Q23445%22%7D%2C%22Z22664K3%22%3A%22Z1592%22%7D [21:39:58] Oh, they were beautiful! 🀣 (re @Jan_ainali: That works, but I had hoped with these new links: https://www.wikifunctions.org/view/en/Z22664?call=%7B%22Z1K1%22%3A%22Z7%22%2C%...) [21:40:34] I see that Swedish distinguishes for definitiveness, and my implementation isn't able to handle it (re @Npriskorn: @dvd_ccc27919 very nice work on Z27147 🀩 [21:40:36] It worked out of the box for Swedish so I added a test.) [21:45:16] oh, I see, I'll rename it to "number of indef objects phrase" (re @dvd_ccc27919: I see that Swedish distinguishes for definitiveness, and my implementation isn't able to handle it) [21:54:15] I am not sure how to do it but if the implementations in Z22696 also picked up on links from the sense with P8471 (and not only p5137) it would find more adjectives. [21:55:34] it's currently hard-coded to P5137 πŸ€ͺ (re @Jan_ainali: I am not sure how to do it but if the implementations in Z22696 also picked up on links from the sense with P8471 (and not only ...) [21:56:05] Yeah, that was my point πŸ˜… (re @Npriskorn: it's currently hard-coded to P5137 πŸ€ͺ) [21:57:16] @dvd_ccc27919 created Z27335 where you can tell which property to look for 🀩 (re @Jan_ainali: Yeah, that was my point πŸ˜…) [21:59:40] based on that I created Z30374 yesterday and I can create one for P8471 (https://www.wikidata.org/entity/P8471) also if you want (I haven't needed it yet)? (re @Npriskorn: @dvd_ccc27919 created Z27335 where you can set the link property 🀩) [22:08:00] Z6830 allows any property to be tried, but it only looks for lexemes linked to items, not linked to other lexemes. I believe P8471 is used to link lexemes. [22:11:14] Oh, I think you are correct. It doesn't seem to have that as a property constraint, but the examples (and the proposal) are sense to sense.. (re @Al: Z6830 allows any property to be tried, but it only looks for lexemes linked to items, not linked to other lexemes. I believe P84...) [23:36:54] Regarding efficiency, it seems we only have a fetching function for getting lexeme based on an item for a given language. See Z22696 [23:36:55] I'm creating an alternative tomorrow that returns a lexeme reference instead. [23:39:09] This is failing all tests so I disconnected the impl. Z25341