[00:47:27] Can anyone help me find a ZObject with at least two *aliases* in Arabic, Persian, or Punjabi? [00:51:37] (I mean pnb Punjabi, written in the Arabic script.) [00:53:06] Oh ok (re @amire80: (I mean pnb Punjabi, written in the Arabic script.)) [01:15:23] I don't understand why Z14054 times out in orchestration. In the composition, the very first if condition should give the result. Am I oversimplifying and expecting too much, or should I file a bug report? : https://tools-static.wmflabs.org/bridgebot/8b46316b/file_58476.jpg [10:10:13] At the time of writing it’s half okay. I suspect it is over-agressive caching that’s at fault. [10:10:14] [10:10:16] Trying the implementation, it was initially returning 1 for n^0 and 0 for 0^n for all the evaluations I tried except 0^0. The logic of the composition looked right (for those values), so I made some coffee and then it was fine 😏 [10:10:17] [10:10:19] The test case was still failed, so I went to edit that and the test passed. I cancelled the edit and the test failed. I’ll raise a ticket if I have the time but I thought it best to leave things as they are for a bit to see if the bug is repeatable. (re @Toby: I don't understand why Z14054 times out in orchestration. In the composition, the very first if condition should give the result...) [11:36:05] *T359802* (re @Toby: I don't understand why Z14054 times out in orchestration. In the composition, the very first if condition should give the result...) [12:46:22] Strange. When I go to edit the test case, it's still failed, and still failed when I cancel. Thanks for filing the report. (re @Al: At the time of writing it’s half okay. I suspect it is over-agressive caching that’s at fault. [12:46:23] [12:46:25] Trying the implementation, it wa...) [12:48:11] Yep. But it’s passed while you edit (or, at least, that was what I observed and reported). (re @Toby: Strange. When I go to edit the test case, it's still failed, and still failed when I cancel. Thanks for filing the report.) [12:52:22] Not for me... or do I need to actually make some changes to count as editing? : https://tools-static.wmflabs.org/bridgebot/31421b3c/file_58485.jpg [13:06:27] I had a play with https://www.wikifunctions.org/view/en/Z14052 and that now passes. You look at that and I’ll take another look at 0^0. (re @Toby: Not for me... or do I need to actually make some changes to count as editing?) [13:09:59] That is odd. It is still behaving as described for me. You had better add your continuing failure in edit mode to the ticket 🤷‍♂️ (re @Toby: Not for me... or do I need to actually make some changes to count as editing?) [13:16:01] Yes, this fixed it for me too. (re @Al: I had a play with https://www.wikifunctions.org/view/en/Z14052 and that now passes. You look at that and I’ll take another look ...) [13:23:42] Although it’s very annoying and terribly frustrating, it’s kinda neat that it’s 0^0 that can’t make its mind up. I generally feel the same way about the blighter! [13:24:17] It looks like adding a composition actually sped up this function, which is used in many of those failing compositions, so maybe the speedup will get us a few more passes. https://www.wikifunctions.org/wiki/Z13846?uselang=en&curid=25098&diff=88678&oldid=88537 [13:27:26] Yeah, I think that may be how it fixed itself in the first place (because I tried quite a few alternatives before I gave up and let the coffee do its magic) (re @Toby: It looks like adding a composition actually sped up this function, which is used in many of those failing compositions, so maybe...) [13:36:14] This improved today with a composition (of the non-typed if), so now the base case sometimes passes. (re @Msz2001: I've just checked that simple Z13522 takes 3 seconds to finish. Maybe the time needed to do sth just propagates over to your com...) [13:46:54] iirc lazy evaluation was added specifically to Z802, years ago. Is it used anywhere else now? (re @Toby: This improved today with a composition (of the non-typed if), so now the base case sometimes passes.) [15:19:38] https://tools-static.wmflabs.org/bridgebot/773d6099/file_58490.jpg [15:19:54] This is how the main page looks on my phone. [15:20:13] Where does the "Welcome, Amire80!" thing come from? [15:21:05] I think that there is something like this in the MobileFrontend extension, but it's localizable there. So why do I see it in English here, even though everything else is correctly in Hebrew? [15:22:08] i think it follows the site language instead of the interface language [15:34:58] Oh, right. But not the site's direction 🤦🏻‍♂️ [15:35:48] It looks like https://www.wikifunctions.org/w/index.php?title=Wikifunctions:Main_Page&uselang=he works correctly on a mobile, but not in the mobile view 🤔 [15:42:59] https://m.wikifunctions.org/w/index.php?title=Wikifunctions:Main_Page&uselang=he [17:52:39] https://phabricator.wikimedia.org/T359874 (re @jhsoby: i think it follows the site language instead of the interface language) [18:27:54] Going back to https://www.wikifunctions.org/wiki/Wikifunctions:Introduction ... I explored it more, and found the following: [18:27:55] [18:27:56] * "Select Function" is hardcoded in the wikitext of https://www.wikifunctions.org/wiki/Wikifunctions:Introduction , but it's based on the WikiLambda extension message wikilambda-zobject-to-string-select-object. The trouble with that message is that in English it says "Select $1" and the parameter is not documented at all. The documentation just says "Call to action for selecting [18:27:58] a blank object in the ZObjectToString component.", which is not so helpful. What can $1 be there? Probably not just "Function". And in this case, where does the word Function come from exactly? In this particular example, it's the label of Z8, but what else can it be? (re @amire80: 2. In https://www.wikifunctions.org/wiki/Wikifunctions:Introduction , can the hardcoded words "Sele [18:27:59] ct Function" and "Call" be re...) [18:29:18] * "call" probably comes from within Wikifunctions, but from where exactly? I guess it's a label or a key of some ZObject, but which one? [18:32:53] And another related question: Can I insert *only* the plain label of a ZObject into a plain old wikitext page? There's the {{Z}} template, but it also makes a link and mentions the ZID in parentheses. [18:36:17] And the same question about the value of a key of a ZObject. For example, the German-language label of "return type" of Z8/Function is "Rückgabetyp". I guess it would be something like Z8K2-DE, but can I quote it in wikitext using a template or a magic word? (re @amire80: And another related question: Can I insert only the plain label of a ZObject into a plain old wikitext page? [18:36:17] There's the {{Z}} t...) [18:44:04] @amire80 thanks for all this feedback about localisation/translation, can I ask you to translate it into Phabricator tickets, or to do a summary at the Village Pump? [18:44:36] I'm afraid most of these chats are a bit hard to summarise, and I would like to report something to the team, in order to improve the UI [18:53:33] I already reported all the things about which I had a clear idea. (re @Sannita: @amire80 thanks for all this feedback about localisation/translation, can I ask you to translate it into Phabricator tickets, or...) [18:55:14] I still have a few things to report, but it's possible that I just misunderstamd something, so I'm trying to clarify it here first, if possible. For example, the thing to which I'm responding now. (re @amire80: And the same question about the value of a key of a ZObject. For example, the German-language label of "return type" of Z8/Funct...) [18:58:04] After I wrote all those things in Telegram yesterday, I edited Wikifunctions a bit and understood some things. [19:11:59] I'm just worried that things here might get lost [19:12:12] Because chat is ephemeral [19:25:23] I asked ChatGPT to summarize the log: [19:25:23] “Certainly! The conversation revolves around various issues and questions encountered while translating and using the WikiLambda extension on the Wikifunctions platform. Some of the main points include: [19:25:25] [19:25:26] 1. Difficulty in finding and translating certain strings within the extension. [19:25:28] 2. Questions about whether certain hardcoded words can be replaced with transclusions for easier translation. [19:25:29] 3. Discussion about the need for a comprehensive list of ZObjects to translate for a full user experience. [19:25:31] 4. Concerns about the testing system being part of the site rather than the extension itself. [19:25:32] 5. Technical issues such as the inability to edit certain pages, seeing aliases in unintended languages, and inconsistencies in language fallbacks. [19:25:34] 6. Suggestions for improving the translation process and addressing bugs through Phabricator tickets. [19:25:35] 7. Clarification on the purpose and functionality of different aspects of the WikiLambda extension and Wikifunctions platform. [19:25:37] [19:25:38] Overall, the conversation highlights the complexities and challenges of translating and using the WikiLambda extension effectively, as well as the need for improvements and clarity in certain areas of the platform.” (re @vrandecic: Because chat is ephemeral) [20:09:20] Thanks! (re @Al: I asked ChatGPT to summarize the log: [20:09:20] “Certainly! The conversation revolves around various issues and questions encountered whil...) [20:33:53] It’s not good enough, but it was really easy! One can interact in search of further detail but then there is a risk of confusion 😏 (re @Sannita: Thanks!) [21:02:01] Can someone pick up the qqx question, please? I don’t think it has a Z60, so providing the ZID itself as the qqx label for a ZID is not currently feasible. If it is, should I do it? (re @Sannita: Thanks!) [21:45:40] I’ve dumped a tidied transcript in https://www.wikifunctions.org/wiki/User:GrounderUK/page for now. (re @vrandecic: I'm just worried that things here might get lost) [22:08:29] https://phabricator.wikimedia.org/T359890 (re @amire80: Going back to https://www.wikifunctions.org/wiki/Wikifunctions:Introduction ... I explored it more, and found the following: [22:08:29] [22:08:31] * ...) [22:09:21] (Since @Sannita asked to file more Phab tasks but If anyone can just reply here what $1 there is, I'll update the qqq quickly myself.) [23:10:48] Something like {{#invoke:Wikifunctions label|getLabel|zid=Z8|lang=fr}}? (re @amire80: And another related question: Can I insert only the plain label of a ZObject into a plain old wikitext page? There's the {{Z}} t...) [23:53:40] This works, thanks. But again, I have a few follow-up questions :) (re @Al: Something like {{#invoke:Wikifunctions label|getLabel|zid=Z8|lang=fr}}?) [23:54:12] 1. Is there a template version of this? As far as I know, wiki editors usually avoid invoking modules directly from pages that aren't templates. [23:57:52] 2. On https://www.wikifunctions.org/wiki/Wikifunctions:Introduction , under "Create tests", those strings are mentioned: [23:57:53] * Create function [23:57:55] * Call [23:57:56] * Function [23:57:58] [23:57:59] I figured out where does the string "Create Function" come from, but not "Call" and "Function". Usual search probably won't help: the words "Function" and "Call" appear all over the place.