[14:13:57] Opening a standard /wiki/Z1 endpoint seems to automatically detect the language (re @Nintendofan885: BTW has there even been plans to do stuff with URLs like https://www.wikifunctions.org/view/Z1? (without a language code)) [14:34:19] open a bug for this, so that the team can look at it as soon as possible (re @mahir256: huh, I added a label to Z503 in one edit, then when I go back to add the key I get the same error) [14:35:18] I'm sorry I can't be more helpful than this, moreover most of the team is either at Wikimania or away for a few days, so expect some delay in fixing problems and giving away rights [14:45:35] ok done as T344166 (re @Sannita: open a bug for this, so that the team can look at it as soon as possible) [15:03:52] thanks :) (re @mahir256: ok done as T344166) [15:16:37] Friendly reminder that the Wikifunctions team will hold a presentation at Wikimania 2023 (https://pretalx.com/wm2023/talk/ZBXFNP/)! You can also view the slides of the presentation (https://docs.google.com/presentation/d/18DRvR9zkpIUgxsvMiatoEexDAXok7_Lf/edit). [15:16:37] [15:16:39] The panel will be held on Thursday 17 at 07:30 UTC (https://zonestamp.toolforge.org/1692257440) in *Room 309* and will be broadcasted online on Wikimedia Foundation's Youtube channel (https://www.youtube.com/@wikipedia). [15:16:40] [15:16:42] More info about this as soon as we get them. [15:17:17] @waldyrious do you have info about the Hackathon meetup about Wikifunctions? I'd like to share more info about it in the project pages [15:28:01] done as T344170 (re @Sannita: That's a good idea, can you open a Phab ticket or do you want me to do it on Monday?) [15:31:34] What kind of details are you thinking of? For the record, I wasn't planning on actually running the session — I just scheduled it by creating the Phabricator task and adding it to the hackathon schedule, but other than that I assumed @vrandecic, @quidditywiki and @James_F would actually coordinate the session. I am of course happy to offer logistical support. (re @Sannita: @wal [15:31:34] dyrious do you have info about the Hackathon meetup about Wikifunctions? I'd like to share more info about it in the project...) [15:32:04] can you link to me the ticket? I just wanted some more info about timings and stuff (re @waldyrious: What kind of details are you thinking of? For the record, I wasn't planning on actually running the session — I just scheduled i...) [15:32:28] (I think I sent the message about Wikimania too soon, sigh) [15:32:29] this? (re @waldyrious: - https://phabricator.wikimedia.org/T343905 [15:32:30] - https://wikimania.wikimedia.org/wiki/2023:Hackathon/Schedule#Friday%2C_August_18) [15:32:48] yep, thanks (re @mahir256: this?) [15:32:49] Yes, I was looking for the message in the chat 😁 here it is. (re @waldyrious: - https://phabricator.wikimedia.org/T343905 [15:32:51] - https://wikimania.wikimedia.org/wiki/2023:Hackathon/Schedule#Friday%2C_August_18) [15:33:14] Oh, @mahir256 beat me to it 😅 [15:33:34] thanks to you too :) (re @waldyrious: Yes, I was looking for the message in the chat 😁 here it is.) [15:42:44] Is there an easy way to copy and paste a function while creating a new one? I made "Is a vowel" and I want to make "Is a consonant". They're very similar since their inputs, outputs, explanations etc. all echo each other. I want to copy the "Is a vowel" and change the necessary parts. Is that possible? [15:43:24] seems like something you might use? (re @ebraminio: just developed a new experimental tool that duplicates a function, https://www.wikifunctions.org/view/en/Z10091?withJS=MediaWiki...) [15:44:24] when I wanted to created padStart and padEnd I felt I need to duplicate things for it (re @mahir256: seems like something you might use?) [15:44:33] both the functions and and testcases [15:44:57] Hehe I hadn't read the rest of the chat, thank you :› [15:45:46] that's why I asked here to see if that's might others use also and asked for other ideas others might have for gadgets [15:48:13] Do you use OOUI to compile the gadgets? I want to get into those stuff some time too, I'd really appreciate if you can show me where to start [15:48:28] same goes with https://www.wikifunctions.org/wiki/Special:Blankpage/functions-list?withJS=MediaWiki:Functions-list.js I developed it to list and read sources different (re @ebraminio: that's why I asked here to see if that's something might others use also and asked for other ideas others might have for gadgets) [15:49:57] the most forward looking way to develop gadgets is now using Vuejs with Codex components from wikimedia, https://doc.wikimedia.org/codex/latest/components/demos/progress-bar.html (re @Ege: Do you use OOUI to compile the gadgets? I want to get into those stuff some time too, I'd really appreciate if you can show me w...) [15:51:55] if you want a sample on how to develop a gadget using vuejs you can look https://www.wikifunctions.org/wiki/MediaWiki:Functions-list.js (re @ebraminio: the most forward looking way to develop gadgets [at least I believe] is to use Vuejs with Codex components from wikimedia, https...) [15:53:16] also I will happily help you for you any question you might have, I'm not that good at it but I'm interested to learn more [15:58:14] The Wikifunctions team will be present at Wikimania 2023, and will host two events dedicated to our project. [15:58:15] [15:58:16] The first event will be our main presentation (https://pretalx.com/wm2023/talk/ZBXFNP/) at Wikimania 2023! You can already preview the slides (https://docs.google.com/presentation/d/18DRvR9zkpIUgxsvMiatoEexDAXok7_Lf/edit) online. The presentation will be held on Thursday 17 at 07:30 UTC (https://zonestamp.toolforge.org/1692257440) in *Room 309* and will be broadcasted online on W [15:58:18] ikimedia Foundation's Youtube channel (https://www.youtube.com/@wikipedia). [15:58:19] [15:58:21] The second event will be a workshop called First steps with Wikifunctions (https://phabricator.wikimedia.org/T343905), that will be held on Friday 18 at 16:45 UTC+8 (https://zonestamp.toolforge.org/1692348354) in *Room 311*. This event will be available only for people attending Wikimania. [15:59:06] (sorry for the repost, but I added also the workshop and cleaned stuff a bit) [15:59:30] Can't pinned posts be edited too? (re @Sannita: (sorry for the repost, but I added also the workshop and cleaned stuff a bit)) [15:59:53] iirc edits don't make it over the IRC bridge [15:59:59] yes, but I thought it would have been better to delete the original one and redo it from scratch (re @Jan_ainali: Can't pinned posts be edited too?) [16:00:03] also this (re @mahir256: iirc edits don't make it over the IRC bridge) [16:00:04] But the pinning does? (re @mahir256: iirc edits don't make it over the IRC bridge) [16:00:31] pinning doesn't make it over the bridge too, AFAIK [16:00:50] but at least it's pinned on Telegram, and can be added manually on IRC [16:01:01] technology... always lagging behind [16:11:41] I would love a version that copies everything, like the tests and the implementations too. But this one really helped too, thanks (re @ebraminio: same goes with https://www.wikifunctions.org/wiki/Special:Blankpage/functions-list?withJS=MediaWiki:Functions-list.js I develope...) [16:34:15] Can anyone check what might be wrong here. It may have something to do with the duplications, or it may be a bug or something. [16:34:16] [16:34:18] https://www.wikifunctions.org/view/en/Z10689 [16:36:02] And also, is there a way to dumb down the expected and actual result stuff in failed tests? I only understand the expected results part [16:36:03] [16:36:04] Expected result: {"Z1K1":"Z40","Z40K1":"Z42"} [16:36:06] Actual result: {"Z1K1":"Z5","Z5K1":"Z522","Z5K2":{"Z1K1":{"Z1K1":"Z7","Z7K1":"Z885","Z885K1":"Z522"},"Z522K1":"Invalid key at index 0: string should start with Z10682"}} [16:39:29] looks like that duplication script didn't renumber input/output keys [16:40:04] your 'is a vowel' function takes an input named Z10682K1, but when you copied it to 'is a consonant' the input didn't get changed to Z10689K1 [16:40:32] I wonder if renaming Z10689K1 in your python/javascript implementations to Z10682K1 will solve the problem [16:45:27] ...er, actually, if you're good with Special:ApiSandbox, you could take the revision content of https://www.wikifunctions.org/w/api.php?action=query&prop=revisions&titles=Z10689&rvslots=main&rvprop=content , change "Z10682" therein to "Z10689", then resave the object, to see if that helps at all (re @mahir256: I wonder if renaming Z10689K1 in your python/javascript implementation [16:45:27] s to Z10682K1 will solve the problem) [18:58:39] yay your tests pass now! (re @Ege: Can anyone check what might be wrong here. It may have something to do with the duplications, or it may be a bug or something. [18:58:40] [18:58:42] ...) [20:15:02] I'll look into it when I get home :› thanks [22:55:45] Thanks! Filed as https://phabricator.wikimedia.org/T344206 (re @ebraminio: apparently something causes this page https://www.wikifunctions.org/wiki/Special:MathStatus to always raise exception in wikifun...)