[00:13:30] New record? It's great with all these new functions to play with! : https://tools-static.wmflabs.org/bridgebot/c84cbfb4/file_75958.jpg [01:15:35] Not a record, but nice strong activity. (re @Npriskorn: New record? It's great with all these new functions to play with!) [04:14:03] It seems to primarily be an issue for complex compositions : https://tools-static.wmflabs.org/bridgebot/70b0e451/file_75960.jpg [08:26:11] The team is aware of it and they're working on it (re @u99of9: It seems to primarily be an issue for complex compositions) [08:26:28] As soon as they have more info, I'll (or they'll) share it [08:27:22] BTW, heads up that for the next couple of days I might be slower to respond, I have personal matters to attend, but I'll keep an eye on conversations [08:27:42] If there is something urgent, ping me anyway, I'll see what I can do [08:39:19] Hi y'all, [08:39:19] Someone on fr.wikt just asked me if Wikifunctions could be called from a gadget in Javascript. It is possible? [08:39:21] and the question is double: is it possible now? is it planned be possible in the future? [08:40:05] IIRC it's callable but not sure if it's possible through JS, I'll ask [10:08:34] https://api.wikimedia.org/wiki/Wikifunctions_API/Reference/Run_Function#JavaScript maybe this is the answer? (re @NicolasVIGNERON: Hi y'all, [10:08:35] Someone on fr.wikt just asked me if Wikifunctions could be called from a gadget in Javascript. It is possible? [10:08:36] and the...) [10:42:13] she saying that it kind of works but she's got a Z559 error « User not permitted to run Function » (she tried the simple Z10000) (re @Sannita: https://api.wikimedia.org/wiki/Wikifunctions_API/Reference/Run_Function#JavaScript maybe this is the answer?) [10:47:57] Uhm [10:57:15] so we can avoid it by keeping things simple and stupid? (re @u99of9: It seems to primarily be an issue for complex compositions) [11:01:23] Al should we focus on fragments rather than sentences for all the NLG functions we are creating now? [11:01:25] https://tools-static.wmflabs.org/bridgebot/4e6a7b95/file_75971.jpg [11:02:16] could it be that logging in is required? (re @NicolasVIGNERON: she saying that it kind of works but she's got a Z559 error « User not permitted to run Function » (she tried the simple Z10000)) [11:02:28] no hurry, she's just wondering about possibilities right now, [11:02:30] but I think it's important for the future ; I don't think I've seen talks about integration of Wikifunctions in gadget, there is some high potential there (re @Sannita: Uhm) [11:02:48] Yeah, I think so too (re @NicolasVIGNERON: no hurry, she's just wondering about possibilities right now, [11:02:48] but I think it's important for the future ; I don't think I've see...) [11:03:04] maybe, but logging in Wiktionary, in Wikifunctions, in the API? (re @Npriskorn: could it be that logging in first is required?) [11:03:48] in the API and providing a token? (re @NicolasVIGNERON: maybe, but logging in Wiktionary, in Wikifunctions, in the API?) [11:04:11] I'm just guessing, we need to look at the code or talk to the devs [11:40:29] I was sure I’d suggested it before, but I haven’t been able to locate any discussion. Feel free to add your thoughts at [[Wikifunctions talk:Abstract Wikipedia/2025 fragment experiments]]. I think we need to be able to return a proper sentence from an embedded function call, which currently implies a thin wrapper for each fragment that can stand alone as a sentence. But a [11:40:29] [11:40:30] sentence-initial” variant might also be required in some contexts… otherwise you end up with “sentence-initial” and “sentence-final” flags, or (better) an enumeration from which to select an option. (re @Npriskorn: Al I think we should focus on fragments rather than sentences for all the NLG functions we are creating now.) [13:58:28] Thank God for this wonderful profit [13:58:30] So many potential investors are afraid and confused seeing different testimonials different managers and still yet lost their hard earned money in the hands of scammers, my advice for everyone is that you all should be careful i was a victim of such and I am lucky i met the right one at last Miss Charlotte Kimberly who i trust now without any fear to loose my money [13:58:30] because i have [13:58:31] benefited from him more than 3 times, message her by clicking on this link below and join the company manager. Charlotte Kim [13:58:33] https://t.me/+_FbJJQJqPPU0MzQ0 [14:42:26] What is happening here? [14:42:26] https://www.wikifunctions.org/view/it/Z30267?call=%7B%22Z1K1%22%3A%22Z7%22%2C%22Z7K1%22%3A%22Z30267%22%2C%22Z30267K1%22%3A%7B%22Z1K1%22%3A%22Z7%22%2C%22Z7K1%22%3A%22Z28316%22%2C%22Z28316K1%22%3A%22Z19084%22%2C%22Z28316K2%22%3A%5B%7B%22Z1K1%22%3A%22Z7%22%2C%22Z7K1%22%3A%22Z881%22%2C%22Z881K1%22%3A%22Z1%22%7D%2C%5B%22Z1%22%2C%22casd%22%2C%7B%22Z1K1%22%3A%22Z [14:42:27] 6091%22%2C%22Z6091K1%22%3A%22Q3947%22%7D%5D%2C%5B%22Z1%22%2C%7B%22Z1K1%22%3A%22Z6091%22%2C%22Z6091K1%22%3A%22Q3914%22%7D%2C%7B%22Z1K1%22%3A%22Z40%22%2C%22Z40K1%22%3A%22Z42%22%7D%5D%5D%2C%22Z28316K3%22%3A%22Z6091%22%7D%2C%22Z30267K2%22%3A%22Z1002%22%7D [15:41:19] What is not happening is the Argument reference being de-referenced. I saw something similar yesterday but I haven’t filed a ticket yet. See the test of https://www.wikifunctions.org/wiki/Z30415 for an example… but that works in Try this implementation 🤷‍♂️ (re @dvd_ccc27919: What is happening here? https://www.wikifunctions.org/view/it/Z30267?call=%7B%22Z1K1%22%3A%2 [15:41:19] [15:41:19] 2Z7%22%2C%22Z7K1%22%3A%22Z30267%22%2...) [16:29:07] David the tests on Z811 are all disconnected and I'm not allowed to connect them 😅 [16:32:12] Would someone take a look at the failing tests on Z30458? I don't understand why it gets a list when I use Z811 in the comp. [17:26:56] Now this problem is magically solved (re @Npriskorn: Would someone take a look at the failing tests on Z30458? I don't understand why it gets a list when I use Z811 in the comp to o...) [17:27:09] I think it's a caching issue [17:28:05] By the way, Z30469 is the proof that it's better not to choose the first option in NLG functions [19:50:04] @vrandecic (re @Ameisenigel: Am I wrong or is Z26955 the same as Z26039?) [21:28:42] So we perhaps need to find a better way to select a suitable lexeme based on an item. (re @dvd_ccc27919: By the way, Z30469 is the proof that it's better not to choose the first option in NLG functions) [21:30:15] if the goal of the NLG functions is to select the lexeme with the widest use and which most people understand then we might need to find a way to add data about how common a given form is kn a language? [21:33:55] we need new helpers [21:33:57] first get all lexemes that link to the item [21:33:58] then make typed pairs with the lexeme reference and calculated distance [21:34:00] then sort according to distance [21:34:01] then pick the lowest distance one [21:36:04] or we could pick based on lowest LID 🤪 [21:58:47] oh, I just found Z10393. This community is incredible. Feels like standing on the shoulders of giants 🤩 [21:58:48] It reminds me about LEGO building in my youth, but with the twist that you can create your own basic building blocks if needed. ✨ [22:45:59] I already tried to implement Z27327, based mainly by looking at properties like P6191, but it certainly can be improved (re @Npriskorn: So we perhaps need to find a better way to select a suitable lexeme based on an item.)