New Type: Igbo calendar months
We are happy to announce another new Type this week: an enumeration for the thirteen months of the Igbo calendar https://en.wikipedia.org/wiki/Igbo_calendar (Igbo calendar month (Z16927) https://www.wikifunctions.org/view/en/Z16927). https://www.wikifunctions.org/wiki/File:Nsibidi_moon.jpgThe symbol for the Moon in Nsibidi https://en.wikipedia.org/wiki/Nsibidi, an Igbo system in use since the 5th century CE
The Type follows the Type proposal https://www.wikifunctions.org/wiki/Wikifunctions:Type_proposals/Igbo_calendar_month led by Dolphyb https://www.wikifunctions.org/wiki/User:Dolphyb. We created the thirteen months of the Igbo calendar: Ọnwa Mbụ https://www.wikifunctions.org/view/en/Z16928, Ọnwa Abụo https://www.wikifunctions.org/view/en/Z16929, Ọnwa Ife Eke https://www.wikifunctions.org/view/en/Z16930, Ọnwa Anọ https://www.wikifunctions.org/view/en/Z16931, Ọnwa Agwụ https://www.wikifunctions.org/view/en/Z16932, Ọnwa Ifejiọkụ https://www.wikifunctions.org/view/en/Z16933, Ọnwa Alọm Chi https://www.wikifunctions.org/view/en/Z16934, Ọnwa Ilo Mmụọ https://www.wikifunctions.org/view/en/Z16935, Ọnwa Ana https://www.wikifunctions.org/view/en/Z16936, Ọnwa Okike https://www.wikifunctions.org/view/en/Z16937, Ọnwa Ajana https://www.wikifunctions.org/view/en/Z16938, Ọnwa Ede Ajana https://www.wikifunctions.org/view/en/Z16939, and Ọnwa Ụzọ Alụsị https://www.wikifunctions.org/view/en/Z16940.
A first function was also introduced, to check two Igbo months for equality https://www.wikifunctions.org/view/en/Z16945.
We are looking forward to seeing more Type proposals https://www.wikifunctions.org/wiki/Wikifunctions:Type_proposals for calendar months, particularly for other calendar systems that are currently in use, and that are relevant to Wikipedia.
In related news about new Types, we are still working on some final tasks that will enable the use of the (signed) integer Type. Presentation on Wikifunctions and Abstract Wikipedia in Munich
Next Thursday, June 20, 2024, at 19:00 local time in Munich, Germany,, Kristbaum https://www.wikifunctions.org/wiki/User:Kristbaum will be presenting on Wikifunctions and Abstract Wikipedia. Attendance is free, but they ask for an informal registration either via Email or on the wiki page of the event:
- WikiMUC: Sind Wikifunctions und Abstract Wikipedia die Zukunft der Wikipedia? https://de.wikipedia.org/wiki/Wikipedia:WikiMUC/2024-06-20_Sind_Wikifunctions_und_Abstract_Wikipedia_die_Zukunft_der_Wikipedia%3F
Recent Changes in the software
We added the relevant rights for creating and editing instances of 'enum' Types like Z16098/Month https://www.wikifunctions.org/view/en/Z16098 and Z16659/Sign https://www.wikifunctions.org/view/en/Z16659 (T366610 https://phabricator.wikimedia.org/T366610). For now, alongside Type creation, these rights are reserved for Function Maintainers (and Wikifunctions staff); as always, all users can add and edit their labels, short descriptions, and aliases.
We landed a few patches written last week as part of our regular "Fix-It" technical debt clearance initiative. We completed adding test coverage for our local Vue components https://doc.wikimedia.org/cover/WikiLambda/lcov-report/, now covering the CodeEditor one alongside the others (T358207 https://phabricator.wikimedia.org/T358207). We moved a handful of our legacy global functions out of the global JS namespace (T362925 https://phabricator.wikimedia.org/T362925).
We updated some of our browser tests to use i18n-independent selectors, as part of work to make them more stable (T349836 https://phabricator.wikimedia.org/T349836). Function of the Week: do these charges electrostatically attract?
Last week, we announced the Sign Type https://www.wikifunctions.org/wiki/Wikifunctions:Status_updates/2024-06-06, and I foolishly assumed that there wouldn’t be too many Functions for it. That was not meant as a challenge, but there are now more than a dozen Functions dealing with Signs. https://www.wikifunctions.org/wiki/File:Opposites_attract.svg
In order to recognize that work we selected one of these as the Function of the Week: do these charges electrostatically attract? (Z16781) https://www.wikifunctions.org/view/en/Z16781, do these charges electrostatically attract?
The Function takes two inputs of type Sign https://www.wikifunctions.org/view/en/Z16659 and returns a Boolean https://www.wikifunctions.org/view/en/Z40. The inputs are the two charges which are checked for whether they attract each other, or not. As the saying goes, opposites attract https://en.wikipedia.org/wiki/Opposites_Attract_(disambiguation): negative and positive attract each other, and if one value is negative and the other positive, the answer is true. In all other cases, it is false.
The Function has four Tests, one with an example of where it attracts – negative and positive https://www.wikifunctions.org/view/en/Z16783 – and three examples that do not: positive and positive https://www.wikifunctions.org/view/en/Z16784, positive and neutral https://www.wikifunctions.org/view/en/Z16785, and neutral and neutral https://www.wikifunctions.org/view/en/Z16786. For this Function, that’s a nice, balanced set of Tests.
The Function currently has one Implementation, a composition https://www.wikifunctions.org/view/en/Z16782: it relies on multiplying the two input Signs https://www.wikifunctions.org/view/en/Z16728 and checking whether the result of that multiplication is negative https://www.wikifunctions.org/view/en/Z16662 using the same Sign https://www.wikifunctions.org/view/en/Z16667 Function. When multiplying, you only get a negative result if one of the inputs is negative and the other is positive. And that’s what the Function is checking for.
The implementation seems quite a bit smarter than the one I would have made: using if https://www.wikifunctions.org/view/en/Z802 conditions to check whether one result is negative and the other positive, or the other way around, and return false https://www.wikifunctions.org/view/en/Z42 otherwise.
This is a Function I certainly did not have in mind when we introduced the Sign Type. I am happy to be surprised with the creativity of the community.
abstract-wikipedia@lists.wikimedia.org