[08:58:56] A majority of !voters !voted for the plan 😎 (re @lucaswerkmeister: “it’s not Notwikilambda, it’s Wikilambda” sounds like a logically redundant statement :D) [10:24:31] I have been invited to give a presentation of Wikifunctions and Abstract Wikipedia in Arabic during this week. [10:26:32] This will occur during WikiArabia 2021 on October 15-17, 2021. [10:27:12] I have decided to let it more practical and do a demo in NotWikiLambda. [10:28:08] For this, I have implemented a lexeme generator for Arabic based on Roots and Patterns. [10:28:45] https://notwikilambda.toolforge.org/wiki/Z10157 [10:32:36] I think that an application-driven explanation will be better. [10:55:55] https://notwikilambda.toolforge.org/wiki/Z10160 [10:57:31] Of course, what I have implemented is the main method. There are several exceptions that should be considered too. [11:13:48] I am currently working on Z10163. [11:14:36] @vrandecic @lucaswerkmeister Does this seem to be adequate [11:51:27] +1 I like Qids and Lids, they are very easy to handle and check (re @Nikki: to me it just seems obvious that it needs to be stable non-natural-language ids) [11:53:14] +1 [11:57:02] I just have to add a note regarding the implemented functions, all of them have references in referred scholarly journals. [11:58:16] It will be excellent to have a function that links the Wikidata item of the reference scholarly publication to the corresponding Wikifunctions item. [12:19:08] I'm getting "[3755c9a543447767c74beb2c] /wiki/Z10160 TypeError: Return value of BaseTemplate::getCopyrightIconHTML() must be of the type string, array returned" when trying to access one of these things. (re @Csisc1994: https://notwikilambda.toolforge.org/wiki/Z10157) [12:22:03] This is a matter of NotWikiLambda. It does not currently have a mobile edition. (re @mahir256: I'm getting "[3755c9a543447767c74beb2c] /wiki/Z10160 TypeError: Return value of BaseTemplate::getCopyrightIconHTML() must be of the type string, array returned" when trying to access one of these things.) [12:23:15] To see the function from your mobile, please click on computer edition. [12:24:12] But why would it fail even I set my browser to retrieve the desktop site by default? [12:30:15] Because you have to choose the option on the browser. [12:30:21] https://tools-static.wmflabs.org/bridgebot/ea2baa48/file_6672.jpg [12:35:05] https://tools-static.wmflabs.org/bridgebot/951a1462/file_6673.jpg [12:35:11] https://tools-static.wmflabs.org/bridgebot/57e3b366/file_6674.jpg [12:36:07] @lucaswerkmeister can you solve this deficiency [12:36:25] This will absolutely ameliorate User Experience [13:07:24] hm, I think this is a MediaWiki bug… [13:14:26] But why would it fail even if I set my browser to retrieve the desktop site by default? [13:16:26] reported at T291325 [15:54:45] Thank you so much for taking up this task and presenting at WikiArabia! (re @Csisc1994: @vrandecic @lucaswerkmeister Does this seem to be adequate) [15:55:20] If you like to reuse some of my slides, feel free. And doing it handson is a great idea [20:02:48] Thank you. I will certainly reuse several slides. [20:03:44] I have finished developing Z10164. However, it seems that there are several matters of the Python Compiler. [20:04:42] I am struggling with the identation. It will be excellent if the identation can be automatically fixed for the code. [20:06:00] As well, it seems that the compiler is not as efficient as the official Python 3.9 Compiler in handling a mixture of Arabic and Latin Script [20:15:14] However, this can be fixed. [20:16:16] The most important is that I have successfully implemented three functions featuring morphological and phonological guidelines for Arabic. [20:17:30] I will further verify Z10164 to see why the two Python compiler return distinct results. [20:19:02] This was an invitation from @bachounda. Looking forward to being efficient in doing this as this is the first presentation of Wikifunctions in Modern Standard Arabic. (re @vrandecic: Thank you so much for taking up this task and presenting at WikiArabia!) [21:08:52] @lucaswerkmeister any way you can increase the time for which a session cookie on Notwikilambda is valid? I keep having to re-log in every 15 min or so [21:09:10] I have no idea why that happens :( [21:09:15] it’s been that way since the beginning of the wiki [21:11:16] the session-related cookies seem to have an expiration of 30 days if I’m not mistaken [21:11:35] so I suspect it’s not that [21:13:13] also are inputs to functions via the web interface Unicode normalized (NFC) the way MediaWiki NFCs everything? [21:14:42] good question [21:15:05] if there’s an extra JSON-decode step in some parameter (like some Wikibase APIs) you might be able to smuggle in non-normalized Unicode that way [21:42:36] There's a number of opportunities in our code where Unicode can go awry. We haven't really stress tested it. In theory all technologies used are Unicode aware. But in theory we rarely have bugs. [21:44:42] theory is great :D [21:44:56] I'll make sure to use lots of weird unicode then :P [21:46:49] I’m sure it won’t cause problems at all that Python and JS have different ideas of string length (: [21:49:05] Or that reversing an emoji in JS and Python returns different results sometimes, like 🏳️‍⚧️ [21:49:20] Good! (re @Nikki: I'll make sure to use lots of weird unicode then :P) [21:50:21] oh? what happens? (re @Lindsay: Or that reversing an emoji in JS and Python returns different results sometimes, like 🏳️‍⚧️) [21:51:22] JS and Python both split the emoji (because it’s different characters), but they don’t agree on the individual parts of the glyph. It was very strange [21:51:46] I don’t have a demo up on NotWikiLambda, I was doing some local development [21:52:15] So is 🇬🇧 backwards 🇧🇬? [23:04:13] I found the flaw. When two diacritics are assigned to an Arabic letter, they can be confused. (re @Csisc1994: I have finished developing Z10164. However, it seems that there are several matters of the Python Compiler.) [23:05:55] Confused Diacritics can have a dire effect on using Wikifunctions in the natural language generation for Arabic Languages.