Wikifunctions wikifunctionswiki https://www.wikifunctions.org/wiki/Wikifunctions:Main_Page MediaWiki 1.45.0-wmf.4 first-letter Media Special Talk User User talk Wikifunctions Wikifunctions talk File File talk MediaWiki MediaWiki talk Template Template talk Help Help talk Category Category talk TimedText TimedText talk Module Module talk Translations Translations talk Z60 0 13 191023 186681 2025-06-03T14:34:10Z Eduardogobi 2982 191023 zobject text/plain { "Z1K1": "Z2", "Z2K1": { "Z1K1": "Z6", "Z6K1": "Z60" }, "Z2K2": { "Z1K1": "Z4", "Z4K1": "Z60", "Z4K2": [ "Z3", { "Z1K1": "Z3", "Z3K1": "Z6", "Z3K2": "Z60K1", "Z3K3": { "Z1K1": "Z12", "Z12K1": [ "Z11", { "Z1K1": "Z11", "Z11K1": "Z1002", "Z11K2": "language tag" }, { "Z1K1": "Z11", "Z11K1": "Z1025", "Z11K2": "kod języka" }, { "Z1K1": "Z11", "Z11K1": "Z1592", "Z11K2": "språkkod" }, { "Z1K1": "Z11", "Z11K1": "Z1011", "Z11K2": "ভাষা কোড" }, { "Z1K1": "Z11", "Z11K1": "Z1645", "Z11K2": "语言标签" }, { "Z1K1": "Z11", "Z11K1": "Z1062", "Z11K2": "kód" }, { "Z1K1": "Z11", "Z11K1": "Z1186", "Z11K2": "קוד שפה" }, { "Z1K1": "Z11", "Z11K1": "Z1430", "Z11K2": "Code" }, { "Z1K1": "Z11", "Z11K1": "Z1113", "Z11K2": "code" }, { "Z1K1": "Z11", "Z11K1": "Z1078", "Z11K2": "kode" }, { "Z1K1": "Z11", "Z11K1": "Z1672", "Z11K2": "語言標籤" }, { "Z1K1": "Z11", "Z11K1": "Z1004", "Z11K2": "code" }, { "Z1K1": "Z11", "Z11K1": "Z1005", "Z11K2": "код языка" }, { "Z1K1": "Z11", "Z11K1": "Z1664", "Z11K2": "codul limbii" }, { "Z1K1": "Z11", "Z11K1": "Z1001", "Z11K2": "رمز اللغة" }, { "Z1K1": "Z11", "Z11K1": "Z1787", "Z11K2": "codice della lingua" } ] }, "Z3K4": { "Z1K1": "Z40", "Z40K1": "Z42" } }, { "Z1K1": "Z3", "Z3K1": { "Z1K1": "Z7", "Z7K1": "Z881", "Z881K1": "Z6" }, "Z3K2": "Z60K2", "Z3K3": { "Z1K1": "Z12", "Z12K1": [ "Z11", { "Z1K1": "Z11", "Z11K1": "Z1002", "Z11K2": "language tag aliases" }, { "Z1K1": "Z11", "Z11K1": "Z1025", "Z11K2": "alternatywne kody" }, { "Z1K1": "Z11", "Z11K1": "Z1592", "Z11K2": "alternativa koder" }, { "Z1K1": "Z11", "Z11K1": "Z1011", "Z11K2": "বিকল্প কোডসমূহ" }, { "Z1K1": "Z11", "Z11K1": "Z1645", "Z11K2": "语言标签别名" }, { "Z1K1": "Z11", "Z11K1": "Z1062", "Z11K2": "aliasy kódu" }, { "Z1K1": "Z11", "Z11K1": "Z1430", "Z11K2": "Code-Aliasse" }, { "Z1K1": "Z11", "Z11K1": "Z1113", "Z11K2": "code aliases" }, { "Z1K1": "Z11", "Z11K1": "Z1078", "Z11K2": "kode alternatif" }, { "Z1K1": "Z11", "Z11K1": "Z1672", "Z11K2": "語言標籤別名" }, { "Z1K1": "Z11", "Z11K1": "Z1004", "Z11K2": "code alternatif" }, { "Z1K1": "Z11", "Z11K1": "Z1005", "Z11K2": "синонимы кода" }, { "Z1K1": "Z11", "Z11K1": "Z1664", "Z11K2": "coduri alternative" }, { "Z1K1": "Z11", "Z11K1": "Z1001", "Z11K2": "رمز مستعار للغة" }, { "Z1K1": "Z11", "Z11K1": "Z1787", "Z11K2": "codici alternativi" } ] }, "Z3K4": { "Z1K1": "Z40", "Z40K1": "Z42" } } ], "Z4K3": "Z160", "Z4K4": "Z14326", "Z4K7": [ "Z46" ], "Z4K8": [ "Z64" ] }, "Z2K3": { "Z1K1": "Z12", "Z12K1": [ "Z11", { "Z1K1": "Z11", "Z11K1": "Z1002", "Z11K2": "Natural language" }, { "Z1K1": "Z11", "Z11K1": "Z1011", "Z11K2": "স্বাভাবিক ভাষা" }, { "Z1K1": "Z11", "Z11K1": "Z1025", "Z11K2": "Język naturalny" }, { "Z1K1": "Z11", "Z11K1": "Z1592", "Z11K2": "Naturligt språk" }, { "Z1K1": "Z11", "Z11K1": "Z1513", "Z11K2": "Természetes nyelv" }, { "Z1K1": "Z11", "Z11K1": "Z1062", "Z11K2": "Přirozený jazyk" }, { "Z1K1": "Z11", "Z11K1": "Z1430", "Z11K2": "natürliche Sprache" }, { "Z1K1": "Z11", "Z11K1": "Z1830", "Z11K2": "自然言語" }, { "Z1K1": "Z11", "Z11K1": "Z1005", "Z11K2": "Естественный язык" }, { "Z1K1": "Z11", "Z11K1": "Z1127", "Z11K2": "lenguaje natural" }, { "Z1K1": "Z11", "Z11K1": "Z1186", "Z11K2": "שפה טבעית" }, { "Z1K1": "Z11", "Z11K1": "Z1048", "Z11K2": "Ngôn ngữ tự nhiên" }, { "Z1K1": "Z11", "Z11K1": "Z1157", "Z11K2": "natuurlijke taal" }, { "Z1K1": "Z11", "Z11K1": "Z1276", "Z11K2": "Naturleg språk" }, { "Z1K1": "Z11", "Z11K1": "Z1227", "Z11K2": "Naturlig språk" }, { "Z1K1": "Z11", "Z11K1": "Z1004", "Z11K2": "langage naturel" }, { "Z1K1": "Z11", "Z11K1": "Z1851", "Z11K2": "ภาษาธรรมชาติ" }, { "Z1K1": "Z11", "Z11K1": "Z1616", "Z11K2": "naravni jezik" }, { "Z1K1": "Z11", "Z11K1": "Z1381", "Z11K2": "linguagem natural" }, { "Z1K1": "Z11", "Z11K1": "Z1237", "Z11K2": "Doğal dil" }, { "Z1K1": "Z11", "Z11K1": "Z1332", "Z11K2": "Природна мова" }, { "Z1K1": "Z11", "Z11K1": "Z1113", "Z11K2": "Natural language" }, { "Z1K1": "Z11", "Z11K1": "Z1657", "Z11K2": "ਕੁਦਰਤੀ ਬੋਲੀ" }, { "Z1K1": "Z11", "Z11K1": "Z1083", "Z11K2": "قدرتی بولی" }, { "Z1K1": "Z11", "Z11K1": "Z1820", "Z11K2": "कुदरती जुबान" }, { "Z1K1": "Z11", "Z11K1": "Z1191", "Z11K2": "قدرتي ٻولي" }, { "Z1K1": "Z11", "Z11K1": "Z1151", "Z11K2": "ꯉꯥꯡꯅꯕ ꯂꯣꯟ" }, { "Z1K1": "Z11", "Z11K1": "Z1878", "Z11K2": "ꠙꠇꠞꠤꠔ ꠜꠣꠡꠣ" }, { "Z1K1": "Z11", "Z11K1": "Z1078", "Z11K2": "Bahasa alami" }, { "Z1K1": "Z11", "Z11K1": "Z1645", "Z11K2": "自然语言" }, { "Z1K1": "Z11", "Z11K1": "Z1672", "Z11K2": "自然語言" }, { "Z1K1": "Z11", "Z11K1": "Z1643", "Z11K2": "자연어" }, { "Z1K1": "Z11", "Z11K1": "Z1827", "Z11K2": "φυσική γλώσσα" }, { "Z1K1": "Z11", "Z11K1": "Z1003", "Z11K2": "Lengua natural" }, { "Z1K1": "Z11", "Z11K1": "Z1099", "Z11K2": "natierlech Sprooch" }, { "Z1K1": "Z11", "Z11K1": "Z1014", "Z11K2": "Asụsụ eke" }, { "Z1K1": "Z11", "Z11K1": "Z1360", "Z11K2": "🗣️" }, { "Z1K1": "Z11", "Z11K1": "Z1288", "Z11K2": "زمانی سروشتی" }, { "Z1K1": "Z11", "Z11K1": "Z1664", "Z11K2": "Limbă naturală" }, { "Z1K1": "Z11", "Z11K1": "Z1001", "Z11K2": "لغة طبيعية" }, { "Z1K1": "Z11", "Z11K1": "Z1787", "Z11K2": "Lingua naturale" }, { "Z1K1": "Z11", "Z11K1": "Z1051", "Z11K2": "luonnollinen kieli" } ] }, "Z2K4": { "Z1K1": "Z32", "Z32K1": [ "Z31", { "Z1K1": "Z31", "Z31K1": "Z1127", "Z31K2": [ "Z6", "lengua natural" ] }, { "Z1K1": "Z31", "Z31K1": "Z1002", "Z31K2": [ "Z6", "ordinary language" ] }, { "Z1K1": "Z31", "Z31K1": "Z1237", "Z31K2": [ "Z6", "sıradan dil" ] }, { "Z1K1": "Z31", "Z31K1": "Z1657", "Z31K2": [ "Z6", "ਕੁਦਰਤੀ ਭਾਸ਼ਾ", "ਕੁਦਰਤੀ ਭਾਖਾ" ] }, { "Z1K1": "Z31", "Z31K1": "Z1083", "Z31K2": [ "Z6", "قدرتی بھاشا", "قدرتی بھاکھا" ] }, { "Z1K1": "Z31", "Z31K1": "Z1078", "Z31K2": [ "Z6", "Bahasa manusia", "Bahasa biasa" ] }, { "Z1K1": "Z31", "Z31K1": "Z1381", "Z31K2": [ "Z6", "linguagem ordinária" ] }, { "Z1K1": "Z31", "Z31K1": "Z1004", "Z31K2": [ "Z6", "langage ordinaire" ] }, { "Z1K1": "Z31", "Z31K1": "Z1664", "Z31K2": [ "Z6", "limbă obișnuită" ] }, { "Z1K1": "Z31", "Z31K1": "Z1787", "Z31K2": [ "Z6", "linguaggio naturale" ] } ] }, "Z2K5": { "Z1K1": "Z12", "Z12K1": [ "Z11", { "Z1K1": "Z11", "Z11K1": "Z1011", "Z11K2": "যে শব্দাবলি দিয়ে এই উইকিতে বস্তুর নাম/বিবরণ/উপনাম লেখা হয়" }, { "Z1K1": "Z11", "Z11K1": "Z1127", "Z11K2": "idioma hablado o escrito por humanos para propósitos generales de comunicación" }, { "Z1K1": "Z11", "Z11K1": "Z1002", "Z11K2": "language naturally spoken by humans" }, { "Z1K1": "Z11", "Z11K1": "Z1062", "Z11K2": "jazyk přirozeně používaný lidmi" }, { "Z1K1": "Z11", "Z11K1": "Z1157", "Z11K2": "taal die van nature door mensen wordt gesproken" }, { "Z1K1": "Z11", "Z11K1": "Z1851", "Z11K2": "ภาษาที่พูดโดยมนุษย์ทั่วไป" }, { "Z1K1": "Z11", "Z11K1": "Z1616", "Z11K2": "jezik, ki ga govorijo ljudje" }, { "Z1K1": "Z11", "Z11K1": "Z1381", "Z11K2": "linguagem naturalmente falada pelos humanos" }, { "Z1K1": "Z11", "Z11K1": "Z1237", "Z11K2": "insanların doğal olarak konuştuğu dil" }, { "Z1K1": "Z11", "Z11K1": "Z1113", "Z11K2": "language naturally spoken by humans" }, { "Z1K1": "Z11", "Z11K1": "Z1657", "Z11K2": "ਇਨਸਾਨਾਂ ਦੁਆਰਾ ਬੋਲੀ ਜਾਣ ਵਾਲੀ ਭਾਸ਼ਾ" }, { "Z1K1": "Z11", "Z11K1": "Z1078", "Z11K2": "bahasa yang dituturkan secara alami oleh manusia" }, { "Z1K1": "Z11", "Z11K1": "Z1827", "Z11K2": "γλώσσα που ομιλείται από τους ανθρώπους" }, { "Z1K1": "Z11", "Z11K1": "Z1003", "Z11K2": "lengua naturalmente hablado por humanos" }, { "Z1K1": "Z11", "Z11K1": "Z1014", "Z11K2": "asụsụ nke ụmụ mmadụ na-asụ." }, { "Z1K1": "Z11", "Z11K1": "Z1288", "Z11K2": "زمانێک کە بە شێوەیەکی سروشتی لەلایەن مرۆڤەکانەوە قسەی پێ دەکرێت" }, { "Z1K1": "Z11", "Z11K1": "Z1004", "Z11K2": "langage naturellement parlé par les humains" }, { "Z1K1": "Z11", "Z11K1": "Z1664", "Z11K2": "limbă vorbită de către oameni în mod natural" }, { "Z1K1": "Z11", "Z11K1": "Z1001", "Z11K2": "لغة يتحدثها بشر بطبيعتهم" }, { "Z1K1": "Z11", "Z11K1": "Z1787", "Z11K2": "Lingua naturalmente parlata dagli esseri umani" } ] } } 4y0at1xwgdvx8mlfe289u2wsildasi6 Wikifunctions:Suggest a function 4 1176 190995 190901 2025-06-03T14:08:31Z Denny 81 /* Gregorian calendar date */ 190995 wikitext text/x-wiki Do you have an idea for a new function? Suggest it here! It may help to refer to [[Wikifunctions:Glossary|our glossary]]. You can [https://www.wikifunctions.org/wiki/Special:CreateZObject?zid=Z8 create a function] right away if you have the user-rights. If a function requires a new type, consider [[WF:TP|proposing it]]. Note that for now '''we only support a limited number of types as input and output types''' of functions. More types are coming in the next few months. For the full list, see [[WF:Type]]. Once created, consider adding new Functions to the [[Wikifunctions:Catalogue|catalogue]]. [[Category:Maintenance]] == Proposed functions requiring only available types (string, Boolean, Natural number, list) == === String === ==== String character discard functions ==== * remove stereochemical specificity in [[:en:Simplified_molecular-input_line-entry_system|SMILES]] string, like e/z isomers ** already fulfilled by someone else at: [[Z11815]] * simplify [[:en:Simplified_molecular-input_line-entry_system|SMILES]] string according to some basic simplifications ** {{Partly done}}, see [[Z19380]]. There's testcases, and I (or someone else) can get around to the coding later. [[User:MolecularPilot|MolecularPilot]] ([[User talk:MolecularPilot|talk]]) 10:21, 26 October 2024 (UTC) *** {{Done}} completely, still at [[Z19380]]. Another user helpfully wrote a python script that passed 1 of my test cases between October and now. I just re-wrote the script to pass all 3 test cases, and also created a JavaScript version. [[User:MolecularPilot|MolecularPilot]] ([[User talk:MolecularPilot|talk]]) 03:43, 10 January 2025 (UTC) ==== String character replacement functions ==== ==== String search functions ==== ==== String escaping and unescaping functions ==== ==== String encoding and decoding functions ==== * Unicode normalising functions (there are several types of normalisation) * [[wikidata:Q47467628|Backslash-U with delimiters ASCII encoding of Unicode encode]] ** Can someone elaborate on this? No example cases were given on the document, and backslash-U with delimiters is anyway not that prevalent as far as I have seen. [[User:BrightSunMan|BrightSunMan]] ([[User talk:BrightSunMan|talk]]) 15:24, 26 December 2023 (UTC) ** {{Done}}, see [[Z21486]]. I've made 5 test cases (achieving 100% coverage) and implementations in both JavaScript and Python, which passes all test cases. Support for both the Basic Multilingual Plane (BMP) and supplementary characters (using surrogate pairs). [[User:MolecularPilot|MolecularPilot]] ([[User talk:MolecularPilot|talk]]) 02:49, 10 January 2025 (UTC) * [[wikidata:Q47467628|XML and HTML ASCII encoding of Unicode encode]] ** {{Done}}, see [[Z21503]]. Again, I've also made 5 test cases which cover a wide variety of Unicode characters, and implementations in JS and Python (which pass all the tests). As before successful support for both the Basic Multilingual Plane (BMP) and supplementary characters (this time '''not using''' surrogate pairs, as is customary for HTML/XML encoding). [[User:MolecularPilot|MolecularPilot]] ([[User talk:MolecularPilot|talk]]) 05:30, 10 January 2025 (UTC) * [https://html.spec.whatwg.org/#named-character-references HTML named character encode] * [[wikidata:Q47466379|Punycode encode]] - [[Z10178]] (part only, not whole url); see also [[Z10185]] * [[:en:Unified_English_Braille|Unified English Braille encode]] (discarding invalid characters?) ** {{Done}}, see [[Z21514]]. 6 test cases this time, and support for both letters and numbers, with implementations in JS and Python (both passing all the tests). [[User:MolecularPilot|MolecularPilot]] ([[User talk:MolecularPilot|talk]]) 06:00, 10 January 2025 (UTC) ==== String presentation functions ==== * add [[:en:Quotation_mark|locale-specific quotation marks]] to string ** Shouldn't the output depend on the locale? See [[mw:Extension:Scribunto/Lua_reference_manual#mw.language:formatNum|mw.language:formatNum]]. —[[User:Dexxor|Dexxor]] ([[User talk:Dexxor|talk]]) 17:15, 4 September 2023 (UTC) ==== String colour notation functions ==== * [[:en:Complementary_colors|complementary colour]] in RGB colour model ("#FF0000" ⇒ "#00FFFF") ** Any specification on invalid inputs? [[User:MilkyDefer|<span style="color:#09C">Milky</span>]][[User talk:MilkyDefer|'''<span style="color:#F09">Defer</span>''']] 11:22, 5 August 2023 (UTC) *:Great question. I don't think there is a position documented on Wikifunctions for how to handle invalid input to a function. Can we throw exceptions? Return null? [[User:Dhx1|Dhx1]] ([[User talk:Dhx1|talk]]) 13:23, 6 August 2023 (UTC) *::This shouldn't be a string function. This should be a type that represents a RGB color (with corresponding validation function (hopefully it can just be three unsigned 8bit integers)) and a function that returns the complementary color. [[User:0xDeadbeef|0xDeadbeef]] ([[User talk:0xDeadbeef|talk]]) 12:38, 7 August 2023 (UTC) ** Work on the color type has been stalled for over a year. But this task is {{Done}}, I have made [[Z21554]], that uses string hex codes (with or without the initial # and supporting short hex format). This is probably the most optimal format, as I can imagine this function being used on-wiki for thing like the style parameter (CSS) of MediaWiki tags, or of templates etc. There's 5 testcases I've made, which are passed by both my JS and Python versions. :) [[User:MolecularPilot|MolecularPilot]] ([[User talk:MolecularPilot|talk]]) 03:39, 11 January 2025 (UTC) ==== String notation validation checks ==== * check if string is an [[:en:International_Chemical_Identifier]] ** {{Partly done}} see [[Z21539]]. Supports the verification of the chemical formula and the stereochemical layer. There are 13 testcaes that I've written, all of which are passed by my JavaScript implementation. Note that a python implementation is not possible as the regex module is not available in Wikifunctions. [[User:MolecularPilot|MolecularPilot]] ([[User talk:MolecularPilot|talk]]) 03:09, 11 January 2025 (UTC) ** To do: *** Needs to verify the hydrogen and connection sections of the main layer *** Support the charge layer *** Support the isotopic layer **[[User:MolecularPilot|MolecularPilot]] ([[User talk:MolecularPilot|talk]]) 03:09, 11 January 2025 (UTC) ***{{ping|MolecularPilot}} A python impl. is infact possible. I created a basic direct translation at [[Z22823]]. Some tests are failing as the regex needs a bit of sorting out, out of scope for me, but you can give it a try! Keep in mind that you need to escape any \ with a \\ just before saving per [[Wikifunctions:Python_implementations#Known_limitations_as_of_October_2024]]. <span style="font-family:monospace;font-weight:bold">[[User:Bunnypranav|<span style="color:#63b3ed">~/Bunny</span><span style="color:#2c5282">pranav</span>]]:&lt;[[User talk:Bunnypranav|<span style="color:#63b3ed">ping</span>]]&gt;</span> 06:14, 26 February 2025 (UTC) * check if string is a [[:en:SMILES_arbitrary_target_specification|SMILES arbitrary target specification (SMARTS) notation]] * check if string is an [[:en:ABC_notation|ABC notation]] * check if string is a [[:en:LilyPond|LilyPond notation]] * {{Doing}} check if string is a [[:en:Portable_Game_Notation|portable game notation]] for a chess game ([[Z15867]], figuring out how to add newlines to the test input) * [[Z14643]] check if string is [[:en:Forsyth–Edwards Notation|Forsyth–Edwards Notation]] for a chess position * check if string is a [[:en:UIC_classification_of_locomotive_axle_arrangements|UIC classification of locomotive axle arrangements notation]] * check if a string is a valid [[:en:ISBN|ISBN]]-13 (probably just a simple variant of [[Z10821]], dropping/validating the hyphens) ** {{Done}} at [[Z23561]]. Note than ISBN-13 starts with only 978/979, a differing factor from EAN. I have added that in the func and tests as well. <span style="font-family:monospace;font-weight:bold">[[User:Bunnypranav|<span style="color:#63b3ed">~/Bunny</span><span style="color:#2c5282">pranav</span>]]:&lt;[[User talk:Bunnypranav|<span style="color:#63b3ed">ping</span>]]&gt;</span> 12:53, 26 March 2025 (UTC) * check if a string is a valid [[:en:Digital_object_identifier|DOI]] ** Something about implementation difficulties: https://stackoverflow.com/questions/27910/finding-a-doi-in-a-document-or-page [[User:Alexander-Mart-Earth|Alexander-Mart-Earth]] ([[User talk:Alexander-Mart-Earth|talk]]) 14:28, 21 December 2023 (UTC) * check if a string is a valid [[:en:ISWN|ISWN]] ** {{Done}}, see [[Z21562]]. Contains 6 test cases that I made, all of which are passed by my Python and JavaScript implementations. It supports both just numbers, and a string containing the "separator" symbols (like ., - and /). [[User:MolecularPilot|MolecularPilot]] ([[User talk:MolecularPilot|talk]]) 07:32, 11 January 2025 (UTC) ==== String validation checks ==== * {{doing}} check if string is in [[:en:Camel_case|lower camel case]] * check if string is a valid ISO 3166 country code * check if string is a valid ISO 8601 date/time (2023-08-03 ⇒ true; 2023-02-30 ⇒ false; 2023-08-03 15:00:00.000 ⇒ true; 2023-08-03 25:00:00.000 ⇒ false) ** {{Done|by=Philipnelson99}} at [[Z14206]]. <span style="font-family:monospace;font-weight:bold">[[User:Bunnypranav|<span style="color:#63b3ed">~/Bunny</span><span style="color:#2c5282">pranav</span>]]:&lt;[[User talk:Bunnypranav|<span style="color:#63b3ed">ping</span>]]&gt;</span> 06:23, 26 February 2025 (UTC) * check if string is a valid [[:en:ISO_8601#EDTF|EDTF]] date/time * {{doing}} check if string is a valid email address (watch out, see [https://github.com/kdeldycke/awesome-falsehood#emails this list of falsehoods] about email addresses to create unit tests - email addresses are more complicated than they seem) — [[Z10410]] creating test cases in progress. Currently it is stuck on figuring out what exactly is a valid emaill address. Nearly every errata for [[RFC:3696]] is about that. * {{doing}} check if string is a valid [[d:Help:Items|Wikidata item]] — [[Z10696]] (possibly stuck on [[phab:T343593]]?) ====String analysis functions==== *Word frequency counting. Provide a list of words and their frequencies. **{{Done}}, see [[Z21593]]. Providing a list of words and frequencies would require a new type, so instead it requires the sentence and the word you want to count, and returns the occurrences. Hyphenated words are not considered a match of their components, i.e. "fast-forward" is a match of "fast-forward" but nether "fast" nor "forward", I think this is the optimal behaviour but if someone disagrees we can change it. There is a JS implementation that I made which bases all of my 4 test cases. [[User:MolecularPilot|MolecularPilot]] ([[User talk:MolecularPilot|talk]]) 05:41, 12 January 2025 (UTC) *:@[[User:MolecularPilot|MolecularPilot]] And I have added a Python implementation at [[Z22473]]. I would appreciate if you could attach it! <span style="font-family:monospace;font-weight:bold">[[User:Bunnypranav|<span style="color:#63b3ed">~/Bunny</span><span style="color:#2c5282">pranav</span>]]:&lt;[[User talk:Bunnypranav|<span style="color:#63b3ed">ping</span>]]&gt;</span> 08:13, 15 February 2025 (UTC) *::Cool, thank you so much for doing it! Someone's already beat me to it re attaching it, but great work! :) [[User:MolecularPilot|MolecularPilot]] ([[User talk:MolecularPilot|talk]]) 21:33, 16 February 2025 (UTC) ==== Monolingual text ==== ==== String Wikitext operations ==== ... === Natural number === * rectified linear unit (ReLU) - https://www.wikifunctions.org/view/en/Z13909 === Integer=== * {{Done}} - multiply vectors ([[Z21903]], [[Z20659]]) === Byte === See [[Wikifunctions:Catalogue/Boolean operations#Byte functions|existing Byte functions]] in catalogue. * next byte without overflow: byte → byte * previous byte without overflow: byte → byte * next byte by Gray code: byte → byte * previous byte by Gray code: byte → byte * get nth bit as Boolean: byte, natural number → boolean * highest bit set: byte → boolean * lowest bit set: byte → boolean * all bits set: byte → boolean * no bits set: byte → boolean * set nth bit: byte, natural number → byte * clear nth bit: byte, natural number → byte * switch nth bit: byte, natural number → byte * add bytes without overflow: byte, byte → byte * subtract bytes without overflow: byte, byte → byte * multiply bytes without overflow: byte, byte → byte * clamped add bytes: byte, byte → byte * clamped subtract bytes: byte, byte → byte * clamped multiply bytes: byte, byte → byte * add bytes with overflow: byte, byte → byte * subtract bytes with overflow: byte, byte → byte * multiply bytes with overflow: byte, byte → byte * modulo bytes: byte, byte → byte * byte division: byte, byte → byte * reverse: byte → byte * right shift: byte → byte * left shift: byte → byte * right shift by n: byte, natural number → byte * left shift by n: byte, natural number → byte * right shift as ring: byte → byte * left shift as ring: byte → byte * right shift by n as ring: byte, natural number → byte * left shift by n as ring: byte, natural number → byte * how many bits set: byte → natural number === Unicode code point === See [[Wikifunctions:Catalogue/Character operations#Unicode code points|existing code point functions in catalogue]]. * Codepoint to list of bytes for UTF-8 * Codepoint to list of bytes for UTF-16 * Codepoint to list of bytes for UTF-32 ===Object=== === List === ==== Basic list/iterable functions ==== * group * [[w:Circular shift]] ==== Complex list functions ==== * zip lists together: for [ A .. Z ] and [ 1 .. 26 ] return [ [ A, 1 ], [ B, 2 ], .. ] ** Unsure what happens if input lists are of different lengths. ** If possible this function should be able to zip more than 2 lists together... 3, 4, n? Perhaps the input should be list(list, list, list, list, ..). *{{Z+|Z19198}} ==== CSV list operations ==== * list of strings to csv : number -> list of decimal digits<br>number -> list of binary digits<br>number -> list of digits in base provided [[User:Well very well|Well very well]] ([[User talk:Well very well|talk]]) 11:20, 18 May 2024 (UTC) === Functions with functions as arguments === * sort, by a given function * test whether certain functions have specific properties of [[:w:Homogeneous_relation|homogeneous relations]] for particular lists/sets * remove first element matching filter from list === Biology === ==== Taxon functions ==== * Wikidata item representing taxon rank ({{Q|P31}} {{Q|Q427626}}) is at genus level or below ** Should(?) be possible with the current Wikidata functionality, from what I understand. See [[:Wikifunctions:Project chat#Taxon rank function(s)]] for a more detailed explanation. --[[User:WrenFalcon|WrenFalcon]] ([[User talk:WrenFalcon|talk]]) 23:27, 16 May 2025 (UTC) === Gregorian calendar date === * Create a reading function for Dagbani that handles all the possible formats (both the English-linke and the traditional ones, both the Gregorian and the Hijra calendars). [https://docs.google.com/document/d/1u7-ZeY7NHt75JICUPAYky3-7KgkvauD_W3fBjmvpFO0/edit?tab=t.0#heading=h.gf6hp9o3gi0j] [[User:Dv103|Dv103]] ([[User talk:Dv103|talk]]) 15:43, 31 May 2025 (UTC) * day of year from date * year from date * era from date * before / sooner / earlier * after / later * same month * same calendar date * same calendar year * same day of the week * within a year * within a week * within n days * n days later * n days earlier * n weeks later * n weeks earlier * n months later * n months earlier * n years later * n months later * Julian day number to date * how many leap days passed between two dates * how many weekdays between two dates * is it easter * days until next easter * days since last easter * day number of the year * days until the end of the year * is proleptic * within Pythons date implementation * within JavaScript's date implementation == Morphological functions == morphology is the part of linguistics that studies how language parts are 'shaped' and change diachronically and when inflected. Hausa, Igbo, Malayalam, Bangla/Bengali and Dagbani are [[d:Wikidata:Lexicographical data/Focus languages|focus languages]] for Wikidata's lexicographic dataset, which is an important aspect of [[WF:glossary#Abstract Wikipedia|Abstract Wikipedia]]. === mul - Multiple languages === * inputs: natural number (new numeric type) and language Z-number; output: 'singular', 'dual', 'paucal', 'plural', etc. as string *: {{doing}}: {{Z|15977}} === ase - American Sign Language === * string: Stokoe to ase-[https://github.com/sutton-signwriting/core Sgnw] and vice-versa (consult {{ping|Slevinski}} as to best approach) === bn - Bangla === === cy - Welsh === [[w:en:colloquial Welsh morphology]] === dag - Dagbani === === de - German === * tense * person * number for each verb ** tenses: present, past, ...? ** person: first, second, third ** number: singular, plural ** {{doing}} third person singular present ** second person singular preterite === en - English === * [[Z11390]] Verb -> agent noun, e.g. "dance"->"dancer" * Join English morphemes (extends [[Z13254]] to cases like re + en + able + er + s → re-enablers. [[Z13254]] will correctly join re-enable + ers or re- + enablers, but re + enablers → “renablers” (incorrect). [[Z13275]] tests the Reduce function to produce “detoxification” from a list of four morphemes (orchestrator limit exceeded with five). I doubt we’ll want to derive “toxify” from “toxic”, however. * Derive lemmas from a form. This is envisaged as the converse of Join English morphemes. The focus would be identifying the base form (the lexeme’s lemma) rather than further segmenting the lemma. For example, “underlay” should return “underlie” (for which it is the past participle) and the noun “underlay” (for which it is the lemma) and (perhaps) the verb “underlay”, which might be the tendency of an unproductive hen or the activity of a carpet-fitter. As this is a purely functional converse, every string will have itself as a possible lemma. * Generate [[:w:Numeral_prefix|Numerical prefixes]] of various kinds from a natural number input. * {{Z+|Z19499}} '''<big>eu - Basque</big>''' * Basque language declension system in rather regular based on suffixes. ** Here a few examples for Basque declension: *** {{Z+|Z18541}} *** {{Z+|Z18670}} **Before implementing all of them, we may propose an overall classification that eases both the implementation and the future usage of the functions. Here a first try based on bibliography from the [https://www.euskaltzaindia.eus/index.php?option=com_ebe&view=bilaketa&task=pdf&Itemid=1161&atala=deklinabide-taulak Basque Language Academy]: ***Personal pronouns: they can be treated as exceptions (e.g. "zuek -> zuei", etc.) together with proper noun declension, or as a separate case. ***Determiners: they can be treated as exceptions (e.g. "hau" -> "honek", etc) together with common noun declension, or as a separated case ***Grammatical cases: ****Absolutive ("Nor"): indefinite, singular and plural ****Ergative ("Nork"): indefinite, singular and plural ****Dative ("Nori"): indefinite, singular and plural ***Place and Time: we must distinguish animate (AN) and inanimate (IN) ****Inessive IN ("Non"): indefinite, singular and plural ****Inessive AN ("Norengan"): indefinite, singular and plural - It could be a composition of "Noren" + "-gan" ****Place and time ("Nongo"): indefinite, singular and plural ****Allative IN ("Nora"): indefinite, singular and plural ****Allative AN ("Norengana"): indefinite, singular and plural - It could be a composition of "Noren/Norengan" + "-gan/-a" ****Finished Allative AN ("Noraino"): indefinite, singular and plural - It could be a composition of "Nora" + "-ino" ****Finished Allative AN ("Norengainaino"): indefinite, singular and plural - It could be a composition of "Noregana" + "-ino" ****Right way Allative IN ("Noratz"): indefinite, singular and plural - It could be a composition of "Nora" + "-ntz" ****Right way Allative AN ("Norenganantz"): indefinite, singular and plural - It could be a composition of "Norengana" + "-ntz" ****Ablative IN ("Nondik"): indefinite, singular and plural ****Ablative AN ("Norengandik"): indefinite, singular and plural ***Rest of the cases: ****Partitive ("Zerik"): indefinite ****Possessive ("Noren"): indefinite, singular and plural ****Sociative ("Norekin"): indefinite, singular and plural ****Instrumental ("Zerez"): indefinite, singular and plural ****Motivative ("Zerengatik"): indefinite, singular and plural ****Destinative ("Norentzat"): indefinite, singular and plural - It could be a composition of "Noren" + "-tzat" ***Special case: ****Prolative ("Nortzat"): indefinite ***To take into consideration: ****Together with animate and inanimate classification, we should also consider if the noun is a proper noun ("izen berezia"). We can identify that automatically (e.g. check if written in Title case, but this may not be always possible like in the beginning of sentences), but a dedicated function may be preferred (or a boolean to the generic function saying it is a proper noun). ****The main distinction is between noun ending by vowel or consonant that can be easily computed === fr - French === * [[Z11590]] Masculine adjective -> feminine, e.g. "exact"->"exacte" * Conjugated verb => Infinitive, e.g. "alla" => "aller", "mordit" => "mordre" === ha - Hausa === A notated demo sentence ("Aishà taa jeefar dà kàren Indoo" ― "Aisha threw away Indo's dog") is available at http://intent.xigt.org === ig - Igbo === === ldn - Láadan === section moved to [[WF:human languages/Z1882]] === ml - Malayalam === ===kcg - Tyap=== * Tyap has six determiners/definite articles which determine the pronoun, number (1-5), etc. forms used. ** ka & wu (basically for singular nouns and adjectives with a few exceptions) ** hu & ji (for singular and plural nouns and adjectives) ** ba & na (mainly for plural nouns. *** Determiners come after nouns. *** When an adjective comes before a noun, the determiner used is that of the adjective. E.g., a̱sham (ka) - (the) beautiful, kyang (hu) - (the) thing = a̱sham kyang (ka) - (the) beautiful thing. * Tyap has a non-uniform noun class system used for noun pluralization and conversion from one part of speech to another. E.g., a̱bwom (song) and bwom (to sing), a̱fufwuo (ears) and fufwuo (ear). * Affixation: Prefixes exist but suffixes hardly are found. == Proposed functions requiring future types == '''Note these functions cannot be implemented properly until the needed types are requested and approved.''' If one wishes to nevertheless attempt to define and implement them, * the functions and implementations should indicate prominently in their labels that their input/output types must be adjusted once support for the appropriate replacement types become available; ''and'' * the functions should ''not'' be used in the implementations of any other functions, as the later adjustment of input/output types to appropriate replacements will break those implementations. === String manipulation functions === === String analysis functions === * count distance between two letters in given alphabet (default to 26-charcater western alphabet. case insensitive. e.g. "a" & "A" ⇒ 0; "K" & "N" ⇒ 3) === String encoding and decoding functions === (would be better with types representing a stream of bytes) * [[wikidata:Q113486941|BASE45 encode]] * [[wikidata:Q113486941|BASE45 decode]] * Hexadecimal UTF-8 encode ("ABC ₤" ⇒ "41 42 43 20 E2 82 A4") * Hexadecimal UTF-8 decode ("41 42 43 20 E2 82 A4" ⇒ "ABC ₤") * Decimal UTF-8 encode ("ABC ₤" ⇒ "65 66 67 32 226 130 164") * Decimal UTF-8 decode ("65 66 67 32 226 130 164" ⇒ "ABC ₤") * Octal UTF-8 encode ("ABC ₤" ⇒ "101 102 103 40 342 202 244") * Octal UTF-8 decode ("101 102 103 40 342 202 244" ⇒ "ABC ₤") * Binary UTF-8 encode ("ABC ₤" ⇒ "01000001 01000010 01000011 00100000 11100010 10000010 10100100") * Binary UTF-8 decode ("01000001 01000010 01000011 00100000 11100010 10000010 10100100" ⇒ "ABC ₤") * Unicode code point encode ("ABC ₤" ⇒ "41 42 43 20 20A4") - [[Z10785]] * Unicode code point decode ("41 42 43 20 20A4" ⇒ "ABC ₤") * Create regular expression object/string (i.e: "test" & "i" to /test/i) === Natural language functions === * Choose singular or plural based on number (e.g. singularOrPlural("person",6") -> "people") ** Note that there are also dual and other [[:w:grammatical number|grammatical number]]s in other languages. [[User:魔琴|魔琴]] ([[User talk:魔琴|talk]]) 18:54, 26 October 2023 (UTC) ** relevant interwiki link: [[d:WD:property proposal/plural forms]] [[User:Arlo Barnes|Arlo Barnes]] ([[User talk:Arlo Barnes|talk]]) 04:15, 9 February 2024 (UTC) === Cryptographic hash functions === (would be better with types representing a stream of bytes) * {{todo}} [[wikidata:Q47477417|MD2]] - [[Z10135]] * {{todo}} [[wikidata:Q47462255|MD4]] - [[Z10136]] * {{todo}} [[wikidata:Q27036232|MD5]] - [[Z10137]] * {{todo}} [[wikidata:Q47208127|RIPEMD-128]] - [[Z10138]] * {{todo}} [[wikidata:Q47208127|RIPEMD-160]] - [[Z10139]] * {{todo}} [[wikidata:Q47463469|BLAKE2b-160]] - [[Z10140]] * {{todo}} [[wikidata:Q47463469|BLAKE2b-256]] - [[Z10141]] * {{todo}} [[wikidata:Q47463469|BLAKE2b-384]] - [[Z10142]] * {{todo}} [[wikidata:Q47463469|BLAKE2b-512]] - [[Z10143]] * {{todo}} [[wikidata:Q47463469|BLAKE2s-128]] - [[Z10144]] * {{todo}} [[wikidata:Q47463469|BLAKE2s-160]] - [[Z10145]] * {{todo}} [[wikidata:Q47463469|BLAKE2s-224]] - [[Z10146]] * {{todo}} [[wikidata:Q47463469|BLAKE2s-256]] - [[Z10147]] * {{todo}} [[wikidata:Q47465971|SHA-224]] - [[Z10149]] * {{todo}} [[wikidata:Q47465971|HMAC-SHA-256]] * {{todo}} [[wikidata:Q87486893|SHAKE-128]] - [[Z10150]] * {{todo}} [[wikidata:Q87486893|SHAKE-256]] - [[Z10151]] === Colour functions === * return colour contrast ratio (per [https://webaim.org/articles/contrast/]) of two RGB colours (provided as strings e.g. "#FF0000") === Date, time, and calendric functions === Note: 'time' type not yet supported, use 'string' (or for strictly numeric values, 'natural number') ==== Bengali calendar ==== {{z+|12926}} ==== Chinese calendar ==== ==== French Republican Calendar ==== decimalises and secularises the Gregorian * day names: {{Z+|13006}}{{not done}} '''yet''' ==== Gregorian ==== widely used calendar derived from the Julian, basis for [[xkcd:1179|ISO 8601]] * date to ISO week number {{q|2110154}} * string to date * date to ISO 8601 string *: {{done}}, see {{z|21842}}. --[[User:Sbb1413|Sbb1413]] ([[User talk:Sbb1413|talk]]) 18:47, 21 January 2025 (UTC) * date to year (yyyy) * date to month of the year (1-12) * date to month name (January-December) * date to day of the month (1-31) * date to hour of the day (0-23) * date to minutes (0-59) * date to seconds (0-59) Named Day from Date or day of year ; Input type : Date ; Output Type : String. ; The initial use case was automated population of On The Day, based on various collections of Holidays, festival days and observances. ? [[User:ShakespeareFan00|ShakespeareFan00]] ([[User talk:ShakespeareFan00|talk]]) 19:35, 26 March 2025 (UTC) :So If you gave it 2025-05-01 It said "All Fools Day" etc.. Possibly an additional input of enumrated type to indicate which data set to pull holidays, fesitvals and observances from. [[User:ShakespeareFan00|ShakespeareFan00]] ([[User talk:ShakespeareFan00|talk]]) 19:35, 26 March 2025 (UTC) Diary/calander Header function - Using the above and other date functions, generates a data set from a given date. Hence if you give it 2003-05-01 you get back a JOSN set contianing the {Day of week:String, Day in the Month, Observances} etc. [[User:ShakespeareFan00|ShakespeareFan00]] ([[User talk:ShakespeareFan00|talk]]) 19:35, 26 March 2025 (UTC) ==== Holocene calendar ==== * [[w:en:Holocene calendar#Conversion]] *: {{done}}, see {{z|21913}}. --[[User:Sbb1413|Sbb1413]] ([[User talk:Sbb1413|talk]]) 13:30, 25 January 2025 (UTC) ==== Indian national calendar ==== ==== Islamic ==== a Lunar calendar, also called Hijri ==== Julian ==== mostly used by astronomers, some historians, and some Orthodox Christian denominations ==== Mesoamerican calendars ==== including civil and clerical forms ==== Persian ==== also called Jalali ==== Thai calendar ==== ==== Hebrew calendar ==== ==== Darian calendar ==== Proposed time-keeping system for Mars, requires Julian Date/Time to calculate. === Basic numerical functions === * round up ("1.289" & "2" ⇒ "1.29"; "5678" & "2" ⇒ "5700") *: So if the number is floating point, round to n decimal places, and if not, round to n significant figures. Is that right? [[User:BrightSunMan|BrightSunMan]] ([[User talk:BrightSunMan|talk]]) 19:36, 24 December 2023 (UTC) * round down * return integer value (5678.678 ⇒ 5678) * {{Z+|Z13587}} (23 ⇒ "twenty-three") * Convert money from US$ to anything else ** requires source of conversion rates, which is a hole in function-likeness * Arabic numeral to Etruscan numeral * Etruscan numeral to Arabic numeral * floor and ceiling functions, based on defined standards. === Data serialization functions === * parse a string as [[:en:JSON|JSON]] * extract string from JSON object based on [[:d:Q121208951|JSONPath]] (<code>{"name":"Alice"}</code>, "$.name" ⇒ "Alice") *:Why not first convert a JSON string to an object, and then have a function that extracts fields based on JSONPath? Doing Stringly-typed things like this proposal as defined isn't a good idea. [[User:0xDeadbeef|0xDeadbeef]] ([[User talk:0xDeadbeef|talk]]) 16:16, 5 August 2023 (UTC) *::This seems to be a good idea, thanks! I moved and splitted the proposal accordingly. --[[User:1-Byte|1-Byte]] ([[User talk:1-Byte|talk]]) 09:51, 6 August 2023 (UTC) *:: is it okay to go ahead to create this 'extract string from JSON object based on JSONPath' as a function ? [[User:Dolphyb|Dolphyb]] ([[User talk:Dolphyb|talk]]) 16:14, 15 February 2024 (UTC) === Basic list/iterable functions requiring numeric types === * Sum the elements of a numeric list - [[Z14038]] * Product of the elements of a numeric list * {{Z+|Z12676}} * Slice of list elements: for the supplied list, return a list of elements that are at indexes between a supplied range n:m ** Zero indexing is used (first element is index 0)? ** n and m are are included in the range? ** What happens if n and/or m are invalid indexes? * Remove slice of elements from list: return the supplied list with elements between a supplied range of indexes removed ** Zero indexing is used (first element is index 0)? ** n and m are are included in the range? ** What happens if n and/or m are invalid indexes? * Every nth element of list: returns every nth element of the supplied list * Remove every nth element of list: removes every nth element of the supplied list - * sample n objects from list (return up to n [[Wikifunctions:Determinism|random]] objects from the list) * Jaccard similarity coefficient (see https://en.wikipedia.org/wiki/Jaccard_index) === Geodetics functions === [[w:en:planetary coordinate system]], [[w:en:well-known text representation of coordinate reference systems]] ==== Earth ==== * convert coordinates outside of the ranges (-180, 180) for longitude and (-90, 90) for latitude to a canonical form ==== Mars ==== * convert coordinates outside of the ranges [0, 360) for longitude and (-90, 90) for latitude to a canonical form === Unit conversion functions === * {{Z+|15560}} === Conversion function : 2D Cartesian to 2D Polar === Input : matrix [x,y] Output: matrix [θ,r] Short text : Polar conversion of x,y to a polar space centred at 0,0 in the Cartesian. Constraints: x,y,r are reals (float64), θ lies in the range -π<0<π (Sign determined in relation to standards used in STEM applications. [[User:ShakespeareFan00|ShakespeareFan00]] ([[User talk:ShakespeareFan00|talk]]) 14:30, 26 March 2025 (UTC) :The companion could also be provided. As I never did Geodetic functions, I am not sure how Lat, Long to map projection would work , but useful. [[User:ShakespeareFan00|ShakespeareFan00]] ([[User talk:ShakespeareFan00|talk]]) 14:30, 26 March 2025 (UTC) === Trignometric Functions === * sine, cosine, *: Input : float64 Angle in radians. *: Output : float64 desired trignometric value [[User:ShakespeareFan00|ShakespeareFan00]] ([[User talk:ShakespeareFan00|talk]]) 19:40, 26 March 2025 (UTC) ==== Function Proposal : Decimalise angle of the form ('1:x' or '1 in x') to % (in 100) or ‰ (in 1000) ==== *Suggested name: gardient_decimal. *Input type: Integer ( The 1 is implied.). Lower Bound +1: Upper Bound: 1000 (for most practical situations?) *Output type: Real/float 64. Proposer: [[User:ShakespeareFan00|ShakespeareFan00]] ([[User talk:ShakespeareFan00|talk]]) 19:05, 28 March 2025 (UTC) ===Color Functions=== ==== Colorspace Conversion ==== x,y,Y to sRGB (Illuminant D65). Input : 3tuple of float64, Output: 3 tuple of integer, where 0>=r<=255, 0>=g<=255 0>=b<=255. Convert a color specfied as 3 float64 values, from x,y,Y colorspace to sRGB or raise an "Out of Gaumt" exception. [[User:ShakespeareFan00|ShakespeareFan00]] ([[User talk:ShakespeareFan00|talk]]) 19:09, 7 April 2025 (UTC) ==== Spectral Approximate from sRGB or XYZ values. ==== I'd like to see the techniques detailed here: http://scottburns.us/reflectance-curves-from-srgb/ implemented in Wikifunctions as the provided spreadhseet later in the paper doesn't appear to work with Libre Office. [[User:ShakespeareFan00|ShakespeareFan00]] ([[User talk:ShakespeareFan00|talk]]) 19:32, 2 June 2025 (UTC) === Music Functions === It would be nice to have '''12 equal temperament pitch class''' and '''12 equal temperament pitch''' types, as they would be useful for calculating harmonies and melodies. The pitch classes could be stored as natural numbers from 0 to 11, and represented with symbols C, C♯, D, ..., B. The pitches could be stored as integers with -1 being B3, 0 being C4, 1 being C♯4, etc. Over time, we could expand the pitch class and pitch types to other temperaments and just intonation. As I'm new to Wikifunctions and my coding skills are next to zero, this is just a suggestion to the community. (edited) [[User:CaffeineP|CaffeineP]] ([[User talk:CaffeineP|talk]]) 14:48, 9 April 2025 (UTC) :Yes… There are some notational challenges because of enharmonics as well as naming conventions varying by language/culture, so English A♯ is equivalent to German B and English B♭, for example. Ideally, I would want the (English) pitch class that is five semitones higher than G♭ to be displayed as C♭ rather than B. :Also, given some reference pitch like A4 = 440 Hz, we should be able to return the frequency in hertz of a given pitch and, conversely, the nearest pitch for a given frequency and its offset in cents (or whatever). The computation is a lot simpler than representing the result (or capturing how the result should be represented)! [[User:GrounderUK|GrounderUK]] ([[User talk:GrounderUK|talk]]) 20:08, 9 April 2025 (UTC) * '''12-ET Pitch Class of a Pitch''': Return the 12 equal temperament pitch class of a given 12 equal temperament pitch. For example, C4 returns C. * '''12-ET Pitch based on Pitch Class''': Return a 12 equal temperament pitch based on a given 12 equal temperament pitch class and a given integer. For example, C and 4 return C4. * '''Interval between 12-ET Pitch Classes in Semitones''': Get the interval in semitones between two 12 equal temperament pitch classes, always assuming that the first is lower than (or the same as) the second, and the interval is less than an octave. For example, C and B return 11, while B and C return 1. * '''Interval between 12-ET Pitches in Semitones''': Get the interval in semitones between two 12 equal temperament pitches. For example, C4 and B3 return -1, while C3 and B4 return 23. * '''Raise 12-ET Pitch Class by Semitones''': Get a new 12 equal temperament pitch class through raising a given pitch class by the provided number of semitones. For example, raising B by 1 semitone returns C. * '''Lower 12-ET Pitch Class by Semitones''': Same as above, but lower the pitch class instead of raising it. * '''Raise 12-ET Pitch by Semitones''': Get a new 12 equal temperament pitch through raising a given pitch by the provided number of semitones. For example, raising B3 by 1 semitone returns C4. * '''Lower 12-ET Pitch by Semitones''': Same as above, but lower the pitch instead of raising it. * '''Frequency of a 12-ET Pitch''': Return a float64 frequency in Hz based on the provided 12 equal temperament pitch (and possibly a reference pitch with its frequency; if not provided, take default A4 = 440 Hz). * '''Approximate 12-ET Pitch Class based on Frequency''': Return a 12 equal temperament pitch class approximately based on the provided frequency in Hz. * '''Approximate 12-ET Pitch based on Frequency''': Return a 12 equal temperament pitch approximately based on the provided frequency in Hz. === SVG Functions === I would be nice to generate SVG (a XML-based vector image format which is basically a long string), it could allow to replace a lot of images on Commons or templates/tools. Here some examples: * create simple forms, * create graphs (line graph/bar graph for population or for production, elections diagrams like [[:File:1900Hawaii.svg]], etc.), * create more complex visualisation like genealogical trees, * create coat of arms (?), * etc. Cheers, [[User:VIGNERON|VIGNERON]] ([[User talk:VIGNERON|talk]]) 10:47, 23 April 2025 (UTC) :@[[User:VIGNERON|VIGNERON]]: Eventually that is something we might support, but there'll be nothing any time soon. It has a number of complex security and scalability concerns, sadly. [[User:Jdforrester (WMF)|Jdforrester (WMF)]] ([[User talk:Jdforrester (WMF)|talk]]) 13:21, 23 April 2025 (UTC) ::{{ping|Jdforrester (WMF)}} thanks. I talked about it for the last Corner but I wanted to leave a record here, if we have time, maybe I'll use that time to write some things to prepare (like listing templates and tools on the Wikimedia projects that generate SVG or visualisations). Cheers, [[User:VIGNERON|VIGNERON]] ([[User talk:VIGNERON|talk]]) 15:28, 23 April 2025 (UTC) :::Of course! I've explicitly added a section on this here: [[Wikifunctions:Embedded function calls#Non-text output]] — hope that helps assure you that we're thinking about it. [[User:Jdforrester (WMF)|Jdforrester (WMF)]] ([[User talk:Jdforrester (WMF)|talk]]) 21:40, 23 April 2025 (UTC) == Object / type / function functions == *{{Z+|Z17893}} *{{Z+|Z21180}} *{{Z+|Z21182}} *{{Z+|Z21193}} == External function lists == * [[WF:importing]] lpkfr7yuzz9m84efxfr4r6pxjmrdyaw 190996 190995 2025-06-03T14:10:44Z Denny 81 /* Gregorian calendar date */ 190996 wikitext text/x-wiki Do you have an idea for a new function? Suggest it here! It may help to refer to [[Wikifunctions:Glossary|our glossary]]. You can [https://www.wikifunctions.org/wiki/Special:CreateZObject?zid=Z8 create a function] right away if you have the user-rights. If a function requires a new type, consider [[WF:TP|proposing it]]. Note that for now '''we only support a limited number of types as input and output types''' of functions. More types are coming in the next few months. For the full list, see [[WF:Type]]. Once created, consider adding new Functions to the [[Wikifunctions:Catalogue|catalogue]]. [[Category:Maintenance]] == Proposed functions requiring only available types (string, Boolean, Natural number, list) == === String === ==== String character discard functions ==== * remove stereochemical specificity in [[:en:Simplified_molecular-input_line-entry_system|SMILES]] string, like e/z isomers ** already fulfilled by someone else at: [[Z11815]] * simplify [[:en:Simplified_molecular-input_line-entry_system|SMILES]] string according to some basic simplifications ** {{Partly done}}, see [[Z19380]]. There's testcases, and I (or someone else) can get around to the coding later. [[User:MolecularPilot|MolecularPilot]] ([[User talk:MolecularPilot|talk]]) 10:21, 26 October 2024 (UTC) *** {{Done}} completely, still at [[Z19380]]. Another user helpfully wrote a python script that passed 1 of my test cases between October and now. I just re-wrote the script to pass all 3 test cases, and also created a JavaScript version. [[User:MolecularPilot|MolecularPilot]] ([[User talk:MolecularPilot|talk]]) 03:43, 10 January 2025 (UTC) ==== String character replacement functions ==== ==== String search functions ==== ==== String escaping and unescaping functions ==== ==== String encoding and decoding functions ==== * Unicode normalising functions (there are several types of normalisation) * [[wikidata:Q47467628|Backslash-U with delimiters ASCII encoding of Unicode encode]] ** Can someone elaborate on this? No example cases were given on the document, and backslash-U with delimiters is anyway not that prevalent as far as I have seen. [[User:BrightSunMan|BrightSunMan]] ([[User talk:BrightSunMan|talk]]) 15:24, 26 December 2023 (UTC) ** {{Done}}, see [[Z21486]]. I've made 5 test cases (achieving 100% coverage) and implementations in both JavaScript and Python, which passes all test cases. Support for both the Basic Multilingual Plane (BMP) and supplementary characters (using surrogate pairs). [[User:MolecularPilot|MolecularPilot]] ([[User talk:MolecularPilot|talk]]) 02:49, 10 January 2025 (UTC) * [[wikidata:Q47467628|XML and HTML ASCII encoding of Unicode encode]] ** {{Done}}, see [[Z21503]]. Again, I've also made 5 test cases which cover a wide variety of Unicode characters, and implementations in JS and Python (which pass all the tests). As before successful support for both the Basic Multilingual Plane (BMP) and supplementary characters (this time '''not using''' surrogate pairs, as is customary for HTML/XML encoding). [[User:MolecularPilot|MolecularPilot]] ([[User talk:MolecularPilot|talk]]) 05:30, 10 January 2025 (UTC) * [https://html.spec.whatwg.org/#named-character-references HTML named character encode] * [[wikidata:Q47466379|Punycode encode]] - [[Z10178]] (part only, not whole url); see also [[Z10185]] * [[:en:Unified_English_Braille|Unified English Braille encode]] (discarding invalid characters?) ** {{Done}}, see [[Z21514]]. 6 test cases this time, and support for both letters and numbers, with implementations in JS and Python (both passing all the tests). [[User:MolecularPilot|MolecularPilot]] ([[User talk:MolecularPilot|talk]]) 06:00, 10 January 2025 (UTC) ==== String presentation functions ==== * add [[:en:Quotation_mark|locale-specific quotation marks]] to string ** Shouldn't the output depend on the locale? See [[mw:Extension:Scribunto/Lua_reference_manual#mw.language:formatNum|mw.language:formatNum]]. —[[User:Dexxor|Dexxor]] ([[User talk:Dexxor|talk]]) 17:15, 4 September 2023 (UTC) ==== String colour notation functions ==== * [[:en:Complementary_colors|complementary colour]] in RGB colour model ("#FF0000" ⇒ "#00FFFF") ** Any specification on invalid inputs? [[User:MilkyDefer|<span style="color:#09C">Milky</span>]][[User talk:MilkyDefer|'''<span style="color:#F09">Defer</span>''']] 11:22, 5 August 2023 (UTC) *:Great question. I don't think there is a position documented on Wikifunctions for how to handle invalid input to a function. Can we throw exceptions? Return null? [[User:Dhx1|Dhx1]] ([[User talk:Dhx1|talk]]) 13:23, 6 August 2023 (UTC) *::This shouldn't be a string function. This should be a type that represents a RGB color (with corresponding validation function (hopefully it can just be three unsigned 8bit integers)) and a function that returns the complementary color. [[User:0xDeadbeef|0xDeadbeef]] ([[User talk:0xDeadbeef|talk]]) 12:38, 7 August 2023 (UTC) ** Work on the color type has been stalled for over a year. But this task is {{Done}}, I have made [[Z21554]], that uses string hex codes (with or without the initial # and supporting short hex format). This is probably the most optimal format, as I can imagine this function being used on-wiki for thing like the style parameter (CSS) of MediaWiki tags, or of templates etc. There's 5 testcases I've made, which are passed by both my JS and Python versions. :) [[User:MolecularPilot|MolecularPilot]] ([[User talk:MolecularPilot|talk]]) 03:39, 11 January 2025 (UTC) ==== String notation validation checks ==== * check if string is an [[:en:International_Chemical_Identifier]] ** {{Partly done}} see [[Z21539]]. Supports the verification of the chemical formula and the stereochemical layer. There are 13 testcaes that I've written, all of which are passed by my JavaScript implementation. Note that a python implementation is not possible as the regex module is not available in Wikifunctions. [[User:MolecularPilot|MolecularPilot]] ([[User talk:MolecularPilot|talk]]) 03:09, 11 January 2025 (UTC) ** To do: *** Needs to verify the hydrogen and connection sections of the main layer *** Support the charge layer *** Support the isotopic layer **[[User:MolecularPilot|MolecularPilot]] ([[User talk:MolecularPilot|talk]]) 03:09, 11 January 2025 (UTC) ***{{ping|MolecularPilot}} A python impl. is infact possible. I created a basic direct translation at [[Z22823]]. Some tests are failing as the regex needs a bit of sorting out, out of scope for me, but you can give it a try! Keep in mind that you need to escape any \ with a \\ just before saving per [[Wikifunctions:Python_implementations#Known_limitations_as_of_October_2024]]. <span style="font-family:monospace;font-weight:bold">[[User:Bunnypranav|<span style="color:#63b3ed">~/Bunny</span><span style="color:#2c5282">pranav</span>]]:&lt;[[User talk:Bunnypranav|<span style="color:#63b3ed">ping</span>]]&gt;</span> 06:14, 26 February 2025 (UTC) * check if string is a [[:en:SMILES_arbitrary_target_specification|SMILES arbitrary target specification (SMARTS) notation]] * check if string is an [[:en:ABC_notation|ABC notation]] * check if string is a [[:en:LilyPond|LilyPond notation]] * {{Doing}} check if string is a [[:en:Portable_Game_Notation|portable game notation]] for a chess game ([[Z15867]], figuring out how to add newlines to the test input) * [[Z14643]] check if string is [[:en:Forsyth–Edwards Notation|Forsyth–Edwards Notation]] for a chess position * check if string is a [[:en:UIC_classification_of_locomotive_axle_arrangements|UIC classification of locomotive axle arrangements notation]] * check if a string is a valid [[:en:ISBN|ISBN]]-13 (probably just a simple variant of [[Z10821]], dropping/validating the hyphens) ** {{Done}} at [[Z23561]]. Note than ISBN-13 starts with only 978/979, a differing factor from EAN. I have added that in the func and tests as well. <span style="font-family:monospace;font-weight:bold">[[User:Bunnypranav|<span style="color:#63b3ed">~/Bunny</span><span style="color:#2c5282">pranav</span>]]:&lt;[[User talk:Bunnypranav|<span style="color:#63b3ed">ping</span>]]&gt;</span> 12:53, 26 March 2025 (UTC) * check if a string is a valid [[:en:Digital_object_identifier|DOI]] ** Something about implementation difficulties: https://stackoverflow.com/questions/27910/finding-a-doi-in-a-document-or-page [[User:Alexander-Mart-Earth|Alexander-Mart-Earth]] ([[User talk:Alexander-Mart-Earth|talk]]) 14:28, 21 December 2023 (UTC) * check if a string is a valid [[:en:ISWN|ISWN]] ** {{Done}}, see [[Z21562]]. Contains 6 test cases that I made, all of which are passed by my Python and JavaScript implementations. It supports both just numbers, and a string containing the "separator" symbols (like ., - and /). [[User:MolecularPilot|MolecularPilot]] ([[User talk:MolecularPilot|talk]]) 07:32, 11 January 2025 (UTC) ==== String validation checks ==== * {{doing}} check if string is in [[:en:Camel_case|lower camel case]] * check if string is a valid ISO 3166 country code * check if string is a valid ISO 8601 date/time (2023-08-03 ⇒ true; 2023-02-30 ⇒ false; 2023-08-03 15:00:00.000 ⇒ true; 2023-08-03 25:00:00.000 ⇒ false) ** {{Done|by=Philipnelson99}} at [[Z14206]]. <span style="font-family:monospace;font-weight:bold">[[User:Bunnypranav|<span style="color:#63b3ed">~/Bunny</span><span style="color:#2c5282">pranav</span>]]:&lt;[[User talk:Bunnypranav|<span style="color:#63b3ed">ping</span>]]&gt;</span> 06:23, 26 February 2025 (UTC) * check if string is a valid [[:en:ISO_8601#EDTF|EDTF]] date/time * {{doing}} check if string is a valid email address (watch out, see [https://github.com/kdeldycke/awesome-falsehood#emails this list of falsehoods] about email addresses to create unit tests - email addresses are more complicated than they seem) — [[Z10410]] creating test cases in progress. Currently it is stuck on figuring out what exactly is a valid emaill address. Nearly every errata for [[RFC:3696]] is about that. * {{doing}} check if string is a valid [[d:Help:Items|Wikidata item]] — [[Z10696]] (possibly stuck on [[phab:T343593]]?) ====String analysis functions==== *Word frequency counting. Provide a list of words and their frequencies. **{{Done}}, see [[Z21593]]. Providing a list of words and frequencies would require a new type, so instead it requires the sentence and the word you want to count, and returns the occurrences. Hyphenated words are not considered a match of their components, i.e. "fast-forward" is a match of "fast-forward" but nether "fast" nor "forward", I think this is the optimal behaviour but if someone disagrees we can change it. There is a JS implementation that I made which bases all of my 4 test cases. [[User:MolecularPilot|MolecularPilot]] ([[User talk:MolecularPilot|talk]]) 05:41, 12 January 2025 (UTC) *:@[[User:MolecularPilot|MolecularPilot]] And I have added a Python implementation at [[Z22473]]. I would appreciate if you could attach it! <span style="font-family:monospace;font-weight:bold">[[User:Bunnypranav|<span style="color:#63b3ed">~/Bunny</span><span style="color:#2c5282">pranav</span>]]:&lt;[[User talk:Bunnypranav|<span style="color:#63b3ed">ping</span>]]&gt;</span> 08:13, 15 February 2025 (UTC) *::Cool, thank you so much for doing it! Someone's already beat me to it re attaching it, but great work! :) [[User:MolecularPilot|MolecularPilot]] ([[User talk:MolecularPilot|talk]]) 21:33, 16 February 2025 (UTC) ==== Monolingual text ==== ==== String Wikitext operations ==== ... === Natural number === * rectified linear unit (ReLU) - https://www.wikifunctions.org/view/en/Z13909 === Integer=== * {{Done}} - multiply vectors ([[Z21903]], [[Z20659]]) === Byte === See [[Wikifunctions:Catalogue/Boolean operations#Byte functions|existing Byte functions]] in catalogue. * next byte without overflow: byte → byte * previous byte without overflow: byte → byte * next byte by Gray code: byte → byte * previous byte by Gray code: byte → byte * get nth bit as Boolean: byte, natural number → boolean * highest bit set: byte → boolean * lowest bit set: byte → boolean * all bits set: byte → boolean * no bits set: byte → boolean * set nth bit: byte, natural number → byte * clear nth bit: byte, natural number → byte * switch nth bit: byte, natural number → byte * add bytes without overflow: byte, byte → byte * subtract bytes without overflow: byte, byte → byte * multiply bytes without overflow: byte, byte → byte * clamped add bytes: byte, byte → byte * clamped subtract bytes: byte, byte → byte * clamped multiply bytes: byte, byte → byte * add bytes with overflow: byte, byte → byte * subtract bytes with overflow: byte, byte → byte * multiply bytes with overflow: byte, byte → byte * modulo bytes: byte, byte → byte * byte division: byte, byte → byte * reverse: byte → byte * right shift: byte → byte * left shift: byte → byte * right shift by n: byte, natural number → byte * left shift by n: byte, natural number → byte * right shift as ring: byte → byte * left shift as ring: byte → byte * right shift by n as ring: byte, natural number → byte * left shift by n as ring: byte, natural number → byte * how many bits set: byte → natural number === Unicode code point === See [[Wikifunctions:Catalogue/Character operations#Unicode code points|existing code point functions in catalogue]]. * Codepoint to list of bytes for UTF-8 * Codepoint to list of bytes for UTF-16 * Codepoint to list of bytes for UTF-32 ===Object=== === List === ==== Basic list/iterable functions ==== * group * [[w:Circular shift]] ==== Complex list functions ==== * zip lists together: for [ A .. Z ] and [ 1 .. 26 ] return [ [ A, 1 ], [ B, 2 ], .. ] ** Unsure what happens if input lists are of different lengths. ** If possible this function should be able to zip more than 2 lists together... 3, 4, n? Perhaps the input should be list(list, list, list, list, ..). *{{Z+|Z19198}} ==== CSV list operations ==== * list of strings to csv : number -> list of decimal digits<br>number -> list of binary digits<br>number -> list of digits in base provided [[User:Well very well|Well very well]] ([[User talk:Well very well|talk]]) 11:20, 18 May 2024 (UTC) === Functions with functions as arguments === * sort, by a given function * test whether certain functions have specific properties of [[:w:Homogeneous_relation|homogeneous relations]] for particular lists/sets * remove first element matching filter from list === Biology === ==== Taxon functions ==== * Wikidata item representing taxon rank ({{Q|P31}} {{Q|Q427626}}) is at genus level or below ** Should(?) be possible with the current Wikidata functionality, from what I understand. See [[:Wikifunctions:Project chat#Taxon rank function(s)]] for a more detailed explanation. --[[User:WrenFalcon|WrenFalcon]] ([[User talk:WrenFalcon|talk]]) 23:27, 16 May 2025 (UTC) === Gregorian calendar date === * Create a reading function for Dagbani that handles all the possible formats (both the English-linke and the traditional ones, both the Gregorian and the Hijra calendars). [https://docs.google.com/document/d/1u7-ZeY7NHt75JICUPAYky3-7KgkvauD_W3fBjmvpFO0/edit?tab=t.0#heading=h.gf6hp9o3gi0j] [[User:Dv103|Dv103]] ([[User talk:Dv103|talk]]) 15:43, 31 May 2025 (UTC) * day of year from date * year from date * era from date * before / sooner / earlier * after / later * same month * same calendar date * same calendar year * same day of the week * within a year * within a week * within n days * {{Z+|years between}} * months between * weeks between * n days later * n days earlier * n weeks later * n weeks earlier * n months later * n months earlier * n years later * n months later * Julian day number to date * how many leap days passed between two dates * how many weekdays between two dates * is it easter * days until next easter * days since last easter * day number of the year * days until the end of the year * is proleptic * within Pythons date implementation * within JavaScript's date implementation == Morphological functions == morphology is the part of linguistics that studies how language parts are 'shaped' and change diachronically and when inflected. Hausa, Igbo, Malayalam, Bangla/Bengali and Dagbani are [[d:Wikidata:Lexicographical data/Focus languages|focus languages]] for Wikidata's lexicographic dataset, which is an important aspect of [[WF:glossary#Abstract Wikipedia|Abstract Wikipedia]]. === mul - Multiple languages === * inputs: natural number (new numeric type) and language Z-number; output: 'singular', 'dual', 'paucal', 'plural', etc. as string *: {{doing}}: {{Z|15977}} === ase - American Sign Language === * string: Stokoe to ase-[https://github.com/sutton-signwriting/core Sgnw] and vice-versa (consult {{ping|Slevinski}} as to best approach) === bn - Bangla === === cy - Welsh === [[w:en:colloquial Welsh morphology]] === dag - Dagbani === === de - German === * tense * person * number for each verb ** tenses: present, past, ...? ** person: first, second, third ** number: singular, plural ** {{doing}} third person singular present ** second person singular preterite === en - English === * [[Z11390]] Verb -> agent noun, e.g. "dance"->"dancer" * Join English morphemes (extends [[Z13254]] to cases like re + en + able + er + s → re-enablers. [[Z13254]] will correctly join re-enable + ers or re- + enablers, but re + enablers → “renablers” (incorrect). [[Z13275]] tests the Reduce function to produce “detoxification” from a list of four morphemes (orchestrator limit exceeded with five). I doubt we’ll want to derive “toxify” from “toxic”, however. * Derive lemmas from a form. This is envisaged as the converse of Join English morphemes. The focus would be identifying the base form (the lexeme’s lemma) rather than further segmenting the lemma. For example, “underlay” should return “underlie” (for which it is the past participle) and the noun “underlay” (for which it is the lemma) and (perhaps) the verb “underlay”, which might be the tendency of an unproductive hen or the activity of a carpet-fitter. As this is a purely functional converse, every string will have itself as a possible lemma. * Generate [[:w:Numeral_prefix|Numerical prefixes]] of various kinds from a natural number input. * {{Z+|Z19499}} '''<big>eu - Basque</big>''' * Basque language declension system in rather regular based on suffixes. ** Here a few examples for Basque declension: *** {{Z+|Z18541}} *** {{Z+|Z18670}} **Before implementing all of them, we may propose an overall classification that eases both the implementation and the future usage of the functions. Here a first try based on bibliography from the [https://www.euskaltzaindia.eus/index.php?option=com_ebe&view=bilaketa&task=pdf&Itemid=1161&atala=deklinabide-taulak Basque Language Academy]: ***Personal pronouns: they can be treated as exceptions (e.g. "zuek -> zuei", etc.) together with proper noun declension, or as a separate case. ***Determiners: they can be treated as exceptions (e.g. "hau" -> "honek", etc) together with common noun declension, or as a separated case ***Grammatical cases: ****Absolutive ("Nor"): indefinite, singular and plural ****Ergative ("Nork"): indefinite, singular and plural ****Dative ("Nori"): indefinite, singular and plural ***Place and Time: we must distinguish animate (AN) and inanimate (IN) ****Inessive IN ("Non"): indefinite, singular and plural ****Inessive AN ("Norengan"): indefinite, singular and plural - It could be a composition of "Noren" + "-gan" ****Place and time ("Nongo"): indefinite, singular and plural ****Allative IN ("Nora"): indefinite, singular and plural ****Allative AN ("Norengana"): indefinite, singular and plural - It could be a composition of "Noren/Norengan" + "-gan/-a" ****Finished Allative AN ("Noraino"): indefinite, singular and plural - It could be a composition of "Nora" + "-ino" ****Finished Allative AN ("Norengainaino"): indefinite, singular and plural - It could be a composition of "Noregana" + "-ino" ****Right way Allative IN ("Noratz"): indefinite, singular and plural - It could be a composition of "Nora" + "-ntz" ****Right way Allative AN ("Norenganantz"): indefinite, singular and plural - It could be a composition of "Norengana" + "-ntz" ****Ablative IN ("Nondik"): indefinite, singular and plural ****Ablative AN ("Norengandik"): indefinite, singular and plural ***Rest of the cases: ****Partitive ("Zerik"): indefinite ****Possessive ("Noren"): indefinite, singular and plural ****Sociative ("Norekin"): indefinite, singular and plural ****Instrumental ("Zerez"): indefinite, singular and plural ****Motivative ("Zerengatik"): indefinite, singular and plural ****Destinative ("Norentzat"): indefinite, singular and plural - It could be a composition of "Noren" + "-tzat" ***Special case: ****Prolative ("Nortzat"): indefinite ***To take into consideration: ****Together with animate and inanimate classification, we should also consider if the noun is a proper noun ("izen berezia"). We can identify that automatically (e.g. check if written in Title case, but this may not be always possible like in the beginning of sentences), but a dedicated function may be preferred (or a boolean to the generic function saying it is a proper noun). ****The main distinction is between noun ending by vowel or consonant that can be easily computed === fr - French === * [[Z11590]] Masculine adjective -> feminine, e.g. "exact"->"exacte" * Conjugated verb => Infinitive, e.g. "alla" => "aller", "mordit" => "mordre" === ha - Hausa === A notated demo sentence ("Aishà taa jeefar dà kàren Indoo" ― "Aisha threw away Indo's dog") is available at http://intent.xigt.org === ig - Igbo === === ldn - Láadan === section moved to [[WF:human languages/Z1882]] === ml - Malayalam === ===kcg - Tyap=== * Tyap has six determiners/definite articles which determine the pronoun, number (1-5), etc. forms used. ** ka & wu (basically for singular nouns and adjectives with a few exceptions) ** hu & ji (for singular and plural nouns and adjectives) ** ba & na (mainly for plural nouns. *** Determiners come after nouns. *** When an adjective comes before a noun, the determiner used is that of the adjective. E.g., a̱sham (ka) - (the) beautiful, kyang (hu) - (the) thing = a̱sham kyang (ka) - (the) beautiful thing. * Tyap has a non-uniform noun class system used for noun pluralization and conversion from one part of speech to another. E.g., a̱bwom (song) and bwom (to sing), a̱fufwuo (ears) and fufwuo (ear). * Affixation: Prefixes exist but suffixes hardly are found. == Proposed functions requiring future types == '''Note these functions cannot be implemented properly until the needed types are requested and approved.''' If one wishes to nevertheless attempt to define and implement them, * the functions and implementations should indicate prominently in their labels that their input/output types must be adjusted once support for the appropriate replacement types become available; ''and'' * the functions should ''not'' be used in the implementations of any other functions, as the later adjustment of input/output types to appropriate replacements will break those implementations. === String manipulation functions === === String analysis functions === * count distance between two letters in given alphabet (default to 26-charcater western alphabet. case insensitive. e.g. "a" & "A" ⇒ 0; "K" & "N" ⇒ 3) === String encoding and decoding functions === (would be better with types representing a stream of bytes) * [[wikidata:Q113486941|BASE45 encode]] * [[wikidata:Q113486941|BASE45 decode]] * Hexadecimal UTF-8 encode ("ABC ₤" ⇒ "41 42 43 20 E2 82 A4") * Hexadecimal UTF-8 decode ("41 42 43 20 E2 82 A4" ⇒ "ABC ₤") * Decimal UTF-8 encode ("ABC ₤" ⇒ "65 66 67 32 226 130 164") * Decimal UTF-8 decode ("65 66 67 32 226 130 164" ⇒ "ABC ₤") * Octal UTF-8 encode ("ABC ₤" ⇒ "101 102 103 40 342 202 244") * Octal UTF-8 decode ("101 102 103 40 342 202 244" ⇒ "ABC ₤") * Binary UTF-8 encode ("ABC ₤" ⇒ "01000001 01000010 01000011 00100000 11100010 10000010 10100100") * Binary UTF-8 decode ("01000001 01000010 01000011 00100000 11100010 10000010 10100100" ⇒ "ABC ₤") * Unicode code point encode ("ABC ₤" ⇒ "41 42 43 20 20A4") - [[Z10785]] * Unicode code point decode ("41 42 43 20 20A4" ⇒ "ABC ₤") * Create regular expression object/string (i.e: "test" & "i" to /test/i) === Natural language functions === * Choose singular or plural based on number (e.g. singularOrPlural("person",6") -> "people") ** Note that there are also dual and other [[:w:grammatical number|grammatical number]]s in other languages. [[User:魔琴|魔琴]] ([[User talk:魔琴|talk]]) 18:54, 26 October 2023 (UTC) ** relevant interwiki link: [[d:WD:property proposal/plural forms]] [[User:Arlo Barnes|Arlo Barnes]] ([[User talk:Arlo Barnes|talk]]) 04:15, 9 February 2024 (UTC) === Cryptographic hash functions === (would be better with types representing a stream of bytes) * {{todo}} [[wikidata:Q47477417|MD2]] - [[Z10135]] * {{todo}} [[wikidata:Q47462255|MD4]] - [[Z10136]] * {{todo}} [[wikidata:Q27036232|MD5]] - [[Z10137]] * {{todo}} [[wikidata:Q47208127|RIPEMD-128]] - [[Z10138]] * {{todo}} [[wikidata:Q47208127|RIPEMD-160]] - [[Z10139]] * {{todo}} [[wikidata:Q47463469|BLAKE2b-160]] - [[Z10140]] * {{todo}} [[wikidata:Q47463469|BLAKE2b-256]] - [[Z10141]] * {{todo}} [[wikidata:Q47463469|BLAKE2b-384]] - [[Z10142]] * {{todo}} [[wikidata:Q47463469|BLAKE2b-512]] - [[Z10143]] * {{todo}} [[wikidata:Q47463469|BLAKE2s-128]] - [[Z10144]] * {{todo}} [[wikidata:Q47463469|BLAKE2s-160]] - [[Z10145]] * {{todo}} [[wikidata:Q47463469|BLAKE2s-224]] - [[Z10146]] * {{todo}} [[wikidata:Q47463469|BLAKE2s-256]] - [[Z10147]] * {{todo}} [[wikidata:Q47465971|SHA-224]] - [[Z10149]] * {{todo}} [[wikidata:Q47465971|HMAC-SHA-256]] * {{todo}} [[wikidata:Q87486893|SHAKE-128]] - [[Z10150]] * {{todo}} [[wikidata:Q87486893|SHAKE-256]] - [[Z10151]] === Colour functions === * return colour contrast ratio (per [https://webaim.org/articles/contrast/]) of two RGB colours (provided as strings e.g. "#FF0000") === Date, time, and calendric functions === Note: 'time' type not yet supported, use 'string' (or for strictly numeric values, 'natural number') ==== Bengali calendar ==== {{z+|12926}} ==== Chinese calendar ==== ==== French Republican Calendar ==== decimalises and secularises the Gregorian * day names: {{Z+|13006}}{{not done}} '''yet''' ==== Gregorian ==== widely used calendar derived from the Julian, basis for [[xkcd:1179|ISO 8601]] * date to ISO week number {{q|2110154}} * string to date * date to ISO 8601 string *: {{done}}, see {{z|21842}}. --[[User:Sbb1413|Sbb1413]] ([[User talk:Sbb1413|talk]]) 18:47, 21 January 2025 (UTC) * date to year (yyyy) * date to month of the year (1-12) * date to month name (January-December) * date to day of the month (1-31) * date to hour of the day (0-23) * date to minutes (0-59) * date to seconds (0-59) Named Day from Date or day of year ; Input type : Date ; Output Type : String. ; The initial use case was automated population of On The Day, based on various collections of Holidays, festival days and observances. ? [[User:ShakespeareFan00|ShakespeareFan00]] ([[User talk:ShakespeareFan00|talk]]) 19:35, 26 March 2025 (UTC) :So If you gave it 2025-05-01 It said "All Fools Day" etc.. Possibly an additional input of enumrated type to indicate which data set to pull holidays, fesitvals and observances from. [[User:ShakespeareFan00|ShakespeareFan00]] ([[User talk:ShakespeareFan00|talk]]) 19:35, 26 March 2025 (UTC) Diary/calander Header function - Using the above and other date functions, generates a data set from a given date. Hence if you give it 2003-05-01 you get back a JOSN set contianing the {Day of week:String, Day in the Month, Observances} etc. [[User:ShakespeareFan00|ShakespeareFan00]] ([[User talk:ShakespeareFan00|talk]]) 19:35, 26 March 2025 (UTC) ==== Holocene calendar ==== * [[w:en:Holocene calendar#Conversion]] *: {{done}}, see {{z|21913}}. --[[User:Sbb1413|Sbb1413]] ([[User talk:Sbb1413|talk]]) 13:30, 25 January 2025 (UTC) ==== Indian national calendar ==== ==== Islamic ==== a Lunar calendar, also called Hijri ==== Julian ==== mostly used by astronomers, some historians, and some Orthodox Christian denominations ==== Mesoamerican calendars ==== including civil and clerical forms ==== Persian ==== also called Jalali ==== Thai calendar ==== ==== Hebrew calendar ==== ==== Darian calendar ==== Proposed time-keeping system for Mars, requires Julian Date/Time to calculate. === Basic numerical functions === * round up ("1.289" & "2" ⇒ "1.29"; "5678" & "2" ⇒ "5700") *: So if the number is floating point, round to n decimal places, and if not, round to n significant figures. Is that right? [[User:BrightSunMan|BrightSunMan]] ([[User talk:BrightSunMan|talk]]) 19:36, 24 December 2023 (UTC) * round down * return integer value (5678.678 ⇒ 5678) * {{Z+|Z13587}} (23 ⇒ "twenty-three") * Convert money from US$ to anything else ** requires source of conversion rates, which is a hole in function-likeness * Arabic numeral to Etruscan numeral * Etruscan numeral to Arabic numeral * floor and ceiling functions, based on defined standards. === Data serialization functions === * parse a string as [[:en:JSON|JSON]] * extract string from JSON object based on [[:d:Q121208951|JSONPath]] (<code>{"name":"Alice"}</code>, "$.name" ⇒ "Alice") *:Why not first convert a JSON string to an object, and then have a function that extracts fields based on JSONPath? Doing Stringly-typed things like this proposal as defined isn't a good idea. [[User:0xDeadbeef|0xDeadbeef]] ([[User talk:0xDeadbeef|talk]]) 16:16, 5 August 2023 (UTC) *::This seems to be a good idea, thanks! I moved and splitted the proposal accordingly. --[[User:1-Byte|1-Byte]] ([[User talk:1-Byte|talk]]) 09:51, 6 August 2023 (UTC) *:: is it okay to go ahead to create this 'extract string from JSON object based on JSONPath' as a function ? [[User:Dolphyb|Dolphyb]] ([[User talk:Dolphyb|talk]]) 16:14, 15 February 2024 (UTC) === Basic list/iterable functions requiring numeric types === * Sum the elements of a numeric list - [[Z14038]] * Product of the elements of a numeric list * {{Z+|Z12676}} * Slice of list elements: for the supplied list, return a list of elements that are at indexes between a supplied range n:m ** Zero indexing is used (first element is index 0)? ** n and m are are included in the range? ** What happens if n and/or m are invalid indexes? * Remove slice of elements from list: return the supplied list with elements between a supplied range of indexes removed ** Zero indexing is used (first element is index 0)? ** n and m are are included in the range? ** What happens if n and/or m are invalid indexes? * Every nth element of list: returns every nth element of the supplied list * Remove every nth element of list: removes every nth element of the supplied list - * sample n objects from list (return up to n [[Wikifunctions:Determinism|random]] objects from the list) * Jaccard similarity coefficient (see https://en.wikipedia.org/wiki/Jaccard_index) === Geodetics functions === [[w:en:planetary coordinate system]], [[w:en:well-known text representation of coordinate reference systems]] ==== Earth ==== * convert coordinates outside of the ranges (-180, 180) for longitude and (-90, 90) for latitude to a canonical form ==== Mars ==== * convert coordinates outside of the ranges [0, 360) for longitude and (-90, 90) for latitude to a canonical form === Unit conversion functions === * {{Z+|15560}} === Conversion function : 2D Cartesian to 2D Polar === Input : matrix [x,y] Output: matrix [θ,r] Short text : Polar conversion of x,y to a polar space centred at 0,0 in the Cartesian. Constraints: x,y,r are reals (float64), θ lies in the range -π<0<π (Sign determined in relation to standards used in STEM applications. [[User:ShakespeareFan00|ShakespeareFan00]] ([[User talk:ShakespeareFan00|talk]]) 14:30, 26 March 2025 (UTC) :The companion could also be provided. As I never did Geodetic functions, I am not sure how Lat, Long to map projection would work , but useful. [[User:ShakespeareFan00|ShakespeareFan00]] ([[User talk:ShakespeareFan00|talk]]) 14:30, 26 March 2025 (UTC) === Trignometric Functions === * sine, cosine, *: Input : float64 Angle in radians. *: Output : float64 desired trignometric value [[User:ShakespeareFan00|ShakespeareFan00]] ([[User talk:ShakespeareFan00|talk]]) 19:40, 26 March 2025 (UTC) ==== Function Proposal : Decimalise angle of the form ('1:x' or '1 in x') to % (in 100) or ‰ (in 1000) ==== *Suggested name: gardient_decimal. *Input type: Integer ( The 1 is implied.). Lower Bound +1: Upper Bound: 1000 (for most practical situations?) *Output type: Real/float 64. Proposer: [[User:ShakespeareFan00|ShakespeareFan00]] ([[User talk:ShakespeareFan00|talk]]) 19:05, 28 March 2025 (UTC) ===Color Functions=== ==== Colorspace Conversion ==== x,y,Y to sRGB (Illuminant D65). Input : 3tuple of float64, Output: 3 tuple of integer, where 0>=r<=255, 0>=g<=255 0>=b<=255. Convert a color specfied as 3 float64 values, from x,y,Y colorspace to sRGB or raise an "Out of Gaumt" exception. [[User:ShakespeareFan00|ShakespeareFan00]] ([[User talk:ShakespeareFan00|talk]]) 19:09, 7 April 2025 (UTC) ==== Spectral Approximate from sRGB or XYZ values. ==== I'd like to see the techniques detailed here: http://scottburns.us/reflectance-curves-from-srgb/ implemented in Wikifunctions as the provided spreadhseet later in the paper doesn't appear to work with Libre Office. [[User:ShakespeareFan00|ShakespeareFan00]] ([[User talk:ShakespeareFan00|talk]]) 19:32, 2 June 2025 (UTC) === Music Functions === It would be nice to have '''12 equal temperament pitch class''' and '''12 equal temperament pitch''' types, as they would be useful for calculating harmonies and melodies. The pitch classes could be stored as natural numbers from 0 to 11, and represented with symbols C, C♯, D, ..., B. The pitches could be stored as integers with -1 being B3, 0 being C4, 1 being C♯4, etc. Over time, we could expand the pitch class and pitch types to other temperaments and just intonation. As I'm new to Wikifunctions and my coding skills are next to zero, this is just a suggestion to the community. (edited) [[User:CaffeineP|CaffeineP]] ([[User talk:CaffeineP|talk]]) 14:48, 9 April 2025 (UTC) :Yes… There are some notational challenges because of enharmonics as well as naming conventions varying by language/culture, so English A♯ is equivalent to German B and English B♭, for example. Ideally, I would want the (English) pitch class that is five semitones higher than G♭ to be displayed as C♭ rather than B. :Also, given some reference pitch like A4 = 440 Hz, we should be able to return the frequency in hertz of a given pitch and, conversely, the nearest pitch for a given frequency and its offset in cents (or whatever). The computation is a lot simpler than representing the result (or capturing how the result should be represented)! [[User:GrounderUK|GrounderUK]] ([[User talk:GrounderUK|talk]]) 20:08, 9 April 2025 (UTC) * '''12-ET Pitch Class of a Pitch''': Return the 12 equal temperament pitch class of a given 12 equal temperament pitch. For example, C4 returns C. * '''12-ET Pitch based on Pitch Class''': Return a 12 equal temperament pitch based on a given 12 equal temperament pitch class and a given integer. For example, C and 4 return C4. * '''Interval between 12-ET Pitch Classes in Semitones''': Get the interval in semitones between two 12 equal temperament pitch classes, always assuming that the first is lower than (or the same as) the second, and the interval is less than an octave. For example, C and B return 11, while B and C return 1. * '''Interval between 12-ET Pitches in Semitones''': Get the interval in semitones between two 12 equal temperament pitches. For example, C4 and B3 return -1, while C3 and B4 return 23. * '''Raise 12-ET Pitch Class by Semitones''': Get a new 12 equal temperament pitch class through raising a given pitch class by the provided number of semitones. For example, raising B by 1 semitone returns C. * '''Lower 12-ET Pitch Class by Semitones''': Same as above, but lower the pitch class instead of raising it. * '''Raise 12-ET Pitch by Semitones''': Get a new 12 equal temperament pitch through raising a given pitch by the provided number of semitones. For example, raising B3 by 1 semitone returns C4. * '''Lower 12-ET Pitch by Semitones''': Same as above, but lower the pitch instead of raising it. * '''Frequency of a 12-ET Pitch''': Return a float64 frequency in Hz based on the provided 12 equal temperament pitch (and possibly a reference pitch with its frequency; if not provided, take default A4 = 440 Hz). * '''Approximate 12-ET Pitch Class based on Frequency''': Return a 12 equal temperament pitch class approximately based on the provided frequency in Hz. * '''Approximate 12-ET Pitch based on Frequency''': Return a 12 equal temperament pitch approximately based on the provided frequency in Hz. === SVG Functions === I would be nice to generate SVG (a XML-based vector image format which is basically a long string), it could allow to replace a lot of images on Commons or templates/tools. Here some examples: * create simple forms, * create graphs (line graph/bar graph for population or for production, elections diagrams like [[:File:1900Hawaii.svg]], etc.), * create more complex visualisation like genealogical trees, * create coat of arms (?), * etc. Cheers, [[User:VIGNERON|VIGNERON]] ([[User talk:VIGNERON|talk]]) 10:47, 23 April 2025 (UTC) :@[[User:VIGNERON|VIGNERON]]: Eventually that is something we might support, but there'll be nothing any time soon. It has a number of complex security and scalability concerns, sadly. [[User:Jdforrester (WMF)|Jdforrester (WMF)]] ([[User talk:Jdforrester (WMF)|talk]]) 13:21, 23 April 2025 (UTC) ::{{ping|Jdforrester (WMF)}} thanks. I talked about it for the last Corner but I wanted to leave a record here, if we have time, maybe I'll use that time to write some things to prepare (like listing templates and tools on the Wikimedia projects that generate SVG or visualisations). Cheers, [[User:VIGNERON|VIGNERON]] ([[User talk:VIGNERON|talk]]) 15:28, 23 April 2025 (UTC) :::Of course! I've explicitly added a section on this here: [[Wikifunctions:Embedded function calls#Non-text output]] — hope that helps assure you that we're thinking about it. [[User:Jdforrester (WMF)|Jdforrester (WMF)]] ([[User talk:Jdforrester (WMF)|talk]]) 21:40, 23 April 2025 (UTC) == Object / type / function functions == *{{Z+|Z17893}} *{{Z+|Z21180}} *{{Z+|Z21182}} *{{Z+|Z21193}} == External function lists == * [[WF:importing]] ekoh5povnc6pcgngenpfb4lp5lyekum 190997 190996 2025-06-03T14:11:43Z Denny 81 /* Gregorian calendar date */ 190997 wikitext text/x-wiki Do you have an idea for a new function? Suggest it here! It may help to refer to [[Wikifunctions:Glossary|our glossary]]. You can [https://www.wikifunctions.org/wiki/Special:CreateZObject?zid=Z8 create a function] right away if you have the user-rights. If a function requires a new type, consider [[WF:TP|proposing it]]. Note that for now '''we only support a limited number of types as input and output types''' of functions. More types are coming in the next few months. For the full list, see [[WF:Type]]. Once created, consider adding new Functions to the [[Wikifunctions:Catalogue|catalogue]]. [[Category:Maintenance]] == Proposed functions requiring only available types (string, Boolean, Natural number, list) == === String === ==== String character discard functions ==== * remove stereochemical specificity in [[:en:Simplified_molecular-input_line-entry_system|SMILES]] string, like e/z isomers ** already fulfilled by someone else at: [[Z11815]] * simplify [[:en:Simplified_molecular-input_line-entry_system|SMILES]] string according to some basic simplifications ** {{Partly done}}, see [[Z19380]]. There's testcases, and I (or someone else) can get around to the coding later. [[User:MolecularPilot|MolecularPilot]] ([[User talk:MolecularPilot|talk]]) 10:21, 26 October 2024 (UTC) *** {{Done}} completely, still at [[Z19380]]. Another user helpfully wrote a python script that passed 1 of my test cases between October and now. I just re-wrote the script to pass all 3 test cases, and also created a JavaScript version. [[User:MolecularPilot|MolecularPilot]] ([[User talk:MolecularPilot|talk]]) 03:43, 10 January 2025 (UTC) ==== String character replacement functions ==== ==== String search functions ==== ==== String escaping and unescaping functions ==== ==== String encoding and decoding functions ==== * Unicode normalising functions (there are several types of normalisation) * [[wikidata:Q47467628|Backslash-U with delimiters ASCII encoding of Unicode encode]] ** Can someone elaborate on this? No example cases were given on the document, and backslash-U with delimiters is anyway not that prevalent as far as I have seen. [[User:BrightSunMan|BrightSunMan]] ([[User talk:BrightSunMan|talk]]) 15:24, 26 December 2023 (UTC) ** {{Done}}, see [[Z21486]]. I've made 5 test cases (achieving 100% coverage) and implementations in both JavaScript and Python, which passes all test cases. Support for both the Basic Multilingual Plane (BMP) and supplementary characters (using surrogate pairs). [[User:MolecularPilot|MolecularPilot]] ([[User talk:MolecularPilot|talk]]) 02:49, 10 January 2025 (UTC) * [[wikidata:Q47467628|XML and HTML ASCII encoding of Unicode encode]] ** {{Done}}, see [[Z21503]]. Again, I've also made 5 test cases which cover a wide variety of Unicode characters, and implementations in JS and Python (which pass all the tests). As before successful support for both the Basic Multilingual Plane (BMP) and supplementary characters (this time '''not using''' surrogate pairs, as is customary for HTML/XML encoding). [[User:MolecularPilot|MolecularPilot]] ([[User talk:MolecularPilot|talk]]) 05:30, 10 January 2025 (UTC) * [https://html.spec.whatwg.org/#named-character-references HTML named character encode] * [[wikidata:Q47466379|Punycode encode]] - [[Z10178]] (part only, not whole url); see also [[Z10185]] * [[:en:Unified_English_Braille|Unified English Braille encode]] (discarding invalid characters?) ** {{Done}}, see [[Z21514]]. 6 test cases this time, and support for both letters and numbers, with implementations in JS and Python (both passing all the tests). [[User:MolecularPilot|MolecularPilot]] ([[User talk:MolecularPilot|talk]]) 06:00, 10 January 2025 (UTC) ==== String presentation functions ==== * add [[:en:Quotation_mark|locale-specific quotation marks]] to string ** Shouldn't the output depend on the locale? See [[mw:Extension:Scribunto/Lua_reference_manual#mw.language:formatNum|mw.language:formatNum]]. —[[User:Dexxor|Dexxor]] ([[User talk:Dexxor|talk]]) 17:15, 4 September 2023 (UTC) ==== String colour notation functions ==== * [[:en:Complementary_colors|complementary colour]] in RGB colour model ("#FF0000" ⇒ "#00FFFF") ** Any specification on invalid inputs? [[User:MilkyDefer|<span style="color:#09C">Milky</span>]][[User talk:MilkyDefer|'''<span style="color:#F09">Defer</span>''']] 11:22, 5 August 2023 (UTC) *:Great question. I don't think there is a position documented on Wikifunctions for how to handle invalid input to a function. Can we throw exceptions? Return null? [[User:Dhx1|Dhx1]] ([[User talk:Dhx1|talk]]) 13:23, 6 August 2023 (UTC) *::This shouldn't be a string function. This should be a type that represents a RGB color (with corresponding validation function (hopefully it can just be three unsigned 8bit integers)) and a function that returns the complementary color. [[User:0xDeadbeef|0xDeadbeef]] ([[User talk:0xDeadbeef|talk]]) 12:38, 7 August 2023 (UTC) ** Work on the color type has been stalled for over a year. But this task is {{Done}}, I have made [[Z21554]], that uses string hex codes (with or without the initial # and supporting short hex format). This is probably the most optimal format, as I can imagine this function being used on-wiki for thing like the style parameter (CSS) of MediaWiki tags, or of templates etc. There's 5 testcases I've made, which are passed by both my JS and Python versions. :) [[User:MolecularPilot|MolecularPilot]] ([[User talk:MolecularPilot|talk]]) 03:39, 11 January 2025 (UTC) ==== String notation validation checks ==== * check if string is an [[:en:International_Chemical_Identifier]] ** {{Partly done}} see [[Z21539]]. Supports the verification of the chemical formula and the stereochemical layer. There are 13 testcaes that I've written, all of which are passed by my JavaScript implementation. Note that a python implementation is not possible as the regex module is not available in Wikifunctions. [[User:MolecularPilot|MolecularPilot]] ([[User talk:MolecularPilot|talk]]) 03:09, 11 January 2025 (UTC) ** To do: *** Needs to verify the hydrogen and connection sections of the main layer *** Support the charge layer *** Support the isotopic layer **[[User:MolecularPilot|MolecularPilot]] ([[User talk:MolecularPilot|talk]]) 03:09, 11 January 2025 (UTC) ***{{ping|MolecularPilot}} A python impl. is infact possible. I created a basic direct translation at [[Z22823]]. Some tests are failing as the regex needs a bit of sorting out, out of scope for me, but you can give it a try! Keep in mind that you need to escape any \ with a \\ just before saving per [[Wikifunctions:Python_implementations#Known_limitations_as_of_October_2024]]. <span style="font-family:monospace;font-weight:bold">[[User:Bunnypranav|<span style="color:#63b3ed">~/Bunny</span><span style="color:#2c5282">pranav</span>]]:&lt;[[User talk:Bunnypranav|<span style="color:#63b3ed">ping</span>]]&gt;</span> 06:14, 26 February 2025 (UTC) * check if string is a [[:en:SMILES_arbitrary_target_specification|SMILES arbitrary target specification (SMARTS) notation]] * check if string is an [[:en:ABC_notation|ABC notation]] * check if string is a [[:en:LilyPond|LilyPond notation]] * {{Doing}} check if string is a [[:en:Portable_Game_Notation|portable game notation]] for a chess game ([[Z15867]], figuring out how to add newlines to the test input) * [[Z14643]] check if string is [[:en:Forsyth–Edwards Notation|Forsyth–Edwards Notation]] for a chess position * check if string is a [[:en:UIC_classification_of_locomotive_axle_arrangements|UIC classification of locomotive axle arrangements notation]] * check if a string is a valid [[:en:ISBN|ISBN]]-13 (probably just a simple variant of [[Z10821]], dropping/validating the hyphens) ** {{Done}} at [[Z23561]]. Note than ISBN-13 starts with only 978/979, a differing factor from EAN. I have added that in the func and tests as well. <span style="font-family:monospace;font-weight:bold">[[User:Bunnypranav|<span style="color:#63b3ed">~/Bunny</span><span style="color:#2c5282">pranav</span>]]:&lt;[[User talk:Bunnypranav|<span style="color:#63b3ed">ping</span>]]&gt;</span> 12:53, 26 March 2025 (UTC) * check if a string is a valid [[:en:Digital_object_identifier|DOI]] ** Something about implementation difficulties: https://stackoverflow.com/questions/27910/finding-a-doi-in-a-document-or-page [[User:Alexander-Mart-Earth|Alexander-Mart-Earth]] ([[User talk:Alexander-Mart-Earth|talk]]) 14:28, 21 December 2023 (UTC) * check if a string is a valid [[:en:ISWN|ISWN]] ** {{Done}}, see [[Z21562]]. Contains 6 test cases that I made, all of which are passed by my Python and JavaScript implementations. It supports both just numbers, and a string containing the "separator" symbols (like ., - and /). [[User:MolecularPilot|MolecularPilot]] ([[User talk:MolecularPilot|talk]]) 07:32, 11 January 2025 (UTC) ==== String validation checks ==== * {{doing}} check if string is in [[:en:Camel_case|lower camel case]] * check if string is a valid ISO 3166 country code * check if string is a valid ISO 8601 date/time (2023-08-03 ⇒ true; 2023-02-30 ⇒ false; 2023-08-03 15:00:00.000 ⇒ true; 2023-08-03 25:00:00.000 ⇒ false) ** {{Done|by=Philipnelson99}} at [[Z14206]]. <span style="font-family:monospace;font-weight:bold">[[User:Bunnypranav|<span style="color:#63b3ed">~/Bunny</span><span style="color:#2c5282">pranav</span>]]:&lt;[[User talk:Bunnypranav|<span style="color:#63b3ed">ping</span>]]&gt;</span> 06:23, 26 February 2025 (UTC) * check if string is a valid [[:en:ISO_8601#EDTF|EDTF]] date/time * {{doing}} check if string is a valid email address (watch out, see [https://github.com/kdeldycke/awesome-falsehood#emails this list of falsehoods] about email addresses to create unit tests - email addresses are more complicated than they seem) — [[Z10410]] creating test cases in progress. Currently it is stuck on figuring out what exactly is a valid emaill address. Nearly every errata for [[RFC:3696]] is about that. * {{doing}} check if string is a valid [[d:Help:Items|Wikidata item]] — [[Z10696]] (possibly stuck on [[phab:T343593]]?) ====String analysis functions==== *Word frequency counting. Provide a list of words and their frequencies. **{{Done}}, see [[Z21593]]. Providing a list of words and frequencies would require a new type, so instead it requires the sentence and the word you want to count, and returns the occurrences. Hyphenated words are not considered a match of their components, i.e. "fast-forward" is a match of "fast-forward" but nether "fast" nor "forward", I think this is the optimal behaviour but if someone disagrees we can change it. There is a JS implementation that I made which bases all of my 4 test cases. [[User:MolecularPilot|MolecularPilot]] ([[User talk:MolecularPilot|talk]]) 05:41, 12 January 2025 (UTC) *:@[[User:MolecularPilot|MolecularPilot]] And I have added a Python implementation at [[Z22473]]. I would appreciate if you could attach it! <span style="font-family:monospace;font-weight:bold">[[User:Bunnypranav|<span style="color:#63b3ed">~/Bunny</span><span style="color:#2c5282">pranav</span>]]:&lt;[[User talk:Bunnypranav|<span style="color:#63b3ed">ping</span>]]&gt;</span> 08:13, 15 February 2025 (UTC) *::Cool, thank you so much for doing it! Someone's already beat me to it re attaching it, but great work! :) [[User:MolecularPilot|MolecularPilot]] ([[User talk:MolecularPilot|talk]]) 21:33, 16 February 2025 (UTC) ==== Monolingual text ==== ==== String Wikitext operations ==== ... === Natural number === * rectified linear unit (ReLU) - https://www.wikifunctions.org/view/en/Z13909 === Integer=== * {{Done}} - multiply vectors ([[Z21903]], [[Z20659]]) === Byte === See [[Wikifunctions:Catalogue/Boolean operations#Byte functions|existing Byte functions]] in catalogue. * next byte without overflow: byte → byte * previous byte without overflow: byte → byte * next byte by Gray code: byte → byte * previous byte by Gray code: byte → byte * get nth bit as Boolean: byte, natural number → boolean * highest bit set: byte → boolean * lowest bit set: byte → boolean * all bits set: byte → boolean * no bits set: byte → boolean * set nth bit: byte, natural number → byte * clear nth bit: byte, natural number → byte * switch nth bit: byte, natural number → byte * add bytes without overflow: byte, byte → byte * subtract bytes without overflow: byte, byte → byte * multiply bytes without overflow: byte, byte → byte * clamped add bytes: byte, byte → byte * clamped subtract bytes: byte, byte → byte * clamped multiply bytes: byte, byte → byte * add bytes with overflow: byte, byte → byte * subtract bytes with overflow: byte, byte → byte * multiply bytes with overflow: byte, byte → byte * modulo bytes: byte, byte → byte * byte division: byte, byte → byte * reverse: byte → byte * right shift: byte → byte * left shift: byte → byte * right shift by n: byte, natural number → byte * left shift by n: byte, natural number → byte * right shift as ring: byte → byte * left shift as ring: byte → byte * right shift by n as ring: byte, natural number → byte * left shift by n as ring: byte, natural number → byte * how many bits set: byte → natural number === Unicode code point === See [[Wikifunctions:Catalogue/Character operations#Unicode code points|existing code point functions in catalogue]]. * Codepoint to list of bytes for UTF-8 * Codepoint to list of bytes for UTF-16 * Codepoint to list of bytes for UTF-32 ===Object=== === List === ==== Basic list/iterable functions ==== * group * [[w:Circular shift]] ==== Complex list functions ==== * zip lists together: for [ A .. Z ] and [ 1 .. 26 ] return [ [ A, 1 ], [ B, 2 ], .. ] ** Unsure what happens if input lists are of different lengths. ** If possible this function should be able to zip more than 2 lists together... 3, 4, n? Perhaps the input should be list(list, list, list, list, ..). *{{Z+|Z19198}} ==== CSV list operations ==== * list of strings to csv : number -> list of decimal digits<br>number -> list of binary digits<br>number -> list of digits in base provided [[User:Well very well|Well very well]] ([[User talk:Well very well|talk]]) 11:20, 18 May 2024 (UTC) === Functions with functions as arguments === * sort, by a given function * test whether certain functions have specific properties of [[:w:Homogeneous_relation|homogeneous relations]] for particular lists/sets * remove first element matching filter from list === Biology === ==== Taxon functions ==== * Wikidata item representing taxon rank ({{Q|P31}} {{Q|Q427626}}) is at genus level or below ** Should(?) be possible with the current Wikidata functionality, from what I understand. See [[:Wikifunctions:Project chat#Taxon rank function(s)]] for a more detailed explanation. --[[User:WrenFalcon|WrenFalcon]] ([[User talk:WrenFalcon|talk]]) 23:27, 16 May 2025 (UTC) === Gregorian calendar date === * Create a reading function for Dagbani that handles all the possible formats (both the English-linke and the traditional ones, both the Gregorian and the Hijra calendars). [https://docs.google.com/document/d/1u7-ZeY7NHt75JICUPAYky3-7KgkvauD_W3fBjmvpFO0/edit?tab=t.0#heading=h.gf6hp9o3gi0j] [[User:Dv103|Dv103]] ([[User talk:Dv103|talk]]) 15:43, 31 May 2025 (UTC) * day of year from date * year from date * era from date * before / sooner / earlier * after / later * same month * same calendar date * same calendar year * same day of the week * within a year * within a week * within n days * {{Z+|Z24918}} * months between * weeks between * previous day * n days later * n days earlier * n weeks later * n weeks earlier * n months later * n months earlier * n years later * n months later * Julian day number to date * how many leap days passed between two dates * how many weekdays between two dates * is it easter * days until next easter * days since last easter * day number of the year * days until the end of the year * is proleptic * within Pythons date implementation * within JavaScript's date implementation == Morphological functions == morphology is the part of linguistics that studies how language parts are 'shaped' and change diachronically and when inflected. Hausa, Igbo, Malayalam, Bangla/Bengali and Dagbani are [[d:Wikidata:Lexicographical data/Focus languages|focus languages]] for Wikidata's lexicographic dataset, which is an important aspect of [[WF:glossary#Abstract Wikipedia|Abstract Wikipedia]]. === mul - Multiple languages === * inputs: natural number (new numeric type) and language Z-number; output: 'singular', 'dual', 'paucal', 'plural', etc. as string *: {{doing}}: {{Z|15977}} === ase - American Sign Language === * string: Stokoe to ase-[https://github.com/sutton-signwriting/core Sgnw] and vice-versa (consult {{ping|Slevinski}} as to best approach) === bn - Bangla === === cy - Welsh === [[w:en:colloquial Welsh morphology]] === dag - Dagbani === === de - German === * tense * person * number for each verb ** tenses: present, past, ...? ** person: first, second, third ** number: singular, plural ** {{doing}} third person singular present ** second person singular preterite === en - English === * [[Z11390]] Verb -> agent noun, e.g. "dance"->"dancer" * Join English morphemes (extends [[Z13254]] to cases like re + en + able + er + s → re-enablers. [[Z13254]] will correctly join re-enable + ers or re- + enablers, but re + enablers → “renablers” (incorrect). [[Z13275]] tests the Reduce function to produce “detoxification” from a list of four morphemes (orchestrator limit exceeded with five). I doubt we’ll want to derive “toxify” from “toxic”, however. * Derive lemmas from a form. This is envisaged as the converse of Join English morphemes. The focus would be identifying the base form (the lexeme’s lemma) rather than further segmenting the lemma. For example, “underlay” should return “underlie” (for which it is the past participle) and the noun “underlay” (for which it is the lemma) and (perhaps) the verb “underlay”, which might be the tendency of an unproductive hen or the activity of a carpet-fitter. As this is a purely functional converse, every string will have itself as a possible lemma. * Generate [[:w:Numeral_prefix|Numerical prefixes]] of various kinds from a natural number input. * {{Z+|Z19499}} '''<big>eu - Basque</big>''' * Basque language declension system in rather regular based on suffixes. ** Here a few examples for Basque declension: *** {{Z+|Z18541}} *** {{Z+|Z18670}} **Before implementing all of them, we may propose an overall classification that eases both the implementation and the future usage of the functions. Here a first try based on bibliography from the [https://www.euskaltzaindia.eus/index.php?option=com_ebe&view=bilaketa&task=pdf&Itemid=1161&atala=deklinabide-taulak Basque Language Academy]: ***Personal pronouns: they can be treated as exceptions (e.g. "zuek -> zuei", etc.) together with proper noun declension, or as a separate case. ***Determiners: they can be treated as exceptions (e.g. "hau" -> "honek", etc) together with common noun declension, or as a separated case ***Grammatical cases: ****Absolutive ("Nor"): indefinite, singular and plural ****Ergative ("Nork"): indefinite, singular and plural ****Dative ("Nori"): indefinite, singular and plural ***Place and Time: we must distinguish animate (AN) and inanimate (IN) ****Inessive IN ("Non"): indefinite, singular and plural ****Inessive AN ("Norengan"): indefinite, singular and plural - It could be a composition of "Noren" + "-gan" ****Place and time ("Nongo"): indefinite, singular and plural ****Allative IN ("Nora"): indefinite, singular and plural ****Allative AN ("Norengana"): indefinite, singular and plural - It could be a composition of "Noren/Norengan" + "-gan/-a" ****Finished Allative AN ("Noraino"): indefinite, singular and plural - It could be a composition of "Nora" + "-ino" ****Finished Allative AN ("Norengainaino"): indefinite, singular and plural - It could be a composition of "Noregana" + "-ino" ****Right way Allative IN ("Noratz"): indefinite, singular and plural - It could be a composition of "Nora" + "-ntz" ****Right way Allative AN ("Norenganantz"): indefinite, singular and plural - It could be a composition of "Norengana" + "-ntz" ****Ablative IN ("Nondik"): indefinite, singular and plural ****Ablative AN ("Norengandik"): indefinite, singular and plural ***Rest of the cases: ****Partitive ("Zerik"): indefinite ****Possessive ("Noren"): indefinite, singular and plural ****Sociative ("Norekin"): indefinite, singular and plural ****Instrumental ("Zerez"): indefinite, singular and plural ****Motivative ("Zerengatik"): indefinite, singular and plural ****Destinative ("Norentzat"): indefinite, singular and plural - It could be a composition of "Noren" + "-tzat" ***Special case: ****Prolative ("Nortzat"): indefinite ***To take into consideration: ****Together with animate and inanimate classification, we should also consider if the noun is a proper noun ("izen berezia"). We can identify that automatically (e.g. check if written in Title case, but this may not be always possible like in the beginning of sentences), but a dedicated function may be preferred (or a boolean to the generic function saying it is a proper noun). ****The main distinction is between noun ending by vowel or consonant that can be easily computed === fr - French === * [[Z11590]] Masculine adjective -> feminine, e.g. "exact"->"exacte" * Conjugated verb => Infinitive, e.g. "alla" => "aller", "mordit" => "mordre" === ha - Hausa === A notated demo sentence ("Aishà taa jeefar dà kàren Indoo" ― "Aisha threw away Indo's dog") is available at http://intent.xigt.org === ig - Igbo === === ldn - Láadan === section moved to [[WF:human languages/Z1882]] === ml - Malayalam === ===kcg - Tyap=== * Tyap has six determiners/definite articles which determine the pronoun, number (1-5), etc. forms used. ** ka & wu (basically for singular nouns and adjectives with a few exceptions) ** hu & ji (for singular and plural nouns and adjectives) ** ba & na (mainly for plural nouns. *** Determiners come after nouns. *** When an adjective comes before a noun, the determiner used is that of the adjective. E.g., a̱sham (ka) - (the) beautiful, kyang (hu) - (the) thing = a̱sham kyang (ka) - (the) beautiful thing. * Tyap has a non-uniform noun class system used for noun pluralization and conversion from one part of speech to another. E.g., a̱bwom (song) and bwom (to sing), a̱fufwuo (ears) and fufwuo (ear). * Affixation: Prefixes exist but suffixes hardly are found. == Proposed functions requiring future types == '''Note these functions cannot be implemented properly until the needed types are requested and approved.''' If one wishes to nevertheless attempt to define and implement them, * the functions and implementations should indicate prominently in their labels that their input/output types must be adjusted once support for the appropriate replacement types become available; ''and'' * the functions should ''not'' be used in the implementations of any other functions, as the later adjustment of input/output types to appropriate replacements will break those implementations. === String manipulation functions === === String analysis functions === * count distance between two letters in given alphabet (default to 26-charcater western alphabet. case insensitive. e.g. "a" & "A" ⇒ 0; "K" & "N" ⇒ 3) === String encoding and decoding functions === (would be better with types representing a stream of bytes) * [[wikidata:Q113486941|BASE45 encode]] * [[wikidata:Q113486941|BASE45 decode]] * Hexadecimal UTF-8 encode ("ABC ₤" ⇒ "41 42 43 20 E2 82 A4") * Hexadecimal UTF-8 decode ("41 42 43 20 E2 82 A4" ⇒ "ABC ₤") * Decimal UTF-8 encode ("ABC ₤" ⇒ "65 66 67 32 226 130 164") * Decimal UTF-8 decode ("65 66 67 32 226 130 164" ⇒ "ABC ₤") * Octal UTF-8 encode ("ABC ₤" ⇒ "101 102 103 40 342 202 244") * Octal UTF-8 decode ("101 102 103 40 342 202 244" ⇒ "ABC ₤") * Binary UTF-8 encode ("ABC ₤" ⇒ "01000001 01000010 01000011 00100000 11100010 10000010 10100100") * Binary UTF-8 decode ("01000001 01000010 01000011 00100000 11100010 10000010 10100100" ⇒ "ABC ₤") * Unicode code point encode ("ABC ₤" ⇒ "41 42 43 20 20A4") - [[Z10785]] * Unicode code point decode ("41 42 43 20 20A4" ⇒ "ABC ₤") * Create regular expression object/string (i.e: "test" & "i" to /test/i) === Natural language functions === * Choose singular or plural based on number (e.g. singularOrPlural("person",6") -> "people") ** Note that there are also dual and other [[:w:grammatical number|grammatical number]]s in other languages. [[User:魔琴|魔琴]] ([[User talk:魔琴|talk]]) 18:54, 26 October 2023 (UTC) ** relevant interwiki link: [[d:WD:property proposal/plural forms]] [[User:Arlo Barnes|Arlo Barnes]] ([[User talk:Arlo Barnes|talk]]) 04:15, 9 February 2024 (UTC) === Cryptographic hash functions === (would be better with types representing a stream of bytes) * {{todo}} [[wikidata:Q47477417|MD2]] - [[Z10135]] * {{todo}} [[wikidata:Q47462255|MD4]] - [[Z10136]] * {{todo}} [[wikidata:Q27036232|MD5]] - [[Z10137]] * {{todo}} [[wikidata:Q47208127|RIPEMD-128]] - [[Z10138]] * {{todo}} [[wikidata:Q47208127|RIPEMD-160]] - [[Z10139]] * {{todo}} [[wikidata:Q47463469|BLAKE2b-160]] - [[Z10140]] * {{todo}} [[wikidata:Q47463469|BLAKE2b-256]] - [[Z10141]] * {{todo}} [[wikidata:Q47463469|BLAKE2b-384]] - [[Z10142]] * {{todo}} [[wikidata:Q47463469|BLAKE2b-512]] - [[Z10143]] * {{todo}} [[wikidata:Q47463469|BLAKE2s-128]] - [[Z10144]] * {{todo}} [[wikidata:Q47463469|BLAKE2s-160]] - [[Z10145]] * {{todo}} [[wikidata:Q47463469|BLAKE2s-224]] - [[Z10146]] * {{todo}} [[wikidata:Q47463469|BLAKE2s-256]] - [[Z10147]] * {{todo}} [[wikidata:Q47465971|SHA-224]] - [[Z10149]] * {{todo}} [[wikidata:Q47465971|HMAC-SHA-256]] * {{todo}} [[wikidata:Q87486893|SHAKE-128]] - [[Z10150]] * {{todo}} [[wikidata:Q87486893|SHAKE-256]] - [[Z10151]] === Colour functions === * return colour contrast ratio (per [https://webaim.org/articles/contrast/]) of two RGB colours (provided as strings e.g. "#FF0000") === Date, time, and calendric functions === Note: 'time' type not yet supported, use 'string' (or for strictly numeric values, 'natural number') ==== Bengali calendar ==== {{z+|12926}} ==== Chinese calendar ==== ==== French Republican Calendar ==== decimalises and secularises the Gregorian * day names: {{Z+|13006}}{{not done}} '''yet''' ==== Gregorian ==== widely used calendar derived from the Julian, basis for [[xkcd:1179|ISO 8601]] * date to ISO week number {{q|2110154}} * string to date * date to ISO 8601 string *: {{done}}, see {{z|21842}}. --[[User:Sbb1413|Sbb1413]] ([[User talk:Sbb1413|talk]]) 18:47, 21 January 2025 (UTC) * date to year (yyyy) * date to month of the year (1-12) * date to month name (January-December) * date to day of the month (1-31) * date to hour of the day (0-23) * date to minutes (0-59) * date to seconds (0-59) Named Day from Date or day of year ; Input type : Date ; Output Type : String. ; The initial use case was automated population of On The Day, based on various collections of Holidays, festival days and observances. ? [[User:ShakespeareFan00|ShakespeareFan00]] ([[User talk:ShakespeareFan00|talk]]) 19:35, 26 March 2025 (UTC) :So If you gave it 2025-05-01 It said "All Fools Day" etc.. Possibly an additional input of enumrated type to indicate which data set to pull holidays, fesitvals and observances from. [[User:ShakespeareFan00|ShakespeareFan00]] ([[User talk:ShakespeareFan00|talk]]) 19:35, 26 March 2025 (UTC) Diary/calander Header function - Using the above and other date functions, generates a data set from a given date. Hence if you give it 2003-05-01 you get back a JOSN set contianing the {Day of week:String, Day in the Month, Observances} etc. [[User:ShakespeareFan00|ShakespeareFan00]] ([[User talk:ShakespeareFan00|talk]]) 19:35, 26 March 2025 (UTC) ==== Holocene calendar ==== * [[w:en:Holocene calendar#Conversion]] *: {{done}}, see {{z|21913}}. --[[User:Sbb1413|Sbb1413]] ([[User talk:Sbb1413|talk]]) 13:30, 25 January 2025 (UTC) ==== Indian national calendar ==== ==== Islamic ==== a Lunar calendar, also called Hijri ==== Julian ==== mostly used by astronomers, some historians, and some Orthodox Christian denominations ==== Mesoamerican calendars ==== including civil and clerical forms ==== Persian ==== also called Jalali ==== Thai calendar ==== ==== Hebrew calendar ==== ==== Darian calendar ==== Proposed time-keeping system for Mars, requires Julian Date/Time to calculate. === Basic numerical functions === * round up ("1.289" & "2" ⇒ "1.29"; "5678" & "2" ⇒ "5700") *: So if the number is floating point, round to n decimal places, and if not, round to n significant figures. Is that right? [[User:BrightSunMan|BrightSunMan]] ([[User talk:BrightSunMan|talk]]) 19:36, 24 December 2023 (UTC) * round down * return integer value (5678.678 ⇒ 5678) * {{Z+|Z13587}} (23 ⇒ "twenty-three") * Convert money from US$ to anything else ** requires source of conversion rates, which is a hole in function-likeness * Arabic numeral to Etruscan numeral * Etruscan numeral to Arabic numeral * floor and ceiling functions, based on defined standards. === Data serialization functions === * parse a string as [[:en:JSON|JSON]] * extract string from JSON object based on [[:d:Q121208951|JSONPath]] (<code>{"name":"Alice"}</code>, "$.name" ⇒ "Alice") *:Why not first convert a JSON string to an object, and then have a function that extracts fields based on JSONPath? Doing Stringly-typed things like this proposal as defined isn't a good idea. [[User:0xDeadbeef|0xDeadbeef]] ([[User talk:0xDeadbeef|talk]]) 16:16, 5 August 2023 (UTC) *::This seems to be a good idea, thanks! I moved and splitted the proposal accordingly. --[[User:1-Byte|1-Byte]] ([[User talk:1-Byte|talk]]) 09:51, 6 August 2023 (UTC) *:: is it okay to go ahead to create this 'extract string from JSON object based on JSONPath' as a function ? [[User:Dolphyb|Dolphyb]] ([[User talk:Dolphyb|talk]]) 16:14, 15 February 2024 (UTC) === Basic list/iterable functions requiring numeric types === * Sum the elements of a numeric list - [[Z14038]] * Product of the elements of a numeric list * {{Z+|Z12676}} * Slice of list elements: for the supplied list, return a list of elements that are at indexes between a supplied range n:m ** Zero indexing is used (first element is index 0)? ** n and m are are included in the range? ** What happens if n and/or m are invalid indexes? * Remove slice of elements from list: return the supplied list with elements between a supplied range of indexes removed ** Zero indexing is used (first element is index 0)? ** n and m are are included in the range? ** What happens if n and/or m are invalid indexes? * Every nth element of list: returns every nth element of the supplied list * Remove every nth element of list: removes every nth element of the supplied list - * sample n objects from list (return up to n [[Wikifunctions:Determinism|random]] objects from the list) * Jaccard similarity coefficient (see https://en.wikipedia.org/wiki/Jaccard_index) === Geodetics functions === [[w:en:planetary coordinate system]], [[w:en:well-known text representation of coordinate reference systems]] ==== Earth ==== * convert coordinates outside of the ranges (-180, 180) for longitude and (-90, 90) for latitude to a canonical form ==== Mars ==== * convert coordinates outside of the ranges [0, 360) for longitude and (-90, 90) for latitude to a canonical form === Unit conversion functions === * {{Z+|15560}} === Conversion function : 2D Cartesian to 2D Polar === Input : matrix [x,y] Output: matrix [θ,r] Short text : Polar conversion of x,y to a polar space centred at 0,0 in the Cartesian. Constraints: x,y,r are reals (float64), θ lies in the range -π<0<π (Sign determined in relation to standards used in STEM applications. [[User:ShakespeareFan00|ShakespeareFan00]] ([[User talk:ShakespeareFan00|talk]]) 14:30, 26 March 2025 (UTC) :The companion could also be provided. As I never did Geodetic functions, I am not sure how Lat, Long to map projection would work , but useful. [[User:ShakespeareFan00|ShakespeareFan00]] ([[User talk:ShakespeareFan00|talk]]) 14:30, 26 March 2025 (UTC) === Trignometric Functions === * sine, cosine, *: Input : float64 Angle in radians. *: Output : float64 desired trignometric value [[User:ShakespeareFan00|ShakespeareFan00]] ([[User talk:ShakespeareFan00|talk]]) 19:40, 26 March 2025 (UTC) ==== Function Proposal : Decimalise angle of the form ('1:x' or '1 in x') to % (in 100) or ‰ (in 1000) ==== *Suggested name: gardient_decimal. *Input type: Integer ( The 1 is implied.). Lower Bound +1: Upper Bound: 1000 (for most practical situations?) *Output type: Real/float 64. Proposer: [[User:ShakespeareFan00|ShakespeareFan00]] ([[User talk:ShakespeareFan00|talk]]) 19:05, 28 March 2025 (UTC) ===Color Functions=== ==== Colorspace Conversion ==== x,y,Y to sRGB (Illuminant D65). Input : 3tuple of float64, Output: 3 tuple of integer, where 0>=r<=255, 0>=g<=255 0>=b<=255. Convert a color specfied as 3 float64 values, from x,y,Y colorspace to sRGB or raise an "Out of Gaumt" exception. [[User:ShakespeareFan00|ShakespeareFan00]] ([[User talk:ShakespeareFan00|talk]]) 19:09, 7 April 2025 (UTC) ==== Spectral Approximate from sRGB or XYZ values. ==== I'd like to see the techniques detailed here: http://scottburns.us/reflectance-curves-from-srgb/ implemented in Wikifunctions as the provided spreadhseet later in the paper doesn't appear to work with Libre Office. [[User:ShakespeareFan00|ShakespeareFan00]] ([[User talk:ShakespeareFan00|talk]]) 19:32, 2 June 2025 (UTC) === Music Functions === It would be nice to have '''12 equal temperament pitch class''' and '''12 equal temperament pitch''' types, as they would be useful for calculating harmonies and melodies. The pitch classes could be stored as natural numbers from 0 to 11, and represented with symbols C, C♯, D, ..., B. The pitches could be stored as integers with -1 being B3, 0 being C4, 1 being C♯4, etc. Over time, we could expand the pitch class and pitch types to other temperaments and just intonation. As I'm new to Wikifunctions and my coding skills are next to zero, this is just a suggestion to the community. (edited) [[User:CaffeineP|CaffeineP]] ([[User talk:CaffeineP|talk]]) 14:48, 9 April 2025 (UTC) :Yes… There are some notational challenges because of enharmonics as well as naming conventions varying by language/culture, so English A♯ is equivalent to German B and English B♭, for example. Ideally, I would want the (English) pitch class that is five semitones higher than G♭ to be displayed as C♭ rather than B. :Also, given some reference pitch like A4 = 440 Hz, we should be able to return the frequency in hertz of a given pitch and, conversely, the nearest pitch for a given frequency and its offset in cents (or whatever). The computation is a lot simpler than representing the result (or capturing how the result should be represented)! [[User:GrounderUK|GrounderUK]] ([[User talk:GrounderUK|talk]]) 20:08, 9 April 2025 (UTC) * '''12-ET Pitch Class of a Pitch''': Return the 12 equal temperament pitch class of a given 12 equal temperament pitch. For example, C4 returns C. * '''12-ET Pitch based on Pitch Class''': Return a 12 equal temperament pitch based on a given 12 equal temperament pitch class and a given integer. For example, C and 4 return C4. * '''Interval between 12-ET Pitch Classes in Semitones''': Get the interval in semitones between two 12 equal temperament pitch classes, always assuming that the first is lower than (or the same as) the second, and the interval is less than an octave. For example, C and B return 11, while B and C return 1. * '''Interval between 12-ET Pitches in Semitones''': Get the interval in semitones between two 12 equal temperament pitches. For example, C4 and B3 return -1, while C3 and B4 return 23. * '''Raise 12-ET Pitch Class by Semitones''': Get a new 12 equal temperament pitch class through raising a given pitch class by the provided number of semitones. For example, raising B by 1 semitone returns C. * '''Lower 12-ET Pitch Class by Semitones''': Same as above, but lower the pitch class instead of raising it. * '''Raise 12-ET Pitch by Semitones''': Get a new 12 equal temperament pitch through raising a given pitch by the provided number of semitones. For example, raising B3 by 1 semitone returns C4. * '''Lower 12-ET Pitch by Semitones''': Same as above, but lower the pitch instead of raising it. * '''Frequency of a 12-ET Pitch''': Return a float64 frequency in Hz based on the provided 12 equal temperament pitch (and possibly a reference pitch with its frequency; if not provided, take default A4 = 440 Hz). * '''Approximate 12-ET Pitch Class based on Frequency''': Return a 12 equal temperament pitch class approximately based on the provided frequency in Hz. * '''Approximate 12-ET Pitch based on Frequency''': Return a 12 equal temperament pitch approximately based on the provided frequency in Hz. === SVG Functions === I would be nice to generate SVG (a XML-based vector image format which is basically a long string), it could allow to replace a lot of images on Commons or templates/tools. Here some examples: * create simple forms, * create graphs (line graph/bar graph for population or for production, elections diagrams like [[:File:1900Hawaii.svg]], etc.), * create more complex visualisation like genealogical trees, * create coat of arms (?), * etc. Cheers, [[User:VIGNERON|VIGNERON]] ([[User talk:VIGNERON|talk]]) 10:47, 23 April 2025 (UTC) :@[[User:VIGNERON|VIGNERON]]: Eventually that is something we might support, but there'll be nothing any time soon. It has a number of complex security and scalability concerns, sadly. [[User:Jdforrester (WMF)|Jdforrester (WMF)]] ([[User talk:Jdforrester (WMF)|talk]]) 13:21, 23 April 2025 (UTC) ::{{ping|Jdforrester (WMF)}} thanks. I talked about it for the last Corner but I wanted to leave a record here, if we have time, maybe I'll use that time to write some things to prepare (like listing templates and tools on the Wikimedia projects that generate SVG or visualisations). Cheers, [[User:VIGNERON|VIGNERON]] ([[User talk:VIGNERON|talk]]) 15:28, 23 April 2025 (UTC) :::Of course! I've explicitly added a section on this here: [[Wikifunctions:Embedded function calls#Non-text output]] — hope that helps assure you that we're thinking about it. [[User:Jdforrester (WMF)|Jdforrester (WMF)]] ([[User talk:Jdforrester (WMF)|talk]]) 21:40, 23 April 2025 (UTC) == Object / type / function functions == *{{Z+|Z17893}} *{{Z+|Z21180}} *{{Z+|Z21182}} *{{Z+|Z21193}} == External function lists == * [[WF:importing]] fmupzur2qjb2fezgb7q3h3fa623njv7 190999 190997 2025-06-03T14:15:31Z Denny 81 /* Gregorian calendar date */ 190999 wikitext text/x-wiki Do you have an idea for a new function? Suggest it here! It may help to refer to [[Wikifunctions:Glossary|our glossary]]. You can [https://www.wikifunctions.org/wiki/Special:CreateZObject?zid=Z8 create a function] right away if you have the user-rights. If a function requires a new type, consider [[WF:TP|proposing it]]. Note that for now '''we only support a limited number of types as input and output types''' of functions. More types are coming in the next few months. For the full list, see [[WF:Type]]. Once created, consider adding new Functions to the [[Wikifunctions:Catalogue|catalogue]]. [[Category:Maintenance]] == Proposed functions requiring only available types (string, Boolean, Natural number, list) == === String === ==== String character discard functions ==== * remove stereochemical specificity in [[:en:Simplified_molecular-input_line-entry_system|SMILES]] string, like e/z isomers ** already fulfilled by someone else at: [[Z11815]] * simplify [[:en:Simplified_molecular-input_line-entry_system|SMILES]] string according to some basic simplifications ** {{Partly done}}, see [[Z19380]]. There's testcases, and I (or someone else) can get around to the coding later. [[User:MolecularPilot|MolecularPilot]] ([[User talk:MolecularPilot|talk]]) 10:21, 26 October 2024 (UTC) *** {{Done}} completely, still at [[Z19380]]. Another user helpfully wrote a python script that passed 1 of my test cases between October and now. I just re-wrote the script to pass all 3 test cases, and also created a JavaScript version. [[User:MolecularPilot|MolecularPilot]] ([[User talk:MolecularPilot|talk]]) 03:43, 10 January 2025 (UTC) ==== String character replacement functions ==== ==== String search functions ==== ==== String escaping and unescaping functions ==== ==== String encoding and decoding functions ==== * Unicode normalising functions (there are several types of normalisation) * [[wikidata:Q47467628|Backslash-U with delimiters ASCII encoding of Unicode encode]] ** Can someone elaborate on this? No example cases were given on the document, and backslash-U with delimiters is anyway not that prevalent as far as I have seen. [[User:BrightSunMan|BrightSunMan]] ([[User talk:BrightSunMan|talk]]) 15:24, 26 December 2023 (UTC) ** {{Done}}, see [[Z21486]]. I've made 5 test cases (achieving 100% coverage) and implementations in both JavaScript and Python, which passes all test cases. Support for both the Basic Multilingual Plane (BMP) and supplementary characters (using surrogate pairs). [[User:MolecularPilot|MolecularPilot]] ([[User talk:MolecularPilot|talk]]) 02:49, 10 January 2025 (UTC) * [[wikidata:Q47467628|XML and HTML ASCII encoding of Unicode encode]] ** {{Done}}, see [[Z21503]]. Again, I've also made 5 test cases which cover a wide variety of Unicode characters, and implementations in JS and Python (which pass all the tests). As before successful support for both the Basic Multilingual Plane (BMP) and supplementary characters (this time '''not using''' surrogate pairs, as is customary for HTML/XML encoding). [[User:MolecularPilot|MolecularPilot]] ([[User talk:MolecularPilot|talk]]) 05:30, 10 January 2025 (UTC) * [https://html.spec.whatwg.org/#named-character-references HTML named character encode] * [[wikidata:Q47466379|Punycode encode]] - [[Z10178]] (part only, not whole url); see also [[Z10185]] * [[:en:Unified_English_Braille|Unified English Braille encode]] (discarding invalid characters?) ** {{Done}}, see [[Z21514]]. 6 test cases this time, and support for both letters and numbers, with implementations in JS and Python (both passing all the tests). [[User:MolecularPilot|MolecularPilot]] ([[User talk:MolecularPilot|talk]]) 06:00, 10 January 2025 (UTC) ==== String presentation functions ==== * add [[:en:Quotation_mark|locale-specific quotation marks]] to string ** Shouldn't the output depend on the locale? See [[mw:Extension:Scribunto/Lua_reference_manual#mw.language:formatNum|mw.language:formatNum]]. —[[User:Dexxor|Dexxor]] ([[User talk:Dexxor|talk]]) 17:15, 4 September 2023 (UTC) ==== String colour notation functions ==== * [[:en:Complementary_colors|complementary colour]] in RGB colour model ("#FF0000" ⇒ "#00FFFF") ** Any specification on invalid inputs? [[User:MilkyDefer|<span style="color:#09C">Milky</span>]][[User talk:MilkyDefer|'''<span style="color:#F09">Defer</span>''']] 11:22, 5 August 2023 (UTC) *:Great question. I don't think there is a position documented on Wikifunctions for how to handle invalid input to a function. Can we throw exceptions? Return null? [[User:Dhx1|Dhx1]] ([[User talk:Dhx1|talk]]) 13:23, 6 August 2023 (UTC) *::This shouldn't be a string function. This should be a type that represents a RGB color (with corresponding validation function (hopefully it can just be three unsigned 8bit integers)) and a function that returns the complementary color. [[User:0xDeadbeef|0xDeadbeef]] ([[User talk:0xDeadbeef|talk]]) 12:38, 7 August 2023 (UTC) ** Work on the color type has been stalled for over a year. But this task is {{Done}}, I have made [[Z21554]], that uses string hex codes (with or without the initial # and supporting short hex format). This is probably the most optimal format, as I can imagine this function being used on-wiki for thing like the style parameter (CSS) of MediaWiki tags, or of templates etc. There's 5 testcases I've made, which are passed by both my JS and Python versions. :) [[User:MolecularPilot|MolecularPilot]] ([[User talk:MolecularPilot|talk]]) 03:39, 11 January 2025 (UTC) ==== String notation validation checks ==== * check if string is an [[:en:International_Chemical_Identifier]] ** {{Partly done}} see [[Z21539]]. Supports the verification of the chemical formula and the stereochemical layer. There are 13 testcaes that I've written, all of which are passed by my JavaScript implementation. Note that a python implementation is not possible as the regex module is not available in Wikifunctions. [[User:MolecularPilot|MolecularPilot]] ([[User talk:MolecularPilot|talk]]) 03:09, 11 January 2025 (UTC) ** To do: *** Needs to verify the hydrogen and connection sections of the main layer *** Support the charge layer *** Support the isotopic layer **[[User:MolecularPilot|MolecularPilot]] ([[User talk:MolecularPilot|talk]]) 03:09, 11 January 2025 (UTC) ***{{ping|MolecularPilot}} A python impl. is infact possible. I created a basic direct translation at [[Z22823]]. Some tests are failing as the regex needs a bit of sorting out, out of scope for me, but you can give it a try! Keep in mind that you need to escape any \ with a \\ just before saving per [[Wikifunctions:Python_implementations#Known_limitations_as_of_October_2024]]. <span style="font-family:monospace;font-weight:bold">[[User:Bunnypranav|<span style="color:#63b3ed">~/Bunny</span><span style="color:#2c5282">pranav</span>]]:&lt;[[User talk:Bunnypranav|<span style="color:#63b3ed">ping</span>]]&gt;</span> 06:14, 26 February 2025 (UTC) * check if string is a [[:en:SMILES_arbitrary_target_specification|SMILES arbitrary target specification (SMARTS) notation]] * check if string is an [[:en:ABC_notation|ABC notation]] * check if string is a [[:en:LilyPond|LilyPond notation]] * {{Doing}} check if string is a [[:en:Portable_Game_Notation|portable game notation]] for a chess game ([[Z15867]], figuring out how to add newlines to the test input) * [[Z14643]] check if string is [[:en:Forsyth–Edwards Notation|Forsyth–Edwards Notation]] for a chess position * check if string is a [[:en:UIC_classification_of_locomotive_axle_arrangements|UIC classification of locomotive axle arrangements notation]] * check if a string is a valid [[:en:ISBN|ISBN]]-13 (probably just a simple variant of [[Z10821]], dropping/validating the hyphens) ** {{Done}} at [[Z23561]]. Note than ISBN-13 starts with only 978/979, a differing factor from EAN. I have added that in the func and tests as well. <span style="font-family:monospace;font-weight:bold">[[User:Bunnypranav|<span style="color:#63b3ed">~/Bunny</span><span style="color:#2c5282">pranav</span>]]:&lt;[[User talk:Bunnypranav|<span style="color:#63b3ed">ping</span>]]&gt;</span> 12:53, 26 March 2025 (UTC) * check if a string is a valid [[:en:Digital_object_identifier|DOI]] ** Something about implementation difficulties: https://stackoverflow.com/questions/27910/finding-a-doi-in-a-document-or-page [[User:Alexander-Mart-Earth|Alexander-Mart-Earth]] ([[User talk:Alexander-Mart-Earth|talk]]) 14:28, 21 December 2023 (UTC) * check if a string is a valid [[:en:ISWN|ISWN]] ** {{Done}}, see [[Z21562]]. Contains 6 test cases that I made, all of which are passed by my Python and JavaScript implementations. It supports both just numbers, and a string containing the "separator" symbols (like ., - and /). [[User:MolecularPilot|MolecularPilot]] ([[User talk:MolecularPilot|talk]]) 07:32, 11 January 2025 (UTC) ==== String validation checks ==== * {{doing}} check if string is in [[:en:Camel_case|lower camel case]] * check if string is a valid ISO 3166 country code * check if string is a valid ISO 8601 date/time (2023-08-03 ⇒ true; 2023-02-30 ⇒ false; 2023-08-03 15:00:00.000 ⇒ true; 2023-08-03 25:00:00.000 ⇒ false) ** {{Done|by=Philipnelson99}} at [[Z14206]]. <span style="font-family:monospace;font-weight:bold">[[User:Bunnypranav|<span style="color:#63b3ed">~/Bunny</span><span style="color:#2c5282">pranav</span>]]:&lt;[[User talk:Bunnypranav|<span style="color:#63b3ed">ping</span>]]&gt;</span> 06:23, 26 February 2025 (UTC) * check if string is a valid [[:en:ISO_8601#EDTF|EDTF]] date/time * {{doing}} check if string is a valid email address (watch out, see [https://github.com/kdeldycke/awesome-falsehood#emails this list of falsehoods] about email addresses to create unit tests - email addresses are more complicated than they seem) — [[Z10410]] creating test cases in progress. Currently it is stuck on figuring out what exactly is a valid emaill address. Nearly every errata for [[RFC:3696]] is about that. * {{doing}} check if string is a valid [[d:Help:Items|Wikidata item]] — [[Z10696]] (possibly stuck on [[phab:T343593]]?) ====String analysis functions==== *Word frequency counting. Provide a list of words and their frequencies. **{{Done}}, see [[Z21593]]. Providing a list of words and frequencies would require a new type, so instead it requires the sentence and the word you want to count, and returns the occurrences. Hyphenated words are not considered a match of their components, i.e. "fast-forward" is a match of "fast-forward" but nether "fast" nor "forward", I think this is the optimal behaviour but if someone disagrees we can change it. There is a JS implementation that I made which bases all of my 4 test cases. [[User:MolecularPilot|MolecularPilot]] ([[User talk:MolecularPilot|talk]]) 05:41, 12 January 2025 (UTC) *:@[[User:MolecularPilot|MolecularPilot]] And I have added a Python implementation at [[Z22473]]. I would appreciate if you could attach it! <span style="font-family:monospace;font-weight:bold">[[User:Bunnypranav|<span style="color:#63b3ed">~/Bunny</span><span style="color:#2c5282">pranav</span>]]:&lt;[[User talk:Bunnypranav|<span style="color:#63b3ed">ping</span>]]&gt;</span> 08:13, 15 February 2025 (UTC) *::Cool, thank you so much for doing it! Someone's already beat me to it re attaching it, but great work! :) [[User:MolecularPilot|MolecularPilot]] ([[User talk:MolecularPilot|talk]]) 21:33, 16 February 2025 (UTC) ==== Monolingual text ==== ==== String Wikitext operations ==== ... === Natural number === * rectified linear unit (ReLU) - https://www.wikifunctions.org/view/en/Z13909 === Integer=== * {{Done}} - multiply vectors ([[Z21903]], [[Z20659]]) === Byte === See [[Wikifunctions:Catalogue/Boolean operations#Byte functions|existing Byte functions]] in catalogue. * next byte without overflow: byte → byte * previous byte without overflow: byte → byte * next byte by Gray code: byte → byte * previous byte by Gray code: byte → byte * get nth bit as Boolean: byte, natural number → boolean * highest bit set: byte → boolean * lowest bit set: byte → boolean * all bits set: byte → boolean * no bits set: byte → boolean * set nth bit: byte, natural number → byte * clear nth bit: byte, natural number → byte * switch nth bit: byte, natural number → byte * add bytes without overflow: byte, byte → byte * subtract bytes without overflow: byte, byte → byte * multiply bytes without overflow: byte, byte → byte * clamped add bytes: byte, byte → byte * clamped subtract bytes: byte, byte → byte * clamped multiply bytes: byte, byte → byte * add bytes with overflow: byte, byte → byte * subtract bytes with overflow: byte, byte → byte * multiply bytes with overflow: byte, byte → byte * modulo bytes: byte, byte → byte * byte division: byte, byte → byte * reverse: byte → byte * right shift: byte → byte * left shift: byte → byte * right shift by n: byte, natural number → byte * left shift by n: byte, natural number → byte * right shift as ring: byte → byte * left shift as ring: byte → byte * right shift by n as ring: byte, natural number → byte * left shift by n as ring: byte, natural number → byte * how many bits set: byte → natural number === Unicode code point === See [[Wikifunctions:Catalogue/Character operations#Unicode code points|existing code point functions in catalogue]]. * Codepoint to list of bytes for UTF-8 * Codepoint to list of bytes for UTF-16 * Codepoint to list of bytes for UTF-32 ===Object=== === List === ==== Basic list/iterable functions ==== * group * [[w:Circular shift]] ==== Complex list functions ==== * zip lists together: for [ A .. Z ] and [ 1 .. 26 ] return [ [ A, 1 ], [ B, 2 ], .. ] ** Unsure what happens if input lists are of different lengths. ** If possible this function should be able to zip more than 2 lists together... 3, 4, n? Perhaps the input should be list(list, list, list, list, ..). *{{Z+|Z19198}} ==== CSV list operations ==== * list of strings to csv : number -> list of decimal digits<br>number -> list of binary digits<br>number -> list of digits in base provided [[User:Well very well|Well very well]] ([[User talk:Well very well|talk]]) 11:20, 18 May 2024 (UTC) === Functions with functions as arguments === * sort, by a given function * test whether certain functions have specific properties of [[:w:Homogeneous_relation|homogeneous relations]] for particular lists/sets * remove first element matching filter from list === Biology === ==== Taxon functions ==== * Wikidata item representing taxon rank ({{Q|P31}} {{Q|Q427626}}) is at genus level or below ** Should(?) be possible with the current Wikidata functionality, from what I understand. See [[:Wikifunctions:Project chat#Taxon rank function(s)]] for a more detailed explanation. --[[User:WrenFalcon|WrenFalcon]] ([[User talk:WrenFalcon|talk]]) 23:27, 16 May 2025 (UTC) === Gregorian calendar date === * Create a reading function for Dagbani that handles all the possible formats (both the English-linke and the traditional ones, both the Gregorian and the Hijra calendars). [https://docs.google.com/document/d/1u7-ZeY7NHt75JICUPAYky3-7KgkvauD_W3fBjmvpFO0/edit?tab=t.0#heading=h.gf6hp9o3gi0j] [[User:Dv103|Dv103]] ([[User talk:Dv103|talk]]) 15:43, 31 May 2025 (UTC) * day of year from date * year from date * era from date * before / sooner / earlier * after / later * same month * same day of the month * same day of the year * same calendar year * same day of the week * within a year * within a week * within n days * {{Z+|Z24918}} * months between * weeks between * previous day * n days later * n days earlier * n weeks later * n weeks earlier * n months later * n months earlier * n years later * n months later * Julian day number to date * how many leap days passed between two dates * how many weekdays between two dates * is it easter * days until next easter * days since last easter * day number of the year * days until the end of the year * is proleptic * within Pythons date implementation * within JavaScript's date implementation * next time a day of the year is on a specific weekday * next time a day of the month is on a specific weekday * next Friday the 13th == Morphological functions == morphology is the part of linguistics that studies how language parts are 'shaped' and change diachronically and when inflected. Hausa, Igbo, Malayalam, Bangla/Bengali and Dagbani are [[d:Wikidata:Lexicographical data/Focus languages|focus languages]] for Wikidata's lexicographic dataset, which is an important aspect of [[WF:glossary#Abstract Wikipedia|Abstract Wikipedia]]. === mul - Multiple languages === * inputs: natural number (new numeric type) and language Z-number; output: 'singular', 'dual', 'paucal', 'plural', etc. as string *: {{doing}}: {{Z|15977}} === ase - American Sign Language === * string: Stokoe to ase-[https://github.com/sutton-signwriting/core Sgnw] and vice-versa (consult {{ping|Slevinski}} as to best approach) === bn - Bangla === === cy - Welsh === [[w:en:colloquial Welsh morphology]] === dag - Dagbani === === de - German === * tense * person * number for each verb ** tenses: present, past, ...? ** person: first, second, third ** number: singular, plural ** {{doing}} third person singular present ** second person singular preterite === en - English === * [[Z11390]] Verb -> agent noun, e.g. "dance"->"dancer" * Join English morphemes (extends [[Z13254]] to cases like re + en + able + er + s → re-enablers. [[Z13254]] will correctly join re-enable + ers or re- + enablers, but re + enablers → “renablers” (incorrect). [[Z13275]] tests the Reduce function to produce “detoxification” from a list of four morphemes (orchestrator limit exceeded with five). I doubt we’ll want to derive “toxify” from “toxic”, however. * Derive lemmas from a form. This is envisaged as the converse of Join English morphemes. The focus would be identifying the base form (the lexeme’s lemma) rather than further segmenting the lemma. For example, “underlay” should return “underlie” (for which it is the past participle) and the noun “underlay” (for which it is the lemma) and (perhaps) the verb “underlay”, which might be the tendency of an unproductive hen or the activity of a carpet-fitter. As this is a purely functional converse, every string will have itself as a possible lemma. * Generate [[:w:Numeral_prefix|Numerical prefixes]] of various kinds from a natural number input. * {{Z+|Z19499}} '''<big>eu - Basque</big>''' * Basque language declension system in rather regular based on suffixes. ** Here a few examples for Basque declension: *** {{Z+|Z18541}} *** {{Z+|Z18670}} **Before implementing all of them, we may propose an overall classification that eases both the implementation and the future usage of the functions. Here a first try based on bibliography from the [https://www.euskaltzaindia.eus/index.php?option=com_ebe&view=bilaketa&task=pdf&Itemid=1161&atala=deklinabide-taulak Basque Language Academy]: ***Personal pronouns: they can be treated as exceptions (e.g. "zuek -> zuei", etc.) together with proper noun declension, or as a separate case. ***Determiners: they can be treated as exceptions (e.g. "hau" -> "honek", etc) together with common noun declension, or as a separated case ***Grammatical cases: ****Absolutive ("Nor"): indefinite, singular and plural ****Ergative ("Nork"): indefinite, singular and plural ****Dative ("Nori"): indefinite, singular and plural ***Place and Time: we must distinguish animate (AN) and inanimate (IN) ****Inessive IN ("Non"): indefinite, singular and plural ****Inessive AN ("Norengan"): indefinite, singular and plural - It could be a composition of "Noren" + "-gan" ****Place and time ("Nongo"): indefinite, singular and plural ****Allative IN ("Nora"): indefinite, singular and plural ****Allative AN ("Norengana"): indefinite, singular and plural - It could be a composition of "Noren/Norengan" + "-gan/-a" ****Finished Allative AN ("Noraino"): indefinite, singular and plural - It could be a composition of "Nora" + "-ino" ****Finished Allative AN ("Norengainaino"): indefinite, singular and plural - It could be a composition of "Noregana" + "-ino" ****Right way Allative IN ("Noratz"): indefinite, singular and plural - It could be a composition of "Nora" + "-ntz" ****Right way Allative AN ("Norenganantz"): indefinite, singular and plural - It could be a composition of "Norengana" + "-ntz" ****Ablative IN ("Nondik"): indefinite, singular and plural ****Ablative AN ("Norengandik"): indefinite, singular and plural ***Rest of the cases: ****Partitive ("Zerik"): indefinite ****Possessive ("Noren"): indefinite, singular and plural ****Sociative ("Norekin"): indefinite, singular and plural ****Instrumental ("Zerez"): indefinite, singular and plural ****Motivative ("Zerengatik"): indefinite, singular and plural ****Destinative ("Norentzat"): indefinite, singular and plural - It could be a composition of "Noren" + "-tzat" ***Special case: ****Prolative ("Nortzat"): indefinite ***To take into consideration: ****Together with animate and inanimate classification, we should also consider if the noun is a proper noun ("izen berezia"). We can identify that automatically (e.g. check if written in Title case, but this may not be always possible like in the beginning of sentences), but a dedicated function may be preferred (or a boolean to the generic function saying it is a proper noun). ****The main distinction is between noun ending by vowel or consonant that can be easily computed === fr - French === * [[Z11590]] Masculine adjective -> feminine, e.g. "exact"->"exacte" * Conjugated verb => Infinitive, e.g. "alla" => "aller", "mordit" => "mordre" === ha - Hausa === A notated demo sentence ("Aishà taa jeefar dà kàren Indoo" ― "Aisha threw away Indo's dog") is available at http://intent.xigt.org === ig - Igbo === === ldn - Láadan === section moved to [[WF:human languages/Z1882]] === ml - Malayalam === ===kcg - Tyap=== * Tyap has six determiners/definite articles which determine the pronoun, number (1-5), etc. forms used. ** ka & wu (basically for singular nouns and adjectives with a few exceptions) ** hu & ji (for singular and plural nouns and adjectives) ** ba & na (mainly for plural nouns. *** Determiners come after nouns. *** When an adjective comes before a noun, the determiner used is that of the adjective. E.g., a̱sham (ka) - (the) beautiful, kyang (hu) - (the) thing = a̱sham kyang (ka) - (the) beautiful thing. * Tyap has a non-uniform noun class system used for noun pluralization and conversion from one part of speech to another. E.g., a̱bwom (song) and bwom (to sing), a̱fufwuo (ears) and fufwuo (ear). * Affixation: Prefixes exist but suffixes hardly are found. == Proposed functions requiring future types == '''Note these functions cannot be implemented properly until the needed types are requested and approved.''' If one wishes to nevertheless attempt to define and implement them, * the functions and implementations should indicate prominently in their labels that their input/output types must be adjusted once support for the appropriate replacement types become available; ''and'' * the functions should ''not'' be used in the implementations of any other functions, as the later adjustment of input/output types to appropriate replacements will break those implementations. === String manipulation functions === === String analysis functions === * count distance between two letters in given alphabet (default to 26-charcater western alphabet. case insensitive. e.g. "a" & "A" ⇒ 0; "K" & "N" ⇒ 3) === String encoding and decoding functions === (would be better with types representing a stream of bytes) * [[wikidata:Q113486941|BASE45 encode]] * [[wikidata:Q113486941|BASE45 decode]] * Hexadecimal UTF-8 encode ("ABC ₤" ⇒ "41 42 43 20 E2 82 A4") * Hexadecimal UTF-8 decode ("41 42 43 20 E2 82 A4" ⇒ "ABC ₤") * Decimal UTF-8 encode ("ABC ₤" ⇒ "65 66 67 32 226 130 164") * Decimal UTF-8 decode ("65 66 67 32 226 130 164" ⇒ "ABC ₤") * Octal UTF-8 encode ("ABC ₤" ⇒ "101 102 103 40 342 202 244") * Octal UTF-8 decode ("101 102 103 40 342 202 244" ⇒ "ABC ₤") * Binary UTF-8 encode ("ABC ₤" ⇒ "01000001 01000010 01000011 00100000 11100010 10000010 10100100") * Binary UTF-8 decode ("01000001 01000010 01000011 00100000 11100010 10000010 10100100" ⇒ "ABC ₤") * Unicode code point encode ("ABC ₤" ⇒ "41 42 43 20 20A4") - [[Z10785]] * Unicode code point decode ("41 42 43 20 20A4" ⇒ "ABC ₤") * Create regular expression object/string (i.e: "test" & "i" to /test/i) === Natural language functions === * Choose singular or plural based on number (e.g. singularOrPlural("person",6") -> "people") ** Note that there are also dual and other [[:w:grammatical number|grammatical number]]s in other languages. [[User:魔琴|魔琴]] ([[User talk:魔琴|talk]]) 18:54, 26 October 2023 (UTC) ** relevant interwiki link: [[d:WD:property proposal/plural forms]] [[User:Arlo Barnes|Arlo Barnes]] ([[User talk:Arlo Barnes|talk]]) 04:15, 9 February 2024 (UTC) === Cryptographic hash functions === (would be better with types representing a stream of bytes) * {{todo}} [[wikidata:Q47477417|MD2]] - [[Z10135]] * {{todo}} [[wikidata:Q47462255|MD4]] - [[Z10136]] * {{todo}} [[wikidata:Q27036232|MD5]] - [[Z10137]] * {{todo}} [[wikidata:Q47208127|RIPEMD-128]] - [[Z10138]] * {{todo}} [[wikidata:Q47208127|RIPEMD-160]] - [[Z10139]] * {{todo}} [[wikidata:Q47463469|BLAKE2b-160]] - [[Z10140]] * {{todo}} [[wikidata:Q47463469|BLAKE2b-256]] - [[Z10141]] * {{todo}} [[wikidata:Q47463469|BLAKE2b-384]] - [[Z10142]] * {{todo}} [[wikidata:Q47463469|BLAKE2b-512]] - [[Z10143]] * {{todo}} [[wikidata:Q47463469|BLAKE2s-128]] - [[Z10144]] * {{todo}} [[wikidata:Q47463469|BLAKE2s-160]] - [[Z10145]] * {{todo}} [[wikidata:Q47463469|BLAKE2s-224]] - [[Z10146]] * {{todo}} [[wikidata:Q47463469|BLAKE2s-256]] - [[Z10147]] * {{todo}} [[wikidata:Q47465971|SHA-224]] - [[Z10149]] * {{todo}} [[wikidata:Q47465971|HMAC-SHA-256]] * {{todo}} [[wikidata:Q87486893|SHAKE-128]] - [[Z10150]] * {{todo}} [[wikidata:Q87486893|SHAKE-256]] - [[Z10151]] === Colour functions === * return colour contrast ratio (per [https://webaim.org/articles/contrast/]) of two RGB colours (provided as strings e.g. "#FF0000") === Date, time, and calendric functions === Note: 'time' type not yet supported, use 'string' (or for strictly numeric values, 'natural number') ==== Bengali calendar ==== {{z+|12926}} ==== Chinese calendar ==== ==== French Republican Calendar ==== decimalises and secularises the Gregorian * day names: {{Z+|13006}}{{not done}} '''yet''' ==== Gregorian ==== widely used calendar derived from the Julian, basis for [[xkcd:1179|ISO 8601]] * date to ISO week number {{q|2110154}} * string to date * date to ISO 8601 string *: {{done}}, see {{z|21842}}. --[[User:Sbb1413|Sbb1413]] ([[User talk:Sbb1413|talk]]) 18:47, 21 January 2025 (UTC) * date to year (yyyy) * date to month of the year (1-12) * date to month name (January-December) * date to day of the month (1-31) * date to hour of the day (0-23) * date to minutes (0-59) * date to seconds (0-59) Named Day from Date or day of year ; Input type : Date ; Output Type : String. ; The initial use case was automated population of On The Day, based on various collections of Holidays, festival days and observances. ? [[User:ShakespeareFan00|ShakespeareFan00]] ([[User talk:ShakespeareFan00|talk]]) 19:35, 26 March 2025 (UTC) :So If you gave it 2025-05-01 It said "All Fools Day" etc.. Possibly an additional input of enumrated type to indicate which data set to pull holidays, fesitvals and observances from. [[User:ShakespeareFan00|ShakespeareFan00]] ([[User talk:ShakespeareFan00|talk]]) 19:35, 26 March 2025 (UTC) Diary/calander Header function - Using the above and other date functions, generates a data set from a given date. Hence if you give it 2003-05-01 you get back a JOSN set contianing the {Day of week:String, Day in the Month, Observances} etc. [[User:ShakespeareFan00|ShakespeareFan00]] ([[User talk:ShakespeareFan00|talk]]) 19:35, 26 March 2025 (UTC) ==== Holocene calendar ==== * [[w:en:Holocene calendar#Conversion]] *: {{done}}, see {{z|21913}}. --[[User:Sbb1413|Sbb1413]] ([[User talk:Sbb1413|talk]]) 13:30, 25 January 2025 (UTC) ==== Indian national calendar ==== ==== Islamic ==== a Lunar calendar, also called Hijri ==== Julian ==== mostly used by astronomers, some historians, and some Orthodox Christian denominations ==== Mesoamerican calendars ==== including civil and clerical forms ==== Persian ==== also called Jalali ==== Thai calendar ==== ==== Hebrew calendar ==== ==== Darian calendar ==== Proposed time-keeping system for Mars, requires Julian Date/Time to calculate. === Basic numerical functions === * round up ("1.289" & "2" ⇒ "1.29"; "5678" & "2" ⇒ "5700") *: So if the number is floating point, round to n decimal places, and if not, round to n significant figures. Is that right? [[User:BrightSunMan|BrightSunMan]] ([[User talk:BrightSunMan|talk]]) 19:36, 24 December 2023 (UTC) * round down * return integer value (5678.678 ⇒ 5678) * {{Z+|Z13587}} (23 ⇒ "twenty-three") * Convert money from US$ to anything else ** requires source of conversion rates, which is a hole in function-likeness * Arabic numeral to Etruscan numeral * Etruscan numeral to Arabic numeral * floor and ceiling functions, based on defined standards. === Data serialization functions === * parse a string as [[:en:JSON|JSON]] * extract string from JSON object based on [[:d:Q121208951|JSONPath]] (<code>{"name":"Alice"}</code>, "$.name" ⇒ "Alice") *:Why not first convert a JSON string to an object, and then have a function that extracts fields based on JSONPath? Doing Stringly-typed things like this proposal as defined isn't a good idea. [[User:0xDeadbeef|0xDeadbeef]] ([[User talk:0xDeadbeef|talk]]) 16:16, 5 August 2023 (UTC) *::This seems to be a good idea, thanks! I moved and splitted the proposal accordingly. --[[User:1-Byte|1-Byte]] ([[User talk:1-Byte|talk]]) 09:51, 6 August 2023 (UTC) *:: is it okay to go ahead to create this 'extract string from JSON object based on JSONPath' as a function ? [[User:Dolphyb|Dolphyb]] ([[User talk:Dolphyb|talk]]) 16:14, 15 February 2024 (UTC) === Basic list/iterable functions requiring numeric types === * Sum the elements of a numeric list - [[Z14038]] * Product of the elements of a numeric list * {{Z+|Z12676}} * Slice of list elements: for the supplied list, return a list of elements that are at indexes between a supplied range n:m ** Zero indexing is used (first element is index 0)? ** n and m are are included in the range? ** What happens if n and/or m are invalid indexes? * Remove slice of elements from list: return the supplied list with elements between a supplied range of indexes removed ** Zero indexing is used (first element is index 0)? ** n and m are are included in the range? ** What happens if n and/or m are invalid indexes? * Every nth element of list: returns every nth element of the supplied list * Remove every nth element of list: removes every nth element of the supplied list - * sample n objects from list (return up to n [[Wikifunctions:Determinism|random]] objects from the list) * Jaccard similarity coefficient (see https://en.wikipedia.org/wiki/Jaccard_index) === Geodetics functions === [[w:en:planetary coordinate system]], [[w:en:well-known text representation of coordinate reference systems]] ==== Earth ==== * convert coordinates outside of the ranges (-180, 180) for longitude and (-90, 90) for latitude to a canonical form ==== Mars ==== * convert coordinates outside of the ranges [0, 360) for longitude and (-90, 90) for latitude to a canonical form === Unit conversion functions === * {{Z+|15560}} === Conversion function : 2D Cartesian to 2D Polar === Input : matrix [x,y] Output: matrix [θ,r] Short text : Polar conversion of x,y to a polar space centred at 0,0 in the Cartesian. Constraints: x,y,r are reals (float64), θ lies in the range -π<0<π (Sign determined in relation to standards used in STEM applications. [[User:ShakespeareFan00|ShakespeareFan00]] ([[User talk:ShakespeareFan00|talk]]) 14:30, 26 March 2025 (UTC) :The companion could also be provided. As I never did Geodetic functions, I am not sure how Lat, Long to map projection would work , but useful. [[User:ShakespeareFan00|ShakespeareFan00]] ([[User talk:ShakespeareFan00|talk]]) 14:30, 26 March 2025 (UTC) === Trignometric Functions === * sine, cosine, *: Input : float64 Angle in radians. *: Output : float64 desired trignometric value [[User:ShakespeareFan00|ShakespeareFan00]] ([[User talk:ShakespeareFan00|talk]]) 19:40, 26 March 2025 (UTC) ==== Function Proposal : Decimalise angle of the form ('1:x' or '1 in x') to % (in 100) or ‰ (in 1000) ==== *Suggested name: gardient_decimal. *Input type: Integer ( The 1 is implied.). Lower Bound +1: Upper Bound: 1000 (for most practical situations?) *Output type: Real/float 64. Proposer: [[User:ShakespeareFan00|ShakespeareFan00]] ([[User talk:ShakespeareFan00|talk]]) 19:05, 28 March 2025 (UTC) ===Color Functions=== ==== Colorspace Conversion ==== x,y,Y to sRGB (Illuminant D65). Input : 3tuple of float64, Output: 3 tuple of integer, where 0>=r<=255, 0>=g<=255 0>=b<=255. Convert a color specfied as 3 float64 values, from x,y,Y colorspace to sRGB or raise an "Out of Gaumt" exception. [[User:ShakespeareFan00|ShakespeareFan00]] ([[User talk:ShakespeareFan00|talk]]) 19:09, 7 April 2025 (UTC) ==== Spectral Approximate from sRGB or XYZ values. ==== I'd like to see the techniques detailed here: http://scottburns.us/reflectance-curves-from-srgb/ implemented in Wikifunctions as the provided spreadhseet later in the paper doesn't appear to work with Libre Office. [[User:ShakespeareFan00|ShakespeareFan00]] ([[User talk:ShakespeareFan00|talk]]) 19:32, 2 June 2025 (UTC) === Music Functions === It would be nice to have '''12 equal temperament pitch class''' and '''12 equal temperament pitch''' types, as they would be useful for calculating harmonies and melodies. The pitch classes could be stored as natural numbers from 0 to 11, and represented with symbols C, C♯, D, ..., B. The pitches could be stored as integers with -1 being B3, 0 being C4, 1 being C♯4, etc. Over time, we could expand the pitch class and pitch types to other temperaments and just intonation. As I'm new to Wikifunctions and my coding skills are next to zero, this is just a suggestion to the community. (edited) [[User:CaffeineP|CaffeineP]] ([[User talk:CaffeineP|talk]]) 14:48, 9 April 2025 (UTC) :Yes… There are some notational challenges because of enharmonics as well as naming conventions varying by language/culture, so English A♯ is equivalent to German B and English B♭, for example. Ideally, I would want the (English) pitch class that is five semitones higher than G♭ to be displayed as C♭ rather than B. :Also, given some reference pitch like A4 = 440 Hz, we should be able to return the frequency in hertz of a given pitch and, conversely, the nearest pitch for a given frequency and its offset in cents (or whatever). The computation is a lot simpler than representing the result (or capturing how the result should be represented)! [[User:GrounderUK|GrounderUK]] ([[User talk:GrounderUK|talk]]) 20:08, 9 April 2025 (UTC) * '''12-ET Pitch Class of a Pitch''': Return the 12 equal temperament pitch class of a given 12 equal temperament pitch. For example, C4 returns C. * '''12-ET Pitch based on Pitch Class''': Return a 12 equal temperament pitch based on a given 12 equal temperament pitch class and a given integer. For example, C and 4 return C4. * '''Interval between 12-ET Pitch Classes in Semitones''': Get the interval in semitones between two 12 equal temperament pitch classes, always assuming that the first is lower than (or the same as) the second, and the interval is less than an octave. For example, C and B return 11, while B and C return 1. * '''Interval between 12-ET Pitches in Semitones''': Get the interval in semitones between two 12 equal temperament pitches. For example, C4 and B3 return -1, while C3 and B4 return 23. * '''Raise 12-ET Pitch Class by Semitones''': Get a new 12 equal temperament pitch class through raising a given pitch class by the provided number of semitones. For example, raising B by 1 semitone returns C. * '''Lower 12-ET Pitch Class by Semitones''': Same as above, but lower the pitch class instead of raising it. * '''Raise 12-ET Pitch by Semitones''': Get a new 12 equal temperament pitch through raising a given pitch by the provided number of semitones. For example, raising B3 by 1 semitone returns C4. * '''Lower 12-ET Pitch by Semitones''': Same as above, but lower the pitch instead of raising it. * '''Frequency of a 12-ET Pitch''': Return a float64 frequency in Hz based on the provided 12 equal temperament pitch (and possibly a reference pitch with its frequency; if not provided, take default A4 = 440 Hz). * '''Approximate 12-ET Pitch Class based on Frequency''': Return a 12 equal temperament pitch class approximately based on the provided frequency in Hz. * '''Approximate 12-ET Pitch based on Frequency''': Return a 12 equal temperament pitch approximately based on the provided frequency in Hz. === SVG Functions === I would be nice to generate SVG (a XML-based vector image format which is basically a long string), it could allow to replace a lot of images on Commons or templates/tools. Here some examples: * create simple forms, * create graphs (line graph/bar graph for population or for production, elections diagrams like [[:File:1900Hawaii.svg]], etc.), * create more complex visualisation like genealogical trees, * create coat of arms (?), * etc. Cheers, [[User:VIGNERON|VIGNERON]] ([[User talk:VIGNERON|talk]]) 10:47, 23 April 2025 (UTC) :@[[User:VIGNERON|VIGNERON]]: Eventually that is something we might support, but there'll be nothing any time soon. It has a number of complex security and scalability concerns, sadly. [[User:Jdforrester (WMF)|Jdforrester (WMF)]] ([[User talk:Jdforrester (WMF)|talk]]) 13:21, 23 April 2025 (UTC) ::{{ping|Jdforrester (WMF)}} thanks. I talked about it for the last Corner but I wanted to leave a record here, if we have time, maybe I'll use that time to write some things to prepare (like listing templates and tools on the Wikimedia projects that generate SVG or visualisations). Cheers, [[User:VIGNERON|VIGNERON]] ([[User talk:VIGNERON|talk]]) 15:28, 23 April 2025 (UTC) :::Of course! I've explicitly added a section on this here: [[Wikifunctions:Embedded function calls#Non-text output]] — hope that helps assure you that we're thinking about it. [[User:Jdforrester (WMF)|Jdforrester (WMF)]] ([[User talk:Jdforrester (WMF)|talk]]) 21:40, 23 April 2025 (UTC) == Object / type / function functions == *{{Z+|Z17893}} *{{Z+|Z21180}} *{{Z+|Z21182}} *{{Z+|Z21193}} == External function lists == * [[WF:importing]] fdlyv2kb9ez9h0723wkktxqbbzlo1do 191004 190999 2025-06-03T14:21:43Z Denny 81 /* Gregorian calendar date */ 191004 wikitext text/x-wiki Do you have an idea for a new function? Suggest it here! It may help to refer to [[Wikifunctions:Glossary|our glossary]]. You can [https://www.wikifunctions.org/wiki/Special:CreateZObject?zid=Z8 create a function] right away if you have the user-rights. If a function requires a new type, consider [[WF:TP|proposing it]]. Note that for now '''we only support a limited number of types as input and output types''' of functions. More types are coming in the next few months. For the full list, see [[WF:Type]]. Once created, consider adding new Functions to the [[Wikifunctions:Catalogue|catalogue]]. [[Category:Maintenance]] == Proposed functions requiring only available types (string, Boolean, Natural number, list) == === String === ==== String character discard functions ==== * remove stereochemical specificity in [[:en:Simplified_molecular-input_line-entry_system|SMILES]] string, like e/z isomers ** already fulfilled by someone else at: [[Z11815]] * simplify [[:en:Simplified_molecular-input_line-entry_system|SMILES]] string according to some basic simplifications ** {{Partly done}}, see [[Z19380]]. There's testcases, and I (or someone else) can get around to the coding later. [[User:MolecularPilot|MolecularPilot]] ([[User talk:MolecularPilot|talk]]) 10:21, 26 October 2024 (UTC) *** {{Done}} completely, still at [[Z19380]]. Another user helpfully wrote a python script that passed 1 of my test cases between October and now. I just re-wrote the script to pass all 3 test cases, and also created a JavaScript version. [[User:MolecularPilot|MolecularPilot]] ([[User talk:MolecularPilot|talk]]) 03:43, 10 January 2025 (UTC) ==== String character replacement functions ==== ==== String search functions ==== ==== String escaping and unescaping functions ==== ==== String encoding and decoding functions ==== * Unicode normalising functions (there are several types of normalisation) * [[wikidata:Q47467628|Backslash-U with delimiters ASCII encoding of Unicode encode]] ** Can someone elaborate on this? No example cases were given on the document, and backslash-U with delimiters is anyway not that prevalent as far as I have seen. [[User:BrightSunMan|BrightSunMan]] ([[User talk:BrightSunMan|talk]]) 15:24, 26 December 2023 (UTC) ** {{Done}}, see [[Z21486]]. I've made 5 test cases (achieving 100% coverage) and implementations in both JavaScript and Python, which passes all test cases. Support for both the Basic Multilingual Plane (BMP) and supplementary characters (using surrogate pairs). [[User:MolecularPilot|MolecularPilot]] ([[User talk:MolecularPilot|talk]]) 02:49, 10 January 2025 (UTC) * [[wikidata:Q47467628|XML and HTML ASCII encoding of Unicode encode]] ** {{Done}}, see [[Z21503]]. Again, I've also made 5 test cases which cover a wide variety of Unicode characters, and implementations in JS and Python (which pass all the tests). As before successful support for both the Basic Multilingual Plane (BMP) and supplementary characters (this time '''not using''' surrogate pairs, as is customary for HTML/XML encoding). [[User:MolecularPilot|MolecularPilot]] ([[User talk:MolecularPilot|talk]]) 05:30, 10 January 2025 (UTC) * [https://html.spec.whatwg.org/#named-character-references HTML named character encode] * [[wikidata:Q47466379|Punycode encode]] - [[Z10178]] (part only, not whole url); see also [[Z10185]] * [[:en:Unified_English_Braille|Unified English Braille encode]] (discarding invalid characters?) ** {{Done}}, see [[Z21514]]. 6 test cases this time, and support for both letters and numbers, with implementations in JS and Python (both passing all the tests). [[User:MolecularPilot|MolecularPilot]] ([[User talk:MolecularPilot|talk]]) 06:00, 10 January 2025 (UTC) ==== String presentation functions ==== * add [[:en:Quotation_mark|locale-specific quotation marks]] to string ** Shouldn't the output depend on the locale? See [[mw:Extension:Scribunto/Lua_reference_manual#mw.language:formatNum|mw.language:formatNum]]. —[[User:Dexxor|Dexxor]] ([[User talk:Dexxor|talk]]) 17:15, 4 September 2023 (UTC) ==== String colour notation functions ==== * [[:en:Complementary_colors|complementary colour]] in RGB colour model ("#FF0000" ⇒ "#00FFFF") ** Any specification on invalid inputs? [[User:MilkyDefer|<span style="color:#09C">Milky</span>]][[User talk:MilkyDefer|'''<span style="color:#F09">Defer</span>''']] 11:22, 5 August 2023 (UTC) *:Great question. I don't think there is a position documented on Wikifunctions for how to handle invalid input to a function. Can we throw exceptions? Return null? [[User:Dhx1|Dhx1]] ([[User talk:Dhx1|talk]]) 13:23, 6 August 2023 (UTC) *::This shouldn't be a string function. This should be a type that represents a RGB color (with corresponding validation function (hopefully it can just be three unsigned 8bit integers)) and a function that returns the complementary color. [[User:0xDeadbeef|0xDeadbeef]] ([[User talk:0xDeadbeef|talk]]) 12:38, 7 August 2023 (UTC) ** Work on the color type has been stalled for over a year. But this task is {{Done}}, I have made [[Z21554]], that uses string hex codes (with or without the initial # and supporting short hex format). This is probably the most optimal format, as I can imagine this function being used on-wiki for thing like the style parameter (CSS) of MediaWiki tags, or of templates etc. There's 5 testcases I've made, which are passed by both my JS and Python versions. :) [[User:MolecularPilot|MolecularPilot]] ([[User talk:MolecularPilot|talk]]) 03:39, 11 January 2025 (UTC) ==== String notation validation checks ==== * check if string is an [[:en:International_Chemical_Identifier]] ** {{Partly done}} see [[Z21539]]. Supports the verification of the chemical formula and the stereochemical layer. There are 13 testcaes that I've written, all of which are passed by my JavaScript implementation. Note that a python implementation is not possible as the regex module is not available in Wikifunctions. [[User:MolecularPilot|MolecularPilot]] ([[User talk:MolecularPilot|talk]]) 03:09, 11 January 2025 (UTC) ** To do: *** Needs to verify the hydrogen and connection sections of the main layer *** Support the charge layer *** Support the isotopic layer **[[User:MolecularPilot|MolecularPilot]] ([[User talk:MolecularPilot|talk]]) 03:09, 11 January 2025 (UTC) ***{{ping|MolecularPilot}} A python impl. is infact possible. I created a basic direct translation at [[Z22823]]. Some tests are failing as the regex needs a bit of sorting out, out of scope for me, but you can give it a try! Keep in mind that you need to escape any \ with a \\ just before saving per [[Wikifunctions:Python_implementations#Known_limitations_as_of_October_2024]]. <span style="font-family:monospace;font-weight:bold">[[User:Bunnypranav|<span style="color:#63b3ed">~/Bunny</span><span style="color:#2c5282">pranav</span>]]:&lt;[[User talk:Bunnypranav|<span style="color:#63b3ed">ping</span>]]&gt;</span> 06:14, 26 February 2025 (UTC) * check if string is a [[:en:SMILES_arbitrary_target_specification|SMILES arbitrary target specification (SMARTS) notation]] * check if string is an [[:en:ABC_notation|ABC notation]] * check if string is a [[:en:LilyPond|LilyPond notation]] * {{Doing}} check if string is a [[:en:Portable_Game_Notation|portable game notation]] for a chess game ([[Z15867]], figuring out how to add newlines to the test input) * [[Z14643]] check if string is [[:en:Forsyth–Edwards Notation|Forsyth–Edwards Notation]] for a chess position * check if string is a [[:en:UIC_classification_of_locomotive_axle_arrangements|UIC classification of locomotive axle arrangements notation]] * check if a string is a valid [[:en:ISBN|ISBN]]-13 (probably just a simple variant of [[Z10821]], dropping/validating the hyphens) ** {{Done}} at [[Z23561]]. Note than ISBN-13 starts with only 978/979, a differing factor from EAN. I have added that in the func and tests as well. <span style="font-family:monospace;font-weight:bold">[[User:Bunnypranav|<span style="color:#63b3ed">~/Bunny</span><span style="color:#2c5282">pranav</span>]]:&lt;[[User talk:Bunnypranav|<span style="color:#63b3ed">ping</span>]]&gt;</span> 12:53, 26 March 2025 (UTC) * check if a string is a valid [[:en:Digital_object_identifier|DOI]] ** Something about implementation difficulties: https://stackoverflow.com/questions/27910/finding-a-doi-in-a-document-or-page [[User:Alexander-Mart-Earth|Alexander-Mart-Earth]] ([[User talk:Alexander-Mart-Earth|talk]]) 14:28, 21 December 2023 (UTC) * check if a string is a valid [[:en:ISWN|ISWN]] ** {{Done}}, see [[Z21562]]. Contains 6 test cases that I made, all of which are passed by my Python and JavaScript implementations. It supports both just numbers, and a string containing the "separator" symbols (like ., - and /). [[User:MolecularPilot|MolecularPilot]] ([[User talk:MolecularPilot|talk]]) 07:32, 11 January 2025 (UTC) ==== String validation checks ==== * {{doing}} check if string is in [[:en:Camel_case|lower camel case]] * check if string is a valid ISO 3166 country code * check if string is a valid ISO 8601 date/time (2023-08-03 ⇒ true; 2023-02-30 ⇒ false; 2023-08-03 15:00:00.000 ⇒ true; 2023-08-03 25:00:00.000 ⇒ false) ** {{Done|by=Philipnelson99}} at [[Z14206]]. <span style="font-family:monospace;font-weight:bold">[[User:Bunnypranav|<span style="color:#63b3ed">~/Bunny</span><span style="color:#2c5282">pranav</span>]]:&lt;[[User talk:Bunnypranav|<span style="color:#63b3ed">ping</span>]]&gt;</span> 06:23, 26 February 2025 (UTC) * check if string is a valid [[:en:ISO_8601#EDTF|EDTF]] date/time * {{doing}} check if string is a valid email address (watch out, see [https://github.com/kdeldycke/awesome-falsehood#emails this list of falsehoods] about email addresses to create unit tests - email addresses are more complicated than they seem) — [[Z10410]] creating test cases in progress. Currently it is stuck on figuring out what exactly is a valid emaill address. Nearly every errata for [[RFC:3696]] is about that. * {{doing}} check if string is a valid [[d:Help:Items|Wikidata item]] — [[Z10696]] (possibly stuck on [[phab:T343593]]?) ====String analysis functions==== *Word frequency counting. Provide a list of words and their frequencies. **{{Done}}, see [[Z21593]]. Providing a list of words and frequencies would require a new type, so instead it requires the sentence and the word you want to count, and returns the occurrences. Hyphenated words are not considered a match of their components, i.e. "fast-forward" is a match of "fast-forward" but nether "fast" nor "forward", I think this is the optimal behaviour but if someone disagrees we can change it. There is a JS implementation that I made which bases all of my 4 test cases. [[User:MolecularPilot|MolecularPilot]] ([[User talk:MolecularPilot|talk]]) 05:41, 12 January 2025 (UTC) *:@[[User:MolecularPilot|MolecularPilot]] And I have added a Python implementation at [[Z22473]]. I would appreciate if you could attach it! <span style="font-family:monospace;font-weight:bold">[[User:Bunnypranav|<span style="color:#63b3ed">~/Bunny</span><span style="color:#2c5282">pranav</span>]]:&lt;[[User talk:Bunnypranav|<span style="color:#63b3ed">ping</span>]]&gt;</span> 08:13, 15 February 2025 (UTC) *::Cool, thank you so much for doing it! Someone's already beat me to it re attaching it, but great work! :) [[User:MolecularPilot|MolecularPilot]] ([[User talk:MolecularPilot|talk]]) 21:33, 16 February 2025 (UTC) ==== Monolingual text ==== ==== String Wikitext operations ==== ... === Natural number === * rectified linear unit (ReLU) - https://www.wikifunctions.org/view/en/Z13909 === Integer=== * {{Done}} - multiply vectors ([[Z21903]], [[Z20659]]) === Byte === See [[Wikifunctions:Catalogue/Boolean operations#Byte functions|existing Byte functions]] in catalogue. * next byte without overflow: byte → byte * previous byte without overflow: byte → byte * next byte by Gray code: byte → byte * previous byte by Gray code: byte → byte * get nth bit as Boolean: byte, natural number → boolean * highest bit set: byte → boolean * lowest bit set: byte → boolean * all bits set: byte → boolean * no bits set: byte → boolean * set nth bit: byte, natural number → byte * clear nth bit: byte, natural number → byte * switch nth bit: byte, natural number → byte * add bytes without overflow: byte, byte → byte * subtract bytes without overflow: byte, byte → byte * multiply bytes without overflow: byte, byte → byte * clamped add bytes: byte, byte → byte * clamped subtract bytes: byte, byte → byte * clamped multiply bytes: byte, byte → byte * add bytes with overflow: byte, byte → byte * subtract bytes with overflow: byte, byte → byte * multiply bytes with overflow: byte, byte → byte * modulo bytes: byte, byte → byte * byte division: byte, byte → byte * reverse: byte → byte * right shift: byte → byte * left shift: byte → byte * right shift by n: byte, natural number → byte * left shift by n: byte, natural number → byte * right shift as ring: byte → byte * left shift as ring: byte → byte * right shift by n as ring: byte, natural number → byte * left shift by n as ring: byte, natural number → byte * how many bits set: byte → natural number === Unicode code point === See [[Wikifunctions:Catalogue/Character operations#Unicode code points|existing code point functions in catalogue]]. * Codepoint to list of bytes for UTF-8 * Codepoint to list of bytes for UTF-16 * Codepoint to list of bytes for UTF-32 ===Object=== === List === ==== Basic list/iterable functions ==== * group * [[w:Circular shift]] ==== Complex list functions ==== * zip lists together: for [ A .. Z ] and [ 1 .. 26 ] return [ [ A, 1 ], [ B, 2 ], .. ] ** Unsure what happens if input lists are of different lengths. ** If possible this function should be able to zip more than 2 lists together... 3, 4, n? Perhaps the input should be list(list, list, list, list, ..). *{{Z+|Z19198}} ==== CSV list operations ==== * list of strings to csv : number -> list of decimal digits<br>number -> list of binary digits<br>number -> list of digits in base provided [[User:Well very well|Well very well]] ([[User talk:Well very well|talk]]) 11:20, 18 May 2024 (UTC) === Functions with functions as arguments === * sort, by a given function * test whether certain functions have specific properties of [[:w:Homogeneous_relation|homogeneous relations]] for particular lists/sets * remove first element matching filter from list === Biology === ==== Taxon functions ==== * Wikidata item representing taxon rank ({{Q|P31}} {{Q|Q427626}}) is at genus level or below ** Should(?) be possible with the current Wikidata functionality, from what I understand. See [[:Wikifunctions:Project chat#Taxon rank function(s)]] for a more detailed explanation. --[[User:WrenFalcon|WrenFalcon]] ([[User talk:WrenFalcon|talk]]) 23:27, 16 May 2025 (UTC) === Gregorian calendar date === * Create a reading function for Dagbani that handles all the possible formats (both the English-linke and the traditional ones, both the Gregorian and the Hijra calendars). [https://docs.google.com/document/d/1u7-ZeY7NHt75JICUPAYky3-7KgkvauD_W3fBjmvpFO0/edit?tab=t.0#heading=h.gf6hp9o3gi0j] [[User:Dv103|Dv103]] ([[User talk:Dv103|talk]]) 15:43, 31 May 2025 (UTC) * day of year from date: date → day of year * year from date: date → year * era from date: date → era * before / sooner / earlier: date, date → boolean * after / later: date, date → boolean * same month: date, date → boolean * same day of the month: date, date → boolean * same day of the year: date, date → boolean * same calendar year: date, date → boolean * same day of the week: date, date → boolean * within a year: date, date → boolean * within a week: date, date → boolean * within n days: date, date → boolean * {{Z+|Z24918}} * months between: date, date → natural number * weeks between: date, date → natural number * previous day: date → date * n days later: date, natural number → date * n days earlier: date, natural number → date * n weeks later: date, natural number → date * n weeks earlier: date, natural number → date * n months later: date, natural number → date * n months earlier: date, natural number → date * n years later: date, natural number → date * n months later: date, natural number → date * Julian day number to date: integer → date * how many leap days passed between two dates: date, date → natural number * how many weekdays between two dates: date, date, day of the week → natural number * is it easter: date → boolean * days until next easter: date → natural number * days since last easter: date → natural number * day number of the year: date → natural number * days until the end of the year: date → natural number * is proleptic: date → boolean * within Pythons date implementation: date → boolean * within JavaScript's date implementation: date → boolean * next time a day of the year is on a specific weekday: date, day of the week → date * next time a day of the month is on a specific weekday: date, natural number, day of the week → date * next Friday the 13th: date → date * first weekday of the month: date, day of the week → date * last weekday of the month: date, day of the week → date * nth weekday of the month: date, day of the week, natural number → date == Morphological functions == morphology is the part of linguistics that studies how language parts are 'shaped' and change diachronically and when inflected. Hausa, Igbo, Malayalam, Bangla/Bengali and Dagbani are [[d:Wikidata:Lexicographical data/Focus languages|focus languages]] for Wikidata's lexicographic dataset, which is an important aspect of [[WF:glossary#Abstract Wikipedia|Abstract Wikipedia]]. === mul - Multiple languages === * inputs: natural number (new numeric type) and language Z-number; output: 'singular', 'dual', 'paucal', 'plural', etc. as string *: {{doing}}: {{Z|15977}} === ase - American Sign Language === * string: Stokoe to ase-[https://github.com/sutton-signwriting/core Sgnw] and vice-versa (consult {{ping|Slevinski}} as to best approach) === bn - Bangla === === cy - Welsh === [[w:en:colloquial Welsh morphology]] === dag - Dagbani === === de - German === * tense * person * number for each verb ** tenses: present, past, ...? ** person: first, second, third ** number: singular, plural ** {{doing}} third person singular present ** second person singular preterite === en - English === * [[Z11390]] Verb -> agent noun, e.g. "dance"->"dancer" * Join English morphemes (extends [[Z13254]] to cases like re + en + able + er + s → re-enablers. [[Z13254]] will correctly join re-enable + ers or re- + enablers, but re + enablers → “renablers” (incorrect). [[Z13275]] tests the Reduce function to produce “detoxification” from a list of four morphemes (orchestrator limit exceeded with five). I doubt we’ll want to derive “toxify” from “toxic”, however. * Derive lemmas from a form. This is envisaged as the converse of Join English morphemes. The focus would be identifying the base form (the lexeme’s lemma) rather than further segmenting the lemma. For example, “underlay” should return “underlie” (for which it is the past participle) and the noun “underlay” (for which it is the lemma) and (perhaps) the verb “underlay”, which might be the tendency of an unproductive hen or the activity of a carpet-fitter. As this is a purely functional converse, every string will have itself as a possible lemma. * Generate [[:w:Numeral_prefix|Numerical prefixes]] of various kinds from a natural number input. * {{Z+|Z19499}} '''<big>eu - Basque</big>''' * Basque language declension system in rather regular based on suffixes. ** Here a few examples for Basque declension: *** {{Z+|Z18541}} *** {{Z+|Z18670}} **Before implementing all of them, we may propose an overall classification that eases both the implementation and the future usage of the functions. Here a first try based on bibliography from the [https://www.euskaltzaindia.eus/index.php?option=com_ebe&view=bilaketa&task=pdf&Itemid=1161&atala=deklinabide-taulak Basque Language Academy]: ***Personal pronouns: they can be treated as exceptions (e.g. "zuek -> zuei", etc.) together with proper noun declension, or as a separate case. ***Determiners: they can be treated as exceptions (e.g. "hau" -> "honek", etc) together with common noun declension, or as a separated case ***Grammatical cases: ****Absolutive ("Nor"): indefinite, singular and plural ****Ergative ("Nork"): indefinite, singular and plural ****Dative ("Nori"): indefinite, singular and plural ***Place and Time: we must distinguish animate (AN) and inanimate (IN) ****Inessive IN ("Non"): indefinite, singular and plural ****Inessive AN ("Norengan"): indefinite, singular and plural - It could be a composition of "Noren" + "-gan" ****Place and time ("Nongo"): indefinite, singular and plural ****Allative IN ("Nora"): indefinite, singular and plural ****Allative AN ("Norengana"): indefinite, singular and plural - It could be a composition of "Noren/Norengan" + "-gan/-a" ****Finished Allative AN ("Noraino"): indefinite, singular and plural - It could be a composition of "Nora" + "-ino" ****Finished Allative AN ("Norengainaino"): indefinite, singular and plural - It could be a composition of "Noregana" + "-ino" ****Right way Allative IN ("Noratz"): indefinite, singular and plural - It could be a composition of "Nora" + "-ntz" ****Right way Allative AN ("Norenganantz"): indefinite, singular and plural - It could be a composition of "Norengana" + "-ntz" ****Ablative IN ("Nondik"): indefinite, singular and plural ****Ablative AN ("Norengandik"): indefinite, singular and plural ***Rest of the cases: ****Partitive ("Zerik"): indefinite ****Possessive ("Noren"): indefinite, singular and plural ****Sociative ("Norekin"): indefinite, singular and plural ****Instrumental ("Zerez"): indefinite, singular and plural ****Motivative ("Zerengatik"): indefinite, singular and plural ****Destinative ("Norentzat"): indefinite, singular and plural - It could be a composition of "Noren" + "-tzat" ***Special case: ****Prolative ("Nortzat"): indefinite ***To take into consideration: ****Together with animate and inanimate classification, we should also consider if the noun is a proper noun ("izen berezia"). We can identify that automatically (e.g. check if written in Title case, but this may not be always possible like in the beginning of sentences), but a dedicated function may be preferred (or a boolean to the generic function saying it is a proper noun). ****The main distinction is between noun ending by vowel or consonant that can be easily computed === fr - French === * [[Z11590]] Masculine adjective -> feminine, e.g. "exact"->"exacte" * Conjugated verb => Infinitive, e.g. "alla" => "aller", "mordit" => "mordre" === ha - Hausa === A notated demo sentence ("Aishà taa jeefar dà kàren Indoo" ― "Aisha threw away Indo's dog") is available at http://intent.xigt.org === ig - Igbo === === ldn - Láadan === section moved to [[WF:human languages/Z1882]] === ml - Malayalam === ===kcg - Tyap=== * Tyap has six determiners/definite articles which determine the pronoun, number (1-5), etc. forms used. ** ka & wu (basically for singular nouns and adjectives with a few exceptions) ** hu & ji (for singular and plural nouns and adjectives) ** ba & na (mainly for plural nouns. *** Determiners come after nouns. *** When an adjective comes before a noun, the determiner used is that of the adjective. E.g., a̱sham (ka) - (the) beautiful, kyang (hu) - (the) thing = a̱sham kyang (ka) - (the) beautiful thing. * Tyap has a non-uniform noun class system used for noun pluralization and conversion from one part of speech to another. E.g., a̱bwom (song) and bwom (to sing), a̱fufwuo (ears) and fufwuo (ear). * Affixation: Prefixes exist but suffixes hardly are found. == Proposed functions requiring future types == '''Note these functions cannot be implemented properly until the needed types are requested and approved.''' If one wishes to nevertheless attempt to define and implement them, * the functions and implementations should indicate prominently in their labels that their input/output types must be adjusted once support for the appropriate replacement types become available; ''and'' * the functions should ''not'' be used in the implementations of any other functions, as the later adjustment of input/output types to appropriate replacements will break those implementations. === String manipulation functions === === String analysis functions === * count distance between two letters in given alphabet (default to 26-charcater western alphabet. case insensitive. e.g. "a" & "A" ⇒ 0; "K" & "N" ⇒ 3) === String encoding and decoding functions === (would be better with types representing a stream of bytes) * [[wikidata:Q113486941|BASE45 encode]] * [[wikidata:Q113486941|BASE45 decode]] * Hexadecimal UTF-8 encode ("ABC ₤" ⇒ "41 42 43 20 E2 82 A4") * Hexadecimal UTF-8 decode ("41 42 43 20 E2 82 A4" ⇒ "ABC ₤") * Decimal UTF-8 encode ("ABC ₤" ⇒ "65 66 67 32 226 130 164") * Decimal UTF-8 decode ("65 66 67 32 226 130 164" ⇒ "ABC ₤") * Octal UTF-8 encode ("ABC ₤" ⇒ "101 102 103 40 342 202 244") * Octal UTF-8 decode ("101 102 103 40 342 202 244" ⇒ "ABC ₤") * Binary UTF-8 encode ("ABC ₤" ⇒ "01000001 01000010 01000011 00100000 11100010 10000010 10100100") * Binary UTF-8 decode ("01000001 01000010 01000011 00100000 11100010 10000010 10100100" ⇒ "ABC ₤") * Unicode code point encode ("ABC ₤" ⇒ "41 42 43 20 20A4") - [[Z10785]] * Unicode code point decode ("41 42 43 20 20A4" ⇒ "ABC ₤") * Create regular expression object/string (i.e: "test" & "i" to /test/i) === Natural language functions === * Choose singular or plural based on number (e.g. singularOrPlural("person",6") -> "people") ** Note that there are also dual and other [[:w:grammatical number|grammatical number]]s in other languages. [[User:魔琴|魔琴]] ([[User talk:魔琴|talk]]) 18:54, 26 October 2023 (UTC) ** relevant interwiki link: [[d:WD:property proposal/plural forms]] [[User:Arlo Barnes|Arlo Barnes]] ([[User talk:Arlo Barnes|talk]]) 04:15, 9 February 2024 (UTC) === Cryptographic hash functions === (would be better with types representing a stream of bytes) * {{todo}} [[wikidata:Q47477417|MD2]] - [[Z10135]] * {{todo}} [[wikidata:Q47462255|MD4]] - [[Z10136]] * {{todo}} [[wikidata:Q27036232|MD5]] - [[Z10137]] * {{todo}} [[wikidata:Q47208127|RIPEMD-128]] - [[Z10138]] * {{todo}} [[wikidata:Q47208127|RIPEMD-160]] - [[Z10139]] * {{todo}} [[wikidata:Q47463469|BLAKE2b-160]] - [[Z10140]] * {{todo}} [[wikidata:Q47463469|BLAKE2b-256]] - [[Z10141]] * {{todo}} [[wikidata:Q47463469|BLAKE2b-384]] - [[Z10142]] * {{todo}} [[wikidata:Q47463469|BLAKE2b-512]] - [[Z10143]] * {{todo}} [[wikidata:Q47463469|BLAKE2s-128]] - [[Z10144]] * {{todo}} [[wikidata:Q47463469|BLAKE2s-160]] - [[Z10145]] * {{todo}} [[wikidata:Q47463469|BLAKE2s-224]] - [[Z10146]] * {{todo}} [[wikidata:Q47463469|BLAKE2s-256]] - [[Z10147]] * {{todo}} [[wikidata:Q47465971|SHA-224]] - [[Z10149]] * {{todo}} [[wikidata:Q47465971|HMAC-SHA-256]] * {{todo}} [[wikidata:Q87486893|SHAKE-128]] - [[Z10150]] * {{todo}} [[wikidata:Q87486893|SHAKE-256]] - [[Z10151]] === Colour functions === * return colour contrast ratio (per [https://webaim.org/articles/contrast/]) of two RGB colours (provided as strings e.g. "#FF0000") === Date, time, and calendric functions === Note: 'time' type not yet supported, use 'string' (or for strictly numeric values, 'natural number') ==== Bengali calendar ==== {{z+|12926}} ==== Chinese calendar ==== ==== French Republican Calendar ==== decimalises and secularises the Gregorian * day names: {{Z+|13006}}{{not done}} '''yet''' ==== Gregorian ==== widely used calendar derived from the Julian, basis for [[xkcd:1179|ISO 8601]] * date to ISO week number {{q|2110154}} * string to date * date to ISO 8601 string *: {{done}}, see {{z|21842}}. --[[User:Sbb1413|Sbb1413]] ([[User talk:Sbb1413|talk]]) 18:47, 21 January 2025 (UTC) * date to year (yyyy) * date to month of the year (1-12) * date to month name (January-December) * date to day of the month (1-31) * date to hour of the day (0-23) * date to minutes (0-59) * date to seconds (0-59) Named Day from Date or day of year ; Input type : Date ; Output Type : String. ; The initial use case was automated population of On The Day, based on various collections of Holidays, festival days and observances. ? [[User:ShakespeareFan00|ShakespeareFan00]] ([[User talk:ShakespeareFan00|talk]]) 19:35, 26 March 2025 (UTC) :So If you gave it 2025-05-01 It said "All Fools Day" etc.. Possibly an additional input of enumrated type to indicate which data set to pull holidays, fesitvals and observances from. [[User:ShakespeareFan00|ShakespeareFan00]] ([[User talk:ShakespeareFan00|talk]]) 19:35, 26 March 2025 (UTC) Diary/calander Header function - Using the above and other date functions, generates a data set from a given date. Hence if you give it 2003-05-01 you get back a JOSN set contianing the {Day of week:String, Day in the Month, Observances} etc. [[User:ShakespeareFan00|ShakespeareFan00]] ([[User talk:ShakespeareFan00|talk]]) 19:35, 26 March 2025 (UTC) ==== Holocene calendar ==== * [[w:en:Holocene calendar#Conversion]] *: {{done}}, see {{z|21913}}. --[[User:Sbb1413|Sbb1413]] ([[User talk:Sbb1413|talk]]) 13:30, 25 January 2025 (UTC) ==== Indian national calendar ==== ==== Islamic ==== a Lunar calendar, also called Hijri ==== Julian ==== mostly used by astronomers, some historians, and some Orthodox Christian denominations ==== Mesoamerican calendars ==== including civil and clerical forms ==== Persian ==== also called Jalali ==== Thai calendar ==== ==== Hebrew calendar ==== ==== Darian calendar ==== Proposed time-keeping system for Mars, requires Julian Date/Time to calculate. === Basic numerical functions === * round up ("1.289" & "2" ⇒ "1.29"; "5678" & "2" ⇒ "5700") *: So if the number is floating point, round to n decimal places, and if not, round to n significant figures. Is that right? [[User:BrightSunMan|BrightSunMan]] ([[User talk:BrightSunMan|talk]]) 19:36, 24 December 2023 (UTC) * round down * return integer value (5678.678 ⇒ 5678) * {{Z+|Z13587}} (23 ⇒ "twenty-three") * Convert money from US$ to anything else ** requires source of conversion rates, which is a hole in function-likeness * Arabic numeral to Etruscan numeral * Etruscan numeral to Arabic numeral * floor and ceiling functions, based on defined standards. === Data serialization functions === * parse a string as [[:en:JSON|JSON]] * extract string from JSON object based on [[:d:Q121208951|JSONPath]] (<code>{"name":"Alice"}</code>, "$.name" ⇒ "Alice") *:Why not first convert a JSON string to an object, and then have a function that extracts fields based on JSONPath? Doing Stringly-typed things like this proposal as defined isn't a good idea. [[User:0xDeadbeef|0xDeadbeef]] ([[User talk:0xDeadbeef|talk]]) 16:16, 5 August 2023 (UTC) *::This seems to be a good idea, thanks! I moved and splitted the proposal accordingly. --[[User:1-Byte|1-Byte]] ([[User talk:1-Byte|talk]]) 09:51, 6 August 2023 (UTC) *:: is it okay to go ahead to create this 'extract string from JSON object based on JSONPath' as a function ? [[User:Dolphyb|Dolphyb]] ([[User talk:Dolphyb|talk]]) 16:14, 15 February 2024 (UTC) === Basic list/iterable functions requiring numeric types === * Sum the elements of a numeric list - [[Z14038]] * Product of the elements of a numeric list * {{Z+|Z12676}} * Slice of list elements: for the supplied list, return a list of elements that are at indexes between a supplied range n:m ** Zero indexing is used (first element is index 0)? ** n and m are are included in the range? ** What happens if n and/or m are invalid indexes? * Remove slice of elements from list: return the supplied list with elements between a supplied range of indexes removed ** Zero indexing is used (first element is index 0)? ** n and m are are included in the range? ** What happens if n and/or m are invalid indexes? * Every nth element of list: returns every nth element of the supplied list * Remove every nth element of list: removes every nth element of the supplied list - * sample n objects from list (return up to n [[Wikifunctions:Determinism|random]] objects from the list) * Jaccard similarity coefficient (see https://en.wikipedia.org/wiki/Jaccard_index) === Geodetics functions === [[w:en:planetary coordinate system]], [[w:en:well-known text representation of coordinate reference systems]] ==== Earth ==== * convert coordinates outside of the ranges (-180, 180) for longitude and (-90, 90) for latitude to a canonical form ==== Mars ==== * convert coordinates outside of the ranges [0, 360) for longitude and (-90, 90) for latitude to a canonical form === Unit conversion functions === * {{Z+|15560}} === Conversion function : 2D Cartesian to 2D Polar === Input : matrix [x,y] Output: matrix [θ,r] Short text : Polar conversion of x,y to a polar space centred at 0,0 in the Cartesian. Constraints: x,y,r are reals (float64), θ lies in the range -π<0<π (Sign determined in relation to standards used in STEM applications. [[User:ShakespeareFan00|ShakespeareFan00]] ([[User talk:ShakespeareFan00|talk]]) 14:30, 26 March 2025 (UTC) :The companion could also be provided. As I never did Geodetic functions, I am not sure how Lat, Long to map projection would work , but useful. [[User:ShakespeareFan00|ShakespeareFan00]] ([[User talk:ShakespeareFan00|talk]]) 14:30, 26 March 2025 (UTC) === Trignometric Functions === * sine, cosine, *: Input : float64 Angle in radians. *: Output : float64 desired trignometric value [[User:ShakespeareFan00|ShakespeareFan00]] ([[User talk:ShakespeareFan00|talk]]) 19:40, 26 March 2025 (UTC) ==== Function Proposal : Decimalise angle of the form ('1:x' or '1 in x') to % (in 100) or ‰ (in 1000) ==== *Suggested name: gardient_decimal. *Input type: Integer ( The 1 is implied.). Lower Bound +1: Upper Bound: 1000 (for most practical situations?) *Output type: Real/float 64. Proposer: [[User:ShakespeareFan00|ShakespeareFan00]] ([[User talk:ShakespeareFan00|talk]]) 19:05, 28 March 2025 (UTC) ===Color Functions=== ==== Colorspace Conversion ==== x,y,Y to sRGB (Illuminant D65). Input : 3tuple of float64, Output: 3 tuple of integer, where 0>=r<=255, 0>=g<=255 0>=b<=255. Convert a color specfied as 3 float64 values, from x,y,Y colorspace to sRGB or raise an "Out of Gaumt" exception. [[User:ShakespeareFan00|ShakespeareFan00]] ([[User talk:ShakespeareFan00|talk]]) 19:09, 7 April 2025 (UTC) ==== Spectral Approximate from sRGB or XYZ values. ==== I'd like to see the techniques detailed here: http://scottburns.us/reflectance-curves-from-srgb/ implemented in Wikifunctions as the provided spreadhseet later in the paper doesn't appear to work with Libre Office. [[User:ShakespeareFan00|ShakespeareFan00]] ([[User talk:ShakespeareFan00|talk]]) 19:32, 2 June 2025 (UTC) === Music Functions === It would be nice to have '''12 equal temperament pitch class''' and '''12 equal temperament pitch''' types, as they would be useful for calculating harmonies and melodies. The pitch classes could be stored as natural numbers from 0 to 11, and represented with symbols C, C♯, D, ..., B. The pitches could be stored as integers with -1 being B3, 0 being C4, 1 being C♯4, etc. Over time, we could expand the pitch class and pitch types to other temperaments and just intonation. As I'm new to Wikifunctions and my coding skills are next to zero, this is just a suggestion to the community. (edited) [[User:CaffeineP|CaffeineP]] ([[User talk:CaffeineP|talk]]) 14:48, 9 April 2025 (UTC) :Yes… There are some notational challenges because of enharmonics as well as naming conventions varying by language/culture, so English A♯ is equivalent to German B and English B♭, for example. Ideally, I would want the (English) pitch class that is five semitones higher than G♭ to be displayed as C♭ rather than B. :Also, given some reference pitch like A4 = 440 Hz, we should be able to return the frequency in hertz of a given pitch and, conversely, the nearest pitch for a given frequency and its offset in cents (or whatever). The computation is a lot simpler than representing the result (or capturing how the result should be represented)! [[User:GrounderUK|GrounderUK]] ([[User talk:GrounderUK|talk]]) 20:08, 9 April 2025 (UTC) * '''12-ET Pitch Class of a Pitch''': Return the 12 equal temperament pitch class of a given 12 equal temperament pitch. For example, C4 returns C. * '''12-ET Pitch based on Pitch Class''': Return a 12 equal temperament pitch based on a given 12 equal temperament pitch class and a given integer. For example, C and 4 return C4. * '''Interval between 12-ET Pitch Classes in Semitones''': Get the interval in semitones between two 12 equal temperament pitch classes, always assuming that the first is lower than (or the same as) the second, and the interval is less than an octave. For example, C and B return 11, while B and C return 1. * '''Interval between 12-ET Pitches in Semitones''': Get the interval in semitones between two 12 equal temperament pitches. For example, C4 and B3 return -1, while C3 and B4 return 23. * '''Raise 12-ET Pitch Class by Semitones''': Get a new 12 equal temperament pitch class through raising a given pitch class by the provided number of semitones. For example, raising B by 1 semitone returns C. * '''Lower 12-ET Pitch Class by Semitones''': Same as above, but lower the pitch class instead of raising it. * '''Raise 12-ET Pitch by Semitones''': Get a new 12 equal temperament pitch through raising a given pitch by the provided number of semitones. For example, raising B3 by 1 semitone returns C4. * '''Lower 12-ET Pitch by Semitones''': Same as above, but lower the pitch instead of raising it. * '''Frequency of a 12-ET Pitch''': Return a float64 frequency in Hz based on the provided 12 equal temperament pitch (and possibly a reference pitch with its frequency; if not provided, take default A4 = 440 Hz). * '''Approximate 12-ET Pitch Class based on Frequency''': Return a 12 equal temperament pitch class approximately based on the provided frequency in Hz. * '''Approximate 12-ET Pitch based on Frequency''': Return a 12 equal temperament pitch approximately based on the provided frequency in Hz. === SVG Functions === I would be nice to generate SVG (a XML-based vector image format which is basically a long string), it could allow to replace a lot of images on Commons or templates/tools. Here some examples: * create simple forms, * create graphs (line graph/bar graph for population or for production, elections diagrams like [[:File:1900Hawaii.svg]], etc.), * create more complex visualisation like genealogical trees, * create coat of arms (?), * etc. Cheers, [[User:VIGNERON|VIGNERON]] ([[User talk:VIGNERON|talk]]) 10:47, 23 April 2025 (UTC) :@[[User:VIGNERON|VIGNERON]]: Eventually that is something we might support, but there'll be nothing any time soon. It has a number of complex security and scalability concerns, sadly. [[User:Jdforrester (WMF)|Jdforrester (WMF)]] ([[User talk:Jdforrester (WMF)|talk]]) 13:21, 23 April 2025 (UTC) ::{{ping|Jdforrester (WMF)}} thanks. I talked about it for the last Corner but I wanted to leave a record here, if we have time, maybe I'll use that time to write some things to prepare (like listing templates and tools on the Wikimedia projects that generate SVG or visualisations). Cheers, [[User:VIGNERON|VIGNERON]] ([[User talk:VIGNERON|talk]]) 15:28, 23 April 2025 (UTC) :::Of course! I've explicitly added a section on this here: [[Wikifunctions:Embedded function calls#Non-text output]] — hope that helps assure you that we're thinking about it. [[User:Jdforrester (WMF)|Jdforrester (WMF)]] ([[User talk:Jdforrester (WMF)|talk]]) 21:40, 23 April 2025 (UTC) == Object / type / function functions == *{{Z+|Z17893}} *{{Z+|Z21180}} *{{Z+|Z21182}} *{{Z+|Z21193}} == External function lists == * [[WF:importing]] kesmj2y6mnl81lr26g79odzq87mhnip 191011 191004 2025-06-03T14:22:50Z Denny 81 /* Taxon functions */ 191011 wikitext text/x-wiki Do you have an idea for a new function? Suggest it here! It may help to refer to [[Wikifunctions:Glossary|our glossary]]. You can [https://www.wikifunctions.org/wiki/Special:CreateZObject?zid=Z8 create a function] right away if you have the user-rights. If a function requires a new type, consider [[WF:TP|proposing it]]. Note that for now '''we only support a limited number of types as input and output types''' of functions. More types are coming in the next few months. For the full list, see [[WF:Type]]. Once created, consider adding new Functions to the [[Wikifunctions:Catalogue|catalogue]]. [[Category:Maintenance]] == Proposed functions requiring only available types (string, Boolean, Natural number, list) == === String === ==== String character discard functions ==== * remove stereochemical specificity in [[:en:Simplified_molecular-input_line-entry_system|SMILES]] string, like e/z isomers ** already fulfilled by someone else at: [[Z11815]] * simplify [[:en:Simplified_molecular-input_line-entry_system|SMILES]] string according to some basic simplifications ** {{Partly done}}, see [[Z19380]]. There's testcases, and I (or someone else) can get around to the coding later. [[User:MolecularPilot|MolecularPilot]] ([[User talk:MolecularPilot|talk]]) 10:21, 26 October 2024 (UTC) *** {{Done}} completely, still at [[Z19380]]. Another user helpfully wrote a python script that passed 1 of my test cases between October and now. I just re-wrote the script to pass all 3 test cases, and also created a JavaScript version. [[User:MolecularPilot|MolecularPilot]] ([[User talk:MolecularPilot|talk]]) 03:43, 10 January 2025 (UTC) ==== String character replacement functions ==== ==== String search functions ==== ==== String escaping and unescaping functions ==== ==== String encoding and decoding functions ==== * Unicode normalising functions (there are several types of normalisation) * [[wikidata:Q47467628|Backslash-U with delimiters ASCII encoding of Unicode encode]] ** Can someone elaborate on this? No example cases were given on the document, and backslash-U with delimiters is anyway not that prevalent as far as I have seen. [[User:BrightSunMan|BrightSunMan]] ([[User talk:BrightSunMan|talk]]) 15:24, 26 December 2023 (UTC) ** {{Done}}, see [[Z21486]]. I've made 5 test cases (achieving 100% coverage) and implementations in both JavaScript and Python, which passes all test cases. Support for both the Basic Multilingual Plane (BMP) and supplementary characters (using surrogate pairs). [[User:MolecularPilot|MolecularPilot]] ([[User talk:MolecularPilot|talk]]) 02:49, 10 January 2025 (UTC) * [[wikidata:Q47467628|XML and HTML ASCII encoding of Unicode encode]] ** {{Done}}, see [[Z21503]]. Again, I've also made 5 test cases which cover a wide variety of Unicode characters, and implementations in JS and Python (which pass all the tests). As before successful support for both the Basic Multilingual Plane (BMP) and supplementary characters (this time '''not using''' surrogate pairs, as is customary for HTML/XML encoding). [[User:MolecularPilot|MolecularPilot]] ([[User talk:MolecularPilot|talk]]) 05:30, 10 January 2025 (UTC) * [https://html.spec.whatwg.org/#named-character-references HTML named character encode] * [[wikidata:Q47466379|Punycode encode]] - [[Z10178]] (part only, not whole url); see also [[Z10185]] * [[:en:Unified_English_Braille|Unified English Braille encode]] (discarding invalid characters?) ** {{Done}}, see [[Z21514]]. 6 test cases this time, and support for both letters and numbers, with implementations in JS and Python (both passing all the tests). [[User:MolecularPilot|MolecularPilot]] ([[User talk:MolecularPilot|talk]]) 06:00, 10 January 2025 (UTC) ==== String presentation functions ==== * add [[:en:Quotation_mark|locale-specific quotation marks]] to string ** Shouldn't the output depend on the locale? See [[mw:Extension:Scribunto/Lua_reference_manual#mw.language:formatNum|mw.language:formatNum]]. —[[User:Dexxor|Dexxor]] ([[User talk:Dexxor|talk]]) 17:15, 4 September 2023 (UTC) ==== String colour notation functions ==== * [[:en:Complementary_colors|complementary colour]] in RGB colour model ("#FF0000" ⇒ "#00FFFF") ** Any specification on invalid inputs? [[User:MilkyDefer|<span style="color:#09C">Milky</span>]][[User talk:MilkyDefer|'''<span style="color:#F09">Defer</span>''']] 11:22, 5 August 2023 (UTC) *:Great question. I don't think there is a position documented on Wikifunctions for how to handle invalid input to a function. Can we throw exceptions? Return null? [[User:Dhx1|Dhx1]] ([[User talk:Dhx1|talk]]) 13:23, 6 August 2023 (UTC) *::This shouldn't be a string function. This should be a type that represents a RGB color (with corresponding validation function (hopefully it can just be three unsigned 8bit integers)) and a function that returns the complementary color. [[User:0xDeadbeef|0xDeadbeef]] ([[User talk:0xDeadbeef|talk]]) 12:38, 7 August 2023 (UTC) ** Work on the color type has been stalled for over a year. But this task is {{Done}}, I have made [[Z21554]], that uses string hex codes (with or without the initial # and supporting short hex format). This is probably the most optimal format, as I can imagine this function being used on-wiki for thing like the style parameter (CSS) of MediaWiki tags, or of templates etc. There's 5 testcases I've made, which are passed by both my JS and Python versions. :) [[User:MolecularPilot|MolecularPilot]] ([[User talk:MolecularPilot|talk]]) 03:39, 11 January 2025 (UTC) ==== String notation validation checks ==== * check if string is an [[:en:International_Chemical_Identifier]] ** {{Partly done}} see [[Z21539]]. Supports the verification of the chemical formula and the stereochemical layer. There are 13 testcaes that I've written, all of which are passed by my JavaScript implementation. Note that a python implementation is not possible as the regex module is not available in Wikifunctions. [[User:MolecularPilot|MolecularPilot]] ([[User talk:MolecularPilot|talk]]) 03:09, 11 January 2025 (UTC) ** To do: *** Needs to verify the hydrogen and connection sections of the main layer *** Support the charge layer *** Support the isotopic layer **[[User:MolecularPilot|MolecularPilot]] ([[User talk:MolecularPilot|talk]]) 03:09, 11 January 2025 (UTC) ***{{ping|MolecularPilot}} A python impl. is infact possible. I created a basic direct translation at [[Z22823]]. Some tests are failing as the regex needs a bit of sorting out, out of scope for me, but you can give it a try! Keep in mind that you need to escape any \ with a \\ just before saving per [[Wikifunctions:Python_implementations#Known_limitations_as_of_October_2024]]. <span style="font-family:monospace;font-weight:bold">[[User:Bunnypranav|<span style="color:#63b3ed">~/Bunny</span><span style="color:#2c5282">pranav</span>]]:&lt;[[User talk:Bunnypranav|<span style="color:#63b3ed">ping</span>]]&gt;</span> 06:14, 26 February 2025 (UTC) * check if string is a [[:en:SMILES_arbitrary_target_specification|SMILES arbitrary target specification (SMARTS) notation]] * check if string is an [[:en:ABC_notation|ABC notation]] * check if string is a [[:en:LilyPond|LilyPond notation]] * {{Doing}} check if string is a [[:en:Portable_Game_Notation|portable game notation]] for a chess game ([[Z15867]], figuring out how to add newlines to the test input) * [[Z14643]] check if string is [[:en:Forsyth–Edwards Notation|Forsyth–Edwards Notation]] for a chess position * check if string is a [[:en:UIC_classification_of_locomotive_axle_arrangements|UIC classification of locomotive axle arrangements notation]] * check if a string is a valid [[:en:ISBN|ISBN]]-13 (probably just a simple variant of [[Z10821]], dropping/validating the hyphens) ** {{Done}} at [[Z23561]]. Note than ISBN-13 starts with only 978/979, a differing factor from EAN. I have added that in the func and tests as well. <span style="font-family:monospace;font-weight:bold">[[User:Bunnypranav|<span style="color:#63b3ed">~/Bunny</span><span style="color:#2c5282">pranav</span>]]:&lt;[[User talk:Bunnypranav|<span style="color:#63b3ed">ping</span>]]&gt;</span> 12:53, 26 March 2025 (UTC) * check if a string is a valid [[:en:Digital_object_identifier|DOI]] ** Something about implementation difficulties: https://stackoverflow.com/questions/27910/finding-a-doi-in-a-document-or-page [[User:Alexander-Mart-Earth|Alexander-Mart-Earth]] ([[User talk:Alexander-Mart-Earth|talk]]) 14:28, 21 December 2023 (UTC) * check if a string is a valid [[:en:ISWN|ISWN]] ** {{Done}}, see [[Z21562]]. Contains 6 test cases that I made, all of which are passed by my Python and JavaScript implementations. It supports both just numbers, and a string containing the "separator" symbols (like ., - and /). [[User:MolecularPilot|MolecularPilot]] ([[User talk:MolecularPilot|talk]]) 07:32, 11 January 2025 (UTC) ==== String validation checks ==== * {{doing}} check if string is in [[:en:Camel_case|lower camel case]] * check if string is a valid ISO 3166 country code * check if string is a valid ISO 8601 date/time (2023-08-03 ⇒ true; 2023-02-30 ⇒ false; 2023-08-03 15:00:00.000 ⇒ true; 2023-08-03 25:00:00.000 ⇒ false) ** {{Done|by=Philipnelson99}} at [[Z14206]]. <span style="font-family:monospace;font-weight:bold">[[User:Bunnypranav|<span style="color:#63b3ed">~/Bunny</span><span style="color:#2c5282">pranav</span>]]:&lt;[[User talk:Bunnypranav|<span style="color:#63b3ed">ping</span>]]&gt;</span> 06:23, 26 February 2025 (UTC) * check if string is a valid [[:en:ISO_8601#EDTF|EDTF]] date/time * {{doing}} check if string is a valid email address (watch out, see [https://github.com/kdeldycke/awesome-falsehood#emails this list of falsehoods] about email addresses to create unit tests - email addresses are more complicated than they seem) — [[Z10410]] creating test cases in progress. Currently it is stuck on figuring out what exactly is a valid emaill address. Nearly every errata for [[RFC:3696]] is about that. * {{doing}} check if string is a valid [[d:Help:Items|Wikidata item]] — [[Z10696]] (possibly stuck on [[phab:T343593]]?) ====String analysis functions==== *Word frequency counting. Provide a list of words and their frequencies. **{{Done}}, see [[Z21593]]. Providing a list of words and frequencies would require a new type, so instead it requires the sentence and the word you want to count, and returns the occurrences. Hyphenated words are not considered a match of their components, i.e. "fast-forward" is a match of "fast-forward" but nether "fast" nor "forward", I think this is the optimal behaviour but if someone disagrees we can change it. There is a JS implementation that I made which bases all of my 4 test cases. [[User:MolecularPilot|MolecularPilot]] ([[User talk:MolecularPilot|talk]]) 05:41, 12 January 2025 (UTC) *:@[[User:MolecularPilot|MolecularPilot]] And I have added a Python implementation at [[Z22473]]. I would appreciate if you could attach it! <span style="font-family:monospace;font-weight:bold">[[User:Bunnypranav|<span style="color:#63b3ed">~/Bunny</span><span style="color:#2c5282">pranav</span>]]:&lt;[[User talk:Bunnypranav|<span style="color:#63b3ed">ping</span>]]&gt;</span> 08:13, 15 February 2025 (UTC) *::Cool, thank you so much for doing it! Someone's already beat me to it re attaching it, but great work! :) [[User:MolecularPilot|MolecularPilot]] ([[User talk:MolecularPilot|talk]]) 21:33, 16 February 2025 (UTC) ==== Monolingual text ==== ==== String Wikitext operations ==== ... === Natural number === * rectified linear unit (ReLU) - https://www.wikifunctions.org/view/en/Z13909 === Integer=== * {{Done}} - multiply vectors ([[Z21903]], [[Z20659]]) === Byte === See [[Wikifunctions:Catalogue/Boolean operations#Byte functions|existing Byte functions]] in catalogue. * next byte without overflow: byte → byte * previous byte without overflow: byte → byte * next byte by Gray code: byte → byte * previous byte by Gray code: byte → byte * get nth bit as Boolean: byte, natural number → boolean * highest bit set: byte → boolean * lowest bit set: byte → boolean * all bits set: byte → boolean * no bits set: byte → boolean * set nth bit: byte, natural number → byte * clear nth bit: byte, natural number → byte * switch nth bit: byte, natural number → byte * add bytes without overflow: byte, byte → byte * subtract bytes without overflow: byte, byte → byte * multiply bytes without overflow: byte, byte → byte * clamped add bytes: byte, byte → byte * clamped subtract bytes: byte, byte → byte * clamped multiply bytes: byte, byte → byte * add bytes with overflow: byte, byte → byte * subtract bytes with overflow: byte, byte → byte * multiply bytes with overflow: byte, byte → byte * modulo bytes: byte, byte → byte * byte division: byte, byte → byte * reverse: byte → byte * right shift: byte → byte * left shift: byte → byte * right shift by n: byte, natural number → byte * left shift by n: byte, natural number → byte * right shift as ring: byte → byte * left shift as ring: byte → byte * right shift by n as ring: byte, natural number → byte * left shift by n as ring: byte, natural number → byte * how many bits set: byte → natural number === Unicode code point === See [[Wikifunctions:Catalogue/Character operations#Unicode code points|existing code point functions in catalogue]]. * Codepoint to list of bytes for UTF-8 * Codepoint to list of bytes for UTF-16 * Codepoint to list of bytes for UTF-32 ===Object=== === List === ==== Basic list/iterable functions ==== * group * [[w:Circular shift]] ==== Complex list functions ==== * zip lists together: for [ A .. Z ] and [ 1 .. 26 ] return [ [ A, 1 ], [ B, 2 ], .. ] ** Unsure what happens if input lists are of different lengths. ** If possible this function should be able to zip more than 2 lists together... 3, 4, n? Perhaps the input should be list(list, list, list, list, ..). *{{Z+|Z19198}} ==== CSV list operations ==== * list of strings to csv : number -> list of decimal digits<br>number -> list of binary digits<br>number -> list of digits in base provided [[User:Well very well|Well very well]] ([[User talk:Well very well|talk]]) 11:20, 18 May 2024 (UTC) === Functions with functions as arguments === * sort, by a given function * test whether certain functions have specific properties of [[:w:Homogeneous_relation|homogeneous relations]] for particular lists/sets * remove first element matching filter from list === Biology === ==== Taxon functions ==== * Wikidata item representing taxon rank ({{Q|P31}} {{Q|Q427626}}) is at genus level or below ** Should(?) be possible with the current Wikidata functionality, from what I understand. See [[:Wikifunctions:Project chat#Taxon rank function(s)]] for a more detailed explanation. --[[User:WrenFalcon|WrenFalcon]] ([[User talk:WrenFalcon|talk]]) 23:27, 16 May 2025 (UTC) === Gregorian calendar date === * Create a reading function for Dagbani that handles all the possible formats (both the English-linke and the traditional ones, both the Gregorian and the Hijra calendars). [https://docs.google.com/document/d/1u7-ZeY7NHt75JICUPAYky3-7KgkvauD_W3fBjmvpFO0/edit?tab=t.0#heading=h.gf6hp9o3gi0j] [[User:Dv103|Dv103]] ([[User talk:Dv103|talk]]) 15:43, 31 May 2025 (UTC) * day of year from date: date → day of year * year from date: date → year * era from date: date → era * before / sooner / earlier: date, date → boolean * after / later: date, date → boolean * same month: date, date → boolean * same day of the month: date, date → boolean * same day of the year: date, date → boolean * same calendar year: date, date → boolean * same day of the week: date, date → boolean * within a year: date, date → boolean * within a week: date, date → boolean * within n days: date, date → boolean * {{Z+|Z24918}} * months between: date, date → natural number * weeks between: date, date → natural number * previous day: date → date * n days later: date, natural number → date * n days earlier: date, natural number → date * n weeks later: date, natural number → date * n weeks earlier: date, natural number → date * n months later: date, natural number → date * n months earlier: date, natural number → date * n years later: date, natural number → date * n months later: date, natural number → date * Julian day number to date: integer → date * how many leap days passed between two dates: date, date → natural number * how many weekdays between two dates: date, date, day of the week → natural number * is it easter: date → boolean * days until next easter: date → natural number * days since last easter: date → natural number * day number of the year: date → natural number * days until the end of the year: date → natural number * is proleptic: date → boolean * within Pythons date implementation: date → boolean * within JavaScript's date implementation: date → boolean * next time a day of the year is on a specific weekday: date, day of the week → date * next time a day of the month is on a specific weekday: date, natural number, day of the week → date * next Friday the 13th: date → date * first weekday of the month: date, day of the week → date * last weekday of the month: date, day of the week → date * nth weekday of the month: date, day of the week, natural number → date == Morphological functions == morphology is the part of linguistics that studies how language parts are 'shaped' and change diachronically and when inflected. Hausa, Igbo, Malayalam, Bangla/Bengali and Dagbani are [[d:Wikidata:Lexicographical data/Focus languages|focus languages]] for Wikidata's lexicographic dataset, which is an important aspect of [[WF:glossary#Abstract Wikipedia|Abstract Wikipedia]]. === mul - Multiple languages === * inputs: natural number (new numeric type) and language Z-number; output: 'singular', 'dual', 'paucal', 'plural', etc. as string *: {{doing}}: {{Z|15977}} === ase - American Sign Language === * string: Stokoe to ase-[https://github.com/sutton-signwriting/core Sgnw] and vice-versa (consult {{ping|Slevinski}} as to best approach) === bn - Bangla === === cy - Welsh === [[w:en:colloquial Welsh morphology]] === dag - Dagbani === === de - German === * tense * person * number for each verb ** tenses: present, past, ...? ** person: first, second, third ** number: singular, plural ** {{doing}} third person singular present ** second person singular preterite === en - English === * [[Z11390]] Verb -> agent noun, e.g. "dance"->"dancer" * Join English morphemes (extends [[Z13254]] to cases like re + en + able + er + s → re-enablers. [[Z13254]] will correctly join re-enable + ers or re- + enablers, but re + enablers → “renablers” (incorrect). [[Z13275]] tests the Reduce function to produce “detoxification” from a list of four morphemes (orchestrator limit exceeded with five). I doubt we’ll want to derive “toxify” from “toxic”, however. * Derive lemmas from a form. This is envisaged as the converse of Join English morphemes. The focus would be identifying the base form (the lexeme’s lemma) rather than further segmenting the lemma. For example, “underlay” should return “underlie” (for which it is the past participle) and the noun “underlay” (for which it is the lemma) and (perhaps) the verb “underlay”, which might be the tendency of an unproductive hen or the activity of a carpet-fitter. As this is a purely functional converse, every string will have itself as a possible lemma. * Generate [[:w:Numeral_prefix|Numerical prefixes]] of various kinds from a natural number input. * {{Z+|Z19499}} '''<big>eu - Basque</big>''' * Basque language declension system in rather regular based on suffixes. ** Here a few examples for Basque declension: *** {{Z+|Z18541}} *** {{Z+|Z18670}} **Before implementing all of them, we may propose an overall classification that eases both the implementation and the future usage of the functions. Here a first try based on bibliography from the [https://www.euskaltzaindia.eus/index.php?option=com_ebe&view=bilaketa&task=pdf&Itemid=1161&atala=deklinabide-taulak Basque Language Academy]: ***Personal pronouns: they can be treated as exceptions (e.g. "zuek -> zuei", etc.) together with proper noun declension, or as a separate case. ***Determiners: they can be treated as exceptions (e.g. "hau" -> "honek", etc) together with common noun declension, or as a separated case ***Grammatical cases: ****Absolutive ("Nor"): indefinite, singular and plural ****Ergative ("Nork"): indefinite, singular and plural ****Dative ("Nori"): indefinite, singular and plural ***Place and Time: we must distinguish animate (AN) and inanimate (IN) ****Inessive IN ("Non"): indefinite, singular and plural ****Inessive AN ("Norengan"): indefinite, singular and plural - It could be a composition of "Noren" + "-gan" ****Place and time ("Nongo"): indefinite, singular and plural ****Allative IN ("Nora"): indefinite, singular and plural ****Allative AN ("Norengana"): indefinite, singular and plural - It could be a composition of "Noren/Norengan" + "-gan/-a" ****Finished Allative AN ("Noraino"): indefinite, singular and plural - It could be a composition of "Nora" + "-ino" ****Finished Allative AN ("Norengainaino"): indefinite, singular and plural - It could be a composition of "Noregana" + "-ino" ****Right way Allative IN ("Noratz"): indefinite, singular and plural - It could be a composition of "Nora" + "-ntz" ****Right way Allative AN ("Norenganantz"): indefinite, singular and plural - It could be a composition of "Norengana" + "-ntz" ****Ablative IN ("Nondik"): indefinite, singular and plural ****Ablative AN ("Norengandik"): indefinite, singular and plural ***Rest of the cases: ****Partitive ("Zerik"): indefinite ****Possessive ("Noren"): indefinite, singular and plural ****Sociative ("Norekin"): indefinite, singular and plural ****Instrumental ("Zerez"): indefinite, singular and plural ****Motivative ("Zerengatik"): indefinite, singular and plural ****Destinative ("Norentzat"): indefinite, singular and plural - It could be a composition of "Noren" + "-tzat" ***Special case: ****Prolative ("Nortzat"): indefinite ***To take into consideration: ****Together with animate and inanimate classification, we should also consider if the noun is a proper noun ("izen berezia"). We can identify that automatically (e.g. check if written in Title case, but this may not be always possible like in the beginning of sentences), but a dedicated function may be preferred (or a boolean to the generic function saying it is a proper noun). ****The main distinction is between noun ending by vowel or consonant that can be easily computed === fr - French === * [[Z11590]] Masculine adjective -> feminine, e.g. "exact"->"exacte" * Conjugated verb => Infinitive, e.g. "alla" => "aller", "mordit" => "mordre" === ha - Hausa === A notated demo sentence ("Aishà taa jeefar dà kàren Indoo" ― "Aisha threw away Indo's dog") is available at http://intent.xigt.org === ig - Igbo === === ldn - Láadan === section moved to [[WF:human languages/Z1882]] === ml - Malayalam === ===kcg - Tyap=== * Tyap has six determiners/definite articles which determine the pronoun, number (1-5), etc. forms used. ** ka & wu (basically for singular nouns and adjectives with a few exceptions) ** hu & ji (for singular and plural nouns and adjectives) ** ba & na (mainly for plural nouns. *** Determiners come after nouns. *** When an adjective comes before a noun, the determiner used is that of the adjective. E.g., a̱sham (ka) - (the) beautiful, kyang (hu) - (the) thing = a̱sham kyang (ka) - (the) beautiful thing. * Tyap has a non-uniform noun class system used for noun pluralization and conversion from one part of speech to another. E.g., a̱bwom (song) and bwom (to sing), a̱fufwuo (ears) and fufwuo (ear). * Affixation: Prefixes exist but suffixes hardly are found. == Proposed functions requiring future types == '''Note these functions cannot be implemented properly until the needed types are requested and approved.''' If one wishes to nevertheless attempt to define and implement them, * the functions and implementations should indicate prominently in their labels that their input/output types must be adjusted once support for the appropriate replacement types become available; ''and'' * the functions should ''not'' be used in the implementations of any other functions, as the later adjustment of input/output types to appropriate replacements will break those implementations. === String manipulation functions === === String analysis functions === * count distance between two letters in given alphabet (default to 26-charcater western alphabet. case insensitive. e.g. "a" & "A" ⇒ 0; "K" & "N" ⇒ 3) === String encoding and decoding functions === (would be better with types representing a stream of bytes) * [[wikidata:Q113486941|BASE45 encode]] * [[wikidata:Q113486941|BASE45 decode]] * Hexadecimal UTF-8 encode ("ABC ₤" ⇒ "41 42 43 20 E2 82 A4") * Hexadecimal UTF-8 decode ("41 42 43 20 E2 82 A4" ⇒ "ABC ₤") * Decimal UTF-8 encode ("ABC ₤" ⇒ "65 66 67 32 226 130 164") * Decimal UTF-8 decode ("65 66 67 32 226 130 164" ⇒ "ABC ₤") * Octal UTF-8 encode ("ABC ₤" ⇒ "101 102 103 40 342 202 244") * Octal UTF-8 decode ("101 102 103 40 342 202 244" ⇒ "ABC ₤") * Binary UTF-8 encode ("ABC ₤" ⇒ "01000001 01000010 01000011 00100000 11100010 10000010 10100100") * Binary UTF-8 decode ("01000001 01000010 01000011 00100000 11100010 10000010 10100100" ⇒ "ABC ₤") * Unicode code point encode ("ABC ₤" ⇒ "41 42 43 20 20A4") - [[Z10785]] * Unicode code point decode ("41 42 43 20 20A4" ⇒ "ABC ₤") * Create regular expression object/string (i.e: "test" & "i" to /test/i) === Natural language functions === * Choose singular or plural based on number (e.g. singularOrPlural("person",6") -> "people") ** Note that there are also dual and other [[:w:grammatical number|grammatical number]]s in other languages. [[User:魔琴|魔琴]] ([[User talk:魔琴|talk]]) 18:54, 26 October 2023 (UTC) ** relevant interwiki link: [[d:WD:property proposal/plural forms]] [[User:Arlo Barnes|Arlo Barnes]] ([[User talk:Arlo Barnes|talk]]) 04:15, 9 February 2024 (UTC) === Cryptographic hash functions === (would be better with types representing a stream of bytes) * {{todo}} [[wikidata:Q47477417|MD2]] - [[Z10135]] * {{todo}} [[wikidata:Q47462255|MD4]] - [[Z10136]] * {{todo}} [[wikidata:Q27036232|MD5]] - [[Z10137]] * {{todo}} [[wikidata:Q47208127|RIPEMD-128]] - [[Z10138]] * {{todo}} [[wikidata:Q47208127|RIPEMD-160]] - [[Z10139]] * {{todo}} [[wikidata:Q47463469|BLAKE2b-160]] - [[Z10140]] * {{todo}} [[wikidata:Q47463469|BLAKE2b-256]] - [[Z10141]] * {{todo}} [[wikidata:Q47463469|BLAKE2b-384]] - [[Z10142]] * {{todo}} [[wikidata:Q47463469|BLAKE2b-512]] - [[Z10143]] * {{todo}} [[wikidata:Q47463469|BLAKE2s-128]] - [[Z10144]] * {{todo}} [[wikidata:Q47463469|BLAKE2s-160]] - [[Z10145]] * {{todo}} [[wikidata:Q47463469|BLAKE2s-224]] - [[Z10146]] * {{todo}} [[wikidata:Q47463469|BLAKE2s-256]] - [[Z10147]] * {{todo}} [[wikidata:Q47465971|SHA-224]] - [[Z10149]] * {{todo}} [[wikidata:Q47465971|HMAC-SHA-256]] * {{todo}} [[wikidata:Q87486893|SHAKE-128]] - [[Z10150]] * {{todo}} [[wikidata:Q87486893|SHAKE-256]] - [[Z10151]] === Colour functions === * return colour contrast ratio (per [https://webaim.org/articles/contrast/]) of two RGB colours (provided as strings e.g. "#FF0000") === Date, time, and calendric functions === Note: 'time' type not yet supported, use 'string' (or for strictly numeric values, 'natural number') ==== Bengali calendar ==== {{z+|12926}} ==== Chinese calendar ==== ==== French Republican Calendar ==== decimalises and secularises the Gregorian * day names: {{Z+|13006}}{{not done}} '''yet''' ==== Gregorian ==== widely used calendar derived from the Julian, basis for [[xkcd:1179|ISO 8601]] * date to ISO week number {{q|2110154}} * string to date * date to ISO 8601 string *: {{done}}, see {{z|21842}}. --[[User:Sbb1413|Sbb1413]] ([[User talk:Sbb1413|talk]]) 18:47, 21 January 2025 (UTC) * date to year (yyyy) * date to month of the year (1-12) * date to month name (January-December) * date to day of the month (1-31) * date to hour of the day (0-23) * date to minutes (0-59) * date to seconds (0-59) Named Day from Date or day of year ; Input type : Date ; Output Type : String. ; The initial use case was automated population of On The Day, based on various collections of Holidays, festival days and observances. ? [[User:ShakespeareFan00|ShakespeareFan00]] ([[User talk:ShakespeareFan00|talk]]) 19:35, 26 March 2025 (UTC) :So If you gave it 2025-05-01 It said "All Fools Day" etc.. Possibly an additional input of enumrated type to indicate which data set to pull holidays, fesitvals and observances from. [[User:ShakespeareFan00|ShakespeareFan00]] ([[User talk:ShakespeareFan00|talk]]) 19:35, 26 March 2025 (UTC) Diary/calander Header function - Using the above and other date functions, generates a data set from a given date. Hence if you give it 2003-05-01 you get back a JOSN set contianing the {Day of week:String, Day in the Month, Observances} etc. [[User:ShakespeareFan00|ShakespeareFan00]] ([[User talk:ShakespeareFan00|talk]]) 19:35, 26 March 2025 (UTC) ==== Holocene calendar ==== * [[w:en:Holocene calendar#Conversion]] *: {{done}}, see {{z|21913}}. --[[User:Sbb1413|Sbb1413]] ([[User talk:Sbb1413|talk]]) 13:30, 25 January 2025 (UTC) ==== Indian national calendar ==== ==== Islamic ==== a Lunar calendar, also called Hijri ==== Julian ==== mostly used by astronomers, some historians, and some Orthodox Christian denominations ==== Mesoamerican calendars ==== including civil and clerical forms ==== Persian ==== also called Jalali ==== Thai calendar ==== ==== Hebrew calendar ==== ==== Darian calendar ==== Proposed time-keeping system for Mars, requires Julian Date/Time to calculate. === Basic numerical functions === * round up ("1.289" & "2" ⇒ "1.29"; "5678" & "2" ⇒ "5700") *: So if the number is floating point, round to n decimal places, and if not, round to n significant figures. Is that right? [[User:BrightSunMan|BrightSunMan]] ([[User talk:BrightSunMan|talk]]) 19:36, 24 December 2023 (UTC) * round down * return integer value (5678.678 ⇒ 5678) * {{Z+|Z13587}} (23 ⇒ "twenty-three") * Convert money from US$ to anything else ** requires source of conversion rates, which is a hole in function-likeness * Arabic numeral to Etruscan numeral * Etruscan numeral to Arabic numeral * floor and ceiling functions, based on defined standards. === Data serialization functions === * parse a string as [[:en:JSON|JSON]] * extract string from JSON object based on [[:d:Q121208951|JSONPath]] (<code>{"name":"Alice"}</code>, "$.name" ⇒ "Alice") *:Why not first convert a JSON string to an object, and then have a function that extracts fields based on JSONPath? Doing Stringly-typed things like this proposal as defined isn't a good idea. [[User:0xDeadbeef|0xDeadbeef]] ([[User talk:0xDeadbeef|talk]]) 16:16, 5 August 2023 (UTC) *::This seems to be a good idea, thanks! I moved and splitted the proposal accordingly. --[[User:1-Byte|1-Byte]] ([[User talk:1-Byte|talk]]) 09:51, 6 August 2023 (UTC) *:: is it okay to go ahead to create this 'extract string from JSON object based on JSONPath' as a function ? [[User:Dolphyb|Dolphyb]] ([[User talk:Dolphyb|talk]]) 16:14, 15 February 2024 (UTC) === Basic list/iterable functions requiring numeric types === * Sum the elements of a numeric list - [[Z14038]] * Product of the elements of a numeric list * {{Z+|Z12676}} * Slice of list elements: for the supplied list, return a list of elements that are at indexes between a supplied range n:m ** Zero indexing is used (first element is index 0)? ** n and m are are included in the range? ** What happens if n and/or m are invalid indexes? * Remove slice of elements from list: return the supplied list with elements between a supplied range of indexes removed ** Zero indexing is used (first element is index 0)? ** n and m are are included in the range? ** What happens if n and/or m are invalid indexes? * Every nth element of list: returns every nth element of the supplied list * Remove every nth element of list: removes every nth element of the supplied list - * sample n objects from list (return up to n [[Wikifunctions:Determinism|random]] objects from the list) * Jaccard similarity coefficient (see https://en.wikipedia.org/wiki/Jaccard_index) === Geodetics functions === [[w:en:planetary coordinate system]], [[w:en:well-known text representation of coordinate reference systems]] ==== Earth ==== * convert coordinates outside of the ranges (-180, 180) for longitude and (-90, 90) for latitude to a canonical form ==== Mars ==== * convert coordinates outside of the ranges [0, 360) for longitude and (-90, 90) for latitude to a canonical form === Unit conversion functions === * {{Z+|15560}} === Conversion function : 2D Cartesian to 2D Polar === Input : matrix [x,y] Output: matrix [θ,r] Short text : Polar conversion of x,y to a polar space centred at 0,0 in the Cartesian. Constraints: x,y,r are reals (float64), θ lies in the range -π<0<π (Sign determined in relation to standards used in STEM applications. [[User:ShakespeareFan00|ShakespeareFan00]] ([[User talk:ShakespeareFan00|talk]]) 14:30, 26 March 2025 (UTC) :The companion could also be provided. As I never did Geodetic functions, I am not sure how Lat, Long to map projection would work , but useful. [[User:ShakespeareFan00|ShakespeareFan00]] ([[User talk:ShakespeareFan00|talk]]) 14:30, 26 March 2025 (UTC) === Trignometric Functions === * sine, cosine, *: Input : float64 Angle in radians. *: Output : float64 desired trignometric value [[User:ShakespeareFan00|ShakespeareFan00]] ([[User talk:ShakespeareFan00|talk]]) 19:40, 26 March 2025 (UTC) ==== Function Proposal : Decimalise angle of the form ('1:x' or '1 in x') to % (in 100) or ‰ (in 1000) ==== *Suggested name: gardient_decimal. *Input type: Integer ( The 1 is implied.). Lower Bound +1: Upper Bound: 1000 (for most practical situations?) *Output type: Real/float 64. Proposer: [[User:ShakespeareFan00|ShakespeareFan00]] ([[User talk:ShakespeareFan00|talk]]) 19:05, 28 March 2025 (UTC) ===Color Functions=== ==== Colorspace Conversion ==== x,y,Y to sRGB (Illuminant D65). Input : 3tuple of float64, Output: 3 tuple of integer, where 0>=r<=255, 0>=g<=255 0>=b<=255. Convert a color specfied as 3 float64 values, from x,y,Y colorspace to sRGB or raise an "Out of Gaumt" exception. [[User:ShakespeareFan00|ShakespeareFan00]] ([[User talk:ShakespeareFan00|talk]]) 19:09, 7 April 2025 (UTC) ==== Spectral Approximate from sRGB or XYZ values. ==== I'd like to see the techniques detailed here: http://scottburns.us/reflectance-curves-from-srgb/ implemented in Wikifunctions as the provided spreadhseet later in the paper doesn't appear to work with Libre Office. [[User:ShakespeareFan00|ShakespeareFan00]] ([[User talk:ShakespeareFan00|talk]]) 19:32, 2 June 2025 (UTC) === Music Functions === It would be nice to have '''12 equal temperament pitch class''' and '''12 equal temperament pitch''' types, as they would be useful for calculating harmonies and melodies. The pitch classes could be stored as natural numbers from 0 to 11, and represented with symbols C, C♯, D, ..., B. The pitches could be stored as integers with -1 being B3, 0 being C4, 1 being C♯4, etc. Over time, we could expand the pitch class and pitch types to other temperaments and just intonation. As I'm new to Wikifunctions and my coding skills are next to zero, this is just a suggestion to the community. (edited) [[User:CaffeineP|CaffeineP]] ([[User talk:CaffeineP|talk]]) 14:48, 9 April 2025 (UTC) :Yes… There are some notational challenges because of enharmonics as well as naming conventions varying by language/culture, so English A♯ is equivalent to German B and English B♭, for example. Ideally, I would want the (English) pitch class that is five semitones higher than G♭ to be displayed as C♭ rather than B. :Also, given some reference pitch like A4 = 440 Hz, we should be able to return the frequency in hertz of a given pitch and, conversely, the nearest pitch for a given frequency and its offset in cents (or whatever). The computation is a lot simpler than representing the result (or capturing how the result should be represented)! [[User:GrounderUK|GrounderUK]] ([[User talk:GrounderUK|talk]]) 20:08, 9 April 2025 (UTC) * '''12-ET Pitch Class of a Pitch''': Return the 12 equal temperament pitch class of a given 12 equal temperament pitch. For example, C4 returns C. * '''12-ET Pitch based on Pitch Class''': Return a 12 equal temperament pitch based on a given 12 equal temperament pitch class and a given integer. For example, C and 4 return C4. * '''Interval between 12-ET Pitch Classes in Semitones''': Get the interval in semitones between two 12 equal temperament pitch classes, always assuming that the first is lower than (or the same as) the second, and the interval is less than an octave. For example, C and B return 11, while B and C return 1. * '''Interval between 12-ET Pitches in Semitones''': Get the interval in semitones between two 12 equal temperament pitches. For example, C4 and B3 return -1, while C3 and B4 return 23. * '''Raise 12-ET Pitch Class by Semitones''': Get a new 12 equal temperament pitch class through raising a given pitch class by the provided number of semitones. For example, raising B by 1 semitone returns C. * '''Lower 12-ET Pitch Class by Semitones''': Same as above, but lower the pitch class instead of raising it. * '''Raise 12-ET Pitch by Semitones''': Get a new 12 equal temperament pitch through raising a given pitch by the provided number of semitones. For example, raising B3 by 1 semitone returns C4. * '''Lower 12-ET Pitch by Semitones''': Same as above, but lower the pitch instead of raising it. * '''Frequency of a 12-ET Pitch''': Return a float64 frequency in Hz based on the provided 12 equal temperament pitch (and possibly a reference pitch with its frequency; if not provided, take default A4 = 440 Hz). * '''Approximate 12-ET Pitch Class based on Frequency''': Return a 12 equal temperament pitch class approximately based on the provided frequency in Hz. * '''Approximate 12-ET Pitch based on Frequency''': Return a 12 equal temperament pitch approximately based on the provided frequency in Hz. === SVG Functions === I would be nice to generate SVG (a XML-based vector image format which is basically a long string), it could allow to replace a lot of images on Commons or templates/tools. Here some examples: * create simple forms, * create graphs (line graph/bar graph for population or for production, elections diagrams like [[:File:1900Hawaii.svg]], etc.), * create more complex visualisation like genealogical trees, * create coat of arms (?), * etc. Cheers, [[User:VIGNERON|VIGNERON]] ([[User talk:VIGNERON|talk]]) 10:47, 23 April 2025 (UTC) :@[[User:VIGNERON|VIGNERON]]: Eventually that is something we might support, but there'll be nothing any time soon. It has a number of complex security and scalability concerns, sadly. [[User:Jdforrester (WMF)|Jdforrester (WMF)]] ([[User talk:Jdforrester (WMF)|talk]]) 13:21, 23 April 2025 (UTC) ::{{ping|Jdforrester (WMF)}} thanks. I talked about it for the last Corner but I wanted to leave a record here, if we have time, maybe I'll use that time to write some things to prepare (like listing templates and tools on the Wikimedia projects that generate SVG or visualisations). Cheers, [[User:VIGNERON|VIGNERON]] ([[User talk:VIGNERON|talk]]) 15:28, 23 April 2025 (UTC) :::Of course! I've explicitly added a section on this here: [[Wikifunctions:Embedded function calls#Non-text output]] — hope that helps assure you that we're thinking about it. [[User:Jdforrester (WMF)|Jdforrester (WMF)]] ([[User talk:Jdforrester (WMF)|talk]]) 21:40, 23 April 2025 (UTC) == Object / type / function functions == *{{Z+|Z17893}} *{{Z+|Z21180}} *{{Z+|Z21182}} *{{Z+|Z21193}} == External function lists == * [[WF:importing]] ikkzm1sa8gwl5tfvcxuxhona840wvr8 191024 191011 2025-06-03T18:27:49Z ShakespeareFan00 177 /* Color Functions */ 191024 wikitext text/x-wiki Do you have an idea for a new function? Suggest it here! It may help to refer to [[Wikifunctions:Glossary|our glossary]]. You can [https://www.wikifunctions.org/wiki/Special:CreateZObject?zid=Z8 create a function] right away if you have the user-rights. If a function requires a new type, consider [[WF:TP|proposing it]]. Note that for now '''we only support a limited number of types as input and output types''' of functions. More types are coming in the next few months. For the full list, see [[WF:Type]]. Once created, consider adding new Functions to the [[Wikifunctions:Catalogue|catalogue]]. [[Category:Maintenance]] == Proposed functions requiring only available types (string, Boolean, Natural number, list) == === String === ==== String character discard functions ==== * remove stereochemical specificity in [[:en:Simplified_molecular-input_line-entry_system|SMILES]] string, like e/z isomers ** already fulfilled by someone else at: [[Z11815]] * simplify [[:en:Simplified_molecular-input_line-entry_system|SMILES]] string according to some basic simplifications ** {{Partly done}}, see [[Z19380]]. There's testcases, and I (or someone else) can get around to the coding later. [[User:MolecularPilot|MolecularPilot]] ([[User talk:MolecularPilot|talk]]) 10:21, 26 October 2024 (UTC) *** {{Done}} completely, still at [[Z19380]]. Another user helpfully wrote a python script that passed 1 of my test cases between October and now. I just re-wrote the script to pass all 3 test cases, and also created a JavaScript version. [[User:MolecularPilot|MolecularPilot]] ([[User talk:MolecularPilot|talk]]) 03:43, 10 January 2025 (UTC) ==== String character replacement functions ==== ==== String search functions ==== ==== String escaping and unescaping functions ==== ==== String encoding and decoding functions ==== * Unicode normalising functions (there are several types of normalisation) * [[wikidata:Q47467628|Backslash-U with delimiters ASCII encoding of Unicode encode]] ** Can someone elaborate on this? No example cases were given on the document, and backslash-U with delimiters is anyway not that prevalent as far as I have seen. [[User:BrightSunMan|BrightSunMan]] ([[User talk:BrightSunMan|talk]]) 15:24, 26 December 2023 (UTC) ** {{Done}}, see [[Z21486]]. I've made 5 test cases (achieving 100% coverage) and implementations in both JavaScript and Python, which passes all test cases. Support for both the Basic Multilingual Plane (BMP) and supplementary characters (using surrogate pairs). [[User:MolecularPilot|MolecularPilot]] ([[User talk:MolecularPilot|talk]]) 02:49, 10 January 2025 (UTC) * [[wikidata:Q47467628|XML and HTML ASCII encoding of Unicode encode]] ** {{Done}}, see [[Z21503]]. Again, I've also made 5 test cases which cover a wide variety of Unicode characters, and implementations in JS and Python (which pass all the tests). As before successful support for both the Basic Multilingual Plane (BMP) and supplementary characters (this time '''not using''' surrogate pairs, as is customary for HTML/XML encoding). [[User:MolecularPilot|MolecularPilot]] ([[User talk:MolecularPilot|talk]]) 05:30, 10 January 2025 (UTC) * [https://html.spec.whatwg.org/#named-character-references HTML named character encode] * [[wikidata:Q47466379|Punycode encode]] - [[Z10178]] (part only, not whole url); see also [[Z10185]] * [[:en:Unified_English_Braille|Unified English Braille encode]] (discarding invalid characters?) ** {{Done}}, see [[Z21514]]. 6 test cases this time, and support for both letters and numbers, with implementations in JS and Python (both passing all the tests). [[User:MolecularPilot|MolecularPilot]] ([[User talk:MolecularPilot|talk]]) 06:00, 10 January 2025 (UTC) ==== String presentation functions ==== * add [[:en:Quotation_mark|locale-specific quotation marks]] to string ** Shouldn't the output depend on the locale? See [[mw:Extension:Scribunto/Lua_reference_manual#mw.language:formatNum|mw.language:formatNum]]. —[[User:Dexxor|Dexxor]] ([[User talk:Dexxor|talk]]) 17:15, 4 September 2023 (UTC) ==== String colour notation functions ==== * [[:en:Complementary_colors|complementary colour]] in RGB colour model ("#FF0000" ⇒ "#00FFFF") ** Any specification on invalid inputs? [[User:MilkyDefer|<span style="color:#09C">Milky</span>]][[User talk:MilkyDefer|'''<span style="color:#F09">Defer</span>''']] 11:22, 5 August 2023 (UTC) *:Great question. I don't think there is a position documented on Wikifunctions for how to handle invalid input to a function. Can we throw exceptions? Return null? [[User:Dhx1|Dhx1]] ([[User talk:Dhx1|talk]]) 13:23, 6 August 2023 (UTC) *::This shouldn't be a string function. This should be a type that represents a RGB color (with corresponding validation function (hopefully it can just be three unsigned 8bit integers)) and a function that returns the complementary color. [[User:0xDeadbeef|0xDeadbeef]] ([[User talk:0xDeadbeef|talk]]) 12:38, 7 August 2023 (UTC) ** Work on the color type has been stalled for over a year. But this task is {{Done}}, I have made [[Z21554]], that uses string hex codes (with or without the initial # and supporting short hex format). This is probably the most optimal format, as I can imagine this function being used on-wiki for thing like the style parameter (CSS) of MediaWiki tags, or of templates etc. There's 5 testcases I've made, which are passed by both my JS and Python versions. :) [[User:MolecularPilot|MolecularPilot]] ([[User talk:MolecularPilot|talk]]) 03:39, 11 January 2025 (UTC) ==== String notation validation checks ==== * check if string is an [[:en:International_Chemical_Identifier]] ** {{Partly done}} see [[Z21539]]. Supports the verification of the chemical formula and the stereochemical layer. There are 13 testcaes that I've written, all of which are passed by my JavaScript implementation. Note that a python implementation is not possible as the regex module is not available in Wikifunctions. [[User:MolecularPilot|MolecularPilot]] ([[User talk:MolecularPilot|talk]]) 03:09, 11 January 2025 (UTC) ** To do: *** Needs to verify the hydrogen and connection sections of the main layer *** Support the charge layer *** Support the isotopic layer **[[User:MolecularPilot|MolecularPilot]] ([[User talk:MolecularPilot|talk]]) 03:09, 11 January 2025 (UTC) ***{{ping|MolecularPilot}} A python impl. is infact possible. I created a basic direct translation at [[Z22823]]. Some tests are failing as the regex needs a bit of sorting out, out of scope for me, but you can give it a try! Keep in mind that you need to escape any \ with a \\ just before saving per [[Wikifunctions:Python_implementations#Known_limitations_as_of_October_2024]]. <span style="font-family:monospace;font-weight:bold">[[User:Bunnypranav|<span style="color:#63b3ed">~/Bunny</span><span style="color:#2c5282">pranav</span>]]:&lt;[[User talk:Bunnypranav|<span style="color:#63b3ed">ping</span>]]&gt;</span> 06:14, 26 February 2025 (UTC) * check if string is a [[:en:SMILES_arbitrary_target_specification|SMILES arbitrary target specification (SMARTS) notation]] * check if string is an [[:en:ABC_notation|ABC notation]] * check if string is a [[:en:LilyPond|LilyPond notation]] * {{Doing}} check if string is a [[:en:Portable_Game_Notation|portable game notation]] for a chess game ([[Z15867]], figuring out how to add newlines to the test input) * [[Z14643]] check if string is [[:en:Forsyth–Edwards Notation|Forsyth–Edwards Notation]] for a chess position * check if string is a [[:en:UIC_classification_of_locomotive_axle_arrangements|UIC classification of locomotive axle arrangements notation]] * check if a string is a valid [[:en:ISBN|ISBN]]-13 (probably just a simple variant of [[Z10821]], dropping/validating the hyphens) ** {{Done}} at [[Z23561]]. Note than ISBN-13 starts with only 978/979, a differing factor from EAN. I have added that in the func and tests as well. <span style="font-family:monospace;font-weight:bold">[[User:Bunnypranav|<span style="color:#63b3ed">~/Bunny</span><span style="color:#2c5282">pranav</span>]]:&lt;[[User talk:Bunnypranav|<span style="color:#63b3ed">ping</span>]]&gt;</span> 12:53, 26 March 2025 (UTC) * check if a string is a valid [[:en:Digital_object_identifier|DOI]] ** Something about implementation difficulties: https://stackoverflow.com/questions/27910/finding-a-doi-in-a-document-or-page [[User:Alexander-Mart-Earth|Alexander-Mart-Earth]] ([[User talk:Alexander-Mart-Earth|talk]]) 14:28, 21 December 2023 (UTC) * check if a string is a valid [[:en:ISWN|ISWN]] ** {{Done}}, see [[Z21562]]. Contains 6 test cases that I made, all of which are passed by my Python and JavaScript implementations. It supports both just numbers, and a string containing the "separator" symbols (like ., - and /). [[User:MolecularPilot|MolecularPilot]] ([[User talk:MolecularPilot|talk]]) 07:32, 11 January 2025 (UTC) ==== String validation checks ==== * {{doing}} check if string is in [[:en:Camel_case|lower camel case]] * check if string is a valid ISO 3166 country code * check if string is a valid ISO 8601 date/time (2023-08-03 ⇒ true; 2023-02-30 ⇒ false; 2023-08-03 15:00:00.000 ⇒ true; 2023-08-03 25:00:00.000 ⇒ false) ** {{Done|by=Philipnelson99}} at [[Z14206]]. <span style="font-family:monospace;font-weight:bold">[[User:Bunnypranav|<span style="color:#63b3ed">~/Bunny</span><span style="color:#2c5282">pranav</span>]]:&lt;[[User talk:Bunnypranav|<span style="color:#63b3ed">ping</span>]]&gt;</span> 06:23, 26 February 2025 (UTC) * check if string is a valid [[:en:ISO_8601#EDTF|EDTF]] date/time * {{doing}} check if string is a valid email address (watch out, see [https://github.com/kdeldycke/awesome-falsehood#emails this list of falsehoods] about email addresses to create unit tests - email addresses are more complicated than they seem) — [[Z10410]] creating test cases in progress. Currently it is stuck on figuring out what exactly is a valid emaill address. Nearly every errata for [[RFC:3696]] is about that. * {{doing}} check if string is a valid [[d:Help:Items|Wikidata item]] — [[Z10696]] (possibly stuck on [[phab:T343593]]?) ====String analysis functions==== *Word frequency counting. Provide a list of words and their frequencies. **{{Done}}, see [[Z21593]]. Providing a list of words and frequencies would require a new type, so instead it requires the sentence and the word you want to count, and returns the occurrences. Hyphenated words are not considered a match of their components, i.e. "fast-forward" is a match of "fast-forward" but nether "fast" nor "forward", I think this is the optimal behaviour but if someone disagrees we can change it. There is a JS implementation that I made which bases all of my 4 test cases. [[User:MolecularPilot|MolecularPilot]] ([[User talk:MolecularPilot|talk]]) 05:41, 12 January 2025 (UTC) *:@[[User:MolecularPilot|MolecularPilot]] And I have added a Python implementation at [[Z22473]]. I would appreciate if you could attach it! <span style="font-family:monospace;font-weight:bold">[[User:Bunnypranav|<span style="color:#63b3ed">~/Bunny</span><span style="color:#2c5282">pranav</span>]]:&lt;[[User talk:Bunnypranav|<span style="color:#63b3ed">ping</span>]]&gt;</span> 08:13, 15 February 2025 (UTC) *::Cool, thank you so much for doing it! Someone's already beat me to it re attaching it, but great work! :) [[User:MolecularPilot|MolecularPilot]] ([[User talk:MolecularPilot|talk]]) 21:33, 16 February 2025 (UTC) ==== Monolingual text ==== ==== String Wikitext operations ==== ... === Natural number === * rectified linear unit (ReLU) - https://www.wikifunctions.org/view/en/Z13909 === Integer=== * {{Done}} - multiply vectors ([[Z21903]], [[Z20659]]) === Byte === See [[Wikifunctions:Catalogue/Boolean operations#Byte functions|existing Byte functions]] in catalogue. * next byte without overflow: byte → byte * previous byte without overflow: byte → byte * next byte by Gray code: byte → byte * previous byte by Gray code: byte → byte * get nth bit as Boolean: byte, natural number → boolean * highest bit set: byte → boolean * lowest bit set: byte → boolean * all bits set: byte → boolean * no bits set: byte → boolean * set nth bit: byte, natural number → byte * clear nth bit: byte, natural number → byte * switch nth bit: byte, natural number → byte * add bytes without overflow: byte, byte → byte * subtract bytes without overflow: byte, byte → byte * multiply bytes without overflow: byte, byte → byte * clamped add bytes: byte, byte → byte * clamped subtract bytes: byte, byte → byte * clamped multiply bytes: byte, byte → byte * add bytes with overflow: byte, byte → byte * subtract bytes with overflow: byte, byte → byte * multiply bytes with overflow: byte, byte → byte * modulo bytes: byte, byte → byte * byte division: byte, byte → byte * reverse: byte → byte * right shift: byte → byte * left shift: byte → byte * right shift by n: byte, natural number → byte * left shift by n: byte, natural number → byte * right shift as ring: byte → byte * left shift as ring: byte → byte * right shift by n as ring: byte, natural number → byte * left shift by n as ring: byte, natural number → byte * how many bits set: byte → natural number === Unicode code point === See [[Wikifunctions:Catalogue/Character operations#Unicode code points|existing code point functions in catalogue]]. * Codepoint to list of bytes for UTF-8 * Codepoint to list of bytes for UTF-16 * Codepoint to list of bytes for UTF-32 ===Object=== === List === ==== Basic list/iterable functions ==== * group * [[w:Circular shift]] ==== Complex list functions ==== * zip lists together: for [ A .. Z ] and [ 1 .. 26 ] return [ [ A, 1 ], [ B, 2 ], .. ] ** Unsure what happens if input lists are of different lengths. ** If possible this function should be able to zip more than 2 lists together... 3, 4, n? Perhaps the input should be list(list, list, list, list, ..). *{{Z+|Z19198}} ==== CSV list operations ==== * list of strings to csv : number -> list of decimal digits<br>number -> list of binary digits<br>number -> list of digits in base provided [[User:Well very well|Well very well]] ([[User talk:Well very well|talk]]) 11:20, 18 May 2024 (UTC) === Functions with functions as arguments === * sort, by a given function * test whether certain functions have specific properties of [[:w:Homogeneous_relation|homogeneous relations]] for particular lists/sets * remove first element matching filter from list === Biology === ==== Taxon functions ==== * Wikidata item representing taxon rank ({{Q|P31}} {{Q|Q427626}}) is at genus level or below ** Should(?) be possible with the current Wikidata functionality, from what I understand. See [[:Wikifunctions:Project chat#Taxon rank function(s)]] for a more detailed explanation. --[[User:WrenFalcon|WrenFalcon]] ([[User talk:WrenFalcon|talk]]) 23:27, 16 May 2025 (UTC) === Gregorian calendar date === * Create a reading function for Dagbani that handles all the possible formats (both the English-linke and the traditional ones, both the Gregorian and the Hijra calendars). [https://docs.google.com/document/d/1u7-ZeY7NHt75JICUPAYky3-7KgkvauD_W3fBjmvpFO0/edit?tab=t.0#heading=h.gf6hp9o3gi0j] [[User:Dv103|Dv103]] ([[User talk:Dv103|talk]]) 15:43, 31 May 2025 (UTC) * day of year from date: date → day of year * year from date: date → year * era from date: date → era * before / sooner / earlier: date, date → boolean * after / later: date, date → boolean * same month: date, date → boolean * same day of the month: date, date → boolean * same day of the year: date, date → boolean * same calendar year: date, date → boolean * same day of the week: date, date → boolean * within a year: date, date → boolean * within a week: date, date → boolean * within n days: date, date → boolean * {{Z+|Z24918}} * months between: date, date → natural number * weeks between: date, date → natural number * previous day: date → date * n days later: date, natural number → date * n days earlier: date, natural number → date * n weeks later: date, natural number → date * n weeks earlier: date, natural number → date * n months later: date, natural number → date * n months earlier: date, natural number → date * n years later: date, natural number → date * n months later: date, natural number → date * Julian day number to date: integer → date * how many leap days passed between two dates: date, date → natural number * how many weekdays between two dates: date, date, day of the week → natural number * is it easter: date → boolean * days until next easter: date → natural number * days since last easter: date → natural number * day number of the year: date → natural number * days until the end of the year: date → natural number * is proleptic: date → boolean * within Pythons date implementation: date → boolean * within JavaScript's date implementation: date → boolean * next time a day of the year is on a specific weekday: date, day of the week → date * next time a day of the month is on a specific weekday: date, natural number, day of the week → date * next Friday the 13th: date → date * first weekday of the month: date, day of the week → date * last weekday of the month: date, day of the week → date * nth weekday of the month: date, day of the week, natural number → date == Morphological functions == morphology is the part of linguistics that studies how language parts are 'shaped' and change diachronically and when inflected. Hausa, Igbo, Malayalam, Bangla/Bengali and Dagbani are [[d:Wikidata:Lexicographical data/Focus languages|focus languages]] for Wikidata's lexicographic dataset, which is an important aspect of [[WF:glossary#Abstract Wikipedia|Abstract Wikipedia]]. === mul - Multiple languages === * inputs: natural number (new numeric type) and language Z-number; output: 'singular', 'dual', 'paucal', 'plural', etc. as string *: {{doing}}: {{Z|15977}} === ase - American Sign Language === * string: Stokoe to ase-[https://github.com/sutton-signwriting/core Sgnw] and vice-versa (consult {{ping|Slevinski}} as to best approach) === bn - Bangla === === cy - Welsh === [[w:en:colloquial Welsh morphology]] === dag - Dagbani === === de - German === * tense * person * number for each verb ** tenses: present, past, ...? ** person: first, second, third ** number: singular, plural ** {{doing}} third person singular present ** second person singular preterite === en - English === * [[Z11390]] Verb -> agent noun, e.g. "dance"->"dancer" * Join English morphemes (extends [[Z13254]] to cases like re + en + able + er + s → re-enablers. [[Z13254]] will correctly join re-enable + ers or re- + enablers, but re + enablers → “renablers” (incorrect). [[Z13275]] tests the Reduce function to produce “detoxification” from a list of four morphemes (orchestrator limit exceeded with five). I doubt we’ll want to derive “toxify” from “toxic”, however. * Derive lemmas from a form. This is envisaged as the converse of Join English morphemes. The focus would be identifying the base form (the lexeme’s lemma) rather than further segmenting the lemma. For example, “underlay” should return “underlie” (for which it is the past participle) and the noun “underlay” (for which it is the lemma) and (perhaps) the verb “underlay”, which might be the tendency of an unproductive hen or the activity of a carpet-fitter. As this is a purely functional converse, every string will have itself as a possible lemma. * Generate [[:w:Numeral_prefix|Numerical prefixes]] of various kinds from a natural number input. * {{Z+|Z19499}} '''<big>eu - Basque</big>''' * Basque language declension system in rather regular based on suffixes. ** Here a few examples for Basque declension: *** {{Z+|Z18541}} *** {{Z+|Z18670}} **Before implementing all of them, we may propose an overall classification that eases both the implementation and the future usage of the functions. Here a first try based on bibliography from the [https://www.euskaltzaindia.eus/index.php?option=com_ebe&view=bilaketa&task=pdf&Itemid=1161&atala=deklinabide-taulak Basque Language Academy]: ***Personal pronouns: they can be treated as exceptions (e.g. "zuek -> zuei", etc.) together with proper noun declension, or as a separate case. ***Determiners: they can be treated as exceptions (e.g. "hau" -> "honek", etc) together with common noun declension, or as a separated case ***Grammatical cases: ****Absolutive ("Nor"): indefinite, singular and plural ****Ergative ("Nork"): indefinite, singular and plural ****Dative ("Nori"): indefinite, singular and plural ***Place and Time: we must distinguish animate (AN) and inanimate (IN) ****Inessive IN ("Non"): indefinite, singular and plural ****Inessive AN ("Norengan"): indefinite, singular and plural - It could be a composition of "Noren" + "-gan" ****Place and time ("Nongo"): indefinite, singular and plural ****Allative IN ("Nora"): indefinite, singular and plural ****Allative AN ("Norengana"): indefinite, singular and plural - It could be a composition of "Noren/Norengan" + "-gan/-a" ****Finished Allative AN ("Noraino"): indefinite, singular and plural - It could be a composition of "Nora" + "-ino" ****Finished Allative AN ("Norengainaino"): indefinite, singular and plural - It could be a composition of "Noregana" + "-ino" ****Right way Allative IN ("Noratz"): indefinite, singular and plural - It could be a composition of "Nora" + "-ntz" ****Right way Allative AN ("Norenganantz"): indefinite, singular and plural - It could be a composition of "Norengana" + "-ntz" ****Ablative IN ("Nondik"): indefinite, singular and plural ****Ablative AN ("Norengandik"): indefinite, singular and plural ***Rest of the cases: ****Partitive ("Zerik"): indefinite ****Possessive ("Noren"): indefinite, singular and plural ****Sociative ("Norekin"): indefinite, singular and plural ****Instrumental ("Zerez"): indefinite, singular and plural ****Motivative ("Zerengatik"): indefinite, singular and plural ****Destinative ("Norentzat"): indefinite, singular and plural - It could be a composition of "Noren" + "-tzat" ***Special case: ****Prolative ("Nortzat"): indefinite ***To take into consideration: ****Together with animate and inanimate classification, we should also consider if the noun is a proper noun ("izen berezia"). We can identify that automatically (e.g. check if written in Title case, but this may not be always possible like in the beginning of sentences), but a dedicated function may be preferred (or a boolean to the generic function saying it is a proper noun). ****The main distinction is between noun ending by vowel or consonant that can be easily computed === fr - French === * [[Z11590]] Masculine adjective -> feminine, e.g. "exact"->"exacte" * Conjugated verb => Infinitive, e.g. "alla" => "aller", "mordit" => "mordre" === ha - Hausa === A notated demo sentence ("Aishà taa jeefar dà kàren Indoo" ― "Aisha threw away Indo's dog") is available at http://intent.xigt.org === ig - Igbo === === ldn - Láadan === section moved to [[WF:human languages/Z1882]] === ml - Malayalam === ===kcg - Tyap=== * Tyap has six determiners/definite articles which determine the pronoun, number (1-5), etc. forms used. ** ka & wu (basically for singular nouns and adjectives with a few exceptions) ** hu & ji (for singular and plural nouns and adjectives) ** ba & na (mainly for plural nouns. *** Determiners come after nouns. *** When an adjective comes before a noun, the determiner used is that of the adjective. E.g., a̱sham (ka) - (the) beautiful, kyang (hu) - (the) thing = a̱sham kyang (ka) - (the) beautiful thing. * Tyap has a non-uniform noun class system used for noun pluralization and conversion from one part of speech to another. E.g., a̱bwom (song) and bwom (to sing), a̱fufwuo (ears) and fufwuo (ear). * Affixation: Prefixes exist but suffixes hardly are found. == Proposed functions requiring future types == '''Note these functions cannot be implemented properly until the needed types are requested and approved.''' If one wishes to nevertheless attempt to define and implement them, * the functions and implementations should indicate prominently in their labels that their input/output types must be adjusted once support for the appropriate replacement types become available; ''and'' * the functions should ''not'' be used in the implementations of any other functions, as the later adjustment of input/output types to appropriate replacements will break those implementations. === String manipulation functions === === String analysis functions === * count distance between two letters in given alphabet (default to 26-charcater western alphabet. case insensitive. e.g. "a" & "A" ⇒ 0; "K" & "N" ⇒ 3) === String encoding and decoding functions === (would be better with types representing a stream of bytes) * [[wikidata:Q113486941|BASE45 encode]] * [[wikidata:Q113486941|BASE45 decode]] * Hexadecimal UTF-8 encode ("ABC ₤" ⇒ "41 42 43 20 E2 82 A4") * Hexadecimal UTF-8 decode ("41 42 43 20 E2 82 A4" ⇒ "ABC ₤") * Decimal UTF-8 encode ("ABC ₤" ⇒ "65 66 67 32 226 130 164") * Decimal UTF-8 decode ("65 66 67 32 226 130 164" ⇒ "ABC ₤") * Octal UTF-8 encode ("ABC ₤" ⇒ "101 102 103 40 342 202 244") * Octal UTF-8 decode ("101 102 103 40 342 202 244" ⇒ "ABC ₤") * Binary UTF-8 encode ("ABC ₤" ⇒ "01000001 01000010 01000011 00100000 11100010 10000010 10100100") * Binary UTF-8 decode ("01000001 01000010 01000011 00100000 11100010 10000010 10100100" ⇒ "ABC ₤") * Unicode code point encode ("ABC ₤" ⇒ "41 42 43 20 20A4") - [[Z10785]] * Unicode code point decode ("41 42 43 20 20A4" ⇒ "ABC ₤") * Create regular expression object/string (i.e: "test" & "i" to /test/i) === Natural language functions === * Choose singular or plural based on number (e.g. singularOrPlural("person",6") -> "people") ** Note that there are also dual and other [[:w:grammatical number|grammatical number]]s in other languages. [[User:魔琴|魔琴]] ([[User talk:魔琴|talk]]) 18:54, 26 October 2023 (UTC) ** relevant interwiki link: [[d:WD:property proposal/plural forms]] [[User:Arlo Barnes|Arlo Barnes]] ([[User talk:Arlo Barnes|talk]]) 04:15, 9 February 2024 (UTC) === Cryptographic hash functions === (would be better with types representing a stream of bytes) * {{todo}} [[wikidata:Q47477417|MD2]] - [[Z10135]] * {{todo}} [[wikidata:Q47462255|MD4]] - [[Z10136]] * {{todo}} [[wikidata:Q27036232|MD5]] - [[Z10137]] * {{todo}} [[wikidata:Q47208127|RIPEMD-128]] - [[Z10138]] * {{todo}} [[wikidata:Q47208127|RIPEMD-160]] - [[Z10139]] * {{todo}} [[wikidata:Q47463469|BLAKE2b-160]] - [[Z10140]] * {{todo}} [[wikidata:Q47463469|BLAKE2b-256]] - [[Z10141]] * {{todo}} [[wikidata:Q47463469|BLAKE2b-384]] - [[Z10142]] * {{todo}} [[wikidata:Q47463469|BLAKE2b-512]] - [[Z10143]] * {{todo}} [[wikidata:Q47463469|BLAKE2s-128]] - [[Z10144]] * {{todo}} [[wikidata:Q47463469|BLAKE2s-160]] - [[Z10145]] * {{todo}} [[wikidata:Q47463469|BLAKE2s-224]] - [[Z10146]] * {{todo}} [[wikidata:Q47463469|BLAKE2s-256]] - [[Z10147]] * {{todo}} [[wikidata:Q47465971|SHA-224]] - [[Z10149]] * {{todo}} [[wikidata:Q47465971|HMAC-SHA-256]] * {{todo}} [[wikidata:Q87486893|SHAKE-128]] - [[Z10150]] * {{todo}} [[wikidata:Q87486893|SHAKE-256]] - [[Z10151]] === Colour functions === * return colour contrast ratio (per [https://webaim.org/articles/contrast/]) of two RGB colours (provided as strings e.g. "#FF0000") === Date, time, and calendric functions === Note: 'time' type not yet supported, use 'string' (or for strictly numeric values, 'natural number') ==== Bengali calendar ==== {{z+|12926}} ==== Chinese calendar ==== ==== French Republican Calendar ==== decimalises and secularises the Gregorian * day names: {{Z+|13006}}{{not done}} '''yet''' ==== Gregorian ==== widely used calendar derived from the Julian, basis for [[xkcd:1179|ISO 8601]] * date to ISO week number {{q|2110154}} * string to date * date to ISO 8601 string *: {{done}}, see {{z|21842}}. --[[User:Sbb1413|Sbb1413]] ([[User talk:Sbb1413|talk]]) 18:47, 21 January 2025 (UTC) * date to year (yyyy) * date to month of the year (1-12) * date to month name (January-December) * date to day of the month (1-31) * date to hour of the day (0-23) * date to minutes (0-59) * date to seconds (0-59) Named Day from Date or day of year ; Input type : Date ; Output Type : String. ; The initial use case was automated population of On The Day, based on various collections of Holidays, festival days and observances. ? [[User:ShakespeareFan00|ShakespeareFan00]] ([[User talk:ShakespeareFan00|talk]]) 19:35, 26 March 2025 (UTC) :So If you gave it 2025-05-01 It said "All Fools Day" etc.. Possibly an additional input of enumrated type to indicate which data set to pull holidays, fesitvals and observances from. [[User:ShakespeareFan00|ShakespeareFan00]] ([[User talk:ShakespeareFan00|talk]]) 19:35, 26 March 2025 (UTC) Diary/calander Header function - Using the above and other date functions, generates a data set from a given date. Hence if you give it 2003-05-01 you get back a JOSN set contianing the {Day of week:String, Day in the Month, Observances} etc. [[User:ShakespeareFan00|ShakespeareFan00]] ([[User talk:ShakespeareFan00|talk]]) 19:35, 26 March 2025 (UTC) ==== Holocene calendar ==== * [[w:en:Holocene calendar#Conversion]] *: {{done}}, see {{z|21913}}. --[[User:Sbb1413|Sbb1413]] ([[User talk:Sbb1413|talk]]) 13:30, 25 January 2025 (UTC) ==== Indian national calendar ==== ==== Islamic ==== a Lunar calendar, also called Hijri ==== Julian ==== mostly used by astronomers, some historians, and some Orthodox Christian denominations ==== Mesoamerican calendars ==== including civil and clerical forms ==== Persian ==== also called Jalali ==== Thai calendar ==== ==== Hebrew calendar ==== ==== Darian calendar ==== Proposed time-keeping system for Mars, requires Julian Date/Time to calculate. === Basic numerical functions === * round up ("1.289" & "2" ⇒ "1.29"; "5678" & "2" ⇒ "5700") *: So if the number is floating point, round to n decimal places, and if not, round to n significant figures. Is that right? [[User:BrightSunMan|BrightSunMan]] ([[User talk:BrightSunMan|talk]]) 19:36, 24 December 2023 (UTC) * round down * return integer value (5678.678 ⇒ 5678) * {{Z+|Z13587}} (23 ⇒ "twenty-three") * Convert money from US$ to anything else ** requires source of conversion rates, which is a hole in function-likeness * Arabic numeral to Etruscan numeral * Etruscan numeral to Arabic numeral * floor and ceiling functions, based on defined standards. === Data serialization functions === * parse a string as [[:en:JSON|JSON]] * extract string from JSON object based on [[:d:Q121208951|JSONPath]] (<code>{"name":"Alice"}</code>, "$.name" ⇒ "Alice") *:Why not first convert a JSON string to an object, and then have a function that extracts fields based on JSONPath? Doing Stringly-typed things like this proposal as defined isn't a good idea. [[User:0xDeadbeef|0xDeadbeef]] ([[User talk:0xDeadbeef|talk]]) 16:16, 5 August 2023 (UTC) *::This seems to be a good idea, thanks! I moved and splitted the proposal accordingly. --[[User:1-Byte|1-Byte]] ([[User talk:1-Byte|talk]]) 09:51, 6 August 2023 (UTC) *:: is it okay to go ahead to create this 'extract string from JSON object based on JSONPath' as a function ? [[User:Dolphyb|Dolphyb]] ([[User talk:Dolphyb|talk]]) 16:14, 15 February 2024 (UTC) === Basic list/iterable functions requiring numeric types === * Sum the elements of a numeric list - [[Z14038]] * Product of the elements of a numeric list * {{Z+|Z12676}} * Slice of list elements: for the supplied list, return a list of elements that are at indexes between a supplied range n:m ** Zero indexing is used (first element is index 0)? ** n and m are are included in the range? ** What happens if n and/or m are invalid indexes? * Remove slice of elements from list: return the supplied list with elements between a supplied range of indexes removed ** Zero indexing is used (first element is index 0)? ** n and m are are included in the range? ** What happens if n and/or m are invalid indexes? * Every nth element of list: returns every nth element of the supplied list * Remove every nth element of list: removes every nth element of the supplied list - * sample n objects from list (return up to n [[Wikifunctions:Determinism|random]] objects from the list) * Jaccard similarity coefficient (see https://en.wikipedia.org/wiki/Jaccard_index) === Geodetics functions === [[w:en:planetary coordinate system]], [[w:en:well-known text representation of coordinate reference systems]] ==== Earth ==== * convert coordinates outside of the ranges (-180, 180) for longitude and (-90, 90) for latitude to a canonical form ==== Mars ==== * convert coordinates outside of the ranges [0, 360) for longitude and (-90, 90) for latitude to a canonical form === Unit conversion functions === * {{Z+|15560}} === Conversion function : 2D Cartesian to 2D Polar === Input : matrix [x,y] Output: matrix [θ,r] Short text : Polar conversion of x,y to a polar space centred at 0,0 in the Cartesian. Constraints: x,y,r are reals (float64), θ lies in the range -π<0<π (Sign determined in relation to standards used in STEM applications. [[User:ShakespeareFan00|ShakespeareFan00]] ([[User talk:ShakespeareFan00|talk]]) 14:30, 26 March 2025 (UTC) :The companion could also be provided. As I never did Geodetic functions, I am not sure how Lat, Long to map projection would work , but useful. [[User:ShakespeareFan00|ShakespeareFan00]] ([[User talk:ShakespeareFan00|talk]]) 14:30, 26 March 2025 (UTC) === Trignometric Functions === * sine, cosine, *: Input : float64 Angle in radians. *: Output : float64 desired trignometric value [[User:ShakespeareFan00|ShakespeareFan00]] ([[User talk:ShakespeareFan00|talk]]) 19:40, 26 March 2025 (UTC) ==== Function Proposal : Decimalise angle of the form ('1:x' or '1 in x') to % (in 100) or ‰ (in 1000) ==== *Suggested name: gardient_decimal. *Input type: Integer ( The 1 is implied.). Lower Bound +1: Upper Bound: 1000 (for most practical situations?) *Output type: Real/float 64. Proposer: [[User:ShakespeareFan00|ShakespeareFan00]] ([[User talk:ShakespeareFan00|talk]]) 19:05, 28 March 2025 (UTC) ===Color Functions=== ==== Colorspace Conversion ==== x,y,Y to sRGB (Illuminant D65). Input : 3tuple of float64, Output: 3 tuple of integer, where 0>=r<=255, 0>=g<=255 0>=b<=255. Convert a color specfied as 3 float64 values, from x,y,Y colorspace to sRGB or raise an "Out of Gaumt" exception. [[User:ShakespeareFan00|ShakespeareFan00]] ([[User talk:ShakespeareFan00|talk]]) 19:09, 7 April 2025 (UTC) ==== Spectral Approximate from sRGB or XYZ values. ==== I'd like to see the techniques detailed here: http://scottburns.us/reflectance-curves-from-srgb/ implemented in Wikifunctions as the provided spreadhseet later in the paper doesn't appear to work with Libre Office. [[User:ShakespeareFan00|ShakespeareFan00]] ([[User talk:ShakespeareFan00|talk]]) 19:32, 2 June 2025 (UTC) ==Subtractive color mix (Pigment style) === Implement the mixing function from Spectral.js (https://github.com/rvanwijnen/spectral.js/blob/3.0.0/spectral.js )(MIT license), to allow 2 or more sRGB triplets to be mixed like pigment colors. This is different from the subtract colors function implemented previously. === Music Functions === It would be nice to have '''12 equal temperament pitch class''' and '''12 equal temperament pitch''' types, as they would be useful for calculating harmonies and melodies. The pitch classes could be stored as natural numbers from 0 to 11, and represented with symbols C, C♯, D, ..., B. The pitches could be stored as integers with -1 being B3, 0 being C4, 1 being C♯4, etc. Over time, we could expand the pitch class and pitch types to other temperaments and just intonation. As I'm new to Wikifunctions and my coding skills are next to zero, this is just a suggestion to the community. (edited) [[User:CaffeineP|CaffeineP]] ([[User talk:CaffeineP|talk]]) 14:48, 9 April 2025 (UTC) :Yes… There are some notational challenges because of enharmonics as well as naming conventions varying by language/culture, so English A♯ is equivalent to German B and English B♭, for example. Ideally, I would want the (English) pitch class that is five semitones higher than G♭ to be displayed as C♭ rather than B. :Also, given some reference pitch like A4 = 440 Hz, we should be able to return the frequency in hertz of a given pitch and, conversely, the nearest pitch for a given frequency and its offset in cents (or whatever). The computation is a lot simpler than representing the result (or capturing how the result should be represented)! [[User:GrounderUK|GrounderUK]] ([[User talk:GrounderUK|talk]]) 20:08, 9 April 2025 (UTC) * '''12-ET Pitch Class of a Pitch''': Return the 12 equal temperament pitch class of a given 12 equal temperament pitch. For example, C4 returns C. * '''12-ET Pitch based on Pitch Class''': Return a 12 equal temperament pitch based on a given 12 equal temperament pitch class and a given integer. For example, C and 4 return C4. * '''Interval between 12-ET Pitch Classes in Semitones''': Get the interval in semitones between two 12 equal temperament pitch classes, always assuming that the first is lower than (or the same as) the second, and the interval is less than an octave. For example, C and B return 11, while B and C return 1. * '''Interval between 12-ET Pitches in Semitones''': Get the interval in semitones between two 12 equal temperament pitches. For example, C4 and B3 return -1, while C3 and B4 return 23. * '''Raise 12-ET Pitch Class by Semitones''': Get a new 12 equal temperament pitch class through raising a given pitch class by the provided number of semitones. For example, raising B by 1 semitone returns C. * '''Lower 12-ET Pitch Class by Semitones''': Same as above, but lower the pitch class instead of raising it. * '''Raise 12-ET Pitch by Semitones''': Get a new 12 equal temperament pitch through raising a given pitch by the provided number of semitones. For example, raising B3 by 1 semitone returns C4. * '''Lower 12-ET Pitch by Semitones''': Same as above, but lower the pitch instead of raising it. * '''Frequency of a 12-ET Pitch''': Return a float64 frequency in Hz based on the provided 12 equal temperament pitch (and possibly a reference pitch with its frequency; if not provided, take default A4 = 440 Hz). * '''Approximate 12-ET Pitch Class based on Frequency''': Return a 12 equal temperament pitch class approximately based on the provided frequency in Hz. * '''Approximate 12-ET Pitch based on Frequency''': Return a 12 equal temperament pitch approximately based on the provided frequency in Hz. === SVG Functions === I would be nice to generate SVG (a XML-based vector image format which is basically a long string), it could allow to replace a lot of images on Commons or templates/tools. Here some examples: * create simple forms, * create graphs (line graph/bar graph for population or for production, elections diagrams like [[:File:1900Hawaii.svg]], etc.), * create more complex visualisation like genealogical trees, * create coat of arms (?), * etc. Cheers, [[User:VIGNERON|VIGNERON]] ([[User talk:VIGNERON|talk]]) 10:47, 23 April 2025 (UTC) :@[[User:VIGNERON|VIGNERON]]: Eventually that is something we might support, but there'll be nothing any time soon. It has a number of complex security and scalability concerns, sadly. [[User:Jdforrester (WMF)|Jdforrester (WMF)]] ([[User talk:Jdforrester (WMF)|talk]]) 13:21, 23 April 2025 (UTC) ::{{ping|Jdforrester (WMF)}} thanks. I talked about it for the last Corner but I wanted to leave a record here, if we have time, maybe I'll use that time to write some things to prepare (like listing templates and tools on the Wikimedia projects that generate SVG or visualisations). Cheers, [[User:VIGNERON|VIGNERON]] ([[User talk:VIGNERON|talk]]) 15:28, 23 April 2025 (UTC) :::Of course! I've explicitly added a section on this here: [[Wikifunctions:Embedded function calls#Non-text output]] — hope that helps assure you that we're thinking about it. [[User:Jdforrester (WMF)|Jdforrester (WMF)]] ([[User talk:Jdforrester (WMF)|talk]]) 21:40, 23 April 2025 (UTC) == Object / type / function functions == *{{Z+|Z17893}} *{{Z+|Z21180}} *{{Z+|Z21182}} *{{Z+|Z21193}} == External function lists == * [[WF:importing]] owxzk1crbbsc74syk59qoasxqfe38oy 191025 191024 2025-06-03T18:28:11Z ShakespeareFan00 177 /* Subtractive color mix (Pigment style) = */ 191025 wikitext text/x-wiki Do you have an idea for a new function? Suggest it here! It may help to refer to [[Wikifunctions:Glossary|our glossary]]. You can [https://www.wikifunctions.org/wiki/Special:CreateZObject?zid=Z8 create a function] right away if you have the user-rights. If a function requires a new type, consider [[WF:TP|proposing it]]. Note that for now '''we only support a limited number of types as input and output types''' of functions. More types are coming in the next few months. For the full list, see [[WF:Type]]. Once created, consider adding new Functions to the [[Wikifunctions:Catalogue|catalogue]]. [[Category:Maintenance]] == Proposed functions requiring only available types (string, Boolean, Natural number, list) == === String === ==== String character discard functions ==== * remove stereochemical specificity in [[:en:Simplified_molecular-input_line-entry_system|SMILES]] string, like e/z isomers ** already fulfilled by someone else at: [[Z11815]] * simplify [[:en:Simplified_molecular-input_line-entry_system|SMILES]] string according to some basic simplifications ** {{Partly done}}, see [[Z19380]]. There's testcases, and I (or someone else) can get around to the coding later. [[User:MolecularPilot|MolecularPilot]] ([[User talk:MolecularPilot|talk]]) 10:21, 26 October 2024 (UTC) *** {{Done}} completely, still at [[Z19380]]. Another user helpfully wrote a python script that passed 1 of my test cases between October and now. I just re-wrote the script to pass all 3 test cases, and also created a JavaScript version. [[User:MolecularPilot|MolecularPilot]] ([[User talk:MolecularPilot|talk]]) 03:43, 10 January 2025 (UTC) ==== String character replacement functions ==== ==== String search functions ==== ==== String escaping and unescaping functions ==== ==== String encoding and decoding functions ==== * Unicode normalising functions (there are several types of normalisation) * [[wikidata:Q47467628|Backslash-U with delimiters ASCII encoding of Unicode encode]] ** Can someone elaborate on this? No example cases were given on the document, and backslash-U with delimiters is anyway not that prevalent as far as I have seen. [[User:BrightSunMan|BrightSunMan]] ([[User talk:BrightSunMan|talk]]) 15:24, 26 December 2023 (UTC) ** {{Done}}, see [[Z21486]]. I've made 5 test cases (achieving 100% coverage) and implementations in both JavaScript and Python, which passes all test cases. Support for both the Basic Multilingual Plane (BMP) and supplementary characters (using surrogate pairs). [[User:MolecularPilot|MolecularPilot]] ([[User talk:MolecularPilot|talk]]) 02:49, 10 January 2025 (UTC) * [[wikidata:Q47467628|XML and HTML ASCII encoding of Unicode encode]] ** {{Done}}, see [[Z21503]]. Again, I've also made 5 test cases which cover a wide variety of Unicode characters, and implementations in JS and Python (which pass all the tests). As before successful support for both the Basic Multilingual Plane (BMP) and supplementary characters (this time '''not using''' surrogate pairs, as is customary for HTML/XML encoding). [[User:MolecularPilot|MolecularPilot]] ([[User talk:MolecularPilot|talk]]) 05:30, 10 January 2025 (UTC) * [https://html.spec.whatwg.org/#named-character-references HTML named character encode] * [[wikidata:Q47466379|Punycode encode]] - [[Z10178]] (part only, not whole url); see also [[Z10185]] * [[:en:Unified_English_Braille|Unified English Braille encode]] (discarding invalid characters?) ** {{Done}}, see [[Z21514]]. 6 test cases this time, and support for both letters and numbers, with implementations in JS and Python (both passing all the tests). [[User:MolecularPilot|MolecularPilot]] ([[User talk:MolecularPilot|talk]]) 06:00, 10 January 2025 (UTC) ==== String presentation functions ==== * add [[:en:Quotation_mark|locale-specific quotation marks]] to string ** Shouldn't the output depend on the locale? See [[mw:Extension:Scribunto/Lua_reference_manual#mw.language:formatNum|mw.language:formatNum]]. —[[User:Dexxor|Dexxor]] ([[User talk:Dexxor|talk]]) 17:15, 4 September 2023 (UTC) ==== String colour notation functions ==== * [[:en:Complementary_colors|complementary colour]] in RGB colour model ("#FF0000" ⇒ "#00FFFF") ** Any specification on invalid inputs? [[User:MilkyDefer|<span style="color:#09C">Milky</span>]][[User talk:MilkyDefer|'''<span style="color:#F09">Defer</span>''']] 11:22, 5 August 2023 (UTC) *:Great question. I don't think there is a position documented on Wikifunctions for how to handle invalid input to a function. Can we throw exceptions? Return null? [[User:Dhx1|Dhx1]] ([[User talk:Dhx1|talk]]) 13:23, 6 August 2023 (UTC) *::This shouldn't be a string function. This should be a type that represents a RGB color (with corresponding validation function (hopefully it can just be three unsigned 8bit integers)) and a function that returns the complementary color. [[User:0xDeadbeef|0xDeadbeef]] ([[User talk:0xDeadbeef|talk]]) 12:38, 7 August 2023 (UTC) ** Work on the color type has been stalled for over a year. But this task is {{Done}}, I have made [[Z21554]], that uses string hex codes (with or without the initial # and supporting short hex format). This is probably the most optimal format, as I can imagine this function being used on-wiki for thing like the style parameter (CSS) of MediaWiki tags, or of templates etc. There's 5 testcases I've made, which are passed by both my JS and Python versions. :) [[User:MolecularPilot|MolecularPilot]] ([[User talk:MolecularPilot|talk]]) 03:39, 11 January 2025 (UTC) ==== String notation validation checks ==== * check if string is an [[:en:International_Chemical_Identifier]] ** {{Partly done}} see [[Z21539]]. Supports the verification of the chemical formula and the stereochemical layer. There are 13 testcaes that I've written, all of which are passed by my JavaScript implementation. Note that a python implementation is not possible as the regex module is not available in Wikifunctions. [[User:MolecularPilot|MolecularPilot]] ([[User talk:MolecularPilot|talk]]) 03:09, 11 January 2025 (UTC) ** To do: *** Needs to verify the hydrogen and connection sections of the main layer *** Support the charge layer *** Support the isotopic layer **[[User:MolecularPilot|MolecularPilot]] ([[User talk:MolecularPilot|talk]]) 03:09, 11 January 2025 (UTC) ***{{ping|MolecularPilot}} A python impl. is infact possible. I created a basic direct translation at [[Z22823]]. Some tests are failing as the regex needs a bit of sorting out, out of scope for me, but you can give it a try! Keep in mind that you need to escape any \ with a \\ just before saving per [[Wikifunctions:Python_implementations#Known_limitations_as_of_October_2024]]. <span style="font-family:monospace;font-weight:bold">[[User:Bunnypranav|<span style="color:#63b3ed">~/Bunny</span><span style="color:#2c5282">pranav</span>]]:&lt;[[User talk:Bunnypranav|<span style="color:#63b3ed">ping</span>]]&gt;</span> 06:14, 26 February 2025 (UTC) * check if string is a [[:en:SMILES_arbitrary_target_specification|SMILES arbitrary target specification (SMARTS) notation]] * check if string is an [[:en:ABC_notation|ABC notation]] * check if string is a [[:en:LilyPond|LilyPond notation]] * {{Doing}} check if string is a [[:en:Portable_Game_Notation|portable game notation]] for a chess game ([[Z15867]], figuring out how to add newlines to the test input) * [[Z14643]] check if string is [[:en:Forsyth–Edwards Notation|Forsyth–Edwards Notation]] for a chess position * check if string is a [[:en:UIC_classification_of_locomotive_axle_arrangements|UIC classification of locomotive axle arrangements notation]] * check if a string is a valid [[:en:ISBN|ISBN]]-13 (probably just a simple variant of [[Z10821]], dropping/validating the hyphens) ** {{Done}} at [[Z23561]]. Note than ISBN-13 starts with only 978/979, a differing factor from EAN. I have added that in the func and tests as well. <span style="font-family:monospace;font-weight:bold">[[User:Bunnypranav|<span style="color:#63b3ed">~/Bunny</span><span style="color:#2c5282">pranav</span>]]:&lt;[[User talk:Bunnypranav|<span style="color:#63b3ed">ping</span>]]&gt;</span> 12:53, 26 March 2025 (UTC) * check if a string is a valid [[:en:Digital_object_identifier|DOI]] ** Something about implementation difficulties: https://stackoverflow.com/questions/27910/finding-a-doi-in-a-document-or-page [[User:Alexander-Mart-Earth|Alexander-Mart-Earth]] ([[User talk:Alexander-Mart-Earth|talk]]) 14:28, 21 December 2023 (UTC) * check if a string is a valid [[:en:ISWN|ISWN]] ** {{Done}}, see [[Z21562]]. Contains 6 test cases that I made, all of which are passed by my Python and JavaScript implementations. It supports both just numbers, and a string containing the "separator" symbols (like ., - and /). [[User:MolecularPilot|MolecularPilot]] ([[User talk:MolecularPilot|talk]]) 07:32, 11 January 2025 (UTC) ==== String validation checks ==== * {{doing}} check if string is in [[:en:Camel_case|lower camel case]] * check if string is a valid ISO 3166 country code * check if string is a valid ISO 8601 date/time (2023-08-03 ⇒ true; 2023-02-30 ⇒ false; 2023-08-03 15:00:00.000 ⇒ true; 2023-08-03 25:00:00.000 ⇒ false) ** {{Done|by=Philipnelson99}} at [[Z14206]]. <span style="font-family:monospace;font-weight:bold">[[User:Bunnypranav|<span style="color:#63b3ed">~/Bunny</span><span style="color:#2c5282">pranav</span>]]:&lt;[[User talk:Bunnypranav|<span style="color:#63b3ed">ping</span>]]&gt;</span> 06:23, 26 February 2025 (UTC) * check if string is a valid [[:en:ISO_8601#EDTF|EDTF]] date/time * {{doing}} check if string is a valid email address (watch out, see [https://github.com/kdeldycke/awesome-falsehood#emails this list of falsehoods] about email addresses to create unit tests - email addresses are more complicated than they seem) — [[Z10410]] creating test cases in progress. Currently it is stuck on figuring out what exactly is a valid emaill address. Nearly every errata for [[RFC:3696]] is about that. * {{doing}} check if string is a valid [[d:Help:Items|Wikidata item]] — [[Z10696]] (possibly stuck on [[phab:T343593]]?) ====String analysis functions==== *Word frequency counting. Provide a list of words and their frequencies. **{{Done}}, see [[Z21593]]. Providing a list of words and frequencies would require a new type, so instead it requires the sentence and the word you want to count, and returns the occurrences. Hyphenated words are not considered a match of their components, i.e. "fast-forward" is a match of "fast-forward" but nether "fast" nor "forward", I think this is the optimal behaviour but if someone disagrees we can change it. There is a JS implementation that I made which bases all of my 4 test cases. [[User:MolecularPilot|MolecularPilot]] ([[User talk:MolecularPilot|talk]]) 05:41, 12 January 2025 (UTC) *:@[[User:MolecularPilot|MolecularPilot]] And I have added a Python implementation at [[Z22473]]. I would appreciate if you could attach it! <span style="font-family:monospace;font-weight:bold">[[User:Bunnypranav|<span style="color:#63b3ed">~/Bunny</span><span style="color:#2c5282">pranav</span>]]:&lt;[[User talk:Bunnypranav|<span style="color:#63b3ed">ping</span>]]&gt;</span> 08:13, 15 February 2025 (UTC) *::Cool, thank you so much for doing it! Someone's already beat me to it re attaching it, but great work! :) [[User:MolecularPilot|MolecularPilot]] ([[User talk:MolecularPilot|talk]]) 21:33, 16 February 2025 (UTC) ==== Monolingual text ==== ==== String Wikitext operations ==== ... === Natural number === * rectified linear unit (ReLU) - https://www.wikifunctions.org/view/en/Z13909 === Integer=== * {{Done}} - multiply vectors ([[Z21903]], [[Z20659]]) === Byte === See [[Wikifunctions:Catalogue/Boolean operations#Byte functions|existing Byte functions]] in catalogue. * next byte without overflow: byte → byte * previous byte without overflow: byte → byte * next byte by Gray code: byte → byte * previous byte by Gray code: byte → byte * get nth bit as Boolean: byte, natural number → boolean * highest bit set: byte → boolean * lowest bit set: byte → boolean * all bits set: byte → boolean * no bits set: byte → boolean * set nth bit: byte, natural number → byte * clear nth bit: byte, natural number → byte * switch nth bit: byte, natural number → byte * add bytes without overflow: byte, byte → byte * subtract bytes without overflow: byte, byte → byte * multiply bytes without overflow: byte, byte → byte * clamped add bytes: byte, byte → byte * clamped subtract bytes: byte, byte → byte * clamped multiply bytes: byte, byte → byte * add bytes with overflow: byte, byte → byte * subtract bytes with overflow: byte, byte → byte * multiply bytes with overflow: byte, byte → byte * modulo bytes: byte, byte → byte * byte division: byte, byte → byte * reverse: byte → byte * right shift: byte → byte * left shift: byte → byte * right shift by n: byte, natural number → byte * left shift by n: byte, natural number → byte * right shift as ring: byte → byte * left shift as ring: byte → byte * right shift by n as ring: byte, natural number → byte * left shift by n as ring: byte, natural number → byte * how many bits set: byte → natural number === Unicode code point === See [[Wikifunctions:Catalogue/Character operations#Unicode code points|existing code point functions in catalogue]]. * Codepoint to list of bytes for UTF-8 * Codepoint to list of bytes for UTF-16 * Codepoint to list of bytes for UTF-32 ===Object=== === List === ==== Basic list/iterable functions ==== * group * [[w:Circular shift]] ==== Complex list functions ==== * zip lists together: for [ A .. Z ] and [ 1 .. 26 ] return [ [ A, 1 ], [ B, 2 ], .. ] ** Unsure what happens if input lists are of different lengths. ** If possible this function should be able to zip more than 2 lists together... 3, 4, n? Perhaps the input should be list(list, list, list, list, ..). *{{Z+|Z19198}} ==== CSV list operations ==== * list of strings to csv : number -> list of decimal digits<br>number -> list of binary digits<br>number -> list of digits in base provided [[User:Well very well|Well very well]] ([[User talk:Well very well|talk]]) 11:20, 18 May 2024 (UTC) === Functions with functions as arguments === * sort, by a given function * test whether certain functions have specific properties of [[:w:Homogeneous_relation|homogeneous relations]] for particular lists/sets * remove first element matching filter from list === Biology === ==== Taxon functions ==== * Wikidata item representing taxon rank ({{Q|P31}} {{Q|Q427626}}) is at genus level or below ** Should(?) be possible with the current Wikidata functionality, from what I understand. See [[:Wikifunctions:Project chat#Taxon rank function(s)]] for a more detailed explanation. --[[User:WrenFalcon|WrenFalcon]] ([[User talk:WrenFalcon|talk]]) 23:27, 16 May 2025 (UTC) === Gregorian calendar date === * Create a reading function for Dagbani that handles all the possible formats (both the English-linke and the traditional ones, both the Gregorian and the Hijra calendars). [https://docs.google.com/document/d/1u7-ZeY7NHt75JICUPAYky3-7KgkvauD_W3fBjmvpFO0/edit?tab=t.0#heading=h.gf6hp9o3gi0j] [[User:Dv103|Dv103]] ([[User talk:Dv103|talk]]) 15:43, 31 May 2025 (UTC) * day of year from date: date → day of year * year from date: date → year * era from date: date → era * before / sooner / earlier: date, date → boolean * after / later: date, date → boolean * same month: date, date → boolean * same day of the month: date, date → boolean * same day of the year: date, date → boolean * same calendar year: date, date → boolean * same day of the week: date, date → boolean * within a year: date, date → boolean * within a week: date, date → boolean * within n days: date, date → boolean * {{Z+|Z24918}} * months between: date, date → natural number * weeks between: date, date → natural number * previous day: date → date * n days later: date, natural number → date * n days earlier: date, natural number → date * n weeks later: date, natural number → date * n weeks earlier: date, natural number → date * n months later: date, natural number → date * n months earlier: date, natural number → date * n years later: date, natural number → date * n months later: date, natural number → date * Julian day number to date: integer → date * how many leap days passed between two dates: date, date → natural number * how many weekdays between two dates: date, date, day of the week → natural number * is it easter: date → boolean * days until next easter: date → natural number * days since last easter: date → natural number * day number of the year: date → natural number * days until the end of the year: date → natural number * is proleptic: date → boolean * within Pythons date implementation: date → boolean * within JavaScript's date implementation: date → boolean * next time a day of the year is on a specific weekday: date, day of the week → date * next time a day of the month is on a specific weekday: date, natural number, day of the week → date * next Friday the 13th: date → date * first weekday of the month: date, day of the week → date * last weekday of the month: date, day of the week → date * nth weekday of the month: date, day of the week, natural number → date == Morphological functions == morphology is the part of linguistics that studies how language parts are 'shaped' and change diachronically and when inflected. Hausa, Igbo, Malayalam, Bangla/Bengali and Dagbani are [[d:Wikidata:Lexicographical data/Focus languages|focus languages]] for Wikidata's lexicographic dataset, which is an important aspect of [[WF:glossary#Abstract Wikipedia|Abstract Wikipedia]]. === mul - Multiple languages === * inputs: natural number (new numeric type) and language Z-number; output: 'singular', 'dual', 'paucal', 'plural', etc. as string *: {{doing}}: {{Z|15977}} === ase - American Sign Language === * string: Stokoe to ase-[https://github.com/sutton-signwriting/core Sgnw] and vice-versa (consult {{ping|Slevinski}} as to best approach) === bn - Bangla === === cy - Welsh === [[w:en:colloquial Welsh morphology]] === dag - Dagbani === === de - German === * tense * person * number for each verb ** tenses: present, past, ...? ** person: first, second, third ** number: singular, plural ** {{doing}} third person singular present ** second person singular preterite === en - English === * [[Z11390]] Verb -> agent noun, e.g. "dance"->"dancer" * Join English morphemes (extends [[Z13254]] to cases like re + en + able + er + s → re-enablers. [[Z13254]] will correctly join re-enable + ers or re- + enablers, but re + enablers → “renablers” (incorrect). [[Z13275]] tests the Reduce function to produce “detoxification” from a list of four morphemes (orchestrator limit exceeded with five). I doubt we’ll want to derive “toxify” from “toxic”, however. * Derive lemmas from a form. This is envisaged as the converse of Join English morphemes. The focus would be identifying the base form (the lexeme’s lemma) rather than further segmenting the lemma. For example, “underlay” should return “underlie” (for which it is the past participle) and the noun “underlay” (for which it is the lemma) and (perhaps) the verb “underlay”, which might be the tendency of an unproductive hen or the activity of a carpet-fitter. As this is a purely functional converse, every string will have itself as a possible lemma. * Generate [[:w:Numeral_prefix|Numerical prefixes]] of various kinds from a natural number input. * {{Z+|Z19499}} '''<big>eu - Basque</big>''' * Basque language declension system in rather regular based on suffixes. ** Here a few examples for Basque declension: *** {{Z+|Z18541}} *** {{Z+|Z18670}} **Before implementing all of them, we may propose an overall classification that eases both the implementation and the future usage of the functions. Here a first try based on bibliography from the [https://www.euskaltzaindia.eus/index.php?option=com_ebe&view=bilaketa&task=pdf&Itemid=1161&atala=deklinabide-taulak Basque Language Academy]: ***Personal pronouns: they can be treated as exceptions (e.g. "zuek -> zuei", etc.) together with proper noun declension, or as a separate case. ***Determiners: they can be treated as exceptions (e.g. "hau" -> "honek", etc) together with common noun declension, or as a separated case ***Grammatical cases: ****Absolutive ("Nor"): indefinite, singular and plural ****Ergative ("Nork"): indefinite, singular and plural ****Dative ("Nori"): indefinite, singular and plural ***Place and Time: we must distinguish animate (AN) and inanimate (IN) ****Inessive IN ("Non"): indefinite, singular and plural ****Inessive AN ("Norengan"): indefinite, singular and plural - It could be a composition of "Noren" + "-gan" ****Place and time ("Nongo"): indefinite, singular and plural ****Allative IN ("Nora"): indefinite, singular and plural ****Allative AN ("Norengana"): indefinite, singular and plural - It could be a composition of "Noren/Norengan" + "-gan/-a" ****Finished Allative AN ("Noraino"): indefinite, singular and plural - It could be a composition of "Nora" + "-ino" ****Finished Allative AN ("Norengainaino"): indefinite, singular and plural - It could be a composition of "Noregana" + "-ino" ****Right way Allative IN ("Noratz"): indefinite, singular and plural - It could be a composition of "Nora" + "-ntz" ****Right way Allative AN ("Norenganantz"): indefinite, singular and plural - It could be a composition of "Norengana" + "-ntz" ****Ablative IN ("Nondik"): indefinite, singular and plural ****Ablative AN ("Norengandik"): indefinite, singular and plural ***Rest of the cases: ****Partitive ("Zerik"): indefinite ****Possessive ("Noren"): indefinite, singular and plural ****Sociative ("Norekin"): indefinite, singular and plural ****Instrumental ("Zerez"): indefinite, singular and plural ****Motivative ("Zerengatik"): indefinite, singular and plural ****Destinative ("Norentzat"): indefinite, singular and plural - It could be a composition of "Noren" + "-tzat" ***Special case: ****Prolative ("Nortzat"): indefinite ***To take into consideration: ****Together with animate and inanimate classification, we should also consider if the noun is a proper noun ("izen berezia"). We can identify that automatically (e.g. check if written in Title case, but this may not be always possible like in the beginning of sentences), but a dedicated function may be preferred (or a boolean to the generic function saying it is a proper noun). ****The main distinction is between noun ending by vowel or consonant that can be easily computed === fr - French === * [[Z11590]] Masculine adjective -> feminine, e.g. "exact"->"exacte" * Conjugated verb => Infinitive, e.g. "alla" => "aller", "mordit" => "mordre" === ha - Hausa === A notated demo sentence ("Aishà taa jeefar dà kàren Indoo" ― "Aisha threw away Indo's dog") is available at http://intent.xigt.org === ig - Igbo === === ldn - Láadan === section moved to [[WF:human languages/Z1882]] === ml - Malayalam === ===kcg - Tyap=== * Tyap has six determiners/definite articles which determine the pronoun, number (1-5), etc. forms used. ** ka & wu (basically for singular nouns and adjectives with a few exceptions) ** hu & ji (for singular and plural nouns and adjectives) ** ba & na (mainly for plural nouns. *** Determiners come after nouns. *** When an adjective comes before a noun, the determiner used is that of the adjective. E.g., a̱sham (ka) - (the) beautiful, kyang (hu) - (the) thing = a̱sham kyang (ka) - (the) beautiful thing. * Tyap has a non-uniform noun class system used for noun pluralization and conversion from one part of speech to another. E.g., a̱bwom (song) and bwom (to sing), a̱fufwuo (ears) and fufwuo (ear). * Affixation: Prefixes exist but suffixes hardly are found. == Proposed functions requiring future types == '''Note these functions cannot be implemented properly until the needed types are requested and approved.''' If one wishes to nevertheless attempt to define and implement them, * the functions and implementations should indicate prominently in their labels that their input/output types must be adjusted once support for the appropriate replacement types become available; ''and'' * the functions should ''not'' be used in the implementations of any other functions, as the later adjustment of input/output types to appropriate replacements will break those implementations. === String manipulation functions === === String analysis functions === * count distance between two letters in given alphabet (default to 26-charcater western alphabet. case insensitive. e.g. "a" & "A" ⇒ 0; "K" & "N" ⇒ 3) === String encoding and decoding functions === (would be better with types representing a stream of bytes) * [[wikidata:Q113486941|BASE45 encode]] * [[wikidata:Q113486941|BASE45 decode]] * Hexadecimal UTF-8 encode ("ABC ₤" ⇒ "41 42 43 20 E2 82 A4") * Hexadecimal UTF-8 decode ("41 42 43 20 E2 82 A4" ⇒ "ABC ₤") * Decimal UTF-8 encode ("ABC ₤" ⇒ "65 66 67 32 226 130 164") * Decimal UTF-8 decode ("65 66 67 32 226 130 164" ⇒ "ABC ₤") * Octal UTF-8 encode ("ABC ₤" ⇒ "101 102 103 40 342 202 244") * Octal UTF-8 decode ("101 102 103 40 342 202 244" ⇒ "ABC ₤") * Binary UTF-8 encode ("ABC ₤" ⇒ "01000001 01000010 01000011 00100000 11100010 10000010 10100100") * Binary UTF-8 decode ("01000001 01000010 01000011 00100000 11100010 10000010 10100100" ⇒ "ABC ₤") * Unicode code point encode ("ABC ₤" ⇒ "41 42 43 20 20A4") - [[Z10785]] * Unicode code point decode ("41 42 43 20 20A4" ⇒ "ABC ₤") * Create regular expression object/string (i.e: "test" & "i" to /test/i) === Natural language functions === * Choose singular or plural based on number (e.g. singularOrPlural("person",6") -> "people") ** Note that there are also dual and other [[:w:grammatical number|grammatical number]]s in other languages. [[User:魔琴|魔琴]] ([[User talk:魔琴|talk]]) 18:54, 26 October 2023 (UTC) ** relevant interwiki link: [[d:WD:property proposal/plural forms]] [[User:Arlo Barnes|Arlo Barnes]] ([[User talk:Arlo Barnes|talk]]) 04:15, 9 February 2024 (UTC) === Cryptographic hash functions === (would be better with types representing a stream of bytes) * {{todo}} [[wikidata:Q47477417|MD2]] - [[Z10135]] * {{todo}} [[wikidata:Q47462255|MD4]] - [[Z10136]] * {{todo}} [[wikidata:Q27036232|MD5]] - [[Z10137]] * {{todo}} [[wikidata:Q47208127|RIPEMD-128]] - [[Z10138]] * {{todo}} [[wikidata:Q47208127|RIPEMD-160]] - [[Z10139]] * {{todo}} [[wikidata:Q47463469|BLAKE2b-160]] - [[Z10140]] * {{todo}} [[wikidata:Q47463469|BLAKE2b-256]] - [[Z10141]] * {{todo}} [[wikidata:Q47463469|BLAKE2b-384]] - [[Z10142]] * {{todo}} [[wikidata:Q47463469|BLAKE2b-512]] - [[Z10143]] * {{todo}} [[wikidata:Q47463469|BLAKE2s-128]] - [[Z10144]] * {{todo}} [[wikidata:Q47463469|BLAKE2s-160]] - [[Z10145]] * {{todo}} [[wikidata:Q47463469|BLAKE2s-224]] - [[Z10146]] * {{todo}} [[wikidata:Q47463469|BLAKE2s-256]] - [[Z10147]] * {{todo}} [[wikidata:Q47465971|SHA-224]] - [[Z10149]] * {{todo}} [[wikidata:Q47465971|HMAC-SHA-256]] * {{todo}} [[wikidata:Q87486893|SHAKE-128]] - [[Z10150]] * {{todo}} [[wikidata:Q87486893|SHAKE-256]] - [[Z10151]] === Colour functions === * return colour contrast ratio (per [https://webaim.org/articles/contrast/]) of two RGB colours (provided as strings e.g. "#FF0000") === Date, time, and calendric functions === Note: 'time' type not yet supported, use 'string' (or for strictly numeric values, 'natural number') ==== Bengali calendar ==== {{z+|12926}} ==== Chinese calendar ==== ==== French Republican Calendar ==== decimalises and secularises the Gregorian * day names: {{Z+|13006}}{{not done}} '''yet''' ==== Gregorian ==== widely used calendar derived from the Julian, basis for [[xkcd:1179|ISO 8601]] * date to ISO week number {{q|2110154}} * string to date * date to ISO 8601 string *: {{done}}, see {{z|21842}}. --[[User:Sbb1413|Sbb1413]] ([[User talk:Sbb1413|talk]]) 18:47, 21 January 2025 (UTC) * date to year (yyyy) * date to month of the year (1-12) * date to month name (January-December) * date to day of the month (1-31) * date to hour of the day (0-23) * date to minutes (0-59) * date to seconds (0-59) Named Day from Date or day of year ; Input type : Date ; Output Type : String. ; The initial use case was automated population of On The Day, based on various collections of Holidays, festival days and observances. ? [[User:ShakespeareFan00|ShakespeareFan00]] ([[User talk:ShakespeareFan00|talk]]) 19:35, 26 March 2025 (UTC) :So If you gave it 2025-05-01 It said "All Fools Day" etc.. Possibly an additional input of enumrated type to indicate which data set to pull holidays, fesitvals and observances from. [[User:ShakespeareFan00|ShakespeareFan00]] ([[User talk:ShakespeareFan00|talk]]) 19:35, 26 March 2025 (UTC) Diary/calander Header function - Using the above and other date functions, generates a data set from a given date. Hence if you give it 2003-05-01 you get back a JOSN set contianing the {Day of week:String, Day in the Month, Observances} etc. [[User:ShakespeareFan00|ShakespeareFan00]] ([[User talk:ShakespeareFan00|talk]]) 19:35, 26 March 2025 (UTC) ==== Holocene calendar ==== * [[w:en:Holocene calendar#Conversion]] *: {{done}}, see {{z|21913}}. --[[User:Sbb1413|Sbb1413]] ([[User talk:Sbb1413|talk]]) 13:30, 25 January 2025 (UTC) ==== Indian national calendar ==== ==== Islamic ==== a Lunar calendar, also called Hijri ==== Julian ==== mostly used by astronomers, some historians, and some Orthodox Christian denominations ==== Mesoamerican calendars ==== including civil and clerical forms ==== Persian ==== also called Jalali ==== Thai calendar ==== ==== Hebrew calendar ==== ==== Darian calendar ==== Proposed time-keeping system for Mars, requires Julian Date/Time to calculate. === Basic numerical functions === * round up ("1.289" & "2" ⇒ "1.29"; "5678" & "2" ⇒ "5700") *: So if the number is floating point, round to n decimal places, and if not, round to n significant figures. Is that right? [[User:BrightSunMan|BrightSunMan]] ([[User talk:BrightSunMan|talk]]) 19:36, 24 December 2023 (UTC) * round down * return integer value (5678.678 ⇒ 5678) * {{Z+|Z13587}} (23 ⇒ "twenty-three") * Convert money from US$ to anything else ** requires source of conversion rates, which is a hole in function-likeness * Arabic numeral to Etruscan numeral * Etruscan numeral to Arabic numeral * floor and ceiling functions, based on defined standards. === Data serialization functions === * parse a string as [[:en:JSON|JSON]] * extract string from JSON object based on [[:d:Q121208951|JSONPath]] (<code>{"name":"Alice"}</code>, "$.name" ⇒ "Alice") *:Why not first convert a JSON string to an object, and then have a function that extracts fields based on JSONPath? Doing Stringly-typed things like this proposal as defined isn't a good idea. [[User:0xDeadbeef|0xDeadbeef]] ([[User talk:0xDeadbeef|talk]]) 16:16, 5 August 2023 (UTC) *::This seems to be a good idea, thanks! I moved and splitted the proposal accordingly. --[[User:1-Byte|1-Byte]] ([[User talk:1-Byte|talk]]) 09:51, 6 August 2023 (UTC) *:: is it okay to go ahead to create this 'extract string from JSON object based on JSONPath' as a function ? [[User:Dolphyb|Dolphyb]] ([[User talk:Dolphyb|talk]]) 16:14, 15 February 2024 (UTC) === Basic list/iterable functions requiring numeric types === * Sum the elements of a numeric list - [[Z14038]] * Product of the elements of a numeric list * {{Z+|Z12676}} * Slice of list elements: for the supplied list, return a list of elements that are at indexes between a supplied range n:m ** Zero indexing is used (first element is index 0)? ** n and m are are included in the range? ** What happens if n and/or m are invalid indexes? * Remove slice of elements from list: return the supplied list with elements between a supplied range of indexes removed ** Zero indexing is used (first element is index 0)? ** n and m are are included in the range? ** What happens if n and/or m are invalid indexes? * Every nth element of list: returns every nth element of the supplied list * Remove every nth element of list: removes every nth element of the supplied list - * sample n objects from list (return up to n [[Wikifunctions:Determinism|random]] objects from the list) * Jaccard similarity coefficient (see https://en.wikipedia.org/wiki/Jaccard_index) === Geodetics functions === [[w:en:planetary coordinate system]], [[w:en:well-known text representation of coordinate reference systems]] ==== Earth ==== * convert coordinates outside of the ranges (-180, 180) for longitude and (-90, 90) for latitude to a canonical form ==== Mars ==== * convert coordinates outside of the ranges [0, 360) for longitude and (-90, 90) for latitude to a canonical form === Unit conversion functions === * {{Z+|15560}} === Conversion function : 2D Cartesian to 2D Polar === Input : matrix [x,y] Output: matrix [θ,r] Short text : Polar conversion of x,y to a polar space centred at 0,0 in the Cartesian. Constraints: x,y,r are reals (float64), θ lies in the range -π<0<π (Sign determined in relation to standards used in STEM applications. [[User:ShakespeareFan00|ShakespeareFan00]] ([[User talk:ShakespeareFan00|talk]]) 14:30, 26 March 2025 (UTC) :The companion could also be provided. As I never did Geodetic functions, I am not sure how Lat, Long to map projection would work , but useful. [[User:ShakespeareFan00|ShakespeareFan00]] ([[User talk:ShakespeareFan00|talk]]) 14:30, 26 March 2025 (UTC) === Trignometric Functions === * sine, cosine, *: Input : float64 Angle in radians. *: Output : float64 desired trignometric value [[User:ShakespeareFan00|ShakespeareFan00]] ([[User talk:ShakespeareFan00|talk]]) 19:40, 26 March 2025 (UTC) ==== Function Proposal : Decimalise angle of the form ('1:x' or '1 in x') to % (in 100) or ‰ (in 1000) ==== *Suggested name: gardient_decimal. *Input type: Integer ( The 1 is implied.). Lower Bound +1: Upper Bound: 1000 (for most practical situations?) *Output type: Real/float 64. Proposer: [[User:ShakespeareFan00|ShakespeareFan00]] ([[User talk:ShakespeareFan00|talk]]) 19:05, 28 March 2025 (UTC) ===Color Functions=== ==== Colorspace Conversion ==== x,y,Y to sRGB (Illuminant D65). Input : 3tuple of float64, Output: 3 tuple of integer, where 0>=r<=255, 0>=g<=255 0>=b<=255. Convert a color specfied as 3 float64 values, from x,y,Y colorspace to sRGB or raise an "Out of Gaumt" exception. [[User:ShakespeareFan00|ShakespeareFan00]] ([[User talk:ShakespeareFan00|talk]]) 19:09, 7 April 2025 (UTC) ==== Spectral Approximate from sRGB or XYZ values. ==== I'd like to see the techniques detailed here: http://scottburns.us/reflectance-curves-from-srgb/ implemented in Wikifunctions as the provided spreadhseet later in the paper doesn't appear to work with Libre Office. [[User:ShakespeareFan00|ShakespeareFan00]] ([[User talk:ShakespeareFan00|talk]]) 19:32, 2 June 2025 (UTC) === Subtractive color mix (Pigment style) ==== Implement the mixing function from Spectral.js (https://github.com/rvanwijnen/spectral.js/blob/3.0.0/spectral.js )(MIT license), to allow 2 or more sRGB triplets to be mixed like pigment colors. This is different from the subtract colors function implemented previously. === Music Functions === It would be nice to have '''12 equal temperament pitch class''' and '''12 equal temperament pitch''' types, as they would be useful for calculating harmonies and melodies. The pitch classes could be stored as natural numbers from 0 to 11, and represented with symbols C, C♯, D, ..., B. The pitches could be stored as integers with -1 being B3, 0 being C4, 1 being C♯4, etc. Over time, we could expand the pitch class and pitch types to other temperaments and just intonation. As I'm new to Wikifunctions and my coding skills are next to zero, this is just a suggestion to the community. (edited) [[User:CaffeineP|CaffeineP]] ([[User talk:CaffeineP|talk]]) 14:48, 9 April 2025 (UTC) :Yes… There are some notational challenges because of enharmonics as well as naming conventions varying by language/culture, so English A♯ is equivalent to German B and English B♭, for example. Ideally, I would want the (English) pitch class that is five semitones higher than G♭ to be displayed as C♭ rather than B. :Also, given some reference pitch like A4 = 440 Hz, we should be able to return the frequency in hertz of a given pitch and, conversely, the nearest pitch for a given frequency and its offset in cents (or whatever). The computation is a lot simpler than representing the result (or capturing how the result should be represented)! [[User:GrounderUK|GrounderUK]] ([[User talk:GrounderUK|talk]]) 20:08, 9 April 2025 (UTC) * '''12-ET Pitch Class of a Pitch''': Return the 12 equal temperament pitch class of a given 12 equal temperament pitch. For example, C4 returns C. * '''12-ET Pitch based on Pitch Class''': Return a 12 equal temperament pitch based on a given 12 equal temperament pitch class and a given integer. For example, C and 4 return C4. * '''Interval between 12-ET Pitch Classes in Semitones''': Get the interval in semitones between two 12 equal temperament pitch classes, always assuming that the first is lower than (or the same as) the second, and the interval is less than an octave. For example, C and B return 11, while B and C return 1. * '''Interval between 12-ET Pitches in Semitones''': Get the interval in semitones between two 12 equal temperament pitches. For example, C4 and B3 return -1, while C3 and B4 return 23. * '''Raise 12-ET Pitch Class by Semitones''': Get a new 12 equal temperament pitch class through raising a given pitch class by the provided number of semitones. For example, raising B by 1 semitone returns C. * '''Lower 12-ET Pitch Class by Semitones''': Same as above, but lower the pitch class instead of raising it. * '''Raise 12-ET Pitch by Semitones''': Get a new 12 equal temperament pitch through raising a given pitch by the provided number of semitones. For example, raising B3 by 1 semitone returns C4. * '''Lower 12-ET Pitch by Semitones''': Same as above, but lower the pitch instead of raising it. * '''Frequency of a 12-ET Pitch''': Return a float64 frequency in Hz based on the provided 12 equal temperament pitch (and possibly a reference pitch with its frequency; if not provided, take default A4 = 440 Hz). * '''Approximate 12-ET Pitch Class based on Frequency''': Return a 12 equal temperament pitch class approximately based on the provided frequency in Hz. * '''Approximate 12-ET Pitch based on Frequency''': Return a 12 equal temperament pitch approximately based on the provided frequency in Hz. === SVG Functions === I would be nice to generate SVG (a XML-based vector image format which is basically a long string), it could allow to replace a lot of images on Commons or templates/tools. Here some examples: * create simple forms, * create graphs (line graph/bar graph for population or for production, elections diagrams like [[:File:1900Hawaii.svg]], etc.), * create more complex visualisation like genealogical trees, * create coat of arms (?), * etc. Cheers, [[User:VIGNERON|VIGNERON]] ([[User talk:VIGNERON|talk]]) 10:47, 23 April 2025 (UTC) :@[[User:VIGNERON|VIGNERON]]: Eventually that is something we might support, but there'll be nothing any time soon. It has a number of complex security and scalability concerns, sadly. [[User:Jdforrester (WMF)|Jdforrester (WMF)]] ([[User talk:Jdforrester (WMF)|talk]]) 13:21, 23 April 2025 (UTC) ::{{ping|Jdforrester (WMF)}} thanks. I talked about it for the last Corner but I wanted to leave a record here, if we have time, maybe I'll use that time to write some things to prepare (like listing templates and tools on the Wikimedia projects that generate SVG or visualisations). Cheers, [[User:VIGNERON|VIGNERON]] ([[User talk:VIGNERON|talk]]) 15:28, 23 April 2025 (UTC) :::Of course! I've explicitly added a section on this here: [[Wikifunctions:Embedded function calls#Non-text output]] — hope that helps assure you that we're thinking about it. [[User:Jdforrester (WMF)|Jdforrester (WMF)]] ([[User talk:Jdforrester (WMF)|talk]]) 21:40, 23 April 2025 (UTC) == Object / type / function functions == *{{Z+|Z17893}} *{{Z+|Z21180}} *{{Z+|Z21182}} *{{Z+|Z21193}} == External function lists == * [[WF:importing]] 3vj0po2dcyosnv0e6nuanvp4auqx3pq Wikifunctions:Requests for deletions 4 1696 191026 187646 2025-06-03T22:11:20Z Jdforrester (WMF) 4 Add [[Z20595]]. 191026 wikitext text/x-wiki <noinclude>__NEWSECTIONLINK__ __FORCETOC__</noinclude> Functions or implementations or tests which do not work properly, do not meet notability criteria or are duplicates of another object can be deleted. Please nominate items for deletions under the "Requests for deletion" section below. If it is obvious vandalism, just report it in [[Wikifunctions:Report vandalism]], or ping an [[Special:ListAdmins|administrator]]. Contact can also be made with an administrator on [https://t.me/Wikifunctions Telegram] or IRC [irc://irc.libera.chat/wikipedia-abstract #wikipedia-abstract]. If it is a predefined object (it's ZID is less than 10000), please see [[Wikifunctions:Report a technical problem]]. {{Autoarchive resolved section |age = 1 |archive = ((FULLPAGENAME))/Archive/((year))/((month:##)) |level = 2 }} {{Archives|{{Special:PrefixIndex/Wikifunctions:Requests for deletions/Archive/|stripprefix=1}}}} == [[Z20595]] == This is a straight duplicate of [[Z20594]] from the same user a second earlier; probably a bug at our end letting a double-click publish both. [[User:Jdforrester (WMF)|Jdforrester (WMF)]] ([[User talk:Jdforrester (WMF)|talk]]) 22:11, 3 June 2025 (UTC) 7enix7p3enkxtgqavug13azn2jwpw1z 191027 191026 2025-06-03T23:27:19Z 99of9 1622 /* Z20595 */ Reply 191027 wikitext text/x-wiki <noinclude>__NEWSECTIONLINK__ __FORCETOC__</noinclude> Functions or implementations or tests which do not work properly, do not meet notability criteria or are duplicates of another object can be deleted. Please nominate items for deletions under the "Requests for deletion" section below. If it is obvious vandalism, just report it in [[Wikifunctions:Report vandalism]], or ping an [[Special:ListAdmins|administrator]]. Contact can also be made with an administrator on [https://t.me/Wikifunctions Telegram] or IRC [irc://irc.libera.chat/wikipedia-abstract #wikipedia-abstract]. If it is a predefined object (it's ZID is less than 10000), please see [[Wikifunctions:Report a technical problem]]. {{Autoarchive resolved section |age = 1 |archive = ((FULLPAGENAME))/Archive/((year))/((month:##)) |level = 2 }} {{Archives|{{Special:PrefixIndex/Wikifunctions:Requests for deletions/Archive/|stripprefix=1}}}} == [[Z20595]] == This is a straight duplicate of [[Z20594]] from the same user a second earlier; probably a bug at our end letting a double-click publish both. [[User:Jdforrester (WMF)|Jdforrester (WMF)]] ([[User talk:Jdforrester (WMF)|talk]]) 22:11, 3 June 2025 (UTC) :{{done}} -- [[User:99of9|99of9]] ([[User talk:99of9|talk]]) 23:27, 3 June 2025 (UTC) rr1wruy47wrype63ll9lddf4lu5m4ou 191031 191027 2025-06-04T05:10:52Z Bunnypranav 9976 /* Z20595 */ Reply 191031 wikitext text/x-wiki <noinclude>__NEWSECTIONLINK__ __FORCETOC__</noinclude> Functions or implementations or tests which do not work properly, do not meet notability criteria or are duplicates of another object can be deleted. Please nominate items for deletions under the "Requests for deletion" section below. If it is obvious vandalism, just report it in [[Wikifunctions:Report vandalism]], or ping an [[Special:ListAdmins|administrator]]. Contact can also be made with an administrator on [https://t.me/Wikifunctions Telegram] or IRC [irc://irc.libera.chat/wikipedia-abstract #wikipedia-abstract]. If it is a predefined object (it's ZID is less than 10000), please see [[Wikifunctions:Report a technical problem]]. {{Autoarchive resolved section |age = 1 |archive = ((FULLPAGENAME))/Archive/((year))/((month:##)) |level = 2 }} {{Archives|{{Special:PrefixIndex/Wikifunctions:Requests for deletions/Archive/|stripprefix=1}}}} == [[Z20595]] == This is a straight duplicate of [[Z20594]] from the same user a second earlier; probably a bug at our end letting a double-click publish both. [[User:Jdforrester (WMF)|Jdforrester (WMF)]] ([[User talk:Jdforrester (WMF)|talk]]) 22:11, 3 June 2025 (UTC) :{{done}} -- [[User:99of9|99of9]] ([[User talk:99of9|talk]]) 23:27, 3 June 2025 (UTC) :{{Section resolved|1=<span style="font-family:monospace;font-weight:bold">[[User:Bunnypranav|<span style="color:#63b3ed">~/Bunny</span><span style="color:#2c5282">pranav</span>]]:&lt;[[User talk:Bunnypranav|<span style="color:#63b3ed">ping</span>]]&gt;</span> 05:10, 4 June 2025 (UTC)}} 6r60b31xwegogdni1iyydvjka1s9w9r Template:Main page/ko 10 17818 190968 189767 2025-06-03T12:17:48Z YeBoy371 5561 Created page with "[[$lastcorner|최근의 지원자 코너]]는 위키미디어 공용에서 사용할 수 있습니다." 190968 wikitext text/x-wiki <templatestyles src="Template:Main_page/styles.css" /> <div id="lang_dir" class="mw-content-{{dir|{{#invoke:Caller title|lang|base=Template:Main_page}}}}" dir="{{dir|{{#invoke:Caller title|lang|base=Template:Main_page}}}}"> <div id="mainpage_header" class="mainpage_header"> <p class="main-title">위키함수에 오신 것을 환영합니다</p> <p>누구나 편집할 수 있는 {{NUMBEROFFUNCTIONS}}개의 [[w:Function_(computer_programming)|함수]]로 구성된 [[foundation:Special:MyLanguage/Policy:Terms_of_Use|무료]] 도서관입니다.</p> </div> <div style="clear: both;"></div> <div id="audiences" class="mainpage_row"> <div class="mainpage_box" id="box1"> <h3><span class="header_icon" aria-hidden="true" role="presentation">[[File:Wikifunctions-logo-monochrome-black.svg|20px |middle|link=|class=skin-invert-image]]</span><span>환영합니다!</span></h3> <div id="mainpage-welcome" title="Welcome" class="items"> '''위키함수'''는 전 세계의 [[w:Language|자연어]] 및 [[w:Programming language|프로그래밍]] 언어로 위키미디어 프로젝트와 그 이상을 지원하기 위해 코드 기능 라이브러리를 [[foundation:Special:MyLanguage/Policy:Terms_of_Use|공동으로 만들고 유지 관리하는 모든 사람]]을 위한 위키미디어 프로젝트입니다. <div id="bottom-paragraphs"><!--this is hidden on mobile devices because of limited screen real estate--> "[[wikt:function <!-- 위키낱말사전에서의 이름 --->|함수]]"는 사용자가 제공한 [[w:Data|자료]]를 기반으로 [[w:Calculation|계산]]을 수행하는 일련의 프로그래밍 지침입니다. 함수는 두 날짜 사이에 경과된 일수나 두 도시 사이의 거리와 같은 질문에 답할 수 있습니다. <!--this should be the current primary focus of Wikifunctions. Ideally links to documentation by the Abstract Wikipedia team if available. --> 우리는 현재 주로 [[Special:MyLanguage/Wikifunctions:Support for Wikidata content|위키데이터 어휘소와 관련된 함수]]에 집중하고 있습니다. 위키데이터의 어휘 자료와 이를 처리하는 함수는 추상 위키백과의 목표에 필수적입니다. [[Special:MyLanguage/Wikifunctions:Working with Wikidata content|현재 위키데이터와 함께 위키함수를 사용하는 방법에 대한 안내서]]를 확인할 수 있습니다. </div> </div> </div> <div class="mainpage_box" id="box2"> <h3><span class="header_icon" aria-hidden="true" role="presentation">[[File:OOjs UI icon chem.svg|20px|middle|link=|class=skin-invert-image]]</span><span>시작하기</span></h3> <div id="mainpage-start" title="Get started" class="items"> [[File:Wikifunctions in 7 minutes.webm|thumbtime=0:01|thumb|center|400px|위키함수 7분 소개]] * [[Special:RunFunction|함수 실행]] * [[Wikifunctions:Project chat|프로젝트 대화]] * [[Wikifunctions:Community portal|커뮤니티 포털]] * [[Wikifunctions:Suggest a function|함수 제안]] * [[Wikifunctions:Catalogue|사용 가능한 함수 카탈로그]] </div> </div> </div> <div id="many-examples" class="mainpage_row"> <div class="mainpage_box" id="box3"> <h3><span class="header_icon" aria-hidden="true" role="presentation">[[File:OOjs UI icon listBullet-{{dir|{{#invoke:Caller title|lang|base=Template:Main_page}}}}.svg|20px|middle|link=|class=skin-invert-image]]</span><span>사용해 볼 수 있는 함수</span></h3> <div id="mainpage-function-list" title="Function list" class="items"> * {{Random function |NUMBER = 8 |1 = {{Z+|Z10096}} |2 = {{Z+|Z13163}} |3 = {{Z+|Z12427}} |4 = {{Z+|Z13587}} |5 = {{Z+|Z12626}} |6 = {{Z+|Z12812}} |7 = {{Z+|Z10012}} |8 = {{Z+|Z10070}} }} * {{Random function |NUMBER = 8 |8 = {{Z+|Z10096}} |7 = {{Z+|Z13163}} |6 = {{Z+|Z12427}} |5 = {{Z+|Z13587}} |4 = {{Z+|Z12626}} |3 = {{Z+|Z12812}} |2 = {{Z+|Z10012}} |1 = {{Z+|Z10070}} }} * {{Z+|Z20756}} * {{Z+|Z20733}} * {{Z+|Z20181}} * {{Z+|Z20000}} * {{Z+|Z19509}} * {{Z+|Z19514}} [[Wikifunctions:Catalogue|''더 많은 함수…'']] </div> </div> </div> <div id="misc-news" class="mainpage_row"> <div class="mainpage_box" id="box4"> <h3><span class="header_icon" aria-hidden="true" role="presentation">[[File:OOjs UI icon ongoingConversation-{{dir|{{#invoke:Caller title|lang|base=Template:Main_page}}|2=ltr|3=rtl}}.svg|20px|middle|link=|class=skin-invert-image]]</span><span>학습 및 기여</span></h3> <div id=mainpage-help-contribute" title="Support and Contributing" class="items"> ; 위키함수 배우기 * [[Special:MyLanguage/Wikifunctions:About|위키함수 개요]] * [[Special:MyLanguage/Wikifunctions:Introduction|위키함수 소개]] * [[Special:MyLanguage/Wikifunctions:FAQ|FAQ]] * [[Special:MyLanguage/Wikifunctions:Glossary|용어집]] ; 위키함수에 기여 * [[Special:CreateObject|객체 생성]] * [[Special:MyLanguage/Help:Multilingual|번역가로 참여하기]] ; 위키함수에 도움 요청하기 * 질문이 있나요? 질문이 있으시면 [[Wikifunctions:Project chat|프로젝트 채팅]]이나 [[Special:MyLanguage/Wikifunctions:Report a technical problem#Discuss with others|텔레그램/IRC 채널]]에서 물어보세요! * [[Special:MyLanguage/Wikifunctions:Report a technical problem|기술적 문제 보고]] ** <span lang="en" dir="ltr" class="mw-content-ltr">[[Wikifunctions:Status|Status]] page lists major known issues and problems</span> </div> </div> <div class="mainpage_box" id="box5"> <h3><span class="header_icon" aria-hidden="true" role="presentation">[[File:Echo (Notifications) megaphone{{dir|{{#invoke:Caller title|lang|base=Template:Main_page}}|2=-rtl|3=}}.svg|20px|middle|link=|class=skin-invert-image]]</span><span>소식</span></h3> <div id="mainpage-news" title="News" class="items"> <div style="margin: auto; vertical-align:top"> <div class="mainpage_boxcontents_small"> ; 지원자 코너 * <span lang="en" dir="ltr" class="mw-content-ltr">The next Volunteers' Corner will be at <bdi lang="en" dir="ltr">[https://zonestamp.toolforge.org/1748885400 17:30 UTC on 2025-06-02]</bdi> on <bdi lang="en" dir="ltr">Google Meet</bdi> at <bdi lang="en" dir="ltr">[https://meet.google.com/xuy-njxh-rkw meet.google.com/xuy-njxh-rkw]</bdi>.</span> * [[:commons:File:Abstract_Wikipedia_Volunteer_Corner_2025-04.webm|최근의 지원자 코너]]는 위키미디어 공용에서 사용할 수 있습니다. ; 위키함수의 최신 상태 업데이트 <!--Keep this to the most recent 5 entries--> * 2025-05-29: [[Special:MyLanguage/Wikifunctions:Status updates/2025-05-29|<span lang="en" dir="ltr" class="mw-content-ltr">Rolling out to five Wiktionaries; Calculating with today's date</span>]] * 2025-05-23: [[Special:MyLanguage/Wikifunctions:Status updates/2025-05-23|<span lang="en" dir="ltr" class="mw-content-ltr">Ongoing consultation about the Location for Abstract Content</span>]] * 2025-05-15: [[Special:MyLanguage/Wikifunctions:Status updates/2025-05-15|<span lang="en" dir="ltr" class="mw-content-ltr">Location of Abstract Content</span>]] * 2025-05-09: [[Special:MyLanguage/Wikifunctions:Status updates/2025-05-09|<span lang="en" dir="ltr" class="mw-content-ltr">Abstract Wikipedia and the Wikimedia AI Strategy</span>]] * 2025-04-30: [[Special:MyLanguage/Wikifunctions:Status updates/2025-04-30|<span lang="en" dir="ltr" class="mw-content-ltr">Abstract Wikipedia is a MacArthur 100&Change finalist</span>]] </div> [[Special:MyLanguage/Wikifunctions:Status_updates|<span class="mw-ui-button mw-ui-constructive mw-ui-small">더 많은 소식</span>]] </div> </div> </div> </div> <div id="sister" class="mainpage_row"> <div class="mainpage_box"> <div id="mainpage-sister" title="Sister projects" class="items" style="border-top:unset;"> <div class="mainpage-sister-title"> <div style="background: white; width:45px; margin:0 auto; margin-top: -40px;">[[File:Wikimedia-logo.svg|45px|center|link=]]</div> <div class="plainlinks" style="color:var(--color-subtle, #54595d); font-size:120%; text-align:center; padding-top:10px;">위키함수는 비영리, 다국어, 무료 콘텐츠로 운영되는 위키미디어 재단의 일부입니다.</div> </div> <div class="mainpage-sister-projects"> *[[File:Wikipedia-logo-v2.svg|40x40px|link=w:{{int:lang}}:|alt=]]<div><span>[[w:{{int:lang}}:|{{int:Wikibase-otherprojects-wikipedia}}]]</span><br>백과사전</div> *[[File:Wikidata-logo.svg|40x40px|link=d:|alt=]]<div><span>[[d:|{{int:Wikibase-otherprojects-wikidata}}]]</span><br>지식 베이스</div> *[[File:Commons-logo.svg|40x40px|link=c:|alt=]]<div><span>[[c:|{{int:Wikibase-otherprojects-commons}}]]</span><br>미디어 저장소</div> *[[File:Wiktionary-logo.svg|40x40px|link=wikt:{{int:lang}}:|alt=]]<div><span>[[wikt:{{int:lang}}:|{{int:Wikibase-otherprojects-wiktionary}}]]</span><br>낱말과 관용구</div> *[[File:Wikibooks-logo.svg|40x40px|link=b:{{int:lang}}:|alt=]]<div><span>[[b:{{int:lang}}:|{{int:Wikibase-otherprojects-wikibooks}}]]</span><br>교과서와 참고서</div> *[[File:Wikinews-logo.svg|40x40px|link=n:{{int:lang}}:|alt=]]<div><span>[[n:{{int:lang}}:|{{int:Wikibase-otherprojects-wikinews}}]]</span><br>뉴스</div> *[[File:Wikiquote-logo.svg|40x40px|link=q:{{int:lang}}:|alt=]]<div><span>[[q:{{int:lang}}:|{{int:Wikibase-otherprojects-wikiquote}}]]</span><br>인용 모음집</div> *[[File:Wikisource-logo.svg|40x40px|link=s:{{int:lang}}:|alt=]]<div><span>[[s:{{int:lang}}:|{{int:Wikibase-otherprojects-wikisource}}]]</span><br>도서관</div> *[[File:Wikiversity logo 2017.svg|40x40px|link=v:{{int:lang}}:|alt=]]<div><span>[[v:{{int:lang}}:|{{int:Wikibase-otherprojects-wikiversity}}]]</span><br>학습 리소스</div> *[[File:Wikivoyage-Logo-v3-icon.svg|40x40px|link=voy:{{int:lang}}:|alt=]]<div><span>[[voy:{{int:lang}}:|{{int:Wikibase-otherprojects-wikivoyage}}]]</span><br>여행 안내서</div> *[[File:Wikispecies-logo.svg|40x40px|link=species:|alt=]]<div><span>[[species:|{{int:Wikibase-otherprojects-species}}]]</span><br>생물 분류 도감</div> *[[File:Incubator-logo.svg|40x40px|link=incubator:|alt=]]<div><span>[[incubator:|인큐베이터]]</span><br>새 언어판 준비 장소</div> *[[File:Wikimedia Community Logo.svg|40x40px|link=m:|alt=]]<div><span>[[m:|{{int:Project-localized-name-metawiki}}]]</span><br>프로젝트 관리</div> *[[File:MediaWiki-2020-icon.svg|40x40px|link=mw:|alt=]]<div><span>[[mw:|{{int:Project-localized-name-mediawikiwiki}}]]</span><br>미디어위키 개발</div> *[[File:Wikimania.svg|40x40px|link=wikimania:|alt=]]<div><span>[[wikimania:|{{int:Project-localized-name-wikimaniawiki}}]]</span><br>이벤트 관리 </div> </div> </div> </div> </div> </div> __NOEDITSECTION__ __NOTOC__<languages /><noinclude> </noinclude> srwzjq9q18jjzpi3e38odmrhigi0leg 190970 190968 2025-06-03T12:21:44Z YeBoy371 5561 190970 wikitext text/x-wiki <templatestyles src="Template:Main_page/styles.css" /> <div id="lang_dir" class="mw-content-{{dir|{{#invoke:Caller title|lang|base=Template:Main_page}}}}" dir="{{dir|{{#invoke:Caller title|lang|base=Template:Main_page}}}}"> <div id="mainpage_header" class="mainpage_header"> <p class="main-title">위키함수에 오신 것을 환영합니다</p> <p>누구나 편집할 수 있는 {{NUMBEROFFUNCTIONS}}개의 [[w:Function_(computer_programming)|함수]]로 구성된 [[foundation:Special:MyLanguage/Policy:Terms_of_Use|무료]] 도서관입니다.</p> </div> <div style="clear: both;"></div> <div id="audiences" class="mainpage_row"> <div class="mainpage_box" id="box1"> <h3><span class="header_icon" aria-hidden="true" role="presentation">[[File:Wikifunctions-logo-monochrome-black.svg|20px |middle|link=|class=skin-invert-image]]</span><span>환영합니다!</span></h3> <div id="mainpage-welcome" title="Welcome" class="items"> '''위키함수'''는 전 세계의 [[w:Language|자연어]] 및 [[w:Programming language|프로그래밍]] 언어로 위키미디어 프로젝트와 그 이상을 지원하기 위해 코드 기능 라이브러리를 [[foundation:Special:MyLanguage/Policy:Terms_of_Use|공동으로 만들고 유지 관리하는 모든 사람]]을 위한 위키미디어 프로젝트입니다. <div id="bottom-paragraphs"><!--this is hidden on mobile devices because of limited screen real estate--> "[[wikt:function <!-- 위키낱말사전에서의 이름 --->|함수]]"는 사용자가 제공한 [[w:Data|자료]]를 기반으로 [[w:Calculation|계산]]을 수행하는 일련의 프로그래밍 지침입니다. 함수는 두 날짜 사이에 경과된 일수나 두 도시 사이의 거리와 같은 질문에 답할 수 있습니다. <!--this should be the current primary focus of Wikifunctions. Ideally links to documentation by the Abstract Wikipedia team if available. --> 우리는 현재 주로 [[Special:MyLanguage/Wikifunctions:Support for Wikidata content|위키데이터 어휘소와 관련된 함수]]에 집중하고 있습니다. 위키데이터의 어휘 자료와 이를 처리하는 함수는 추상 위키백과의 목표에 필수적입니다. [[Special:MyLanguage/Wikifunctions:Working with Wikidata content|현재 위키데이터와 함께 위키함수를 사용하는 방법에 대한 안내서]]를 확인할 수 있습니다. </div> </div> </div> <div class="mainpage_box" id="box2"> <h3><span class="header_icon" aria-hidden="true" role="presentation">[[File:OOjs UI icon chem.svg|20px|middle|link=|class=skin-invert-image]]</span><span>시작하기</span></h3> <div id="mainpage-start" title="Get started" class="items"> [[File:Wikifunctions in 7 minutes.webm|thumbtime=0:01|thumb|center|400px|위키함수 7분 소개]] * [[Special:RunFunction|함수 실행]] * [[Wikifunctions:Project chat|프로젝트 대화]] * [[Wikifunctions:Community portal|커뮤니티 포털]] * [[Wikifunctions:Suggest a function|함수 제안]] * [[Wikifunctions:Catalogue|사용 가능한 함수 카탈로그]] </div> </div> </div> <div id="many-examples" class="mainpage_row"> <div class="mainpage_box" id="box3"> <h3><span class="header_icon" aria-hidden="true" role="presentation">[[File:OOjs UI icon listBullet-{{dir|{{#invoke:Caller title|lang|base=Template:Main_page}}}}.svg|20px|middle|link=|class=skin-invert-image]]</span><span>사용해 볼 수 있는 함수</span></h3> <div id="mainpage-function-list" title="Function list" class="items"> * {{Random function |NUMBER = 8 |1 = {{Z+|Z10096}} |2 = {{Z+|Z13163}} |3 = {{Z+|Z12427}} |4 = {{Z+|Z13587}} |5 = {{Z+|Z12626}} |6 = {{Z+|Z12812}} |7 = {{Z+|Z10012}} |8 = {{Z+|Z10070}} }} * {{Random function |NUMBER = 8 |8 = {{Z+|Z10096}} |7 = {{Z+|Z13163}} |6 = {{Z+|Z12427}} |5 = {{Z+|Z13587}} |4 = {{Z+|Z12626}} |3 = {{Z+|Z12812}} |2 = {{Z+|Z10012}} |1 = {{Z+|Z10070}} }} * {{Z+|Z20756}} * {{Z+|Z20733}} * {{Z+|Z20181}} * {{Z+|Z20000}} * {{Z+|Z19509}} * {{Z+|Z19514}} [[Wikifunctions:Catalogue|''더 많은 함수…'']] </div> </div> </div> <div id="misc-news" class="mainpage_row"> <div class="mainpage_box" id="box4"> <h3><span class="header_icon" aria-hidden="true" role="presentation">[[File:OOjs UI icon ongoingConversation-{{dir|{{#invoke:Caller title|lang|base=Template:Main_page}}|2=ltr|3=rtl}}.svg|20px|middle|link=|class=skin-invert-image]]</span><span>학습 및 기여</span></h3> <div id=mainpage-help-contribute" title="Support and Contributing" class="items"> ; 위키함수 배우기 * [[Special:MyLanguage/Wikifunctions:About|위키함수 개요]] * [[Special:MyLanguage/Wikifunctions:Introduction|위키함수 소개]] * [[Special:MyLanguage/Wikifunctions:FAQ|FAQ]] * [[Special:MyLanguage/Wikifunctions:Glossary|용어집]] ; 위키함수에 기여 * [[Special:CreateObject|객체 생성]] * [[Special:MyLanguage/Help:Multilingual|번역가로 참여하기]] ; 위키함수에 도움 요청하기 * 질문이 있나요? 질문이 있으시면 [[Wikifunctions:Project chat|프로젝트 채팅]]이나 [[Special:MyLanguage/Wikifunctions:Report a technical problem#Discuss with others|텔레그램/IRC 채널]]에서 물어보세요! * [[Special:MyLanguage/Wikifunctions:Report a technical problem|기술적 문제 보고]] ** <span lang="en" dir="ltr" class="mw-content-ltr">[[Wikifunctions:Status|Status]] page lists major known issues and problems</span> </div> </div> <div class="mainpage_box" id="box5"> <h3><span class="header_icon" aria-hidden="true" role="presentation">[[File:Echo (Notifications) megaphone{{dir|{{#invoke:Caller title|lang|base=Template:Main_page}}|2=-rtl|3=}}.svg|20px|middle|link=|class=skin-invert-image]]</span><span>소식</span></h3> <div id="mainpage-news" title="News" class="items"> <div style="margin: auto; vertical-align:top"> <div class="mainpage_boxcontents_small"> ; 지원자 코너 * <span lang="en" dir="ltr" class="mw-content-ltr">The next Volunteers' Corner will be at <bdi lang="en" dir="ltr">[https://zonestamp.toolforge.org/1748885400 17:30 UTC on 2025-06-02]</bdi> on <bdi lang="en" dir="ltr">Google Meet</bdi> at <bdi lang="en" dir="ltr">[https://meet.google.com/xuy-njxh-rkw meet.google.com/xuy-njxh-rkw]</bdi>.</span> * [[:commons:File:Abstract_Wikipedia_Volunteer_Corner_2025-04.webm|최근의 지원자 코너]]는 공용에서 사용할 수 있습니다. ; 위키함수의 최신 상태 업데이트 <!--Keep this to the most recent 5 entries--> * 2025-05-29: [[Special:MyLanguage/Wikifunctions:Status updates/2025-05-29|<span lang="en" dir="ltr" class="mw-content-ltr">Rolling out to five Wiktionaries; Calculating with today's date</span>]] * 2025-05-23: [[Special:MyLanguage/Wikifunctions:Status updates/2025-05-23|<span lang="en" dir="ltr" class="mw-content-ltr">Ongoing consultation about the Location for Abstract Content</span>]] * 2025-05-15: [[Special:MyLanguage/Wikifunctions:Status updates/2025-05-15|<span lang="en" dir="ltr" class="mw-content-ltr">Location of Abstract Content</span>]] * 2025-05-09: [[Special:MyLanguage/Wikifunctions:Status updates/2025-05-09|<span lang="en" dir="ltr" class="mw-content-ltr">Abstract Wikipedia and the Wikimedia AI Strategy</span>]] * 2025-04-30: [[Special:MyLanguage/Wikifunctions:Status updates/2025-04-30|<span lang="en" dir="ltr" class="mw-content-ltr">Abstract Wikipedia is a MacArthur 100&Change finalist</span>]] </div> [[Special:MyLanguage/Wikifunctions:Status_updates|<span class="mw-ui-button mw-ui-constructive mw-ui-small">더 많은 소식</span>]] </div> </div> </div> </div> <div id="sister" class="mainpage_row"> <div class="mainpage_box"> <div id="mainpage-sister" title="Sister projects" class="items" style="border-top:unset;"> <div class="mainpage-sister-title"> <div style="background: white; width:45px; margin:0 auto; margin-top: -40px;">[[File:Wikimedia-logo.svg|45px|center|link=]]</div> <div class="plainlinks" style="color:var(--color-subtle, #54595d); font-size:120%; text-align:center; padding-top:10px;">위키함수는 비영리, 다국어, 무료 콘텐츠로 운영되는 위키미디어 재단의 일부입니다.</div> </div> <div class="mainpage-sister-projects"> *[[File:Wikipedia-logo-v2.svg|40x40px|link=w:{{int:lang}}:|alt=]]<div><span>[[w:{{int:lang}}:|{{int:Wikibase-otherprojects-wikipedia}}]]</span><br>백과사전</div> *[[File:Wikidata-logo.svg|40x40px|link=d:|alt=]]<div><span>[[d:|{{int:Wikibase-otherprojects-wikidata}}]]</span><br>지식 베이스</div> *[[File:Commons-logo.svg|40x40px|link=c:|alt=]]<div><span>[[c:|{{int:Wikibase-otherprojects-commons}}]]</span><br>미디어 저장소</div> *[[File:Wiktionary-logo.svg|40x40px|link=wikt:{{int:lang}}:|alt=]]<div><span>[[wikt:{{int:lang}}:|{{int:Wikibase-otherprojects-wiktionary}}]]</span><br>낱말과 관용구</div> *[[File:Wikibooks-logo.svg|40x40px|link=b:{{int:lang}}:|alt=]]<div><span>[[b:{{int:lang}}:|{{int:Wikibase-otherprojects-wikibooks}}]]</span><br>교과서와 참고서</div> *[[File:Wikinews-logo.svg|40x40px|link=n:{{int:lang}}:|alt=]]<div><span>[[n:{{int:lang}}:|{{int:Wikibase-otherprojects-wikinews}}]]</span><br>뉴스</div> *[[File:Wikiquote-logo.svg|40x40px|link=q:{{int:lang}}:|alt=]]<div><span>[[q:{{int:lang}}:|{{int:Wikibase-otherprojects-wikiquote}}]]</span><br>인용 모음집</div> *[[File:Wikisource-logo.svg|40x40px|link=s:{{int:lang}}:|alt=]]<div><span>[[s:{{int:lang}}:|{{int:Wikibase-otherprojects-wikisource}}]]</span><br>도서관</div> *[[File:Wikiversity logo 2017.svg|40x40px|link=v:{{int:lang}}:|alt=]]<div><span>[[v:{{int:lang}}:|{{int:Wikibase-otherprojects-wikiversity}}]]</span><br>학습 리소스</div> *[[File:Wikivoyage-Logo-v3-icon.svg|40x40px|link=voy:{{int:lang}}:|alt=]]<div><span>[[voy:{{int:lang}}:|{{int:Wikibase-otherprojects-wikivoyage}}]]</span><br>여행 안내서</div> *[[File:Wikispecies-logo.svg|40x40px|link=species:|alt=]]<div><span>[[species:|{{int:Wikibase-otherprojects-species}}]]</span><br>생물 분류 도감</div> *[[File:Incubator-logo.svg|40x40px|link=incubator:|alt=]]<div><span>[[incubator:|인큐베이터]]</span><br>새 언어판 준비 장소</div> *[[File:Wikimedia Community Logo.svg|40x40px|link=m:|alt=]]<div><span>[[m:|{{int:Project-localized-name-metawiki}}]]</span><br>프로젝트 관리</div> *[[File:MediaWiki-2020-icon.svg|40x40px|link=mw:|alt=]]<div><span>[[mw:|{{int:Project-localized-name-mediawikiwiki}}]]</span><br>미디어위키 개발</div> *[[File:Wikimania.svg|40x40px|link=wikimania:|alt=]]<div><span>[[wikimania:|{{int:Project-localized-name-wikimaniawiki}}]]</span><br>이벤트 관리 </div> </div> </div> </div> </div> </div> __NOEDITSECTION__ __NOTOC__<languages /><noinclude> </noinclude> 6q2ajh3kjo1egmylgl3lzseqmcovga1 190976 190970 2025-06-03T12:31:15Z YeBoy371 5561 Created page with "다음 지원자 코너는 $date-and-time부터 진행됩니다: $link($platform)" 190976 wikitext text/x-wiki <templatestyles src="Template:Main_page/styles.css" /> <div id="lang_dir" class="mw-content-{{dir|{{#invoke:Caller title|lang|base=Template:Main_page}}}}" dir="{{dir|{{#invoke:Caller title|lang|base=Template:Main_page}}}}"> <div id="mainpage_header" class="mainpage_header"> <p class="main-title">위키함수에 오신 것을 환영합니다</p> <p>누구나 편집할 수 있는 {{NUMBEROFFUNCTIONS}}개의 [[w:Function_(computer_programming)|함수]]로 구성된 [[foundation:Special:MyLanguage/Policy:Terms_of_Use|무료]] 도서관입니다.</p> </div> <div style="clear: both;"></div> <div id="audiences" class="mainpage_row"> <div class="mainpage_box" id="box1"> <h3><span class="header_icon" aria-hidden="true" role="presentation">[[File:Wikifunctions-logo-monochrome-black.svg|20px |middle|link=|class=skin-invert-image]]</span><span>환영합니다!</span></h3> <div id="mainpage-welcome" title="Welcome" class="items"> '''위키함수'''는 전 세계의 [[w:Language|자연어]] 및 [[w:Programming language|프로그래밍]] 언어로 위키미디어 프로젝트와 그 이상을 지원하기 위해 코드 기능 라이브러리를 [[foundation:Special:MyLanguage/Policy:Terms_of_Use|공동으로 만들고 유지 관리하는 모든 사람]]을 위한 위키미디어 프로젝트입니다. <div id="bottom-paragraphs"><!--this is hidden on mobile devices because of limited screen real estate--> "[[wikt:function <!-- 위키낱말사전에서의 이름 --->|함수]]"는 사용자가 제공한 [[w:Data|자료]]를 기반으로 [[w:Calculation|계산]]을 수행하는 일련의 프로그래밍 지침입니다. 함수는 두 날짜 사이에 경과된 일수나 두 도시 사이의 거리와 같은 질문에 답할 수 있습니다. <!--this should be the current primary focus of Wikifunctions. Ideally links to documentation by the Abstract Wikipedia team if available. --> 우리는 현재 주로 [[Special:MyLanguage/Wikifunctions:Support for Wikidata content|위키데이터 어휘소와 관련된 함수]]에 집중하고 있습니다. 위키데이터의 어휘 자료와 이를 처리하는 함수는 추상 위키백과의 목표에 필수적입니다. [[Special:MyLanguage/Wikifunctions:Working with Wikidata content|현재 위키데이터와 함께 위키함수를 사용하는 방법에 대한 안내서]]를 확인할 수 있습니다. </div> </div> </div> <div class="mainpage_box" id="box2"> <h3><span class="header_icon" aria-hidden="true" role="presentation">[[File:OOjs UI icon chem.svg|20px|middle|link=|class=skin-invert-image]]</span><span>시작하기</span></h3> <div id="mainpage-start" title="Get started" class="items"> [[File:Wikifunctions in 7 minutes.webm|thumbtime=0:01|thumb|center|400px|위키함수 7분 소개]] * [[Special:RunFunction|함수 실행]] * [[Wikifunctions:Project chat|프로젝트 대화]] * [[Wikifunctions:Community portal|커뮤니티 포털]] * [[Wikifunctions:Suggest a function|함수 제안]] * [[Wikifunctions:Catalogue|사용 가능한 함수 카탈로그]] </div> </div> </div> <div id="many-examples" class="mainpage_row"> <div class="mainpage_box" id="box3"> <h3><span class="header_icon" aria-hidden="true" role="presentation">[[File:OOjs UI icon listBullet-{{dir|{{#invoke:Caller title|lang|base=Template:Main_page}}}}.svg|20px|middle|link=|class=skin-invert-image]]</span><span>사용해 볼 수 있는 함수</span></h3> <div id="mainpage-function-list" title="Function list" class="items"> * {{Random function |NUMBER = 8 |1 = {{Z+|Z10096}} |2 = {{Z+|Z13163}} |3 = {{Z+|Z12427}} |4 = {{Z+|Z13587}} |5 = {{Z+|Z12626}} |6 = {{Z+|Z12812}} |7 = {{Z+|Z10012}} |8 = {{Z+|Z10070}} }} * {{Random function |NUMBER = 8 |8 = {{Z+|Z10096}} |7 = {{Z+|Z13163}} |6 = {{Z+|Z12427}} |5 = {{Z+|Z13587}} |4 = {{Z+|Z12626}} |3 = {{Z+|Z12812}} |2 = {{Z+|Z10012}} |1 = {{Z+|Z10070}} }} * {{Z+|Z20756}} * {{Z+|Z20733}} * {{Z+|Z20181}} * {{Z+|Z20000}} * {{Z+|Z19509}} * {{Z+|Z19514}} [[Wikifunctions:Catalogue|''더 많은 함수…'']] </div> </div> </div> <div id="misc-news" class="mainpage_row"> <div class="mainpage_box" id="box4"> <h3><span class="header_icon" aria-hidden="true" role="presentation">[[File:OOjs UI icon ongoingConversation-{{dir|{{#invoke:Caller title|lang|base=Template:Main_page}}|2=ltr|3=rtl}}.svg|20px|middle|link=|class=skin-invert-image]]</span><span>학습 및 기여</span></h3> <div id=mainpage-help-contribute" title="Support and Contributing" class="items"> ; 위키함수 배우기 * [[Special:MyLanguage/Wikifunctions:About|위키함수 개요]] * [[Special:MyLanguage/Wikifunctions:Introduction|위키함수 소개]] * [[Special:MyLanguage/Wikifunctions:FAQ|FAQ]] * [[Special:MyLanguage/Wikifunctions:Glossary|용어집]] ; 위키함수에 기여 * [[Special:CreateObject|객체 생성]] * [[Special:MyLanguage/Help:Multilingual|번역가로 참여하기]] ; 위키함수에 도움 요청하기 * 질문이 있나요? 질문이 있으시면 [[Wikifunctions:Project chat|프로젝트 채팅]]이나 [[Special:MyLanguage/Wikifunctions:Report a technical problem#Discuss with others|텔레그램/IRC 채널]]에서 물어보세요! * [[Special:MyLanguage/Wikifunctions:Report a technical problem|기술적 문제 보고]] ** <span lang="en" dir="ltr" class="mw-content-ltr">[[Wikifunctions:Status|Status]] page lists major known issues and problems</span> </div> </div> <div class="mainpage_box" id="box5"> <h3><span class="header_icon" aria-hidden="true" role="presentation">[[File:Echo (Notifications) megaphone{{dir|{{#invoke:Caller title|lang|base=Template:Main_page}}|2=-rtl|3=}}.svg|20px|middle|link=|class=skin-invert-image]]</span><span>소식</span></h3> <div id="mainpage-news" title="News" class="items"> <div style="margin: auto; vertical-align:top"> <div class="mainpage_boxcontents_small"> ; 지원자 코너 * 다음 지원자 코너는 <bdi lang="en" dir="ltr">[https://zonestamp.toolforge.org/1748885400 17:30 UTC on 2025-06-02]</bdi>부터 진행됩니다: <bdi lang="en" dir="ltr">[https://meet.google.com/xuy-njxh-rkw meet.google.com/xuy-njxh-rkw]</bdi>(<bdi lang="en" dir="ltr">Google Meet</bdi>) * [[:commons:File:Abstract_Wikipedia_Volunteer_Corner_2025-04.webm|최근의 지원자 코너]]는 공용에서 사용할 수 있습니다. ; 위키함수의 최신 상태 업데이트 <!--Keep this to the most recent 5 entries--> * 2025-05-29: [[Special:MyLanguage/Wikifunctions:Status updates/2025-05-29|<span lang="en" dir="ltr" class="mw-content-ltr">Rolling out to five Wiktionaries; Calculating with today's date</span>]] * 2025-05-23: [[Special:MyLanguage/Wikifunctions:Status updates/2025-05-23|<span lang="en" dir="ltr" class="mw-content-ltr">Ongoing consultation about the Location for Abstract Content</span>]] * 2025-05-15: [[Special:MyLanguage/Wikifunctions:Status updates/2025-05-15|<span lang="en" dir="ltr" class="mw-content-ltr">Location of Abstract Content</span>]] * 2025-05-09: [[Special:MyLanguage/Wikifunctions:Status updates/2025-05-09|<span lang="en" dir="ltr" class="mw-content-ltr">Abstract Wikipedia and the Wikimedia AI Strategy</span>]] * 2025-04-30: [[Special:MyLanguage/Wikifunctions:Status updates/2025-04-30|<span lang="en" dir="ltr" class="mw-content-ltr">Abstract Wikipedia is a MacArthur 100&Change finalist</span>]] </div> [[Special:MyLanguage/Wikifunctions:Status_updates|<span class="mw-ui-button mw-ui-constructive mw-ui-small">더 많은 소식</span>]] </div> </div> </div> </div> <div id="sister" class="mainpage_row"> <div class="mainpage_box"> <div id="mainpage-sister" title="Sister projects" class="items" style="border-top:unset;"> <div class="mainpage-sister-title"> <div style="background: white; width:45px; margin:0 auto; margin-top: -40px;">[[File:Wikimedia-logo.svg|45px|center|link=]]</div> <div class="plainlinks" style="color:var(--color-subtle, #54595d); font-size:120%; text-align:center; padding-top:10px;">위키함수는 비영리, 다국어, 무료 콘텐츠로 운영되는 위키미디어 재단의 일부입니다.</div> </div> <div class="mainpage-sister-projects"> *[[File:Wikipedia-logo-v2.svg|40x40px|link=w:{{int:lang}}:|alt=]]<div><span>[[w:{{int:lang}}:|{{int:Wikibase-otherprojects-wikipedia}}]]</span><br>백과사전</div> *[[File:Wikidata-logo.svg|40x40px|link=d:|alt=]]<div><span>[[d:|{{int:Wikibase-otherprojects-wikidata}}]]</span><br>지식 베이스</div> *[[File:Commons-logo.svg|40x40px|link=c:|alt=]]<div><span>[[c:|{{int:Wikibase-otherprojects-commons}}]]</span><br>미디어 저장소</div> *[[File:Wiktionary-logo.svg|40x40px|link=wikt:{{int:lang}}:|alt=]]<div><span>[[wikt:{{int:lang}}:|{{int:Wikibase-otherprojects-wiktionary}}]]</span><br>낱말과 관용구</div> *[[File:Wikibooks-logo.svg|40x40px|link=b:{{int:lang}}:|alt=]]<div><span>[[b:{{int:lang}}:|{{int:Wikibase-otherprojects-wikibooks}}]]</span><br>교과서와 참고서</div> *[[File:Wikinews-logo.svg|40x40px|link=n:{{int:lang}}:|alt=]]<div><span>[[n:{{int:lang}}:|{{int:Wikibase-otherprojects-wikinews}}]]</span><br>뉴스</div> *[[File:Wikiquote-logo.svg|40x40px|link=q:{{int:lang}}:|alt=]]<div><span>[[q:{{int:lang}}:|{{int:Wikibase-otherprojects-wikiquote}}]]</span><br>인용 모음집</div> *[[File:Wikisource-logo.svg|40x40px|link=s:{{int:lang}}:|alt=]]<div><span>[[s:{{int:lang}}:|{{int:Wikibase-otherprojects-wikisource}}]]</span><br>도서관</div> *[[File:Wikiversity logo 2017.svg|40x40px|link=v:{{int:lang}}:|alt=]]<div><span>[[v:{{int:lang}}:|{{int:Wikibase-otherprojects-wikiversity}}]]</span><br>학습 리소스</div> *[[File:Wikivoyage-Logo-v3-icon.svg|40x40px|link=voy:{{int:lang}}:|alt=]]<div><span>[[voy:{{int:lang}}:|{{int:Wikibase-otherprojects-wikivoyage}}]]</span><br>여행 안내서</div> *[[File:Wikispecies-logo.svg|40x40px|link=species:|alt=]]<div><span>[[species:|{{int:Wikibase-otherprojects-species}}]]</span><br>생물 분류 도감</div> *[[File:Incubator-logo.svg|40x40px|link=incubator:|alt=]]<div><span>[[incubator:|인큐베이터]]</span><br>새 언어판 준비 장소</div> *[[File:Wikimedia Community Logo.svg|40x40px|link=m:|alt=]]<div><span>[[m:|{{int:Project-localized-name-metawiki}}]]</span><br>프로젝트 관리</div> *[[File:MediaWiki-2020-icon.svg|40x40px|link=mw:|alt=]]<div><span>[[mw:|{{int:Project-localized-name-mediawikiwiki}}]]</span><br>미디어위키 개발</div> *[[File:Wikimania.svg|40x40px|link=wikimania:|alt=]]<div><span>[[wikimania:|{{int:Project-localized-name-wikimaniawiki}}]]</span><br>이벤트 관리 </div> </div> </div> </div> </div> </div> __NOEDITSECTION__ __NOTOC__<languages /><noinclude> </noinclude> t0j7sq3hlugzj3vewbhxca5ekybh06t 190978 190976 2025-06-03T12:32:31Z YeBoy371 5561 190978 wikitext text/x-wiki <templatestyles src="Template:Main_page/styles.css" /> <div id="lang_dir" class="mw-content-{{dir|{{#invoke:Caller title|lang|base=Template:Main_page}}}}" dir="{{dir|{{#invoke:Caller title|lang|base=Template:Main_page}}}}"> <div id="mainpage_header" class="mainpage_header"> <p class="main-title">위키함수에 오신 것을 환영합니다</p> <p>누구나 편집할 수 있는 {{NUMBEROFFUNCTIONS}}개의 [[w:Function_(computer_programming)|함수]]로 구성된 [[foundation:Special:MyLanguage/Policy:Terms_of_Use|무료]] 도서관입니다.</p> </div> <div style="clear: both;"></div> <div id="audiences" class="mainpage_row"> <div class="mainpage_box" id="box1"> <h3><span class="header_icon" aria-hidden="true" role="presentation">[[File:Wikifunctions-logo-monochrome-black.svg|20px |middle|link=|class=skin-invert-image]]</span><span>환영합니다!</span></h3> <div id="mainpage-welcome" title="Welcome" class="items"> '''위키함수'''는 전 세계의 [[w:Language|자연어]] 및 [[w:Programming language|프로그래밍]] 언어로 위키미디어 프로젝트와 그 이상을 지원하기 위해 코드 기능 라이브러리를 [[foundation:Special:MyLanguage/Policy:Terms_of_Use|공동으로 만들고 유지 관리하는 모든 사람]]을 위한 위키미디어 프로젝트입니다. <div id="bottom-paragraphs"><!--this is hidden on mobile devices because of limited screen real estate--> "[[wikt:function <!-- 위키낱말사전에서의 이름 --->|함수]]"는 사용자가 제공한 [[w:Data|자료]]를 기반으로 [[w:Calculation|계산]]을 수행하는 일련의 프로그래밍 지침입니다. 함수는 두 날짜 사이에 경과된 일수나 두 도시 사이의 거리와 같은 질문에 답할 수 있습니다. <!--this should be the current primary focus of Wikifunctions. Ideally links to documentation by the Abstract Wikipedia team if available. --> 우리는 현재 주로 [[Special:MyLanguage/Wikifunctions:Support for Wikidata content|위키데이터 어휘소와 관련된 함수]]에 집중하고 있습니다. 위키데이터의 어휘 자료와 이를 처리하는 함수는 추상 위키백과의 목표에 필수적입니다. [[Special:MyLanguage/Wikifunctions:Working with Wikidata content|현재 위키데이터와 함께 위키함수를 사용하는 방법에 대한 안내서]]를 확인할 수 있습니다. </div> </div> </div> <div class="mainpage_box" id="box2"> <h3><span class="header_icon" aria-hidden="true" role="presentation">[[File:OOjs UI icon chem.svg|20px|middle|link=|class=skin-invert-image]]</span><span>시작하기</span></h3> <div id="mainpage-start" title="Get started" class="items"> [[File:Wikifunctions in 7 minutes.webm|thumbtime=0:01|thumb|center|400px|위키함수 7분 소개]] * [[Special:RunFunction|함수 실행]] * [[Wikifunctions:Project chat|프로젝트 대화]] * [[Wikifunctions:Community portal|커뮤니티 포털]] * [[Wikifunctions:Suggest a function|함수 제안]] * [[Wikifunctions:Catalogue|사용 가능한 함수 카탈로그]] </div> </div> </div> <div id="many-examples" class="mainpage_row"> <div class="mainpage_box" id="box3"> <h3><span class="header_icon" aria-hidden="true" role="presentation">[[File:OOjs UI icon listBullet-{{dir|{{#invoke:Caller title|lang|base=Template:Main_page}}}}.svg|20px|middle|link=|class=skin-invert-image]]</span><span>사용해 볼 수 있는 함수</span></h3> <div id="mainpage-function-list" title="Function list" class="items"> * {{Random function |NUMBER = 8 |1 = {{Z+|Z10096}} |2 = {{Z+|Z13163}} |3 = {{Z+|Z12427}} |4 = {{Z+|Z13587}} |5 = {{Z+|Z12626}} |6 = {{Z+|Z12812}} |7 = {{Z+|Z10012}} |8 = {{Z+|Z10070}} }} * {{Random function |NUMBER = 8 |8 = {{Z+|Z10096}} |7 = {{Z+|Z13163}} |6 = {{Z+|Z12427}} |5 = {{Z+|Z13587}} |4 = {{Z+|Z12626}} |3 = {{Z+|Z12812}} |2 = {{Z+|Z10012}} |1 = {{Z+|Z10070}} }} * {{Z+|Z20756}} * {{Z+|Z20733}} * {{Z+|Z20181}} * {{Z+|Z20000}} * {{Z+|Z19509}} * {{Z+|Z19514}} [[Wikifunctions:Catalogue|''더 많은 함수…'']] </div> </div> </div> <div id="misc-news" class="mainpage_row"> <div class="mainpage_box" id="box4"> <h3><span class="header_icon" aria-hidden="true" role="presentation">[[File:OOjs UI icon ongoingConversation-{{dir|{{#invoke:Caller title|lang|base=Template:Main_page}}|2=ltr|3=rtl}}.svg|20px|middle|link=|class=skin-invert-image]]</span><span>학습 및 기여</span></h3> <div id=mainpage-help-contribute" title="Support and Contributing" class="items"> ; 위키함수 배우기 * [[Special:MyLanguage/Wikifunctions:About|위키함수 개요]] * [[Special:MyLanguage/Wikifunctions:Introduction|위키함수 소개]] * [[Special:MyLanguage/Wikifunctions:FAQ|FAQ]] * [[Special:MyLanguage/Wikifunctions:Glossary|용어집]] ; 위키함수에 기여 * [[Special:CreateObject|객체 생성]] * [[Special:MyLanguage/Help:Multilingual|번역가로 참여하기]] ; 위키함수에 도움 요청하기 * 질문이 있나요? 질문이 있으시면 [[Wikifunctions:Project chat|프로젝트 채팅]]이나 [[Special:MyLanguage/Wikifunctions:Report a technical problem#Discuss with others|텔레그램/IRC 채널]]에서 물어보세요! * [[Special:MyLanguage/Wikifunctions:Report a technical problem|기술적 문제 보고]] ** <span lang="en" dir="ltr" class="mw-content-ltr">[[Wikifunctions:Status|Status]] page lists major known issues and problems</span> </div> </div> <div class="mainpage_box" id="box5"> <h3><span class="header_icon" aria-hidden="true" role="presentation">[[File:Echo (Notifications) megaphone{{dir|{{#invoke:Caller title|lang|base=Template:Main_page}}|2=-rtl|3=}}.svg|20px|middle|link=|class=skin-invert-image]]</span><span>소식</span></h3> <div id="mainpage-news" title="News" class="items"> <div style="margin: auto; vertical-align:top"> <div class="mainpage_boxcontents_small"> ; 지원자 코너 * 다음 지원자 코너는 <bdi lang="en" dir="ltr">[https://zonestamp.toolforge.org/1748885400 17:30 UTC on 2025-06-02]</bdi>에 진행됩니다: <bdi lang="en" dir="ltr">[https://meet.google.com/xuy-njxh-rkw meet.google.com/xuy-njxh-rkw]</bdi>(<bdi lang="en" dir="ltr">Google Meet</bdi>) * [[:commons:File:Abstract_Wikipedia_Volunteer_Corner_2025-04.webm|최근의 지원자 코너]]는 공용에서 사용할 수 있습니다. ; 위키함수의 최신 상태 업데이트 <!--Keep this to the most recent 5 entries--> * 2025-05-29: [[Special:MyLanguage/Wikifunctions:Status updates/2025-05-29|<span lang="en" dir="ltr" class="mw-content-ltr">Rolling out to five Wiktionaries; Calculating with today's date</span>]] * 2025-05-23: [[Special:MyLanguage/Wikifunctions:Status updates/2025-05-23|<span lang="en" dir="ltr" class="mw-content-ltr">Ongoing consultation about the Location for Abstract Content</span>]] * 2025-05-15: [[Special:MyLanguage/Wikifunctions:Status updates/2025-05-15|<span lang="en" dir="ltr" class="mw-content-ltr">Location of Abstract Content</span>]] * 2025-05-09: [[Special:MyLanguage/Wikifunctions:Status updates/2025-05-09|<span lang="en" dir="ltr" class="mw-content-ltr">Abstract Wikipedia and the Wikimedia AI Strategy</span>]] * 2025-04-30: [[Special:MyLanguage/Wikifunctions:Status updates/2025-04-30|<span lang="en" dir="ltr" class="mw-content-ltr">Abstract Wikipedia is a MacArthur 100&Change finalist</span>]] </div> [[Special:MyLanguage/Wikifunctions:Status_updates|<span class="mw-ui-button mw-ui-constructive mw-ui-small">더 많은 소식</span>]] </div> </div> </div> </div> <div id="sister" class="mainpage_row"> <div class="mainpage_box"> <div id="mainpage-sister" title="Sister projects" class="items" style="border-top:unset;"> <div class="mainpage-sister-title"> <div style="background: white; width:45px; margin:0 auto; margin-top: -40px;">[[File:Wikimedia-logo.svg|45px|center|link=]]</div> <div class="plainlinks" style="color:var(--color-subtle, #54595d); font-size:120%; text-align:center; padding-top:10px;">위키함수는 비영리, 다국어, 무료 콘텐츠로 운영되는 위키미디어 재단의 일부입니다.</div> </div> <div class="mainpage-sister-projects"> *[[File:Wikipedia-logo-v2.svg|40x40px|link=w:{{int:lang}}:|alt=]]<div><span>[[w:{{int:lang}}:|{{int:Wikibase-otherprojects-wikipedia}}]]</span><br>백과사전</div> *[[File:Wikidata-logo.svg|40x40px|link=d:|alt=]]<div><span>[[d:|{{int:Wikibase-otherprojects-wikidata}}]]</span><br>지식 베이스</div> *[[File:Commons-logo.svg|40x40px|link=c:|alt=]]<div><span>[[c:|{{int:Wikibase-otherprojects-commons}}]]</span><br>미디어 저장소</div> *[[File:Wiktionary-logo.svg|40x40px|link=wikt:{{int:lang}}:|alt=]]<div><span>[[wikt:{{int:lang}}:|{{int:Wikibase-otherprojects-wiktionary}}]]</span><br>낱말과 관용구</div> *[[File:Wikibooks-logo.svg|40x40px|link=b:{{int:lang}}:|alt=]]<div><span>[[b:{{int:lang}}:|{{int:Wikibase-otherprojects-wikibooks}}]]</span><br>교과서와 참고서</div> *[[File:Wikinews-logo.svg|40x40px|link=n:{{int:lang}}:|alt=]]<div><span>[[n:{{int:lang}}:|{{int:Wikibase-otherprojects-wikinews}}]]</span><br>뉴스</div> *[[File:Wikiquote-logo.svg|40x40px|link=q:{{int:lang}}:|alt=]]<div><span>[[q:{{int:lang}}:|{{int:Wikibase-otherprojects-wikiquote}}]]</span><br>인용 모음집</div> *[[File:Wikisource-logo.svg|40x40px|link=s:{{int:lang}}:|alt=]]<div><span>[[s:{{int:lang}}:|{{int:Wikibase-otherprojects-wikisource}}]]</span><br>도서관</div> *[[File:Wikiversity logo 2017.svg|40x40px|link=v:{{int:lang}}:|alt=]]<div><span>[[v:{{int:lang}}:|{{int:Wikibase-otherprojects-wikiversity}}]]</span><br>학습 리소스</div> *[[File:Wikivoyage-Logo-v3-icon.svg|40x40px|link=voy:{{int:lang}}:|alt=]]<div><span>[[voy:{{int:lang}}:|{{int:Wikibase-otherprojects-wikivoyage}}]]</span><br>여행 안내서</div> *[[File:Wikispecies-logo.svg|40x40px|link=species:|alt=]]<div><span>[[species:|{{int:Wikibase-otherprojects-species}}]]</span><br>생물 분류 도감</div> *[[File:Incubator-logo.svg|40x40px|link=incubator:|alt=]]<div><span>[[incubator:|인큐베이터]]</span><br>새 언어판 준비 장소</div> *[[File:Wikimedia Community Logo.svg|40x40px|link=m:|alt=]]<div><span>[[m:|{{int:Project-localized-name-metawiki}}]]</span><br>프로젝트 관리</div> *[[File:MediaWiki-2020-icon.svg|40x40px|link=mw:|alt=]]<div><span>[[mw:|{{int:Project-localized-name-mediawikiwiki}}]]</span><br>미디어위키 개발</div> *[[File:Wikimania.svg|40x40px|link=wikimania:|alt=]]<div><span>[[wikimania:|{{int:Project-localized-name-wikimaniawiki}}]]</span><br>이벤트 관리 </div> </div> </div> </div> </div> </div> __NOEDITSECTION__ __NOTOC__<languages /><noinclude> </noinclude> s2pfck29ynwnbzt5gp3kxcnc5a9hxxh Z12864 0 22361 191029 188295 2025-06-04T03:16:34Z 99of9 1622 nudge 191029 zobject text/plain { "Z1K1": "Z2", "Z2K1": { "Z1K1": "Z6", "Z6K1": "Z12864" }, "Z2K2": { "Z1K1": "Z8", "Z8K1": [ "Z17", { "Z1K1": "Z17", "Z17K1": { "Z1K1": "Z7", "Z7K1": "Z881", "Z881K1": "Z1" }, "Z17K2": "Z12864K1", "Z17K3": { "Z1K1": "Z12", "Z12K1": [ "Z11", { "Z1K1": "Z11", "Z11K1": "Z1002", "Z11K2": "first list" }, { "Z1K1": "Z11", "Z11K1": "Z1430", "Z11K2": "erste Liste" }, { "Z1K1": "Z11", "Z11K1": "Z1025", "Z11K2": "pierwsza lista" }, { "Z1K1": "Z11", "Z11K1": "Z1014", "Z11K2": "ndepụta mbụ: Edepụtara ndepụta ( Ihe )" }, { "Z1K1": "Z11", "Z11K1": "Z1004", "Z11K2": "première liste" } ] } }, { "Z1K1": "Z17", "Z17K1": { "Z1K1": "Z7", "Z7K1": "Z881", "Z881K1": "Z1" }, "Z17K2": "Z12864K2", "Z17K3": { "Z1K1": "Z12", "Z12K1": [ "Z11", { "Z1K1": "Z11", "Z11K1": "Z1002", "Z11K2": "second list" }, { "Z1K1": "Z11", "Z11K1": "Z1430", "Z11K2": "zweite Liste" }, { "Z1K1": "Z11", "Z11K1": "Z1025", "Z11K2": "druga lista" }, { "Z1K1": "Z11", "Z11K1": "Z1014", "Z11K2": "ndepụta nke abụọ: Edepụtara ndepụta ( Ihe )" }, { "Z1K1": "Z11", "Z11K1": "Z1004", "Z11K2": "seconde liste" } ] } } ], "Z8K2": "Z40", "Z8K3": [ "Z20", "Z12866", "Z13395", "Z18127", "Z24730", "Z24731" ], "Z8K4": [ "Z14", "Z13394", "Z12865", "Z13890" ], "Z8K5": "Z12864" }, "Z2K3": { "Z1K1": "Z12", "Z12K1": [ "Z11", { "Z1K1": "Z11", "Z11K1": "Z1002", "Z11K2": "lists have equal length" }, { "Z1K1": "Z11", "Z11K1": "Z1430", "Z11K2": "Listen sind gleich lang" }, { "Z1K1": "Z11", "Z11K1": "Z1025", "Z11K2": "czy listy mają tę samą długość" }, { "Z1K1": "Z11", "Z11K1": "Z1014", "Z11K2": "ndepụta nwere nha nha ogologo" }, { "Z1K1": "Z11", "Z11K1": "Z1004", "Z11K2": "ces listes sont-elles de longueur égale ?" } ] }, "Z2K4": { "Z1K1": "Z32", "Z32K1": [ "Z31", { "Z1K1": "Z31", "Z31K1": "Z1002", "Z31K2": [ "Z6", "length equal", "equal length lists", "are equal length", "lists equal length", "is equal length", "equality (list length)", "equal list lengths", "is list equal length to another", "are lists equal length", "same length", "lengths equal", "= length lists" ] } ] }, "Z2K5": { "Z1K1": "Z12", "Z12K1": [ "Z11", { "Z1K1": "Z11", "Z11K1": "Z1002", "Z11K2": "true if the lists have an equal number of elements, false otherwise" }, { "Z1K1": "Z11", "Z11K1": "Z1430", "Z11K2": "gibt wahr zurück, wenn die verglichenen Listen gleich viele Elemente enthalten" }, { "Z1K1": "Z11", "Z11K1": "Z1025", "Z11K2": "Zwraca prawdę, jeśli listy mają tę samą długość" }, { "Z1K1": "Z11", "Z11K1": "Z1014", "Z11K2": "eziokwu ma ọ bụrụ na ndepụta ahụ nwere nha nha nke mmewere, ụgha ma ọ bụghị" }, { "Z1K1": "Z11", "Z11K1": "Z1004", "Z11K2": "renvoie \"vrai\" si les listes ont un nombre égal d'éléments, sinon \"faux\"" } ] } } m2lv175b429p7yz9orb6um7a7sp1som Z15591 0 28795 191078 97840 2025-06-04T08:09:03Z Ameisenigel 44 de 191078 zobject text/plain { "Z1K1": "Z2", "Z2K1": { "Z1K1": "Z6", "Z6K1": "Z15591" }, "Z2K2": { "Z1K1": "Z14", "Z14K1": "Z10145", "Z14K2": { "Z1K1": "Z7", "Z7K1": "Z15581", "Z15581K1": { "Z1K1": "Z18", "Z18K1": "Z10145K1" }, "Z15581K2": { "Z1K1": "Z13518", "Z13518K1": "20" } } }, "Z2K3": { "Z1K1": "Z12", "Z12K1": [ "Z11", { "Z1K1": "Z11", "Z11K1": "Z1002", "Z11K2": "BLAKE2s-160, composition" }, { "Z1K1": "Z11", "Z11K1": "Z1430", "Z11K2": "BLAKE2s-160 als Komposition" } ] }, "Z2K4": { "Z1K1": "Z32", "Z32K1": [ "Z31" ] }, "Z2K5": { "Z1K1": "Z12", "Z12K1": [ "Z11" ] } } acdzyo4thkwsc331clc6uumker394wz Z15592 0 28796 191079 97841 2025-06-04T08:09:31Z Ameisenigel 44 de 191079 zobject text/plain { "Z1K1": "Z2", "Z2K1": { "Z1K1": "Z6", "Z6K1": "Z15592" }, "Z2K2": { "Z1K1": "Z14", "Z14K1": "Z10146", "Z14K2": { "Z1K1": "Z7", "Z7K1": "Z15581", "Z15581K1": { "Z1K1": "Z18", "Z18K1": "Z10146K1" }, "Z15581K2": { "Z1K1": "Z13518", "Z13518K1": "28" } } }, "Z2K3": { "Z1K1": "Z12", "Z12K1": [ "Z11", { "Z1K1": "Z11", "Z11K1": "Z1002", "Z11K2": "BLAKE2s-224, composition" }, { "Z1K1": "Z11", "Z11K1": "Z1430", "Z11K2": "BLAKE2s-224 als Komposition" } ] }, "Z2K4": { "Z1K1": "Z32", "Z32K1": [ "Z31" ] }, "Z2K5": { "Z1K1": "Z12", "Z12K1": [ "Z11" ] } } 9epvdz7l6wk3a0kmw113923ktlxrgrx Z15593 0 28835 191080 145889 2025-06-04T08:10:52Z Ameisenigel 44 de 191080 zobject text/plain { "Z1K1": "Z2", "Z2K1": { "Z1K1": "Z6", "Z6K1": "Z15593" }, "Z2K2": { "Z1K1": "Z8", "Z8K1": [ "Z17", { "Z1K1": "Z17", "Z17K1": "Z6", "Z17K2": "Z15593K1", "Z17K3": { "Z1K1": "Z12", "Z12K1": [ "Z11", { "Z1K1": "Z11", "Z11K1": "Z1002", "Z11K2": "string" }, { "Z1K1": "Z11", "Z11K1": "Z1014", "Z11K2": "eriri " }, { "Z1K1": "Z11", "Z11K1": "Z1430", "Z11K2": "Zeichenkette" } ] } } ], "Z8K2": "Z40", "Z8K3": [ "Z20", "Z15595", "Z15596" ], "Z8K4": [ "Z14", "Z15594" ], "Z8K5": "Z15593" }, "Z2K3": { "Z1K1": "Z12", "Z12K1": [ "Z11", { "Z1K1": "Z11", "Z11K1": "Z1002", "Z11K2": "is valid hex string" }, { "Z1K1": "Z11", "Z11K1": "Z1014", "Z11K2": "eriri hex bara uru" }, { "Z1K1": "Z11", "Z11K1": "Z1005", "Z11K2": "это валидная шестнадцатиричная строка" }, { "Z1K1": "Z11", "Z11K1": "Z1430", "Z11K2": "ist gültige hexadezimale Zeichenkette" } ] }, "Z2K4": { "Z1K1": "Z32", "Z32K1": [ "Z31", { "Z1K1": "Z31", "Z31K1": "Z1002", "Z31K2": [ "Z6", "validate hex string" ] } ] }, "Z2K5": { "Z1K1": "Z12", "Z12K1": [ "Z11", { "Z1K1": "Z11", "Z11K1": "Z1002", "Z11K2": "check if a string represents a valid hex sequence (without spaces and potential prefix 0x)" }, { "Z1K1": "Z11", "Z11K1": "Z1014", "Z11K2": "check if a string represents a valid hex sequence (without spaces and potential prefix 0x)" }, { "Z1K1": "Z11", "Z11K1": "Z1430", "Z11K2": "prüft, ob eine Zeichenkette eine gültige hexadezimale Sequenz darstellt" } ] } } qqb0vbto0j6obfmksv04io76ypo7px0 Z15594 0 28836 191081 97927 2025-06-04T08:11:18Z Ameisenigel 44 de 191081 zobject text/plain { "Z1K1": "Z2", "Z2K1": { "Z1K1": "Z6", "Z6K1": "Z15594" }, "Z2K2": { "Z1K1": "Z14", "Z14K1": "Z15593", "Z14K2": { "Z1K1": "Z7", "Z7K1": "Z10196", "Z10196K1": { "Z1K1": "Z18", "Z18K1": "Z15593K1" }, "Z10196K2": "^[A-Fa-f0-9]+$" } }, "Z2K3": { "Z1K1": "Z12", "Z12K1": [ "Z11", { "Z1K1": "Z11", "Z11K1": "Z1002", "Z11K2": "validate hex string, composition (regex)" }, { "Z1K1": "Z11", "Z11K1": "Z1430", "Z11K2": "ist gültige hexadezimale Zeichenkette, Komposition" } ] }, "Z2K4": { "Z1K1": "Z32", "Z32K1": [ "Z31" ] }, "Z2K5": { "Z1K1": "Z12", "Z12K1": [ "Z11" ] } } c16wrezvaru2opdzrhtgvusecx6tu76 Z15595 0 28837 191082 173127 2025-06-04T08:12:55Z Ameisenigel 44 de 191082 zobject text/plain { "Z1K1": "Z2", "Z2K1": { "Z1K1": "Z6", "Z6K1": "Z15595" }, "Z2K2": { "Z1K1": "Z20", "Z20K1": "Z15593", "Z20K2": { "Z1K1": "Z7", "Z7K1": "Z15593", "Z15593K1": "FFFFFFF" }, "Z20K3": { "Z1K1": "Z7", "Z7K1": "Z844", "Z844K2": { "Z1K1": "Z40", "Z40K1": "Z41" } } }, "Z2K3": { "Z1K1": "Z12", "Z12K1": [ "Z11", { "Z1K1": "Z11", "Z11K1": "Z1002", "Z11K2": "\"FFFFFFF\" is a valid hex string" }, { "Z1K1": "Z11", "Z11K1": "Z1430", "Z11K2": "\"FFFFFFF\" ist gültige hexadezimale Zeichenkette" } ] }, "Z2K4": { "Z1K1": "Z32", "Z32K1": [ "Z31" ] }, "Z2K5": { "Z1K1": "Z12", "Z12K1": [ "Z11" ] } } napyvxhf0i0yp0fv8qzx8af3czdzsg3 Z15596 0 28838 191083 97930 2025-06-04T08:13:32Z Ameisenigel 44 de 191083 zobject text/plain { "Z1K1": "Z2", "Z2K1": { "Z1K1": "Z6", "Z6K1": "Z15596" }, "Z2K2": { "Z1K1": "Z20", "Z20K1": "Z15593", "Z20K2": { "Z1K1": "Z7", "Z7K1": "Z15593", "Z15593K1": "FFFFFG" }, "Z20K3": { "Z1K1": "Z7", "Z7K1": "Z844", "Z844K2": { "Z1K1": "Z40", "Z40K1": "Z42" } } }, "Z2K3": { "Z1K1": "Z12", "Z12K1": [ "Z11", { "Z1K1": "Z11", "Z11K1": "Z1002", "Z11K2": "\"FFFFFG\" is not a valid hex string" }, { "Z1K1": "Z11", "Z11K1": "Z1430", "Z11K2": "\"FFFFFG\" ist keine gültige hrxadezimale Zeichenk." } ] }, "Z2K4": { "Z1K1": "Z32", "Z32K1": [ "Z31" ] }, "Z2K5": { "Z1K1": "Z12", "Z12K1": [ "Z11" ] } } gj7kpcu4gyadepi3k7hl7dfa42ojmjw 191084 191083 2025-06-04T08:13:44Z Ameisenigel 44 191084 zobject text/plain { "Z1K1": "Z2", "Z2K1": { "Z1K1": "Z6", "Z6K1": "Z15596" }, "Z2K2": { "Z1K1": "Z20", "Z20K1": "Z15593", "Z20K2": { "Z1K1": "Z7", "Z7K1": "Z15593", "Z15593K1": "FFFFFG" }, "Z20K3": { "Z1K1": "Z7", "Z7K1": "Z844", "Z844K2": { "Z1K1": "Z40", "Z40K1": "Z42" } } }, "Z2K3": { "Z1K1": "Z12", "Z12K1": [ "Z11", { "Z1K1": "Z11", "Z11K1": "Z1002", "Z11K2": "\"FFFFFG\" is not a valid hex string" }, { "Z1K1": "Z11", "Z11K1": "Z1430", "Z11K2": "\"FFFFFG\" ist keine gültige hexadezimale Zeichenk." } ] }, "Z2K4": { "Z1K1": "Z32", "Z32K1": [ "Z31" ] }, "Z2K5": { "Z1K1": "Z12", "Z12K1": [ "Z11" ] } } haxnsh9q7onlcabswytfqnekelffomp Z15597 0 28839 191085 101262 2025-06-04T08:15:19Z Ameisenigel 44 de 191085 zobject text/plain { "Z1K1": "Z2", "Z2K1": { "Z1K1": "Z6", "Z6K1": "Z15597" }, "Z2K2": { "Z1K1": "Z20", "Z20K1": "Z13445", "Z20K2": { "Z1K1": "Z7", "Z7K1": "Z13445", "Z13445K1": [ "Z40", { "Z1K1": "Z40", "Z40K1": "Z42" }, { "Z1K1": "Z40", "Z40K1": "Z42" }, { "Z1K1": "Z40", "Z40K1": "Z42" }, { "Z1K1": "Z7", "Z7K1": "Z10174", "Z10174K1": { "Z1K1": "Z40", "Z40K1": "Z41" }, "Z10174K2": { "Z1K1": "Z40", "Z40K1": "Z41" } } ] }, "Z20K3": { "Z1K1": "Z7", "Z7K1": "Z844", "Z844K2": { "Z1K1": "Z40", "Z40K1": "Z42" } } }, "Z2K3": { "Z1K1": "Z12", "Z12K1": [ "Z11", { "Z1K1": "Z11", "Z11K1": "Z1002", "Z11K2": "[F, F, F, and(T, T)] are not all False" }, { "Z1K1": "Z11", "Z11K1": "Z1430", "Z11K2": "[falsch,falsch,falsch und wahr] sind nicht falsch" } ] }, "Z2K4": { "Z1K1": "Z32", "Z32K1": [ "Z31" ] }, "Z2K5": { "Z1K1": "Z12", "Z12K1": [ "Z11", { "Z1K1": "Z11", "Z11K1": "Z1002", "Z11K2": "A function evaluating to True is not False" }, { "Z1K1": "Z11", "Z11K1": "Z1430", "Z11K2": "Funktion, die als wahr ausgewertet wird, ist nicht falsch" } ] } } iqu9as7xlybxavv2odmvbb0ut1pj1x8 Z15598 0 28846 191086 101336 2025-06-04T08:16:17Z Ameisenigel 44 de 191086 zobject text/plain { "Z1K1": "Z2", "Z2K1": { "Z1K1": "Z6", "Z6K1": "Z15598" }, "Z2K2": { "Z1K1": "Z8", "Z8K1": [ "Z17", { "Z1K1": "Z17", "Z17K1": "Z13518", "Z17K2": "Z15598K1", "Z17K3": { "Z1K1": "Z12", "Z12K1": [ "Z11", { "Z1K1": "Z11", "Z11K1": "Z1002", "Z11K2": "n" }, { "Z1K1": "Z11", "Z11K1": "Z1014", "Z11K2": "Nọmba eke" }, { "Z1K1": "Z11", "Z11K1": "Z1430", "Z11K2": "n" } ] } } ], "Z8K2": "Z13518", "Z8K3": [ "Z20", "Z15600", "Z15601", "Z15602" ], "Z8K4": [ "Z14", "Z15611", "Z15599" ], "Z8K5": "Z15598" }, "Z2K3": { "Z1K1": "Z12", "Z12K1": [ "Z11", { "Z1K1": "Z11", "Z11K1": "Z1002", "Z11K2": "nth Pell number" }, { "Z1K1": "Z11", "Z11K1": "Z1014", "Z11K2": "nth Pell nọmba" }, { "Z1K1": "Z11", "Z11K1": "Z1430", "Z11K2": "nte Pell-Zahl" } ] }, "Z2K4": { "Z1K1": "Z32", "Z32K1": [ "Z31", { "Z1K1": "Z31", "Z31K1": "Z1002", "Z31K2": [ "Z6", "A000129" ] } ] }, "Z2K5": { "Z1K1": "Z12", "Z12K1": [ "Z11" ] } } 5stpnxsuk3214krawr1icj9qlh63hgv Z15599 0 28847 191087 97947 2025-06-04T08:16:39Z Ameisenigel 44 de 191087 zobject text/plain { "Z1K1": "Z2", "Z2K1": { "Z1K1": "Z6", "Z6K1": "Z15599" }, "Z2K2": { "Z1K1": "Z14", "Z14K1": "Z15598", "Z14K3": { "Z1K1": "Z16", "Z16K1": "Z610", "Z16K2": "def Z15598(Z15598K1):\n\tdef P(n):\n\t\tif n \u003C= 1:\n\t\t\treturn n\n\t\telse:\n\t\t\treturn 2*P(n-1)+P(n-2)\n\treturn P(Z15598K1)" } }, "Z2K3": { "Z1K1": "Z12", "Z12K1": [ "Z11", { "Z1K1": "Z11", "Z11K1": "Z1002", "Z11K2": "nth Pell number, python (recursive relation)" }, { "Z1K1": "Z11", "Z11K1": "Z1430", "Z11K2": "nte Pell-Zahl in Python" } ] }, "Z2K4": { "Z1K1": "Z32", "Z32K1": [ "Z31" ] }, "Z2K5": { "Z1K1": "Z12", "Z12K1": [ "Z11" ] } } d1w3mdj9bvypc0z3sxydy7hbaynskq0 Z15600 0 28848 191088 97949 2025-06-04T08:17:09Z Ameisenigel 44 de 191088 zobject text/plain { "Z1K1": "Z2", "Z2K1": { "Z1K1": "Z6", "Z6K1": "Z15600" }, "Z2K2": { "Z1K1": "Z20", "Z20K1": "Z15598", "Z20K2": { "Z1K1": "Z7", "Z7K1": "Z15598", "Z15598K1": { "Z1K1": "Z13518", "Z13518K1": "1" } }, "Z20K3": { "Z1K1": "Z7", "Z7K1": "Z13522", "Z13522K2": { "Z1K1": "Z13518", "Z13518K1": "1" } } }, "Z2K3": { "Z1K1": "Z12", "Z12K1": [ "Z11", { "Z1K1": "Z11", "Z11K1": "Z1002", "Z11K2": "1st Pell number is 1" }, { "Z1K1": "Z11", "Z11K1": "Z1430", "Z11K2": "erste Pell-Zahl ist 1" } ] }, "Z2K4": { "Z1K1": "Z32", "Z32K1": [ "Z31" ] }, "Z2K5": { "Z1K1": "Z12", "Z12K1": [ "Z11" ] } } 0kba7x2bkyzjwiplg0e6wnif488m22w Wikifunctions:Catalogue/Date operations 4 41958 190971 190867 2025-06-03T12:22:10Z Denny 81 190971 wikitext text/x-wiki == Date operations == === Gregorian calendar dates === * {{Z+|Z20421}} * {{Z+|Z20756}} * {{Z+|Z24901}} * {{Z+|Z20440}} * {{Z+|Z20750}} * {{Z+|Z20744}} * {{Z+|Z20856}} * {{Z+|Z20816}} * {{Z+|Z22844}} * {{Z+|Z24122}} * {{Z+|Z20430}} * {{Z+|Z24884}} * {{Z+|Z20740}} * {{Z+|Z23801}} * {{Z+|Z23808}} * {{Z+|Z23246}} * {{Z+|Z20822}} * {{Z+|Z20741}} ==== Dates to strings ==== * {{Z+|Z20780}} * {{Z+|Z20788}} * {{Z+|Z22214}} * {{Z+|Z20770}} * {{Z+|Z24880}} * {{Z+|Z20776}} * {{Z+|Z20773}} * {{Z+|Z20782}} * {{Z+|Z20794}} * {{Z+|Z20785}} * {{Z+|Z20791}} * {{Z+|Z23197}} * {{Z+|Z20801}} ==== Strings to dates ==== * {{Z+|Z20808}} * {{Z+|Z23976}} * {{Z+|Z24007}} * {{Z+|Z23984}} * {{Z+|Z23990}} * {{Z+|Z23961}} === Day of Roman year === * {{Z+|Z20388}} * {{Z+|Z20343}} * {{Z+|Z20355}} * {{Z+|Z20399}} * {{Z+|Z20357}} * {{Z+|Z20362}} * {{Z+|Z20367}} * {{Z+|Z20406}} * {{Z+|Z20591}} * {{Z+|Z22933}} * {{Z+|Z23427}} === Using non-date types === * {{Z+|Z10996}} * {{Z+|Z11015}} * {{Z+|Z11011}} * {{Z+|Z12176}} * {{Z+|Z13163}} * {{Z+|Z16914}} * {{Z+|Z13306}} * {{Z+|Z16908}} * {{Z+|Z13300}} * {{Z+|Z13335}} * {{Z+|Z18957}} * {{Z+|Z18961}} === Bengali date operations === * {{Z+|Z12926}} * {{Z+|Z18131}} * {{Z+|Z18435}} * {{Z+|Z18462}} * {{Z+|Z18169}} * {{Z+|Z18573}} * {{Z+|Z18582}} * {{Z+|Z18387}} * {{Z+|Z18397}} * {{Z+|Z18662}} == Year operations == ===Gregorian year=== * {{Z+|Z20166}} * {{Z+|Z20172}} * {{Z+|Z20314}} * {{Z+|Z20185}} * {{Z+|Z20160}} * {{Z+|Z20192}} * {{Z+|Z20588}} * {{Z+|Z20198}} * {{Z+|Z20219}} * {{Z+|Z20181}} * {{Z+|Z20257}} * {{Z+|Z20290}} * {{Z+|Z20302}} ==Day of the week== *{{Z+|Z17414}} *{{Z+|Z20421}} *{{Z+|Z17420}} *{{Z+|Z17435}} *{{Z+|Z17517}} *{{Z+|Z17478}} *{{Z+|Z17485}} *{{Z+|Z17452}} *{{Z+|Z17536}} *{{Z+|Z17506}} *{{Z+|Z17511}} *{{Z+|Z20290}} *{{Z+|Z20302}} *{{Z+|Z17540}} *{{Z+|Z17516}} *{{Z+|Z17549}} *{{Z+|Z17556}} *{{Z+|Z17578}} *{{Z+|Z23415}} *{{Z+|Z23419}} ==Month operations== === Gregorian months === *{{Z+|Z16137}} *{{Z+|Z16136}} *{{Z+|Z16299}} *{{Z+|Z16255}} *{{Z+|Z16230}} *{{Z+|Z16330}} *{{Z+|Z16518}} *{{Z+|Z16580}} *{{Z+|Z16272}} *{{Z+|Z16289}} *{{Z+|Z16584}} *{{Z+|Z16648}} *{{Z+|Z16542}} *{{Z+|Z16316}} *{{Z+|Z16332}} *{{Z+|Z16348}} *{{Z+|Z16307}} *{{Z+|Z16293}} *{{Z+|Z13596}} *{{Z+|Z22240}} *{{Z+|Z23403}} === Igbo months === *{{Z+|Z16000}} *{{Z+|Z16945}} *{{Z+|Z16955}} *{{Z+|Z16972}} *{{Z+|Z16973}} *{{Z+|Z16990}} *{{Z+|Z17685}} == Era operations == === Gregorian era === * {{Z+|Z17817}} * {{Z+|Z17977}} * {{Z+|Z18072}} * {{Z+|Z18080}} * {{Z+|Z18084}} == Language specific == === Basque === * {{Z+|Z18826}} === Arabic === * {{Z+|20013}} [[Category:Lists of functions]] sc71o200d0a11lvz0cupq0dvlvuzp3i 190980 190971 2025-06-03T12:36:27Z Denny 81 /* Gregorian calendar dates */ 190980 wikitext text/x-wiki == Date operations == === Gregorian calendar dates === * {{Z+|Z20421}} * {{Z+|Z20756}} * {{Z+|Z24918}} * {{Z+|Z24901}} * {{Z+|Z20440}} * {{Z+|Z20750}} * {{Z+|Z20744}} * {{Z+|Z20856}} * {{Z+|Z20816}} * {{Z+|Z22844}} * {{Z+|Z24122}} * {{Z+|Z20430}} * {{Z+|Z24884}} * {{Z+|Z20740}} * {{Z+|Z23801}} * {{Z+|Z23808}} * {{Z+|Z23246}} * {{Z+|Z20822}} * {{Z+|Z20741}} ==== Dates to strings ==== * {{Z+|Z20780}} * {{Z+|Z20788}} * {{Z+|Z22214}} * {{Z+|Z20770}} * {{Z+|Z24880}} * {{Z+|Z20776}} * {{Z+|Z20773}} * {{Z+|Z20782}} * {{Z+|Z20794}} * {{Z+|Z20785}} * {{Z+|Z20791}} * {{Z+|Z23197}} * {{Z+|Z20801}} ==== Strings to dates ==== * {{Z+|Z20808}} * {{Z+|Z23976}} * {{Z+|Z24007}} * {{Z+|Z23984}} * {{Z+|Z23990}} * {{Z+|Z23961}} === Day of Roman year === * {{Z+|Z20388}} * {{Z+|Z20343}} * {{Z+|Z20355}} * {{Z+|Z20399}} * {{Z+|Z20357}} * {{Z+|Z20362}} * {{Z+|Z20367}} * {{Z+|Z20406}} * {{Z+|Z20591}} * {{Z+|Z22933}} * {{Z+|Z23427}} === Using non-date types === * {{Z+|Z10996}} * {{Z+|Z11015}} * {{Z+|Z11011}} * {{Z+|Z12176}} * {{Z+|Z13163}} * {{Z+|Z16914}} * {{Z+|Z13306}} * {{Z+|Z16908}} * {{Z+|Z13300}} * {{Z+|Z13335}} * {{Z+|Z18957}} * {{Z+|Z18961}} === Bengali date operations === * {{Z+|Z12926}} * {{Z+|Z18131}} * {{Z+|Z18435}} * {{Z+|Z18462}} * {{Z+|Z18169}} * {{Z+|Z18573}} * {{Z+|Z18582}} * {{Z+|Z18387}} * {{Z+|Z18397}} * {{Z+|Z18662}} == Year operations == ===Gregorian year=== * {{Z+|Z20166}} * {{Z+|Z20172}} * {{Z+|Z20314}} * {{Z+|Z20185}} * {{Z+|Z20160}} * {{Z+|Z20192}} * {{Z+|Z20588}} * {{Z+|Z20198}} * {{Z+|Z20219}} * {{Z+|Z20181}} * {{Z+|Z20257}} * {{Z+|Z20290}} * {{Z+|Z20302}} ==Day of the week== *{{Z+|Z17414}} *{{Z+|Z20421}} *{{Z+|Z17420}} *{{Z+|Z17435}} *{{Z+|Z17517}} *{{Z+|Z17478}} *{{Z+|Z17485}} *{{Z+|Z17452}} *{{Z+|Z17536}} *{{Z+|Z17506}} *{{Z+|Z17511}} *{{Z+|Z20290}} *{{Z+|Z20302}} *{{Z+|Z17540}} *{{Z+|Z17516}} *{{Z+|Z17549}} *{{Z+|Z17556}} *{{Z+|Z17578}} *{{Z+|Z23415}} *{{Z+|Z23419}} ==Month operations== === Gregorian months === *{{Z+|Z16137}} *{{Z+|Z16136}} *{{Z+|Z16299}} *{{Z+|Z16255}} *{{Z+|Z16230}} *{{Z+|Z16330}} *{{Z+|Z16518}} *{{Z+|Z16580}} *{{Z+|Z16272}} *{{Z+|Z16289}} *{{Z+|Z16584}} *{{Z+|Z16648}} *{{Z+|Z16542}} *{{Z+|Z16316}} *{{Z+|Z16332}} *{{Z+|Z16348}} *{{Z+|Z16307}} *{{Z+|Z16293}} *{{Z+|Z13596}} *{{Z+|Z22240}} *{{Z+|Z23403}} === Igbo months === *{{Z+|Z16000}} *{{Z+|Z16945}} *{{Z+|Z16955}} *{{Z+|Z16972}} *{{Z+|Z16973}} *{{Z+|Z16990}} *{{Z+|Z17685}} == Era operations == === Gregorian era === * {{Z+|Z17817}} * {{Z+|Z17977}} * {{Z+|Z18072}} * {{Z+|Z18080}} * {{Z+|Z18084}} == Language specific == === Basque === * {{Z+|Z18826}} === Arabic === * {{Z+|20013}} [[Category:Lists of functions]] jiedlwlws00s7y1srm7m3xvrrpf269h 190998 190980 2025-06-03T14:12:47Z Denny 81 /* Gregorian calendar dates */ 190998 wikitext text/x-wiki == Date operations == === Gregorian calendar dates === * {{Z+|Z20421}} * {{Z+|Z20756}} * {{Z+|Z24918}} * {{Z+|Z24901}} * {{Z+|Z20440}} * {{Z+|Z20750}} * {{Z+|Z20744}} * {{Z+|Z20856}} * {{Z+|Z20816}} * {{Z+|Z22844}} * {{Z+|Z24122}} * {{Z+|Z20430}} * {{Z+|Z24884}} * {{Z+|Z20740}} * {{Z+|Z23801}} * {{Z+|Z23808}} * {{Z+|Z23246}} * {{Z+|Z20822}} * {{Z+|Z20741}} See [[Wikifunctions:Suggest a function#Gregorian calendar date|suggested functions]] for some function ideas. ==== Dates to strings ==== * {{Z+|Z20780}} * {{Z+|Z20788}} * {{Z+|Z22214}} * {{Z+|Z20770}} * {{Z+|Z24880}} * {{Z+|Z20776}} * {{Z+|Z20773}} * {{Z+|Z20782}} * {{Z+|Z20794}} * {{Z+|Z20785}} * {{Z+|Z20791}} * {{Z+|Z23197}} * {{Z+|Z20801}} ==== Strings to dates ==== * {{Z+|Z20808}} * {{Z+|Z23976}} * {{Z+|Z24007}} * {{Z+|Z23984}} * {{Z+|Z23990}} * {{Z+|Z23961}} === Day of Roman year === * {{Z+|Z20388}} * {{Z+|Z20343}} * {{Z+|Z20355}} * {{Z+|Z20399}} * {{Z+|Z20357}} * {{Z+|Z20362}} * {{Z+|Z20367}} * {{Z+|Z20406}} * {{Z+|Z20591}} * {{Z+|Z22933}} * {{Z+|Z23427}} === Using non-date types === * {{Z+|Z10996}} * {{Z+|Z11015}} * {{Z+|Z11011}} * {{Z+|Z12176}} * {{Z+|Z13163}} * {{Z+|Z16914}} * {{Z+|Z13306}} * {{Z+|Z16908}} * {{Z+|Z13300}} * {{Z+|Z13335}} * {{Z+|Z18957}} * {{Z+|Z18961}} === Bengali date operations === * {{Z+|Z12926}} * {{Z+|Z18131}} * {{Z+|Z18435}} * {{Z+|Z18462}} * {{Z+|Z18169}} * {{Z+|Z18573}} * {{Z+|Z18582}} * {{Z+|Z18387}} * {{Z+|Z18397}} * {{Z+|Z18662}} == Year operations == ===Gregorian year=== * {{Z+|Z20166}} * {{Z+|Z20172}} * {{Z+|Z20314}} * {{Z+|Z20185}} * {{Z+|Z20160}} * {{Z+|Z20192}} * {{Z+|Z20588}} * {{Z+|Z20198}} * {{Z+|Z20219}} * {{Z+|Z20181}} * {{Z+|Z20257}} * {{Z+|Z20290}} * {{Z+|Z20302}} ==Day of the week== *{{Z+|Z17414}} *{{Z+|Z20421}} *{{Z+|Z17420}} *{{Z+|Z17435}} *{{Z+|Z17517}} *{{Z+|Z17478}} *{{Z+|Z17485}} *{{Z+|Z17452}} *{{Z+|Z17536}} *{{Z+|Z17506}} *{{Z+|Z17511}} *{{Z+|Z20290}} *{{Z+|Z20302}} *{{Z+|Z17540}} *{{Z+|Z17516}} *{{Z+|Z17549}} *{{Z+|Z17556}} *{{Z+|Z17578}} *{{Z+|Z23415}} *{{Z+|Z23419}} ==Month operations== === Gregorian months === *{{Z+|Z16137}} *{{Z+|Z16136}} *{{Z+|Z16299}} *{{Z+|Z16255}} *{{Z+|Z16230}} *{{Z+|Z16330}} *{{Z+|Z16518}} *{{Z+|Z16580}} *{{Z+|Z16272}} *{{Z+|Z16289}} *{{Z+|Z16584}} *{{Z+|Z16648}} *{{Z+|Z16542}} *{{Z+|Z16316}} *{{Z+|Z16332}} *{{Z+|Z16348}} *{{Z+|Z16307}} *{{Z+|Z16293}} *{{Z+|Z13596}} *{{Z+|Z22240}} *{{Z+|Z23403}} === Igbo months === *{{Z+|Z16000}} *{{Z+|Z16945}} *{{Z+|Z16955}} *{{Z+|Z16972}} *{{Z+|Z16973}} *{{Z+|Z16990}} *{{Z+|Z17685}} == Era operations == === Gregorian era === * {{Z+|Z17817}} * {{Z+|Z17977}} * {{Z+|Z18072}} * {{Z+|Z18080}} * {{Z+|Z18084}} == Language specific == === Basque === * {{Z+|Z18826}} === Arabic === * {{Z+|20013}} [[Category:Lists of functions]] cz7y12a1s50iaxr81zyrb4ovjlu5yw9 Z20420 0 43801 191057 190348 2025-06-04T05:54:08Z Eduardogobi 2982 191057 zobject text/plain { "Z1K1": "Z2", "Z2K1": { "Z1K1": "Z6", "Z6K1": "Z20420" }, "Z2K2": { "Z1K1": "Z4", "Z4K1": "Z20420", "Z4K2": [ "Z3", { "Z1K1": "Z3", "Z3K1": "Z20159", "Z3K2": "Z20420K1", "Z3K3": { "Z1K1": "Z12", "Z12K1": [ "Z11", { "Z1K1": "Z11", "Z11K1": "Z1002", "Z11K2": "year" }, { "Z1K1": "Z11", "Z11K1": "Z1004", "Z11K2": "année" }, { "Z1K1": "Z11", "Z11K1": "Z1011", "Z11K2": "বছর" }, { "Z1K1": "Z11", "Z11K1": "Z1430", "Z11K2": "Jahr" }, { "Z1K1": "Z11", "Z11K1": "Z1643", "Z11K2": "연도" }, { "Z1K1": "Z11", "Z11K1": "Z1001", "Z11K2": "سنة" }, { "Z1K1": "Z11", "Z11K1": "Z1787", "Z11K2": "anno" } ] }, "Z3K4": { "Z1K1": "Z40", "Z40K1": "Z42" } }, { "Z1K1": "Z3", "Z3K1": "Z20342", "Z3K2": "Z20420K2", "Z3K3": { "Z1K1": "Z12", "Z12K1": [ "Z11", { "Z1K1": "Z11", "Z11K1": "Z1002", "Z11K2": "day" }, { "Z1K1": "Z11", "Z11K1": "Z1004", "Z11K2": "jour" }, { "Z1K1": "Z11", "Z11K1": "Z1011", "Z11K2": "দিন" }, { "Z1K1": "Z11", "Z11K1": "Z1430", "Z11K2": "Tag" }, { "Z1K1": "Z11", "Z11K1": "Z1643", "Z11K2": "일" }, { "Z1K1": "Z11", "Z11K1": "Z1001", "Z11K2": "يوم" }, { "Z1K1": "Z11", "Z11K1": "Z1787", "Z11K2": "giorno" } ] }, "Z3K4": { "Z1K1": "Z40", "Z40K1": "Z42" } } ], "Z4K3": "Z101", "Z4K4": "Z20430", "Z4K5": "Z20780", "Z4K6": "Z20808", "Z4K7": [ "Z46", "Z20424", "Z20438" ], "Z4K8": [ "Z64", "Z20443", "Z20448" ] }, "Z2K3": { "Z1K1": "Z12", "Z12K1": [ "Z11", { "Z1K1": "Z11", "Z11K1": "Z1002", "Z11K2": "Gregorian calendar date" }, { "Z1K1": "Z11", "Z11K1": "Z1004", "Z11K2": "date du calendrier grégorien" }, { "Z1K1": "Z11", "Z11K1": "Z1011", "Z11K2": "গ্রেগরীয় বর্ষপঞ্জির তারিখ" }, { "Z1K1": "Z11", "Z11K1": "Z1430", "Z11K2": "Datum des Gregorianischen Kalenders" }, { "Z1K1": "Z11", "Z11K1": "Z1592", "Z11K2": "Gregorianskt datum" }, { "Z1K1": "Z11", "Z11K1": "Z1332", "Z11K2": "Дата григоріанського календаря" }, { "Z1K1": "Z11", "Z11K1": "Z1664", "Z11K2": "Dată în calendarul gregorian " }, { "Z1K1": "Z11", "Z11K1": "Z1827", "Z11K2": "ημερομηνία Γρηγοριανού ημερολογίου" }, { "Z1K1": "Z11", "Z11K1": "Z1005", "Z11K2": "Дата григорианского календаря" }, { "Z1K1": "Z11", "Z11K1": "Z1643", "Z11K2": "그레고리력 날짜" }, { "Z1K1": "Z11", "Z11K1": "Z1001", "Z11K2": "تاريخ بالتقويم الغريغوري" }, { "Z1K1": "Z11", "Z11K1": "Z1787", "Z11K2": "Data di calendario Gregoriano" }, { "Z1K1": "Z11", "Z11K1": "Z1051", "Z11K2": "gregoriaaninen kalenteripäivä" }, { "Z1K1": "Z11", "Z11K1": "Z1789", "Z11K2": "data del calendari gregorià" }, { "Z1K1": "Z11", "Z11K1": "Z1381", "Z11K2": "data no calendário gregoriano" } ] }, "Z2K4": { "Z1K1": "Z32", "Z32K1": [ "Z31", { "Z1K1": "Z31", "Z31K1": "Z1011", "Z31K2": [ "Z6", "গ্রেগরীয় তারিখ" ] }, { "Z1K1": "Z31", "Z31K1": "Z1592", "Z31K2": [ "Z6", "Datum i gregorianska kalendern" ] }, { "Z1K1": "Z31", "Z31K1": "Z1787", "Z31K2": [ "Z6", "Data Gregoriana" ] } ] }, "Z2K5": { "Z1K1": "Z12", "Z12K1": [ "Z11", { "Z1K1": "Z11", "Z11K1": "Z1002", "Z11K2": "A date in the proleptic Gregorian calendar" }, { "Z1K1": "Z11", "Z11K1": "Z1004", "Z11K2": "une date dans le calendrier grégorien proleptique." }, { "Z1K1": "Z11", "Z11K1": "Z1011", "Z11K2": "গ্রেগরীয় বর্ষপঞ্জি অনুযায়ী কোনো তারিখ" }, { "Z1K1": "Z11", "Z11K1": "Z1430", "Z11K2": "Datum im proleptischen Gregorianischen Kalender" }, { "Z1K1": "Z11", "Z11K1": "Z1332", "Z11K2": "Дата в пролептичному григоріанському календарі" }, { "Z1K1": "Z11", "Z11K1": "Z1664", "Z11K2": "O dată în calendarul proleptic gregorian " }, { "Z1K1": "Z11", "Z11K1": "Z1643", "Z11K2": "태양력 그레고리력의 날짜" }, { "Z1K1": "Z11", "Z11K1": "Z1787", "Z11K2": "Una data nel calendario Gregoriano prolettico" }, { "Z1K1": "Z11", "Z11K1": "Z1381", "Z11K2": "Uma data no calendário proléptico gregoriano" } ] } } aopzjr1i7yncovamrnfknq0fjpba3up Z20421 0 43802 191056 184715 2025-06-04T05:52:40Z Eduardogobi 2982 191056 zobject text/plain { "Z1K1": "Z2", "Z2K1": { "Z1K1": "Z6", "Z6K1": "Z20421" }, "Z2K2": { "Z1K1": "Z8", "Z8K1": [ "Z17", { "Z1K1": "Z17", "Z17K1": "Z20420", "Z17K2": "Z20421K1", "Z17K3": { "Z1K1": "Z12", "Z12K1": [ "Z11", { "Z1K1": "Z11", "Z11K1": "Z1002", "Z11K2": "date" }, { "Z1K1": "Z11", "Z11K1": "Z1004", "Z11K2": "date" }, { "Z1K1": "Z11", "Z11K1": "Z1787", "Z11K2": "data" }, { "Z1K1": "Z11", "Z11K1": "Z1430", "Z11K2": "Datum" }, { "Z1K1": "Z11", "Z11K1": "Z1381", "Z11K2": "data" } ] } } ], "Z8K2": "Z17402", "Z8K3": [ "Z20", "Z20422" ], "Z8K4": [ "Z14", "Z20439", "Z20425", "Z20423" ], "Z8K5": "Z20421" }, "Z2K3": { "Z1K1": "Z12", "Z12K1": [ "Z11", { "Z1K1": "Z11", "Z11K1": "Z1002", "Z11K2": "day of the week" }, { "Z1K1": "Z11", "Z11K1": "Z1005", "Z11K2": "день недели" }, { "Z1K1": "Z11", "Z11K1": "Z1004", "Z11K2": "jour de la semaine à partir d'une date" }, { "Z1K1": "Z11", "Z11K1": "Z1787", "Z11K2": "giorno della settimana" }, { "Z1K1": "Z11", "Z11K1": "Z1827", "Z11K2": "ημέρα της εβδομάδας σε δεδομένη ημερομηνία" }, { "Z1K1": "Z11", "Z11K1": "Z1430", "Z11K2": "Tag der Woche" }, { "Z1K1": "Z11", "Z11K1": "Z1381", "Z11K2": "dia da semana" } ] }, "Z2K4": { "Z1K1": "Z32", "Z32K1": [ "Z31" ] }, "Z2K5": { "Z1K1": "Z12", "Z12K1": [ "Z11", { "Z1K1": "Z11", "Z11K1": "Z1002", "Z11K2": "Given a date in the Gregorian proleptic calendar, what day of the week is that day?" }, { "Z1K1": "Z11", "Z11K1": "Z1004", "Z11K2": "étant donné une date dans le calendrier proleptique grégorien, quel jour de la semaine est ce jour ?" }, { "Z1K1": "Z11", "Z11K1": "Z1787", "Z11K2": "Data una data Gregoriana, restituisce il corrispondente giorno della settimana" }, { "Z1K1": "Z11", "Z11K1": "Z1827", "Z11K2": "ποια μέρα της εβδομάδας αντιστοιχεί σε μια συγκεκριμένη ημερομηνία" }, { "Z1K1": "Z11", "Z11K1": "Z1430", "Z11K2": "Angenommen, es sei ein Tag im gregorianischen proleptischen Kalender gegeben, welcher Wochentag ist dieser Tag?" }, { "Z1K1": "Z11", "Z11K1": "Z1381", "Z11K2": "Dada uma data no calendário proléptico gregoriano, que dia da semana é esse dia?" } ] } } budm1sv8xsdmnj39adh79kka4zqotry Wikifunctions:Embedded function calls/sandbox 4 55081 191089 189795 2025-06-04T10:21:47Z DVrandecic (WMF) 7 191089 wikitext text/x-wiki Demonstration / sandbox page: {{#function:Z10018|This is a bit shouty}} {{#function:Z20756|31-05-1985|31-05-2025}} {{#function:Z11022|1234}} 10 miles is {{#function:Z18428|10}} kilometers. Tomorrow will be {{#function:Z20440|}} The population density of New York City is {{#function:Z22322|8,478,072|778.2}} per km<sup>2</sup> 20<sup>2 =</sup> {{#function:Z13663|20}} Age of someone born in January 2001: {{#function:Z20756|Jan 15 2001|}} The month following May is {{#function:Z16136|Z16105}} [[Category:Pages with Wikifunctions calls]] a7593ovetznmwc6pw47nokq9bx85wl6 Talk:Z20420 1 55860 191090 184324 2025-06-04T10:42:46Z DVrandecic (WMF) 7 /* Wikifunction challenges in Dagbani Wikipedia */ Reply 191090 wikitext text/x-wiki == Wikifunction challenges in Dagbani Wikipedia == I have been trying to add age using Wikifunction to an article but is not working. I have tried all the parameters including the one i used on the research day. Even on the research day it was only this format (30-04-2025) that was working and it will have be good if all forms of entering a date could have be workable. Thank you [[User:Kalakpagh|Kalakpagh]] ([[User talk:Kalakpagh|talk]]) 16:47, 30 April 2025 (UTC) :@[[User:Kalakpagh|Kalakpagh]] Hi, thanks for your report! The [[Z20808|read function]] has been updated since (particularly [[Z23990|here]]). Can you check whether it works now? If not, please let us know. --[[User:DVrandecic (WMF)|DVrandecic (WMF)]] ([[User talk:DVrandecic (WMF)|talk]]) 10:42, 4 June 2025 (UTC) debzg5e1morwl97htydihqzt32mfhdu Wikifunctions:Type proposals/Wikidata geocoordinates 4 56628 191028 190833 2025-06-04T00:00:50Z DMartin (WMF) 24 /* Discussion */ Reply 191028 wikitext text/x-wiki == Summary == This type is modeled after Wikidata's [https://www.mediawiki.org/wiki/Wikibase/DataModel#Geographic_locations geocoordinates] datatype, and will support the import of all values of that type from Wikidata into Wikifunctions. We acknowledge and draw upon an earlier type proposal, [[Wikifunctions:Type_proposals/Wikidata_value#Geographic_coordinate|Geographic coordinate]], with similar objectives. == Uses == * ''Why should this exist?'' Wikidata contains many statements with values of the [https://www.mediawiki.org/wiki/Wikibase/DataModel#Geographic_locations geocoordinates] datatype. A wide variety of Wikifunctions will be able to make use of these values, and this type will enable Wikifunctions to import these values from Wikidata. * ''What kinds of functions would be created using this?'' Many kinds, including in particular functions that are called from Wikipedias and other MediaWiki projects to provide [https://www.mediawiki.org/wiki/Wikibase/DataModel#Geographic_locations geocoordinates] values (or content computed from them), and Abstract Wikipedia functions that generate statements, paragraphs, and articles containing these values. * ''What standard concepts, if any, does this align with?'' Wikidata's [https://www.mediawiki.org/wiki/Wikibase/DataModel#Geographic_locations geocoordinates] datatype. == Structure == '''''Wikidata geocoordinates''''' has these 4 keys, shown with proposed English labels: * <code>K1/latitude</code>, of type [[Z19677|Rational number]]. * <code>K2/longitude</code>, of an enum type [[Z19677|Rational number]]. * <code>K3/precision</code>, of type [[Z19677|Rational number]], representing degrees of distance. * <code>K4/globe</code>, of type [[Z6091|Wikidata item reference]]. === Example values === TBD {|class="wikitable" style="margin:.6em 1.6em" |- | <syntaxhighlight lang="json" line="line">{   "type": "…", "value": "…" }</syntaxhighlight> | <syntaxhighlight lang="json">{   "Z1K1": "Zxyz", "ZxyzK1": "…" }</syntaxhighlight> |} == Validator == The '''Wikidata geocoordinates''' validator checks that: * The value of <code>K1/latitude</code> is a valid ''Rational number'' in an appropriate range of values. * The value of <code>K2/longitude</code> is a valid ''Rational number'' in an appropriate range of values. * The value of <code>K3/precision</code> is a valid ''Rational number'' in an appropriate range of values. * The value of <code>K4/globe</code> is a valid instance of [[Z6091|Wikidata item reference]]. (In most cases, per Wikidata practice, its value will be the Wikidata item reference for Q2, the Earth, which means WGS84.) == Identity == For each of the above types''':''' * Two instances are the same if they have equal values for each of their keys. Equality of those values, in turn, is specified by the definitions & documentation of their respective types. == Converting to code == === Python === We expect to get started by relying on the existing default conversion strategy; something more sophisticated could come later if needed. === JavaScript === We expect to get started by relying on the existing default conversion strategy; something more sophisticated could come later if needed. == Display function == ''How would a value of this type be displayed on Wikifunctions'' …TBD == Read function == ''When entering a value for this type as a string, what format should that string have?'' …TBD == Open questions == == Alternatives == ''In order to capture the idea presented in the summary, what alternative structures, display functions, read functions, etc. could have made sense too?'' * Regarding <code>K4/globe</code>, it would be possible to create a "lightweight enum type", but we have an estimate (from Denny) of about 20 different globes currently in use in Wikidata, and we believe that many elements would make the enum type a bit unwieldy. Also, would like to avoid the maintenance overhead as additional globes get used over time. == Comments == ''For general comments, please reply to the proposer, or use the ''Discussion'' section below.'' * {{s}} as proposer. --[[User:DMartin (WMF)|DMartin (WMF)]] ([[User talk:DMartin (WMF)|talk]]) 06:11, 23 May 2025 (UTC) * {{s}} strong support obviously (functions can be connected to Wikidata so we should support Wikidata types) with a warning to be careful about precision and it's representation (it has been and still is a source of many problem on the Wikidata side). Cheers, [[User:VIGNERON|VIGNERON]] ([[User talk:VIGNERON|talk]]) 16:11, 1 June 2025 (UTC) * … == Discussion == * A couple months ago, I drafted [[WF:Type proposals/Position on Earth]] with some idea of potential geospatial use-cases but a limited understanding of the Wikidata type. The main differences from this proposal are the lack of a <code>globe</code> key (Earth assumed, per my suggested name), and the addition of an <code>altitude</code> key. I think it could easily be adapted to use this type as a component, if there's a need for a position type that includes altitude. [[User:YoshiRulz|YoshiRulz]] ([[User talk:YoshiRulz|talk]]) 22:36, 23 May 2025 (UTC) *:Thanks for mentioning! Such an adaptation sounds reasonable to me. Let's keep this in mind. Feel free to adapt the proposal, but it would make sense to wait until this type is published; that's expected by the end of the month. [[User:DMartin (WMF)|DMartin (WMF)]] ([[User talk:DMartin (WMF)|talk]]) 00:00, 4 June 2025 (UTC) h7nws024d6ojivp5splcssylsqgaiqa Wikifunctions:Type proposals/Wikidata quantity 4 56635 191030 190910 2025-06-04T04:37:42Z DMartin (WMF) 24 191030 wikitext text/x-wiki == Summary == This type is modeled after Wikidata's [https://www.mediawiki.org/wiki/Wikibase/DataModel#Quantities quantity] datatype, and will support the import of all values of that type from Wikidata into Wikifunctions. We acknowledge and draw upon an earlier type proposal, [[Wikifunctions:Type_proposals/Wikidata_value#Quantity|Quantity]], with similar objectives. == Uses == * ''Why should this exist?'' Wikidata contains many statements with values of the [https://www.mediawiki.org/wiki/Wikibase/DataModel#Quantities quantity] datatype. A wide variety of Wikifunctions use cases will be able to make use of these values, and this type will enable Wikifunctions to import these values from Wikidata. * ''What kinds of functions would be created using this?'' Many kinds, including in particular functions that are called from Wikipedias and other MediaWiki projects to provide [https://www.mediawiki.org/wiki/Wikibase/DataModel#Quantities quantity] values (or content computed from them), and Abstract Wikipedia functions that generate statements, paragraphs, and articles containing these values. * ''What standard concepts, if any, does this align with?'' Wikidata's [https://www.mediawiki.org/wiki/Wikibase/DataModel#Quantities quantity] datatype. == Structure == '''''Wikidata quantity''''' has these 4 keys, shown with proposed English labels: * <code>K1/amount</code>, of type [[Z19677|Rational number]]. * <code>K2/lowerBound</code>, of type [[Z19677|Rational number]]. * <code>K3/upperBound</code>, of type [[Z19677|Rational number]]. * <code>K4/unit</code>, of type [[Z6091|Wikidata item reference]]. === Optionality === Wikidata's [https://www.mediawiki.org/wiki/Wikibase/DataModel#Quantities quantity] documentation states that the <code>K2/lowerBound</code> and <code>K3/upperBound</code> properties are ''optional''. Wikifunctions does not currently have an ability to declare keys as optional. When importing a [https://www.mediawiki.org/wiki/Wikibase/DataModel#Quantities quantity] value, if either <code>lowerBound</code> or <code>upperBound</code>is missing, Wikifunctions will assign the value of [https://www.wikifunctions.org/view/en/Z24 Z24/void] to <code>K2/lowerBound</code> or <code>K3/upperBound</code>, respectively. If there is no unit stated (e.g., the quantity is just a number), Wikifunctions will use a [[Z6091|Wikidata item reference]] containing the ID <code>Q199</code>, the ID for [https://www.wikidata.org/wiki/Q199 the Wikidata item representing the number 1]. === Example values === TBD {|class="wikitable" style="margin:.6em 1.6em" |- | <syntaxhighlight lang="json" line="line">{   "type": "…", "value": "…" }</syntaxhighlight> | <syntaxhighlight lang="json">{   "Z1K1": "Zxyz", "ZxyzK1": "…" }</syntaxhighlight> |} == Validator == The validator ensures that: * The value of <code>K1/amount</code> is a valid ''Rational number''. * The value of <code>K2/lowerBound</code> is a valid ''Rational number'', and is ≤ <code>K1/amount</code>. * The value of <code>K3/upperBound</code> is a valid ''Rational number'', and is ≥ <code>K1/amount</code>. * The value of <code>K4/unit</code> is a valid ''Wikidata item reference''. == Identity == * Two instances are the same if they have equal values for each of their keys. Equality of those values, in turn, is specified by the definitions & documentation of their respective types. == Converting to code == === Python === We expect to get started by relying on the existing default conversion strategy; something more sophisticated could come later if needed. === JavaScript === We expect to get started by relying on the existing default conversion strategy; something more sophisticated could come later if needed. == Display function == ''How would a value of this type be displayed on Wikifunctions'' …TBD == Read function == ''When entering a value for this type as a string, what format should that string have?'' …TBD == Alternatives == ''In order to capture the idea presented in the summary, what alternative structures, display functions, read functions, etc. could have made sense too?'' … Consider using {{Q|Q1618549}} or {{Q|Q3481047}} for values without units. --[[User:99of9|99of9]] ([[User talk:99of9|talk]]) 06:41, 23 May 2025 (UTC) :Thanks! Wasn't aware of that option. Will consider it, as suggested. [[User:DMartin (WMF)|DMartin (WMF)]] ([[User talk:DMartin (WMF)|talk]]) 03:19, 3 June 2025 (UTC) == Questions == * Is the value for unit, which comes back from Wikidata, always a URL for an item? Currently we are assuming it is, and always with a URL of the form http://www.wikidata.org/entity/Q12345. == Comments == ''For general comments, please reply to the proposer, or use the ''Discussion'' section below.'' * {{s}} as proposer. --[[User:DMartin (WMF)|DMartin (WMF)]] ([[User talk:DMartin (WMF)|talk]]) 06:10, 23 May 2025 (UTC) * :*I don’t favour the insertion of values for upper or lower bounds that have no value in Wikidata. As far as is practicable, the Wikifunctions representation should correspond exactly to what is present (or absent) on Wikidata. One possible alternative to consider is a non-standard representation of zero or K1/amount, so that the display function can display a blank instead. (In this context, “non-standard” would be an unsimplified Rational number with a denominator that is not a power of ten.) :**I completely agree. In fact the team discussed this yesterday and I am just about to update this page. We've decided when one of those properties is missing in Wikidata, we will indicate that by inserting the value Z24/Void in the ZObject. This will be handled as a special case for now, since we don't yet have a formal way of allowing for optional properties. Sound okay? [[User:DMartin (WMF)|DMartin (WMF)]] ([[User talk:DMartin (WMF)|talk]]) 16:54, 23 May 2025 (UTC) :*:Sounds right in principle, so long as Z24 is not interpreted as an error, as seems to be the case generally (see {{Z|Z17184}}, for example). [[User:GrounderUK|GrounderUK]] ([[User talk:GrounderUK|talk]]) 22:14, 23 May 2025 (UTC) :*The conversion of a Wikidata decimal to a Wikifunctions rational is ultimately worth while, but I worry about possibly losing the semantics of the original. I’m not 100.0000% convinced that 2.00, for example, always means the same thing (on Wikidata) as 2/1. I suggest that such a value should be represented as 200/100, so that the initial conversion from Wikidata is semantically lossless (I believe). :**Thanks for raising this point! I'll bring it up with the team and of course interested in comments from anyone else. [[User:DMartin (WMF)|DMartin (WMF)]] ([[User talk:DMartin (WMF)|talk]]) 16:54, 23 May 2025 (UTC) :[[User:GrounderUK|GrounderUK]] ([[User talk:GrounderUK|talk]]) 10:07, 23 May 2025 (UTC) * {{s}} strong support obviously (functions can be connected to Wikidata so we should support Wikidata types) and I'm not sure to understand the point above about the bounds. Cheers, [[User:VIGNERON|VIGNERON]] ([[User talk:VIGNERON|talk]]) 16:10, 1 June 2025 (UTC) … == Discussion == cwvb5fr9yucf6iphsux9o0e8j8d9ejs Z1970 0 57545 191022 190937 2025-06-03T14:28:40Z Eduardogobi 2982 191022 zobject text/plain { "Z1K1": "Z2", "Z2K1": { "Z1K1": "Z6", "Z6K1": "Z1970" }, "Z2K2": { "Z1K1": "Z60", "Z60K1": "qxp" }, "Z2K3": { "Z1K1": "Z12", "Z12K1": [ "Z11", { "Z1K1": "Z11", "Z11K1": "Z1002", "Z11K2": "Puno Quechua" }, { "Z1K1": "Z11", "Z11K1": "Z1970", "Z11K2": "Punu qhichwa" }, { "Z1K1": "Z11", "Z11K1": "Z1430", "Z11K2": "Puno Quechua" }, { "Z1K1": "Z11", "Z11K1": "Z1381", "Z11K2": "quíchua punenho" } ] }, "Z2K4": { "Z1K1": "Z32", "Z32K1": [ "Z31" ] }, "Z2K5": { "Z1K1": "Z12", "Z12K1": [ "Z11" ] } } 7f85f74r3i7tncw2j8qlnegewc498he Wikifunctions:Status updates/2025-05-29/pt-br 4 57614 191001 190650 2025-06-03T14:21:28Z Eduardogobi 2982 Created page with "Estamos planejando trabalhar em dois outros tipos para obter valores padrão: uma [[$1|referência de itens do Wikidata]] para definir o item conectado a uma determinada página (se houver) e o [[$2|idioma]] de uma determinada página. Ambos podem ser usados em chamadas de função para adaptar a chamada de função a uma determinada página. Espera-se que esses recursos sejam desenvolvidos e implantados ainda este ano." 191001 wikitext text/x-wiki <languages/> {{Wikifunctions updates | prevlabel = Atualização anterior | prev = 2025-05-23 | nextlabel = Próxima atualização | next = }} <span id="Rolling_out_embedded_function_calls_to_five_Wiktionaries"></span> === Implementando chamadas de função incorporadas em cinco Wikcionários === <div lang="en" dir="ltr" class="mw-content-ltr"> We have rolled out embedded function calls to a first set of Wiktionary projects: [[:ha:wikt:|Hausa]], [[:ig:wikt:|Igbo]], [[:ml:wikt:|Malayalam]], [[:bn:wikt:|Bengali]], and [[:dv:wikt:|Divehi Wiktionary]]. These represent [[:meta:Special:MyLanguage/Abstract Wikipedia/Updates/2021-04-15|the focus languages]] that have a Wiktionary (that is, all but Dagbani), and in addition one right-to-left language, Divehi. This also represents a rough doubling of pageviews to wikis with embedded function calls, following our plan for a careful roll-out to the projects. </div> Como antes, pedimos que as pessoas se contenham e contribuam para esses projetos somente se forem ou quiserem se tornar membros da comunidade em questão. '''Não use nenhuma dessas wikis como bancos de testes.''' Você pode usar a [[Wikifunctions:Embedded function calls/sandbox|caixa de areia de chamadas do Wikifunctions]] para isso. Leia a [[Special:MyLanguage/Wikifunctions:Embedded function calls|documentação sobre a incorporação de chamadas de função]] no Wikifunctions. Mudamos nossa implementação para nos concentrarmos nos Wikcionários por enquanto, em vez das Wikipédias. Essa mudança foi feita para seguir a [[:mw:Special:MyLanguage/Parsoid/Deployments|implementação do Parsoid]], da qual dependem as chamadas de função incorporadas. Voltaremos às Wikipédias provavelmente ainda este ano. Nos próximos meses, estamos planejando a implementação em muitos outros Wikcionários. Isso permitirá que as comunidades do Wikcionário trabalhem em funções que sejam úteis nos diferentes projetos do Wikcionário. Isso pode incluir as já existentes [[:meta:Special:MyLanguage/Abstract Wikipedia/Updates/2023-09-08|funções morfológicas]] (''p. ex.'', o [[Z11089|plural regular]] de ''house'' sendo ''{{#function:Z11089|house}}''), ou funções como esta que lista as [[Z24676|três formas verbais principais de um verbo em inglês]], ''p. ex.'' ''{{#function:Z24687|L3366}}''. No momento, estamos limitados a saídas (''outputs'') de cadeias de caracteres simples no que pode ser incorporado em páginas, mas planejamos permitir alguma formatação ainda este ano, com o objetivo de criar tabelas de conjugação completas, que poderiam ser reutilizadas em muitas edições de idiomas diferentes de projetos do Wikcionário. Até lá, estamos curiosos para saber que tipo de funções vocês estarão criando a partir de agora! <span id="Calculating_with_today’s_date"></span> === Calculando com a data de hoje === <div lang="en" dir="ltr" class="mw-content-ltr"> Hello on this lovely {{#function:Z20421|}}. It is {{#function:Z20744||6 August 2025}} days until [[:wikimania:Special:MyLanguage/2025:Wikimania|Wikimania 2025]]! </div> Se você estiver lendo este texto na página wiki em que foi publicado, o dia da semana e o número de dias na frase anterior serão atualizados automaticamente à medida que nos aproximarmos da Wikimania (se você estiver lendo este texto em um e-mail, isso não funcionará — ainda não há integração das chamadas de função do Wikifunctions em e-mails, e nem está planejada). Um novo recurso ao incorporar chamadas de função em páginas wiki permite que você deixe o valor de uma [[Z20420|data do calendário gregoriano]] vazio. Se fizer isso, o valor será automaticamente definido para o dia atual quando a página for acessada (de acordo com o fuso horário da wiki). Isso permite todos os tipos de resultados dinâmicos: você pode retornar a [[Z20756|idade]] de uma pessoa ou instituição, o [[Z20421|dia da semana]] atual, a [[Z20741|distância da Lua]] de hoje e muito mais. Para usar esse recurso, basta deixar o valor vazio. Sinta-se à vontade para experimentá-lo na [[Wikifunctions:Embedded function calls/sandbox|caixa de areia de chamadas incorporadas]]. Leia [[Special:MyLanguage/Wikifunctions:Embedded function calls|mais documentação sobre como usar chamadas de função incorporadas]] em wikis que tenham essa opção ativada. Estamos planejando trabalhar em dois outros tipos para obter valores padrão: uma [[Z6091|referência de itens do Wikidata]] para definir o item conectado a uma determinada página (se houver) e o [[Z60|idioma]] de uma determinada página. Ambos podem ser usados em chamadas de função para adaptar a chamada de função a uma determinada página. Espera-se que esses recursos sejam desenvolvidos e implantados ainda este ano. <div lang="en" dir="ltr" class="mw-content-ltr"> Please let us know if you find any issues with the new feature. </div> <div lang="en" dir="ltr" class="mw-content-ltr"> === Presentation at Wikidata and Sister Projects event === </div> <div lang="en" dir="ltr" class="mw-content-ltr"> 29 May–1 June 2025 will be the [[:d:Special:MyLanguage/Event:Wikidata and Sister Projects|Wikidata and Sister Projects]] event. [[User:DMartin (WMF)|David Martin]] and [[User:Sannita (WMF)|Luca Martinelli]] are going to present about how Wikidata powers language functions on Wikifunctions and more, on [https://zonestamp.toolforge.org/1748539800 29 May at 17:30 UTC] (that is, today). </div> <div lang="en" dir="ltr" class="mw-content-ltr"> You can learn more about the event on the [[:d:Special:MyLanguage/Event:Wikidata and Sister Projects|Wikidata and Sister Projects event page]]. </div> <div lang="en" dir="ltr" class="mw-content-ltr"> === Recent Changes in the software === </div> <div lang="en" dir="ltr" class="mw-content-ltr"> Last week, as discussed above, we finished one of our planned Quarterly pieces of work, and also a number of pieces of others. </div> <div lang="en" dir="ltr" class="mw-content-ltr"> For the 'light-weight enums' work ([[:phab:T390558|T390558]]), we have added an interface ([[:phab:T391918|T391918]]) and special rights for creating and editing them ([[:phab:T391913|T391913]] and [[:phab:T391914|T391914]]); for now, like with Types, we're holding them back only for staff, but we will expand their access later. To make the creation and editing tools possible, we also re-designed our tests for what kinds of edits and creations are allowed to be more flexible. There's still more to do here before we call this complete, but we should be able to demonstrate it on-wiki shortly. </div> <div lang="en" dir="ltr" class="mw-content-ltr"> Within our performance strand of work this Quarter, we're working to add better caching to the orchestrator. We have added the functionality to the MediaWiki side of the code to trigger this new behaviour ([[:phab:T391971|T391971]]). Soon, we will wire it together, and measure and report on the impact. </div> <div lang="en" dir="ltr" class="mw-content-ltr"> Following-up on a wide-ranging set of issues that [[User:99of9|User:99of9]] found when running Test cases, we added some regression tests related to different valid 'shapes' of Language objects ([[:phab:T391329|T391329]]). </div> <div lang="en" dir="ltr" class="mw-content-ltr"> As part of Wikimedia-wide support, we have added a new Language, [[Z1970|Z1970/qxp]] ([[:phab:T394068|T394068]]). </div> <div lang="en" dir="ltr" class="mw-content-ltr"> === Ongoing consultation about Location of Abstract Content === </div> <div lang="en" dir="ltr" class="mw-content-ltr"> Thanks to everyone who participated in the consultation about the [[:meta:Special:MyLanguage/Abstract Wikipedia/Location of Abstract Content|Location for Abstract Content]] so far! The consultation will continue for another two weeks. We try to keep answering questions by and participating in the consultation with the community. </div> <div lang="en" dir="ltr" class="mw-content-ltr"> Personally, I found the arguments thought-provoking, and I find myself changing my own position as I read about new ideas and considerations I haven’t had before. I am planning to add a current state of my thinking next week. So keep the ideas and arguments going! </div> <div lang="en" dir="ltr" class="mw-content-ltr"> === News in Types === </div> <div lang="en" dir="ltr" class="mw-content-ltr"> The [[Z86|Unicode code point]] type has been set up with a [[Z23041|read]] and [[Z24823|display]] function, thus improving the UX on Wikifunctions and also allowing Functions using this Type to be used in embedded calls. Thanks to [[User:99of9|User:99of9]] for shepherding this improvement and for working on the read and display functions. </div> <div lang="en" dir="ltr" class="mw-content-ltr"> For our current work to support import of more Wikidata content ([[:phab:T390559|T390559]]), discussions on three new types proposals are ongoing: [[Wikifunctions:Type proposals/Wikidata time|Wikidata time]], [[Wikifunctions:Type proposals/Wikidata quantity|Wikidata quantity]], and [[Wikifunctions:Type proposals/Wikidata geocoordinates|Wikidata geocoordinates]]. Comments are welcome! </div> <div lang="en" dir="ltr" class="mw-content-ltr"> === Fresh Functions weekly: 17 new Functions === </div> <div lang="en" dir="ltr" class="mw-content-ltr"> This week we had 17 new functions. Here are some of the functions with implementations and passing tests to get a taste of what functions have been created. Thanks everybody for contributing! </div> * {{Z|Z24736}} * {{Z|Z24749}} * {{Z|Z24757}} * {{Z|Z24809}} * {{Z|Z24823}} <div lang="en" dir="ltr" class="mw-content-ltr"> A [https://www.wikifunctions.org/wiki/Special:ListObjectsByType?type=Z8&orderby=latest complete list of all functions sorted by when they were created] is available. </div> [[Category:Status updates{{#translation:}}|2025-05-29]] me1f8ds4hnxlmw58fjf1p9899fjikmg 191003 191001 2025-06-03T14:21:39Z Eduardogobi 2982 Created page with "Informe-nos se encontrar algum problema com o novo recurso." 191003 wikitext text/x-wiki <languages/> {{Wikifunctions updates | prevlabel = Atualização anterior | prev = 2025-05-23 | nextlabel = Próxima atualização | next = }} <span id="Rolling_out_embedded_function_calls_to_five_Wiktionaries"></span> === Implementando chamadas de função incorporadas em cinco Wikcionários === <div lang="en" dir="ltr" class="mw-content-ltr"> We have rolled out embedded function calls to a first set of Wiktionary projects: [[:ha:wikt:|Hausa]], [[:ig:wikt:|Igbo]], [[:ml:wikt:|Malayalam]], [[:bn:wikt:|Bengali]], and [[:dv:wikt:|Divehi Wiktionary]]. These represent [[:meta:Special:MyLanguage/Abstract Wikipedia/Updates/2021-04-15|the focus languages]] that have a Wiktionary (that is, all but Dagbani), and in addition one right-to-left language, Divehi. This also represents a rough doubling of pageviews to wikis with embedded function calls, following our plan for a careful roll-out to the projects. </div> Como antes, pedimos que as pessoas se contenham e contribuam para esses projetos somente se forem ou quiserem se tornar membros da comunidade em questão. '''Não use nenhuma dessas wikis como bancos de testes.''' Você pode usar a [[Wikifunctions:Embedded function calls/sandbox|caixa de areia de chamadas do Wikifunctions]] para isso. Leia a [[Special:MyLanguage/Wikifunctions:Embedded function calls|documentação sobre a incorporação de chamadas de função]] no Wikifunctions. Mudamos nossa implementação para nos concentrarmos nos Wikcionários por enquanto, em vez das Wikipédias. Essa mudança foi feita para seguir a [[:mw:Special:MyLanguage/Parsoid/Deployments|implementação do Parsoid]], da qual dependem as chamadas de função incorporadas. Voltaremos às Wikipédias provavelmente ainda este ano. Nos próximos meses, estamos planejando a implementação em muitos outros Wikcionários. Isso permitirá que as comunidades do Wikcionário trabalhem em funções que sejam úteis nos diferentes projetos do Wikcionário. Isso pode incluir as já existentes [[:meta:Special:MyLanguage/Abstract Wikipedia/Updates/2023-09-08|funções morfológicas]] (''p. ex.'', o [[Z11089|plural regular]] de ''house'' sendo ''{{#function:Z11089|house}}''), ou funções como esta que lista as [[Z24676|três formas verbais principais de um verbo em inglês]], ''p. ex.'' ''{{#function:Z24687|L3366}}''. No momento, estamos limitados a saídas (''outputs'') de cadeias de caracteres simples no que pode ser incorporado em páginas, mas planejamos permitir alguma formatação ainda este ano, com o objetivo de criar tabelas de conjugação completas, que poderiam ser reutilizadas em muitas edições de idiomas diferentes de projetos do Wikcionário. Até lá, estamos curiosos para saber que tipo de funções vocês estarão criando a partir de agora! <span id="Calculating_with_today’s_date"></span> === Calculando com a data de hoje === <div lang="en" dir="ltr" class="mw-content-ltr"> Hello on this lovely {{#function:Z20421|}}. It is {{#function:Z20744||6 August 2025}} days until [[:wikimania:Special:MyLanguage/2025:Wikimania|Wikimania 2025]]! </div> Se você estiver lendo este texto na página wiki em que foi publicado, o dia da semana e o número de dias na frase anterior serão atualizados automaticamente à medida que nos aproximarmos da Wikimania (se você estiver lendo este texto em um e-mail, isso não funcionará — ainda não há integração das chamadas de função do Wikifunctions em e-mails, e nem está planejada). Um novo recurso ao incorporar chamadas de função em páginas wiki permite que você deixe o valor de uma [[Z20420|data do calendário gregoriano]] vazio. Se fizer isso, o valor será automaticamente definido para o dia atual quando a página for acessada (de acordo com o fuso horário da wiki). Isso permite todos os tipos de resultados dinâmicos: você pode retornar a [[Z20756|idade]] de uma pessoa ou instituição, o [[Z20421|dia da semana]] atual, a [[Z20741|distância da Lua]] de hoje e muito mais. Para usar esse recurso, basta deixar o valor vazio. Sinta-se à vontade para experimentá-lo na [[Wikifunctions:Embedded function calls/sandbox|caixa de areia de chamadas incorporadas]]. Leia [[Special:MyLanguage/Wikifunctions:Embedded function calls|mais documentação sobre como usar chamadas de função incorporadas]] em wikis que tenham essa opção ativada. Estamos planejando trabalhar em dois outros tipos para obter valores padrão: uma [[Z6091|referência de itens do Wikidata]] para definir o item conectado a uma determinada página (se houver) e o [[Z60|idioma]] de uma determinada página. Ambos podem ser usados em chamadas de função para adaptar a chamada de função a uma determinada página. Espera-se que esses recursos sejam desenvolvidos e implantados ainda este ano. Informe-nos se encontrar algum problema com o novo recurso. <div lang="en" dir="ltr" class="mw-content-ltr"> === Presentation at Wikidata and Sister Projects event === </div> <div lang="en" dir="ltr" class="mw-content-ltr"> 29 May–1 June 2025 will be the [[:d:Special:MyLanguage/Event:Wikidata and Sister Projects|Wikidata and Sister Projects]] event. [[User:DMartin (WMF)|David Martin]] and [[User:Sannita (WMF)|Luca Martinelli]] are going to present about how Wikidata powers language functions on Wikifunctions and more, on [https://zonestamp.toolforge.org/1748539800 29 May at 17:30 UTC] (that is, today). </div> <div lang="en" dir="ltr" class="mw-content-ltr"> You can learn more about the event on the [[:d:Special:MyLanguage/Event:Wikidata and Sister Projects|Wikidata and Sister Projects event page]]. </div> <div lang="en" dir="ltr" class="mw-content-ltr"> === Recent Changes in the software === </div> <div lang="en" dir="ltr" class="mw-content-ltr"> Last week, as discussed above, we finished one of our planned Quarterly pieces of work, and also a number of pieces of others. </div> <div lang="en" dir="ltr" class="mw-content-ltr"> For the 'light-weight enums' work ([[:phab:T390558|T390558]]), we have added an interface ([[:phab:T391918|T391918]]) and special rights for creating and editing them ([[:phab:T391913|T391913]] and [[:phab:T391914|T391914]]); for now, like with Types, we're holding them back only for staff, but we will expand their access later. To make the creation and editing tools possible, we also re-designed our tests for what kinds of edits and creations are allowed to be more flexible. There's still more to do here before we call this complete, but we should be able to demonstrate it on-wiki shortly. </div> <div lang="en" dir="ltr" class="mw-content-ltr"> Within our performance strand of work this Quarter, we're working to add better caching to the orchestrator. We have added the functionality to the MediaWiki side of the code to trigger this new behaviour ([[:phab:T391971|T391971]]). Soon, we will wire it together, and measure and report on the impact. </div> <div lang="en" dir="ltr" class="mw-content-ltr"> Following-up on a wide-ranging set of issues that [[User:99of9|User:99of9]] found when running Test cases, we added some regression tests related to different valid 'shapes' of Language objects ([[:phab:T391329|T391329]]). </div> <div lang="en" dir="ltr" class="mw-content-ltr"> As part of Wikimedia-wide support, we have added a new Language, [[Z1970|Z1970/qxp]] ([[:phab:T394068|T394068]]). </div> <div lang="en" dir="ltr" class="mw-content-ltr"> === Ongoing consultation about Location of Abstract Content === </div> <div lang="en" dir="ltr" class="mw-content-ltr"> Thanks to everyone who participated in the consultation about the [[:meta:Special:MyLanguage/Abstract Wikipedia/Location of Abstract Content|Location for Abstract Content]] so far! The consultation will continue for another two weeks. We try to keep answering questions by and participating in the consultation with the community. </div> <div lang="en" dir="ltr" class="mw-content-ltr"> Personally, I found the arguments thought-provoking, and I find myself changing my own position as I read about new ideas and considerations I haven’t had before. I am planning to add a current state of my thinking next week. So keep the ideas and arguments going! </div> <div lang="en" dir="ltr" class="mw-content-ltr"> === News in Types === </div> <div lang="en" dir="ltr" class="mw-content-ltr"> The [[Z86|Unicode code point]] type has been set up with a [[Z23041|read]] and [[Z24823|display]] function, thus improving the UX on Wikifunctions and also allowing Functions using this Type to be used in embedded calls. Thanks to [[User:99of9|User:99of9]] for shepherding this improvement and for working on the read and display functions. </div> <div lang="en" dir="ltr" class="mw-content-ltr"> For our current work to support import of more Wikidata content ([[:phab:T390559|T390559]]), discussions on three new types proposals are ongoing: [[Wikifunctions:Type proposals/Wikidata time|Wikidata time]], [[Wikifunctions:Type proposals/Wikidata quantity|Wikidata quantity]], and [[Wikifunctions:Type proposals/Wikidata geocoordinates|Wikidata geocoordinates]]. Comments are welcome! </div> <div lang="en" dir="ltr" class="mw-content-ltr"> === Fresh Functions weekly: 17 new Functions === </div> <div lang="en" dir="ltr" class="mw-content-ltr"> This week we had 17 new functions. Here are some of the functions with implementations and passing tests to get a taste of what functions have been created. Thanks everybody for contributing! </div> * {{Z|Z24736}} * {{Z|Z24749}} * {{Z|Z24757}} * {{Z|Z24809}} * {{Z|Z24823}} <div lang="en" dir="ltr" class="mw-content-ltr"> A [https://www.wikifunctions.org/wiki/Special:ListObjectsByType?type=Z8&orderby=latest complete list of all functions sorted by when they were created] is available. </div> [[Category:Status updates{{#translation:}}|2025-05-29]] 1w6cwpevziqwvmc9cbuynv7n33dq798 191006 191003 2025-06-03T14:22:01Z Eduardogobi 2982 Created page with "=== Apresentação no evento “Wikidata e projetos irmãos” ===" 191006 wikitext text/x-wiki <languages/> {{Wikifunctions updates | prevlabel = Atualização anterior | prev = 2025-05-23 | nextlabel = Próxima atualização | next = }} <span id="Rolling_out_embedded_function_calls_to_five_Wiktionaries"></span> === Implementando chamadas de função incorporadas em cinco Wikcionários === <div lang="en" dir="ltr" class="mw-content-ltr"> We have rolled out embedded function calls to a first set of Wiktionary projects: [[:ha:wikt:|Hausa]], [[:ig:wikt:|Igbo]], [[:ml:wikt:|Malayalam]], [[:bn:wikt:|Bengali]], and [[:dv:wikt:|Divehi Wiktionary]]. These represent [[:meta:Special:MyLanguage/Abstract Wikipedia/Updates/2021-04-15|the focus languages]] that have a Wiktionary (that is, all but Dagbani), and in addition one right-to-left language, Divehi. This also represents a rough doubling of pageviews to wikis with embedded function calls, following our plan for a careful roll-out to the projects. </div> Como antes, pedimos que as pessoas se contenham e contribuam para esses projetos somente se forem ou quiserem se tornar membros da comunidade em questão. '''Não use nenhuma dessas wikis como bancos de testes.''' Você pode usar a [[Wikifunctions:Embedded function calls/sandbox|caixa de areia de chamadas do Wikifunctions]] para isso. Leia a [[Special:MyLanguage/Wikifunctions:Embedded function calls|documentação sobre a incorporação de chamadas de função]] no Wikifunctions. Mudamos nossa implementação para nos concentrarmos nos Wikcionários por enquanto, em vez das Wikipédias. Essa mudança foi feita para seguir a [[:mw:Special:MyLanguage/Parsoid/Deployments|implementação do Parsoid]], da qual dependem as chamadas de função incorporadas. Voltaremos às Wikipédias provavelmente ainda este ano. Nos próximos meses, estamos planejando a implementação em muitos outros Wikcionários. Isso permitirá que as comunidades do Wikcionário trabalhem em funções que sejam úteis nos diferentes projetos do Wikcionário. Isso pode incluir as já existentes [[:meta:Special:MyLanguage/Abstract Wikipedia/Updates/2023-09-08|funções morfológicas]] (''p. ex.'', o [[Z11089|plural regular]] de ''house'' sendo ''{{#function:Z11089|house}}''), ou funções como esta que lista as [[Z24676|três formas verbais principais de um verbo em inglês]], ''p. ex.'' ''{{#function:Z24687|L3366}}''. No momento, estamos limitados a saídas (''outputs'') de cadeias de caracteres simples no que pode ser incorporado em páginas, mas planejamos permitir alguma formatação ainda este ano, com o objetivo de criar tabelas de conjugação completas, que poderiam ser reutilizadas em muitas edições de idiomas diferentes de projetos do Wikcionário. Até lá, estamos curiosos para saber que tipo de funções vocês estarão criando a partir de agora! <span id="Calculating_with_today’s_date"></span> === Calculando com a data de hoje === <div lang="en" dir="ltr" class="mw-content-ltr"> Hello on this lovely {{#function:Z20421|}}. It is {{#function:Z20744||6 August 2025}} days until [[:wikimania:Special:MyLanguage/2025:Wikimania|Wikimania 2025]]! </div> Se você estiver lendo este texto na página wiki em que foi publicado, o dia da semana e o número de dias na frase anterior serão atualizados automaticamente à medida que nos aproximarmos da Wikimania (se você estiver lendo este texto em um e-mail, isso não funcionará — ainda não há integração das chamadas de função do Wikifunctions em e-mails, e nem está planejada). Um novo recurso ao incorporar chamadas de função em páginas wiki permite que você deixe o valor de uma [[Z20420|data do calendário gregoriano]] vazio. Se fizer isso, o valor será automaticamente definido para o dia atual quando a página for acessada (de acordo com o fuso horário da wiki). Isso permite todos os tipos de resultados dinâmicos: você pode retornar a [[Z20756|idade]] de uma pessoa ou instituição, o [[Z20421|dia da semana]] atual, a [[Z20741|distância da Lua]] de hoje e muito mais. Para usar esse recurso, basta deixar o valor vazio. Sinta-se à vontade para experimentá-lo na [[Wikifunctions:Embedded function calls/sandbox|caixa de areia de chamadas incorporadas]]. Leia [[Special:MyLanguage/Wikifunctions:Embedded function calls|mais documentação sobre como usar chamadas de função incorporadas]] em wikis que tenham essa opção ativada. Estamos planejando trabalhar em dois outros tipos para obter valores padrão: uma [[Z6091|referência de itens do Wikidata]] para definir o item conectado a uma determinada página (se houver) e o [[Z60|idioma]] de uma determinada página. Ambos podem ser usados em chamadas de função para adaptar a chamada de função a uma determinada página. Espera-se que esses recursos sejam desenvolvidos e implantados ainda este ano. Informe-nos se encontrar algum problema com o novo recurso. <span id="Presentation_at_Wikidata_and_Sister_Projects_event"></span> === Apresentação no evento “Wikidata e projetos irmãos” === <div lang="en" dir="ltr" class="mw-content-ltr"> 29 May–1 June 2025 will be the [[:d:Special:MyLanguage/Event:Wikidata and Sister Projects|Wikidata and Sister Projects]] event. [[User:DMartin (WMF)|David Martin]] and [[User:Sannita (WMF)|Luca Martinelli]] are going to present about how Wikidata powers language functions on Wikifunctions and more, on [https://zonestamp.toolforge.org/1748539800 29 May at 17:30 UTC] (that is, today). </div> <div lang="en" dir="ltr" class="mw-content-ltr"> You can learn more about the event on the [[:d:Special:MyLanguage/Event:Wikidata and Sister Projects|Wikidata and Sister Projects event page]]. </div> <div lang="en" dir="ltr" class="mw-content-ltr"> === Recent Changes in the software === </div> <div lang="en" dir="ltr" class="mw-content-ltr"> Last week, as discussed above, we finished one of our planned Quarterly pieces of work, and also a number of pieces of others. </div> <div lang="en" dir="ltr" class="mw-content-ltr"> For the 'light-weight enums' work ([[:phab:T390558|T390558]]), we have added an interface ([[:phab:T391918|T391918]]) and special rights for creating and editing them ([[:phab:T391913|T391913]] and [[:phab:T391914|T391914]]); for now, like with Types, we're holding them back only for staff, but we will expand their access later. To make the creation and editing tools possible, we also re-designed our tests for what kinds of edits and creations are allowed to be more flexible. There's still more to do here before we call this complete, but we should be able to demonstrate it on-wiki shortly. </div> <div lang="en" dir="ltr" class="mw-content-ltr"> Within our performance strand of work this Quarter, we're working to add better caching to the orchestrator. We have added the functionality to the MediaWiki side of the code to trigger this new behaviour ([[:phab:T391971|T391971]]). Soon, we will wire it together, and measure and report on the impact. </div> <div lang="en" dir="ltr" class="mw-content-ltr"> Following-up on a wide-ranging set of issues that [[User:99of9|User:99of9]] found when running Test cases, we added some regression tests related to different valid 'shapes' of Language objects ([[:phab:T391329|T391329]]). </div> <div lang="en" dir="ltr" class="mw-content-ltr"> As part of Wikimedia-wide support, we have added a new Language, [[Z1970|Z1970/qxp]] ([[:phab:T394068|T394068]]). </div> <div lang="en" dir="ltr" class="mw-content-ltr"> === Ongoing consultation about Location of Abstract Content === </div> <div lang="en" dir="ltr" class="mw-content-ltr"> Thanks to everyone who participated in the consultation about the [[:meta:Special:MyLanguage/Abstract Wikipedia/Location of Abstract Content|Location for Abstract Content]] so far! The consultation will continue for another two weeks. We try to keep answering questions by and participating in the consultation with the community. </div> <div lang="en" dir="ltr" class="mw-content-ltr"> Personally, I found the arguments thought-provoking, and I find myself changing my own position as I read about new ideas and considerations I haven’t had before. I am planning to add a current state of my thinking next week. So keep the ideas and arguments going! </div> <div lang="en" dir="ltr" class="mw-content-ltr"> === News in Types === </div> <div lang="en" dir="ltr" class="mw-content-ltr"> The [[Z86|Unicode code point]] type has been set up with a [[Z23041|read]] and [[Z24823|display]] function, thus improving the UX on Wikifunctions and also allowing Functions using this Type to be used in embedded calls. Thanks to [[User:99of9|User:99of9]] for shepherding this improvement and for working on the read and display functions. </div> <div lang="en" dir="ltr" class="mw-content-ltr"> For our current work to support import of more Wikidata content ([[:phab:T390559|T390559]]), discussions on three new types proposals are ongoing: [[Wikifunctions:Type proposals/Wikidata time|Wikidata time]], [[Wikifunctions:Type proposals/Wikidata quantity|Wikidata quantity]], and [[Wikifunctions:Type proposals/Wikidata geocoordinates|Wikidata geocoordinates]]. Comments are welcome! </div> <div lang="en" dir="ltr" class="mw-content-ltr"> === Fresh Functions weekly: 17 new Functions === </div> <div lang="en" dir="ltr" class="mw-content-ltr"> This week we had 17 new functions. Here are some of the functions with implementations and passing tests to get a taste of what functions have been created. Thanks everybody for contributing! </div> * {{Z|Z24736}} * {{Z|Z24749}} * {{Z|Z24757}} * {{Z|Z24809}} * {{Z|Z24823}} <div lang="en" dir="ltr" class="mw-content-ltr"> A [https://www.wikifunctions.org/wiki/Special:ListObjectsByType?type=Z8&orderby=latest complete list of all functions sorted by when they were created] is available. </div> [[Category:Status updates{{#translation:}}|2025-05-29]] jx371mejadcvvtorp8lh6338xkfj6ee 191008 191006 2025-06-03T14:22:35Z Eduardogobi 2982 Created page with "Saiba mais sobre o evento na página do evento [[$1|Wikidata e projetos irmãos]]." 191008 wikitext text/x-wiki <languages/> {{Wikifunctions updates | prevlabel = Atualização anterior | prev = 2025-05-23 | nextlabel = Próxima atualização | next = }} <span id="Rolling_out_embedded_function_calls_to_five_Wiktionaries"></span> === Implementando chamadas de função incorporadas em cinco Wikcionários === <div lang="en" dir="ltr" class="mw-content-ltr"> We have rolled out embedded function calls to a first set of Wiktionary projects: [[:ha:wikt:|Hausa]], [[:ig:wikt:|Igbo]], [[:ml:wikt:|Malayalam]], [[:bn:wikt:|Bengali]], and [[:dv:wikt:|Divehi Wiktionary]]. These represent [[:meta:Special:MyLanguage/Abstract Wikipedia/Updates/2021-04-15|the focus languages]] that have a Wiktionary (that is, all but Dagbani), and in addition one right-to-left language, Divehi. This also represents a rough doubling of pageviews to wikis with embedded function calls, following our plan for a careful roll-out to the projects. </div> Como antes, pedimos que as pessoas se contenham e contribuam para esses projetos somente se forem ou quiserem se tornar membros da comunidade em questão. '''Não use nenhuma dessas wikis como bancos de testes.''' Você pode usar a [[Wikifunctions:Embedded function calls/sandbox|caixa de areia de chamadas do Wikifunctions]] para isso. Leia a [[Special:MyLanguage/Wikifunctions:Embedded function calls|documentação sobre a incorporação de chamadas de função]] no Wikifunctions. Mudamos nossa implementação para nos concentrarmos nos Wikcionários por enquanto, em vez das Wikipédias. Essa mudança foi feita para seguir a [[:mw:Special:MyLanguage/Parsoid/Deployments|implementação do Parsoid]], da qual dependem as chamadas de função incorporadas. Voltaremos às Wikipédias provavelmente ainda este ano. Nos próximos meses, estamos planejando a implementação em muitos outros Wikcionários. Isso permitirá que as comunidades do Wikcionário trabalhem em funções que sejam úteis nos diferentes projetos do Wikcionário. Isso pode incluir as já existentes [[:meta:Special:MyLanguage/Abstract Wikipedia/Updates/2023-09-08|funções morfológicas]] (''p. ex.'', o [[Z11089|plural regular]] de ''house'' sendo ''{{#function:Z11089|house}}''), ou funções como esta que lista as [[Z24676|três formas verbais principais de um verbo em inglês]], ''p. ex.'' ''{{#function:Z24687|L3366}}''. No momento, estamos limitados a saídas (''outputs'') de cadeias de caracteres simples no que pode ser incorporado em páginas, mas planejamos permitir alguma formatação ainda este ano, com o objetivo de criar tabelas de conjugação completas, que poderiam ser reutilizadas em muitas edições de idiomas diferentes de projetos do Wikcionário. Até lá, estamos curiosos para saber que tipo de funções vocês estarão criando a partir de agora! <span id="Calculating_with_today’s_date"></span> === Calculando com a data de hoje === <div lang="en" dir="ltr" class="mw-content-ltr"> Hello on this lovely {{#function:Z20421|}}. It is {{#function:Z20744||6 August 2025}} days until [[:wikimania:Special:MyLanguage/2025:Wikimania|Wikimania 2025]]! </div> Se você estiver lendo este texto na página wiki em que foi publicado, o dia da semana e o número de dias na frase anterior serão atualizados automaticamente à medida que nos aproximarmos da Wikimania (se você estiver lendo este texto em um e-mail, isso não funcionará — ainda não há integração das chamadas de função do Wikifunctions em e-mails, e nem está planejada). Um novo recurso ao incorporar chamadas de função em páginas wiki permite que você deixe o valor de uma [[Z20420|data do calendário gregoriano]] vazio. Se fizer isso, o valor será automaticamente definido para o dia atual quando a página for acessada (de acordo com o fuso horário da wiki). Isso permite todos os tipos de resultados dinâmicos: você pode retornar a [[Z20756|idade]] de uma pessoa ou instituição, o [[Z20421|dia da semana]] atual, a [[Z20741|distância da Lua]] de hoje e muito mais. Para usar esse recurso, basta deixar o valor vazio. Sinta-se à vontade para experimentá-lo na [[Wikifunctions:Embedded function calls/sandbox|caixa de areia de chamadas incorporadas]]. Leia [[Special:MyLanguage/Wikifunctions:Embedded function calls|mais documentação sobre como usar chamadas de função incorporadas]] em wikis que tenham essa opção ativada. Estamos planejando trabalhar em dois outros tipos para obter valores padrão: uma [[Z6091|referência de itens do Wikidata]] para definir o item conectado a uma determinada página (se houver) e o [[Z60|idioma]] de uma determinada página. Ambos podem ser usados em chamadas de função para adaptar a chamada de função a uma determinada página. Espera-se que esses recursos sejam desenvolvidos e implantados ainda este ano. Informe-nos se encontrar algum problema com o novo recurso. <span id="Presentation_at_Wikidata_and_Sister_Projects_event"></span> === Apresentação no evento “Wikidata e projetos irmãos” === <div lang="en" dir="ltr" class="mw-content-ltr"> 29 May–1 June 2025 will be the [[:d:Special:MyLanguage/Event:Wikidata and Sister Projects|Wikidata and Sister Projects]] event. [[User:DMartin (WMF)|David Martin]] and [[User:Sannita (WMF)|Luca Martinelli]] are going to present about how Wikidata powers language functions on Wikifunctions and more, on [https://zonestamp.toolforge.org/1748539800 29 May at 17:30 UTC] (that is, today). </div> Saiba mais sobre o evento na página do evento [[:d:Special:MyLanguage/Event:Wikidata and Sister Projects|Wikidata e projetos irmãos]]. <div lang="en" dir="ltr" class="mw-content-ltr"> === Recent Changes in the software === </div> <div lang="en" dir="ltr" class="mw-content-ltr"> Last week, as discussed above, we finished one of our planned Quarterly pieces of work, and also a number of pieces of others. </div> <div lang="en" dir="ltr" class="mw-content-ltr"> For the 'light-weight enums' work ([[:phab:T390558|T390558]]), we have added an interface ([[:phab:T391918|T391918]]) and special rights for creating and editing them ([[:phab:T391913|T391913]] and [[:phab:T391914|T391914]]); for now, like with Types, we're holding them back only for staff, but we will expand their access later. To make the creation and editing tools possible, we also re-designed our tests for what kinds of edits and creations are allowed to be more flexible. There's still more to do here before we call this complete, but we should be able to demonstrate it on-wiki shortly. </div> <div lang="en" dir="ltr" class="mw-content-ltr"> Within our performance strand of work this Quarter, we're working to add better caching to the orchestrator. We have added the functionality to the MediaWiki side of the code to trigger this new behaviour ([[:phab:T391971|T391971]]). Soon, we will wire it together, and measure and report on the impact. </div> <div lang="en" dir="ltr" class="mw-content-ltr"> Following-up on a wide-ranging set of issues that [[User:99of9|User:99of9]] found when running Test cases, we added some regression tests related to different valid 'shapes' of Language objects ([[:phab:T391329|T391329]]). </div> <div lang="en" dir="ltr" class="mw-content-ltr"> As part of Wikimedia-wide support, we have added a new Language, [[Z1970|Z1970/qxp]] ([[:phab:T394068|T394068]]). </div> <div lang="en" dir="ltr" class="mw-content-ltr"> === Ongoing consultation about Location of Abstract Content === </div> <div lang="en" dir="ltr" class="mw-content-ltr"> Thanks to everyone who participated in the consultation about the [[:meta:Special:MyLanguage/Abstract Wikipedia/Location of Abstract Content|Location for Abstract Content]] so far! The consultation will continue for another two weeks. We try to keep answering questions by and participating in the consultation with the community. </div> <div lang="en" dir="ltr" class="mw-content-ltr"> Personally, I found the arguments thought-provoking, and I find myself changing my own position as I read about new ideas and considerations I haven’t had before. I am planning to add a current state of my thinking next week. So keep the ideas and arguments going! </div> <div lang="en" dir="ltr" class="mw-content-ltr"> === News in Types === </div> <div lang="en" dir="ltr" class="mw-content-ltr"> The [[Z86|Unicode code point]] type has been set up with a [[Z23041|read]] and [[Z24823|display]] function, thus improving the UX on Wikifunctions and also allowing Functions using this Type to be used in embedded calls. Thanks to [[User:99of9|User:99of9]] for shepherding this improvement and for working on the read and display functions. </div> <div lang="en" dir="ltr" class="mw-content-ltr"> For our current work to support import of more Wikidata content ([[:phab:T390559|T390559]]), discussions on three new types proposals are ongoing: [[Wikifunctions:Type proposals/Wikidata time|Wikidata time]], [[Wikifunctions:Type proposals/Wikidata quantity|Wikidata quantity]], and [[Wikifunctions:Type proposals/Wikidata geocoordinates|Wikidata geocoordinates]]. Comments are welcome! </div> <div lang="en" dir="ltr" class="mw-content-ltr"> === Fresh Functions weekly: 17 new Functions === </div> <div lang="en" dir="ltr" class="mw-content-ltr"> This week we had 17 new functions. Here are some of the functions with implementations and passing tests to get a taste of what functions have been created. Thanks everybody for contributing! </div> * {{Z|Z24736}} * {{Z|Z24749}} * {{Z|Z24757}} * {{Z|Z24809}} * {{Z|Z24823}} <div lang="en" dir="ltr" class="mw-content-ltr"> A [https://www.wikifunctions.org/wiki/Special:ListObjectsByType?type=Z8&orderby=latest complete list of all functions sorted by when they were created] is available. </div> [[Category:Status updates{{#translation:}}|2025-05-29]] 8wyvhaabtk32e3jhgvrncmc91lqxcrz 191010 191008 2025-06-03T14:22:46Z Eduardogobi 2982 Created page with "=== Mudanças recentes no ''software'' ===" 191010 wikitext text/x-wiki <languages/> {{Wikifunctions updates | prevlabel = Atualização anterior | prev = 2025-05-23 | nextlabel = Próxima atualização | next = }} <span id="Rolling_out_embedded_function_calls_to_five_Wiktionaries"></span> === Implementando chamadas de função incorporadas em cinco Wikcionários === <div lang="en" dir="ltr" class="mw-content-ltr"> We have rolled out embedded function calls to a first set of Wiktionary projects: [[:ha:wikt:|Hausa]], [[:ig:wikt:|Igbo]], [[:ml:wikt:|Malayalam]], [[:bn:wikt:|Bengali]], and [[:dv:wikt:|Divehi Wiktionary]]. These represent [[:meta:Special:MyLanguage/Abstract Wikipedia/Updates/2021-04-15|the focus languages]] that have a Wiktionary (that is, all but Dagbani), and in addition one right-to-left language, Divehi. This also represents a rough doubling of pageviews to wikis with embedded function calls, following our plan for a careful roll-out to the projects. </div> Como antes, pedimos que as pessoas se contenham e contribuam para esses projetos somente se forem ou quiserem se tornar membros da comunidade em questão. '''Não use nenhuma dessas wikis como bancos de testes.''' Você pode usar a [[Wikifunctions:Embedded function calls/sandbox|caixa de areia de chamadas do Wikifunctions]] para isso. Leia a [[Special:MyLanguage/Wikifunctions:Embedded function calls|documentação sobre a incorporação de chamadas de função]] no Wikifunctions. Mudamos nossa implementação para nos concentrarmos nos Wikcionários por enquanto, em vez das Wikipédias. Essa mudança foi feita para seguir a [[:mw:Special:MyLanguage/Parsoid/Deployments|implementação do Parsoid]], da qual dependem as chamadas de função incorporadas. Voltaremos às Wikipédias provavelmente ainda este ano. Nos próximos meses, estamos planejando a implementação em muitos outros Wikcionários. Isso permitirá que as comunidades do Wikcionário trabalhem em funções que sejam úteis nos diferentes projetos do Wikcionário. Isso pode incluir as já existentes [[:meta:Special:MyLanguage/Abstract Wikipedia/Updates/2023-09-08|funções morfológicas]] (''p. ex.'', o [[Z11089|plural regular]] de ''house'' sendo ''{{#function:Z11089|house}}''), ou funções como esta que lista as [[Z24676|três formas verbais principais de um verbo em inglês]], ''p. ex.'' ''{{#function:Z24687|L3366}}''. No momento, estamos limitados a saídas (''outputs'') de cadeias de caracteres simples no que pode ser incorporado em páginas, mas planejamos permitir alguma formatação ainda este ano, com o objetivo de criar tabelas de conjugação completas, que poderiam ser reutilizadas em muitas edições de idiomas diferentes de projetos do Wikcionário. Até lá, estamos curiosos para saber que tipo de funções vocês estarão criando a partir de agora! <span id="Calculating_with_today’s_date"></span> === Calculando com a data de hoje === <div lang="en" dir="ltr" class="mw-content-ltr"> Hello on this lovely {{#function:Z20421|}}. It is {{#function:Z20744||6 August 2025}} days until [[:wikimania:Special:MyLanguage/2025:Wikimania|Wikimania 2025]]! </div> Se você estiver lendo este texto na página wiki em que foi publicado, o dia da semana e o número de dias na frase anterior serão atualizados automaticamente à medida que nos aproximarmos da Wikimania (se você estiver lendo este texto em um e-mail, isso não funcionará — ainda não há integração das chamadas de função do Wikifunctions em e-mails, e nem está planejada). Um novo recurso ao incorporar chamadas de função em páginas wiki permite que você deixe o valor de uma [[Z20420|data do calendário gregoriano]] vazio. Se fizer isso, o valor será automaticamente definido para o dia atual quando a página for acessada (de acordo com o fuso horário da wiki). Isso permite todos os tipos de resultados dinâmicos: você pode retornar a [[Z20756|idade]] de uma pessoa ou instituição, o [[Z20421|dia da semana]] atual, a [[Z20741|distância da Lua]] de hoje e muito mais. Para usar esse recurso, basta deixar o valor vazio. Sinta-se à vontade para experimentá-lo na [[Wikifunctions:Embedded function calls/sandbox|caixa de areia de chamadas incorporadas]]. Leia [[Special:MyLanguage/Wikifunctions:Embedded function calls|mais documentação sobre como usar chamadas de função incorporadas]] em wikis que tenham essa opção ativada. Estamos planejando trabalhar em dois outros tipos para obter valores padrão: uma [[Z6091|referência de itens do Wikidata]] para definir o item conectado a uma determinada página (se houver) e o [[Z60|idioma]] de uma determinada página. Ambos podem ser usados em chamadas de função para adaptar a chamada de função a uma determinada página. Espera-se que esses recursos sejam desenvolvidos e implantados ainda este ano. Informe-nos se encontrar algum problema com o novo recurso. <span id="Presentation_at_Wikidata_and_Sister_Projects_event"></span> === Apresentação no evento “Wikidata e projetos irmãos” === <div lang="en" dir="ltr" class="mw-content-ltr"> 29 May–1 June 2025 will be the [[:d:Special:MyLanguage/Event:Wikidata and Sister Projects|Wikidata and Sister Projects]] event. [[User:DMartin (WMF)|David Martin]] and [[User:Sannita (WMF)|Luca Martinelli]] are going to present about how Wikidata powers language functions on Wikifunctions and more, on [https://zonestamp.toolforge.org/1748539800 29 May at 17:30 UTC] (that is, today). </div> Saiba mais sobre o evento na página do evento [[:d:Special:MyLanguage/Event:Wikidata and Sister Projects|Wikidata e projetos irmãos]]. <span id="Recent_Changes_in_the_software"></span> === Mudanças recentes no ''software'' === <div lang="en" dir="ltr" class="mw-content-ltr"> Last week, as discussed above, we finished one of our planned Quarterly pieces of work, and also a number of pieces of others. </div> <div lang="en" dir="ltr" class="mw-content-ltr"> For the 'light-weight enums' work ([[:phab:T390558|T390558]]), we have added an interface ([[:phab:T391918|T391918]]) and special rights for creating and editing them ([[:phab:T391913|T391913]] and [[:phab:T391914|T391914]]); for now, like with Types, we're holding them back only for staff, but we will expand their access later. To make the creation and editing tools possible, we also re-designed our tests for what kinds of edits and creations are allowed to be more flexible. There's still more to do here before we call this complete, but we should be able to demonstrate it on-wiki shortly. </div> <div lang="en" dir="ltr" class="mw-content-ltr"> Within our performance strand of work this Quarter, we're working to add better caching to the orchestrator. We have added the functionality to the MediaWiki side of the code to trigger this new behaviour ([[:phab:T391971|T391971]]). Soon, we will wire it together, and measure and report on the impact. </div> <div lang="en" dir="ltr" class="mw-content-ltr"> Following-up on a wide-ranging set of issues that [[User:99of9|User:99of9]] found when running Test cases, we added some regression tests related to different valid 'shapes' of Language objects ([[:phab:T391329|T391329]]). </div> <div lang="en" dir="ltr" class="mw-content-ltr"> As part of Wikimedia-wide support, we have added a new Language, [[Z1970|Z1970/qxp]] ([[:phab:T394068|T394068]]). </div> <div lang="en" dir="ltr" class="mw-content-ltr"> === Ongoing consultation about Location of Abstract Content === </div> <div lang="en" dir="ltr" class="mw-content-ltr"> Thanks to everyone who participated in the consultation about the [[:meta:Special:MyLanguage/Abstract Wikipedia/Location of Abstract Content|Location for Abstract Content]] so far! The consultation will continue for another two weeks. We try to keep answering questions by and participating in the consultation with the community. </div> <div lang="en" dir="ltr" class="mw-content-ltr"> Personally, I found the arguments thought-provoking, and I find myself changing my own position as I read about new ideas and considerations I haven’t had before. I am planning to add a current state of my thinking next week. So keep the ideas and arguments going! </div> <div lang="en" dir="ltr" class="mw-content-ltr"> === News in Types === </div> <div lang="en" dir="ltr" class="mw-content-ltr"> The [[Z86|Unicode code point]] type has been set up with a [[Z23041|read]] and [[Z24823|display]] function, thus improving the UX on Wikifunctions and also allowing Functions using this Type to be used in embedded calls. Thanks to [[User:99of9|User:99of9]] for shepherding this improvement and for working on the read and display functions. </div> <div lang="en" dir="ltr" class="mw-content-ltr"> For our current work to support import of more Wikidata content ([[:phab:T390559|T390559]]), discussions on three new types proposals are ongoing: [[Wikifunctions:Type proposals/Wikidata time|Wikidata time]], [[Wikifunctions:Type proposals/Wikidata quantity|Wikidata quantity]], and [[Wikifunctions:Type proposals/Wikidata geocoordinates|Wikidata geocoordinates]]. Comments are welcome! </div> <div lang="en" dir="ltr" class="mw-content-ltr"> === Fresh Functions weekly: 17 new Functions === </div> <div lang="en" dir="ltr" class="mw-content-ltr"> This week we had 17 new functions. Here are some of the functions with implementations and passing tests to get a taste of what functions have been created. Thanks everybody for contributing! </div> * {{Z|Z24736}} * {{Z|Z24749}} * {{Z|Z24757}} * {{Z|Z24809}} * {{Z|Z24823}} <div lang="en" dir="ltr" class="mw-content-ltr"> A [https://www.wikifunctions.org/wiki/Special:ListObjectsByType?type=Z8&orderby=latest complete list of all functions sorted by when they were created] is available. </div> [[Category:Status updates{{#translation:}}|2025-05-29]] 7d8ndhag9gs2v7ptelmqg9xu9vvrari 191013 191010 2025-06-03T14:24:17Z Eduardogobi 2982 Created page with "Para o trabalho de “enums leves” ($1), adicionamos uma interface ($2) e direitos especiais para criá-los e editá-los ($3 e $4); por enquanto, assim como no caso dos Tipos, estamos reservando-os apenas para funcionários, mas expandiremos o acesso posteriormente. Para possibilitar as ferramentas de criação e edição, também reformulamos nossos testes para que os tipos de edições e criações permitidos sejam mais flexíveis. Ainda há mais a ser feito antes de..." 191013 wikitext text/x-wiki <languages/> {{Wikifunctions updates | prevlabel = Atualização anterior | prev = 2025-05-23 | nextlabel = Próxima atualização | next = }} <span id="Rolling_out_embedded_function_calls_to_five_Wiktionaries"></span> === Implementando chamadas de função incorporadas em cinco Wikcionários === <div lang="en" dir="ltr" class="mw-content-ltr"> We have rolled out embedded function calls to a first set of Wiktionary projects: [[:ha:wikt:|Hausa]], [[:ig:wikt:|Igbo]], [[:ml:wikt:|Malayalam]], [[:bn:wikt:|Bengali]], and [[:dv:wikt:|Divehi Wiktionary]]. These represent [[:meta:Special:MyLanguage/Abstract Wikipedia/Updates/2021-04-15|the focus languages]] that have a Wiktionary (that is, all but Dagbani), and in addition one right-to-left language, Divehi. This also represents a rough doubling of pageviews to wikis with embedded function calls, following our plan for a careful roll-out to the projects. </div> Como antes, pedimos que as pessoas se contenham e contribuam para esses projetos somente se forem ou quiserem se tornar membros da comunidade em questão. '''Não use nenhuma dessas wikis como bancos de testes.''' Você pode usar a [[Wikifunctions:Embedded function calls/sandbox|caixa de areia de chamadas do Wikifunctions]] para isso. Leia a [[Special:MyLanguage/Wikifunctions:Embedded function calls|documentação sobre a incorporação de chamadas de função]] no Wikifunctions. Mudamos nossa implementação para nos concentrarmos nos Wikcionários por enquanto, em vez das Wikipédias. Essa mudança foi feita para seguir a [[:mw:Special:MyLanguage/Parsoid/Deployments|implementação do Parsoid]], da qual dependem as chamadas de função incorporadas. Voltaremos às Wikipédias provavelmente ainda este ano. Nos próximos meses, estamos planejando a implementação em muitos outros Wikcionários. Isso permitirá que as comunidades do Wikcionário trabalhem em funções que sejam úteis nos diferentes projetos do Wikcionário. Isso pode incluir as já existentes [[:meta:Special:MyLanguage/Abstract Wikipedia/Updates/2023-09-08|funções morfológicas]] (''p. ex.'', o [[Z11089|plural regular]] de ''house'' sendo ''{{#function:Z11089|house}}''), ou funções como esta que lista as [[Z24676|três formas verbais principais de um verbo em inglês]], ''p. ex.'' ''{{#function:Z24687|L3366}}''. No momento, estamos limitados a saídas (''outputs'') de cadeias de caracteres simples no que pode ser incorporado em páginas, mas planejamos permitir alguma formatação ainda este ano, com o objetivo de criar tabelas de conjugação completas, que poderiam ser reutilizadas em muitas edições de idiomas diferentes de projetos do Wikcionário. Até lá, estamos curiosos para saber que tipo de funções vocês estarão criando a partir de agora! <span id="Calculating_with_today’s_date"></span> === Calculando com a data de hoje === <div lang="en" dir="ltr" class="mw-content-ltr"> Hello on this lovely {{#function:Z20421|}}. It is {{#function:Z20744||6 August 2025}} days until [[:wikimania:Special:MyLanguage/2025:Wikimania|Wikimania 2025]]! </div> Se você estiver lendo este texto na página wiki em que foi publicado, o dia da semana e o número de dias na frase anterior serão atualizados automaticamente à medida que nos aproximarmos da Wikimania (se você estiver lendo este texto em um e-mail, isso não funcionará — ainda não há integração das chamadas de função do Wikifunctions em e-mails, e nem está planejada). Um novo recurso ao incorporar chamadas de função em páginas wiki permite que você deixe o valor de uma [[Z20420|data do calendário gregoriano]] vazio. Se fizer isso, o valor será automaticamente definido para o dia atual quando a página for acessada (de acordo com o fuso horário da wiki). Isso permite todos os tipos de resultados dinâmicos: você pode retornar a [[Z20756|idade]] de uma pessoa ou instituição, o [[Z20421|dia da semana]] atual, a [[Z20741|distância da Lua]] de hoje e muito mais. Para usar esse recurso, basta deixar o valor vazio. Sinta-se à vontade para experimentá-lo na [[Wikifunctions:Embedded function calls/sandbox|caixa de areia de chamadas incorporadas]]. Leia [[Special:MyLanguage/Wikifunctions:Embedded function calls|mais documentação sobre como usar chamadas de função incorporadas]] em wikis que tenham essa opção ativada. Estamos planejando trabalhar em dois outros tipos para obter valores padrão: uma [[Z6091|referência de itens do Wikidata]] para definir o item conectado a uma determinada página (se houver) e o [[Z60|idioma]] de uma determinada página. Ambos podem ser usados em chamadas de função para adaptar a chamada de função a uma determinada página. Espera-se que esses recursos sejam desenvolvidos e implantados ainda este ano. Informe-nos se encontrar algum problema com o novo recurso. <span id="Presentation_at_Wikidata_and_Sister_Projects_event"></span> === Apresentação no evento “Wikidata e projetos irmãos” === <div lang="en" dir="ltr" class="mw-content-ltr"> 29 May–1 June 2025 will be the [[:d:Special:MyLanguage/Event:Wikidata and Sister Projects|Wikidata and Sister Projects]] event. [[User:DMartin (WMF)|David Martin]] and [[User:Sannita (WMF)|Luca Martinelli]] are going to present about how Wikidata powers language functions on Wikifunctions and more, on [https://zonestamp.toolforge.org/1748539800 29 May at 17:30 UTC] (that is, today). </div> Saiba mais sobre o evento na página do evento [[:d:Special:MyLanguage/Event:Wikidata and Sister Projects|Wikidata e projetos irmãos]]. <span id="Recent_Changes_in_the_software"></span> === Mudanças recentes no ''software'' === <div lang="en" dir="ltr" class="mw-content-ltr"> Last week, as discussed above, we finished one of our planned Quarterly pieces of work, and also a number of pieces of others. </div> Para o trabalho de “enums leves” ([[:phab:T390558|T390558]]), adicionamos uma interface ([[:phab:T391918|T391918]]) e direitos especiais para criá-los e editá-los ([[:phab:T391913|T391913]] e [[:phab:T391914|T391914]]); por enquanto, assim como no caso dos Tipos, estamos reservando-os apenas para funcionários, mas expandiremos o acesso posteriormente. Para possibilitar as ferramentas de criação e edição, também reformulamos nossos testes para que os tipos de edições e criações permitidos sejam mais flexíveis. Ainda há mais a ser feito antes de considerarmos isso completo, mas devemos poder demonstrá-lo na wiki em breve. <div lang="en" dir="ltr" class="mw-content-ltr"> Within our performance strand of work this Quarter, we're working to add better caching to the orchestrator. We have added the functionality to the MediaWiki side of the code to trigger this new behaviour ([[:phab:T391971|T391971]]). Soon, we will wire it together, and measure and report on the impact. </div> <div lang="en" dir="ltr" class="mw-content-ltr"> Following-up on a wide-ranging set of issues that [[User:99of9|User:99of9]] found when running Test cases, we added some regression tests related to different valid 'shapes' of Language objects ([[:phab:T391329|T391329]]). </div> <div lang="en" dir="ltr" class="mw-content-ltr"> As part of Wikimedia-wide support, we have added a new Language, [[Z1970|Z1970/qxp]] ([[:phab:T394068|T394068]]). </div> <div lang="en" dir="ltr" class="mw-content-ltr"> === Ongoing consultation about Location of Abstract Content === </div> <div lang="en" dir="ltr" class="mw-content-ltr"> Thanks to everyone who participated in the consultation about the [[:meta:Special:MyLanguage/Abstract Wikipedia/Location of Abstract Content|Location for Abstract Content]] so far! The consultation will continue for another two weeks. We try to keep answering questions by and participating in the consultation with the community. </div> <div lang="en" dir="ltr" class="mw-content-ltr"> Personally, I found the arguments thought-provoking, and I find myself changing my own position as I read about new ideas and considerations I haven’t had before. I am planning to add a current state of my thinking next week. So keep the ideas and arguments going! </div> <div lang="en" dir="ltr" class="mw-content-ltr"> === News in Types === </div> <div lang="en" dir="ltr" class="mw-content-ltr"> The [[Z86|Unicode code point]] type has been set up with a [[Z23041|read]] and [[Z24823|display]] function, thus improving the UX on Wikifunctions and also allowing Functions using this Type to be used in embedded calls. Thanks to [[User:99of9|User:99of9]] for shepherding this improvement and for working on the read and display functions. </div> <div lang="en" dir="ltr" class="mw-content-ltr"> For our current work to support import of more Wikidata content ([[:phab:T390559|T390559]]), discussions on three new types proposals are ongoing: [[Wikifunctions:Type proposals/Wikidata time|Wikidata time]], [[Wikifunctions:Type proposals/Wikidata quantity|Wikidata quantity]], and [[Wikifunctions:Type proposals/Wikidata geocoordinates|Wikidata geocoordinates]]. Comments are welcome! </div> <div lang="en" dir="ltr" class="mw-content-ltr"> === Fresh Functions weekly: 17 new Functions === </div> <div lang="en" dir="ltr" class="mw-content-ltr"> This week we had 17 new functions. Here are some of the functions with implementations and passing tests to get a taste of what functions have been created. Thanks everybody for contributing! </div> * {{Z|Z24736}} * {{Z|Z24749}} * {{Z|Z24757}} * {{Z|Z24809}} * {{Z|Z24823}} <div lang="en" dir="ltr" class="mw-content-ltr"> A [https://www.wikifunctions.org/wiki/Special:ListObjectsByType?type=Z8&orderby=latest complete list of all functions sorted by when they were created] is available. </div> [[Category:Status updates{{#translation:}}|2025-05-29]] ttxrpul7lip2snybz1njs5gxoiocipw 191015 191013 2025-06-03T14:24:49Z Eduardogobi 2982 Created page with "Em nossa linha de trabalho de desempenho neste trimestre, estamos trabalhando para adicionar um melhor armazenamento em ''cache'' ao orquestrador. Adicionamos a funcionalidade ao lado do código do MediaWiki para acionar esse novo comportamento ($1). Em breve, vamos conectar tudo isso, medir e relatar o impacto." 191015 wikitext text/x-wiki <languages/> {{Wikifunctions updates | prevlabel = Atualização anterior | prev = 2025-05-23 | nextlabel = Próxima atualização | next = }} <span id="Rolling_out_embedded_function_calls_to_five_Wiktionaries"></span> === Implementando chamadas de função incorporadas em cinco Wikcionários === <div lang="en" dir="ltr" class="mw-content-ltr"> We have rolled out embedded function calls to a first set of Wiktionary projects: [[:ha:wikt:|Hausa]], [[:ig:wikt:|Igbo]], [[:ml:wikt:|Malayalam]], [[:bn:wikt:|Bengali]], and [[:dv:wikt:|Divehi Wiktionary]]. These represent [[:meta:Special:MyLanguage/Abstract Wikipedia/Updates/2021-04-15|the focus languages]] that have a Wiktionary (that is, all but Dagbani), and in addition one right-to-left language, Divehi. This also represents a rough doubling of pageviews to wikis with embedded function calls, following our plan for a careful roll-out to the projects. </div> Como antes, pedimos que as pessoas se contenham e contribuam para esses projetos somente se forem ou quiserem se tornar membros da comunidade em questão. '''Não use nenhuma dessas wikis como bancos de testes.''' Você pode usar a [[Wikifunctions:Embedded function calls/sandbox|caixa de areia de chamadas do Wikifunctions]] para isso. Leia a [[Special:MyLanguage/Wikifunctions:Embedded function calls|documentação sobre a incorporação de chamadas de função]] no Wikifunctions. Mudamos nossa implementação para nos concentrarmos nos Wikcionários por enquanto, em vez das Wikipédias. Essa mudança foi feita para seguir a [[:mw:Special:MyLanguage/Parsoid/Deployments|implementação do Parsoid]], da qual dependem as chamadas de função incorporadas. Voltaremos às Wikipédias provavelmente ainda este ano. Nos próximos meses, estamos planejando a implementação em muitos outros Wikcionários. Isso permitirá que as comunidades do Wikcionário trabalhem em funções que sejam úteis nos diferentes projetos do Wikcionário. Isso pode incluir as já existentes [[:meta:Special:MyLanguage/Abstract Wikipedia/Updates/2023-09-08|funções morfológicas]] (''p. ex.'', o [[Z11089|plural regular]] de ''house'' sendo ''{{#function:Z11089|house}}''), ou funções como esta que lista as [[Z24676|três formas verbais principais de um verbo em inglês]], ''p. ex.'' ''{{#function:Z24687|L3366}}''. No momento, estamos limitados a saídas (''outputs'') de cadeias de caracteres simples no que pode ser incorporado em páginas, mas planejamos permitir alguma formatação ainda este ano, com o objetivo de criar tabelas de conjugação completas, que poderiam ser reutilizadas em muitas edições de idiomas diferentes de projetos do Wikcionário. Até lá, estamos curiosos para saber que tipo de funções vocês estarão criando a partir de agora! <span id="Calculating_with_today’s_date"></span> === Calculando com a data de hoje === <div lang="en" dir="ltr" class="mw-content-ltr"> Hello on this lovely {{#function:Z20421|}}. It is {{#function:Z20744||6 August 2025}} days until [[:wikimania:Special:MyLanguage/2025:Wikimania|Wikimania 2025]]! </div> Se você estiver lendo este texto na página wiki em que foi publicado, o dia da semana e o número de dias na frase anterior serão atualizados automaticamente à medida que nos aproximarmos da Wikimania (se você estiver lendo este texto em um e-mail, isso não funcionará — ainda não há integração das chamadas de função do Wikifunctions em e-mails, e nem está planejada). Um novo recurso ao incorporar chamadas de função em páginas wiki permite que você deixe o valor de uma [[Z20420|data do calendário gregoriano]] vazio. Se fizer isso, o valor será automaticamente definido para o dia atual quando a página for acessada (de acordo com o fuso horário da wiki). Isso permite todos os tipos de resultados dinâmicos: você pode retornar a [[Z20756|idade]] de uma pessoa ou instituição, o [[Z20421|dia da semana]] atual, a [[Z20741|distância da Lua]] de hoje e muito mais. Para usar esse recurso, basta deixar o valor vazio. Sinta-se à vontade para experimentá-lo na [[Wikifunctions:Embedded function calls/sandbox|caixa de areia de chamadas incorporadas]]. Leia [[Special:MyLanguage/Wikifunctions:Embedded function calls|mais documentação sobre como usar chamadas de função incorporadas]] em wikis que tenham essa opção ativada. Estamos planejando trabalhar em dois outros tipos para obter valores padrão: uma [[Z6091|referência de itens do Wikidata]] para definir o item conectado a uma determinada página (se houver) e o [[Z60|idioma]] de uma determinada página. Ambos podem ser usados em chamadas de função para adaptar a chamada de função a uma determinada página. Espera-se que esses recursos sejam desenvolvidos e implantados ainda este ano. Informe-nos se encontrar algum problema com o novo recurso. <span id="Presentation_at_Wikidata_and_Sister_Projects_event"></span> === Apresentação no evento “Wikidata e projetos irmãos” === <div lang="en" dir="ltr" class="mw-content-ltr"> 29 May–1 June 2025 will be the [[:d:Special:MyLanguage/Event:Wikidata and Sister Projects|Wikidata and Sister Projects]] event. [[User:DMartin (WMF)|David Martin]] and [[User:Sannita (WMF)|Luca Martinelli]] are going to present about how Wikidata powers language functions on Wikifunctions and more, on [https://zonestamp.toolforge.org/1748539800 29 May at 17:30 UTC] (that is, today). </div> Saiba mais sobre o evento na página do evento [[:d:Special:MyLanguage/Event:Wikidata and Sister Projects|Wikidata e projetos irmãos]]. <span id="Recent_Changes_in_the_software"></span> === Mudanças recentes no ''software'' === <div lang="en" dir="ltr" class="mw-content-ltr"> Last week, as discussed above, we finished one of our planned Quarterly pieces of work, and also a number of pieces of others. </div> Para o trabalho de “enums leves” ([[:phab:T390558|T390558]]), adicionamos uma interface ([[:phab:T391918|T391918]]) e direitos especiais para criá-los e editá-los ([[:phab:T391913|T391913]] e [[:phab:T391914|T391914]]); por enquanto, assim como no caso dos Tipos, estamos reservando-os apenas para funcionários, mas expandiremos o acesso posteriormente. Para possibilitar as ferramentas de criação e edição, também reformulamos nossos testes para que os tipos de edições e criações permitidos sejam mais flexíveis. Ainda há mais a ser feito antes de considerarmos isso completo, mas devemos poder demonstrá-lo na wiki em breve. Em nossa linha de trabalho de desempenho neste trimestre, estamos trabalhando para adicionar um melhor armazenamento em ''cache'' ao orquestrador. Adicionamos a funcionalidade ao lado do código do MediaWiki para acionar esse novo comportamento ([[:phab:T391971|T391971]]). Em breve, vamos conectar tudo isso, medir e relatar o impacto. <div lang="en" dir="ltr" class="mw-content-ltr"> Following-up on a wide-ranging set of issues that [[User:99of9|User:99of9]] found when running Test cases, we added some regression tests related to different valid 'shapes' of Language objects ([[:phab:T391329|T391329]]). </div> <div lang="en" dir="ltr" class="mw-content-ltr"> As part of Wikimedia-wide support, we have added a new Language, [[Z1970|Z1970/qxp]] ([[:phab:T394068|T394068]]). </div> <div lang="en" dir="ltr" class="mw-content-ltr"> === Ongoing consultation about Location of Abstract Content === </div> <div lang="en" dir="ltr" class="mw-content-ltr"> Thanks to everyone who participated in the consultation about the [[:meta:Special:MyLanguage/Abstract Wikipedia/Location of Abstract Content|Location for Abstract Content]] so far! The consultation will continue for another two weeks. We try to keep answering questions by and participating in the consultation with the community. </div> <div lang="en" dir="ltr" class="mw-content-ltr"> Personally, I found the arguments thought-provoking, and I find myself changing my own position as I read about new ideas and considerations I haven’t had before. I am planning to add a current state of my thinking next week. So keep the ideas and arguments going! </div> <div lang="en" dir="ltr" class="mw-content-ltr"> === News in Types === </div> <div lang="en" dir="ltr" class="mw-content-ltr"> The [[Z86|Unicode code point]] type has been set up with a [[Z23041|read]] and [[Z24823|display]] function, thus improving the UX on Wikifunctions and also allowing Functions using this Type to be used in embedded calls. Thanks to [[User:99of9|User:99of9]] for shepherding this improvement and for working on the read and display functions. </div> <div lang="en" dir="ltr" class="mw-content-ltr"> For our current work to support import of more Wikidata content ([[:phab:T390559|T390559]]), discussions on three new types proposals are ongoing: [[Wikifunctions:Type proposals/Wikidata time|Wikidata time]], [[Wikifunctions:Type proposals/Wikidata quantity|Wikidata quantity]], and [[Wikifunctions:Type proposals/Wikidata geocoordinates|Wikidata geocoordinates]]. Comments are welcome! </div> <div lang="en" dir="ltr" class="mw-content-ltr"> === Fresh Functions weekly: 17 new Functions === </div> <div lang="en" dir="ltr" class="mw-content-ltr"> This week we had 17 new functions. Here are some of the functions with implementations and passing tests to get a taste of what functions have been created. Thanks everybody for contributing! </div> * {{Z|Z24736}} * {{Z|Z24749}} * {{Z|Z24757}} * {{Z|Z24809}} * {{Z|Z24823}} <div lang="en" dir="ltr" class="mw-content-ltr"> A [https://www.wikifunctions.org/wiki/Special:ListObjectsByType?type=Z8&orderby=latest complete list of all functions sorted by when they were created] is available. </div> [[Category:Status updates{{#translation:}}|2025-05-29]] t3tz91p5jlda9gbiqsplywppidf3g1x 191017 191015 2025-06-03T14:25:54Z Eduardogobi 2982 Created page with "Seguindo um amplo conjunto de problemas que o [[$1|User:99of9]] encontrou ao executar casos de teste, adicionamos alguns testes de regressão relacionados a diferentes “formas” válidas de objetos Language ($2)." 191017 wikitext text/x-wiki <languages/> {{Wikifunctions updates | prevlabel = Atualização anterior | prev = 2025-05-23 | nextlabel = Próxima atualização | next = }} <span id="Rolling_out_embedded_function_calls_to_five_Wiktionaries"></span> === Implementando chamadas de função incorporadas em cinco Wikcionários === <div lang="en" dir="ltr" class="mw-content-ltr"> We have rolled out embedded function calls to a first set of Wiktionary projects: [[:ha:wikt:|Hausa]], [[:ig:wikt:|Igbo]], [[:ml:wikt:|Malayalam]], [[:bn:wikt:|Bengali]], and [[:dv:wikt:|Divehi Wiktionary]]. These represent [[:meta:Special:MyLanguage/Abstract Wikipedia/Updates/2021-04-15|the focus languages]] that have a Wiktionary (that is, all but Dagbani), and in addition one right-to-left language, Divehi. This also represents a rough doubling of pageviews to wikis with embedded function calls, following our plan for a careful roll-out to the projects. </div> Como antes, pedimos que as pessoas se contenham e contribuam para esses projetos somente se forem ou quiserem se tornar membros da comunidade em questão. '''Não use nenhuma dessas wikis como bancos de testes.''' Você pode usar a [[Wikifunctions:Embedded function calls/sandbox|caixa de areia de chamadas do Wikifunctions]] para isso. Leia a [[Special:MyLanguage/Wikifunctions:Embedded function calls|documentação sobre a incorporação de chamadas de função]] no Wikifunctions. Mudamos nossa implementação para nos concentrarmos nos Wikcionários por enquanto, em vez das Wikipédias. Essa mudança foi feita para seguir a [[:mw:Special:MyLanguage/Parsoid/Deployments|implementação do Parsoid]], da qual dependem as chamadas de função incorporadas. Voltaremos às Wikipédias provavelmente ainda este ano. Nos próximos meses, estamos planejando a implementação em muitos outros Wikcionários. Isso permitirá que as comunidades do Wikcionário trabalhem em funções que sejam úteis nos diferentes projetos do Wikcionário. Isso pode incluir as já existentes [[:meta:Special:MyLanguage/Abstract Wikipedia/Updates/2023-09-08|funções morfológicas]] (''p. ex.'', o [[Z11089|plural regular]] de ''house'' sendo ''{{#function:Z11089|house}}''), ou funções como esta que lista as [[Z24676|três formas verbais principais de um verbo em inglês]], ''p. ex.'' ''{{#function:Z24687|L3366}}''. No momento, estamos limitados a saídas (''outputs'') de cadeias de caracteres simples no que pode ser incorporado em páginas, mas planejamos permitir alguma formatação ainda este ano, com o objetivo de criar tabelas de conjugação completas, que poderiam ser reutilizadas em muitas edições de idiomas diferentes de projetos do Wikcionário. Até lá, estamos curiosos para saber que tipo de funções vocês estarão criando a partir de agora! <span id="Calculating_with_today’s_date"></span> === Calculando com a data de hoje === <div lang="en" dir="ltr" class="mw-content-ltr"> Hello on this lovely {{#function:Z20421|}}. It is {{#function:Z20744||6 August 2025}} days until [[:wikimania:Special:MyLanguage/2025:Wikimania|Wikimania 2025]]! </div> Se você estiver lendo este texto na página wiki em que foi publicado, o dia da semana e o número de dias na frase anterior serão atualizados automaticamente à medida que nos aproximarmos da Wikimania (se você estiver lendo este texto em um e-mail, isso não funcionará — ainda não há integração das chamadas de função do Wikifunctions em e-mails, e nem está planejada). Um novo recurso ao incorporar chamadas de função em páginas wiki permite que você deixe o valor de uma [[Z20420|data do calendário gregoriano]] vazio. Se fizer isso, o valor será automaticamente definido para o dia atual quando a página for acessada (de acordo com o fuso horário da wiki). Isso permite todos os tipos de resultados dinâmicos: você pode retornar a [[Z20756|idade]] de uma pessoa ou instituição, o [[Z20421|dia da semana]] atual, a [[Z20741|distância da Lua]] de hoje e muito mais. Para usar esse recurso, basta deixar o valor vazio. Sinta-se à vontade para experimentá-lo na [[Wikifunctions:Embedded function calls/sandbox|caixa de areia de chamadas incorporadas]]. Leia [[Special:MyLanguage/Wikifunctions:Embedded function calls|mais documentação sobre como usar chamadas de função incorporadas]] em wikis que tenham essa opção ativada. Estamos planejando trabalhar em dois outros tipos para obter valores padrão: uma [[Z6091|referência de itens do Wikidata]] para definir o item conectado a uma determinada página (se houver) e o [[Z60|idioma]] de uma determinada página. Ambos podem ser usados em chamadas de função para adaptar a chamada de função a uma determinada página. Espera-se que esses recursos sejam desenvolvidos e implantados ainda este ano. Informe-nos se encontrar algum problema com o novo recurso. <span id="Presentation_at_Wikidata_and_Sister_Projects_event"></span> === Apresentação no evento “Wikidata e projetos irmãos” === <div lang="en" dir="ltr" class="mw-content-ltr"> 29 May–1 June 2025 will be the [[:d:Special:MyLanguage/Event:Wikidata and Sister Projects|Wikidata and Sister Projects]] event. [[User:DMartin (WMF)|David Martin]] and [[User:Sannita (WMF)|Luca Martinelli]] are going to present about how Wikidata powers language functions on Wikifunctions and more, on [https://zonestamp.toolforge.org/1748539800 29 May at 17:30 UTC] (that is, today). </div> Saiba mais sobre o evento na página do evento [[:d:Special:MyLanguage/Event:Wikidata and Sister Projects|Wikidata e projetos irmãos]]. <span id="Recent_Changes_in_the_software"></span> === Mudanças recentes no ''software'' === <div lang="en" dir="ltr" class="mw-content-ltr"> Last week, as discussed above, we finished one of our planned Quarterly pieces of work, and also a number of pieces of others. </div> Para o trabalho de “enums leves” ([[:phab:T390558|T390558]]), adicionamos uma interface ([[:phab:T391918|T391918]]) e direitos especiais para criá-los e editá-los ([[:phab:T391913|T391913]] e [[:phab:T391914|T391914]]); por enquanto, assim como no caso dos Tipos, estamos reservando-os apenas para funcionários, mas expandiremos o acesso posteriormente. Para possibilitar as ferramentas de criação e edição, também reformulamos nossos testes para que os tipos de edições e criações permitidos sejam mais flexíveis. Ainda há mais a ser feito antes de considerarmos isso completo, mas devemos poder demonstrá-lo na wiki em breve. Em nossa linha de trabalho de desempenho neste trimestre, estamos trabalhando para adicionar um melhor armazenamento em ''cache'' ao orquestrador. Adicionamos a funcionalidade ao lado do código do MediaWiki para acionar esse novo comportamento ([[:phab:T391971|T391971]]). Em breve, vamos conectar tudo isso, medir e relatar o impacto. Seguindo um amplo conjunto de problemas que o [[User:99of9|User:99of9]] encontrou ao executar casos de teste, adicionamos alguns testes de regressão relacionados a diferentes “formas” válidas de objetos Language ([[:phab:T391329|T391329]]). <div lang="en" dir="ltr" class="mw-content-ltr"> As part of Wikimedia-wide support, we have added a new Language, [[Z1970|Z1970/qxp]] ([[:phab:T394068|T394068]]). </div> <div lang="en" dir="ltr" class="mw-content-ltr"> === Ongoing consultation about Location of Abstract Content === </div> <div lang="en" dir="ltr" class="mw-content-ltr"> Thanks to everyone who participated in the consultation about the [[:meta:Special:MyLanguage/Abstract Wikipedia/Location of Abstract Content|Location for Abstract Content]] so far! The consultation will continue for another two weeks. We try to keep answering questions by and participating in the consultation with the community. </div> <div lang="en" dir="ltr" class="mw-content-ltr"> Personally, I found the arguments thought-provoking, and I find myself changing my own position as I read about new ideas and considerations I haven’t had before. I am planning to add a current state of my thinking next week. So keep the ideas and arguments going! </div> <div lang="en" dir="ltr" class="mw-content-ltr"> === News in Types === </div> <div lang="en" dir="ltr" class="mw-content-ltr"> The [[Z86|Unicode code point]] type has been set up with a [[Z23041|read]] and [[Z24823|display]] function, thus improving the UX on Wikifunctions and also allowing Functions using this Type to be used in embedded calls. Thanks to [[User:99of9|User:99of9]] for shepherding this improvement and for working on the read and display functions. </div> <div lang="en" dir="ltr" class="mw-content-ltr"> For our current work to support import of more Wikidata content ([[:phab:T390559|T390559]]), discussions on three new types proposals are ongoing: [[Wikifunctions:Type proposals/Wikidata time|Wikidata time]], [[Wikifunctions:Type proposals/Wikidata quantity|Wikidata quantity]], and [[Wikifunctions:Type proposals/Wikidata geocoordinates|Wikidata geocoordinates]]. Comments are welcome! </div> <div lang="en" dir="ltr" class="mw-content-ltr"> === Fresh Functions weekly: 17 new Functions === </div> <div lang="en" dir="ltr" class="mw-content-ltr"> This week we had 17 new functions. Here are some of the functions with implementations and passing tests to get a taste of what functions have been created. Thanks everybody for contributing! </div> * {{Z|Z24736}} * {{Z|Z24749}} * {{Z|Z24757}} * {{Z|Z24809}} * {{Z|Z24823}} <div lang="en" dir="ltr" class="mw-content-ltr"> A [https://www.wikifunctions.org/wiki/Special:ListObjectsByType?type=Z8&orderby=latest complete list of all functions sorted by when they were created] is available. </div> [[Category:Status updates{{#translation:}}|2025-05-29]] 85u5lxfw8zbl7qczexa0k6dhz6xqr5x 191019 191017 2025-06-03T14:26:19Z Eduardogobi 2982 Created page with "Como parte da compatibilidade com toda a Wikimedia, adicionamos um novo idioma, [[$1|Z1970/qxp]] ($2)." 191019 wikitext text/x-wiki <languages/> {{Wikifunctions updates | prevlabel = Atualização anterior | prev = 2025-05-23 | nextlabel = Próxima atualização | next = }} <span id="Rolling_out_embedded_function_calls_to_five_Wiktionaries"></span> === Implementando chamadas de função incorporadas em cinco Wikcionários === <div lang="en" dir="ltr" class="mw-content-ltr"> We have rolled out embedded function calls to a first set of Wiktionary projects: [[:ha:wikt:|Hausa]], [[:ig:wikt:|Igbo]], [[:ml:wikt:|Malayalam]], [[:bn:wikt:|Bengali]], and [[:dv:wikt:|Divehi Wiktionary]]. These represent [[:meta:Special:MyLanguage/Abstract Wikipedia/Updates/2021-04-15|the focus languages]] that have a Wiktionary (that is, all but Dagbani), and in addition one right-to-left language, Divehi. This also represents a rough doubling of pageviews to wikis with embedded function calls, following our plan for a careful roll-out to the projects. </div> Como antes, pedimos que as pessoas se contenham e contribuam para esses projetos somente se forem ou quiserem se tornar membros da comunidade em questão. '''Não use nenhuma dessas wikis como bancos de testes.''' Você pode usar a [[Wikifunctions:Embedded function calls/sandbox|caixa de areia de chamadas do Wikifunctions]] para isso. Leia a [[Special:MyLanguage/Wikifunctions:Embedded function calls|documentação sobre a incorporação de chamadas de função]] no Wikifunctions. Mudamos nossa implementação para nos concentrarmos nos Wikcionários por enquanto, em vez das Wikipédias. Essa mudança foi feita para seguir a [[:mw:Special:MyLanguage/Parsoid/Deployments|implementação do Parsoid]], da qual dependem as chamadas de função incorporadas. Voltaremos às Wikipédias provavelmente ainda este ano. Nos próximos meses, estamos planejando a implementação em muitos outros Wikcionários. Isso permitirá que as comunidades do Wikcionário trabalhem em funções que sejam úteis nos diferentes projetos do Wikcionário. Isso pode incluir as já existentes [[:meta:Special:MyLanguage/Abstract Wikipedia/Updates/2023-09-08|funções morfológicas]] (''p. ex.'', o [[Z11089|plural regular]] de ''house'' sendo ''{{#function:Z11089|house}}''), ou funções como esta que lista as [[Z24676|três formas verbais principais de um verbo em inglês]], ''p. ex.'' ''{{#function:Z24687|L3366}}''. No momento, estamos limitados a saídas (''outputs'') de cadeias de caracteres simples no que pode ser incorporado em páginas, mas planejamos permitir alguma formatação ainda este ano, com o objetivo de criar tabelas de conjugação completas, que poderiam ser reutilizadas em muitas edições de idiomas diferentes de projetos do Wikcionário. Até lá, estamos curiosos para saber que tipo de funções vocês estarão criando a partir de agora! <span id="Calculating_with_today’s_date"></span> === Calculando com a data de hoje === <div lang="en" dir="ltr" class="mw-content-ltr"> Hello on this lovely {{#function:Z20421|}}. It is {{#function:Z20744||6 August 2025}} days until [[:wikimania:Special:MyLanguage/2025:Wikimania|Wikimania 2025]]! </div> Se você estiver lendo este texto na página wiki em que foi publicado, o dia da semana e o número de dias na frase anterior serão atualizados automaticamente à medida que nos aproximarmos da Wikimania (se você estiver lendo este texto em um e-mail, isso não funcionará — ainda não há integração das chamadas de função do Wikifunctions em e-mails, e nem está planejada). Um novo recurso ao incorporar chamadas de função em páginas wiki permite que você deixe o valor de uma [[Z20420|data do calendário gregoriano]] vazio. Se fizer isso, o valor será automaticamente definido para o dia atual quando a página for acessada (de acordo com o fuso horário da wiki). Isso permite todos os tipos de resultados dinâmicos: você pode retornar a [[Z20756|idade]] de uma pessoa ou instituição, o [[Z20421|dia da semana]] atual, a [[Z20741|distância da Lua]] de hoje e muito mais. Para usar esse recurso, basta deixar o valor vazio. Sinta-se à vontade para experimentá-lo na [[Wikifunctions:Embedded function calls/sandbox|caixa de areia de chamadas incorporadas]]. Leia [[Special:MyLanguage/Wikifunctions:Embedded function calls|mais documentação sobre como usar chamadas de função incorporadas]] em wikis que tenham essa opção ativada. Estamos planejando trabalhar em dois outros tipos para obter valores padrão: uma [[Z6091|referência de itens do Wikidata]] para definir o item conectado a uma determinada página (se houver) e o [[Z60|idioma]] de uma determinada página. Ambos podem ser usados em chamadas de função para adaptar a chamada de função a uma determinada página. Espera-se que esses recursos sejam desenvolvidos e implantados ainda este ano. Informe-nos se encontrar algum problema com o novo recurso. <span id="Presentation_at_Wikidata_and_Sister_Projects_event"></span> === Apresentação no evento “Wikidata e projetos irmãos” === <div lang="en" dir="ltr" class="mw-content-ltr"> 29 May–1 June 2025 will be the [[:d:Special:MyLanguage/Event:Wikidata and Sister Projects|Wikidata and Sister Projects]] event. [[User:DMartin (WMF)|David Martin]] and [[User:Sannita (WMF)|Luca Martinelli]] are going to present about how Wikidata powers language functions on Wikifunctions and more, on [https://zonestamp.toolforge.org/1748539800 29 May at 17:30 UTC] (that is, today). </div> Saiba mais sobre o evento na página do evento [[:d:Special:MyLanguage/Event:Wikidata and Sister Projects|Wikidata e projetos irmãos]]. <span id="Recent_Changes_in_the_software"></span> === Mudanças recentes no ''software'' === <div lang="en" dir="ltr" class="mw-content-ltr"> Last week, as discussed above, we finished one of our planned Quarterly pieces of work, and also a number of pieces of others. </div> Para o trabalho de “enums leves” ([[:phab:T390558|T390558]]), adicionamos uma interface ([[:phab:T391918|T391918]]) e direitos especiais para criá-los e editá-los ([[:phab:T391913|T391913]] e [[:phab:T391914|T391914]]); por enquanto, assim como no caso dos Tipos, estamos reservando-os apenas para funcionários, mas expandiremos o acesso posteriormente. Para possibilitar as ferramentas de criação e edição, também reformulamos nossos testes para que os tipos de edições e criações permitidos sejam mais flexíveis. Ainda há mais a ser feito antes de considerarmos isso completo, mas devemos poder demonstrá-lo na wiki em breve. Em nossa linha de trabalho de desempenho neste trimestre, estamos trabalhando para adicionar um melhor armazenamento em ''cache'' ao orquestrador. Adicionamos a funcionalidade ao lado do código do MediaWiki para acionar esse novo comportamento ([[:phab:T391971|T391971]]). Em breve, vamos conectar tudo isso, medir e relatar o impacto. Seguindo um amplo conjunto de problemas que o [[User:99of9|User:99of9]] encontrou ao executar casos de teste, adicionamos alguns testes de regressão relacionados a diferentes “formas” válidas de objetos Language ([[:phab:T391329|T391329]]). Como parte da compatibilidade com toda a Wikimedia, adicionamos um novo idioma, [[Z1970|Z1970/qxp]] ([[:phab:T394068|T394068]]). <div lang="en" dir="ltr" class="mw-content-ltr"> === Ongoing consultation about Location of Abstract Content === </div> <div lang="en" dir="ltr" class="mw-content-ltr"> Thanks to everyone who participated in the consultation about the [[:meta:Special:MyLanguage/Abstract Wikipedia/Location of Abstract Content|Location for Abstract Content]] so far! The consultation will continue for another two weeks. We try to keep answering questions by and participating in the consultation with the community. </div> <div lang="en" dir="ltr" class="mw-content-ltr"> Personally, I found the arguments thought-provoking, and I find myself changing my own position as I read about new ideas and considerations I haven’t had before. I am planning to add a current state of my thinking next week. So keep the ideas and arguments going! </div> <div lang="en" dir="ltr" class="mw-content-ltr"> === News in Types === </div> <div lang="en" dir="ltr" class="mw-content-ltr"> The [[Z86|Unicode code point]] type has been set up with a [[Z23041|read]] and [[Z24823|display]] function, thus improving the UX on Wikifunctions and also allowing Functions using this Type to be used in embedded calls. Thanks to [[User:99of9|User:99of9]] for shepherding this improvement and for working on the read and display functions. </div> <div lang="en" dir="ltr" class="mw-content-ltr"> For our current work to support import of more Wikidata content ([[:phab:T390559|T390559]]), discussions on three new types proposals are ongoing: [[Wikifunctions:Type proposals/Wikidata time|Wikidata time]], [[Wikifunctions:Type proposals/Wikidata quantity|Wikidata quantity]], and [[Wikifunctions:Type proposals/Wikidata geocoordinates|Wikidata geocoordinates]]. Comments are welcome! </div> <div lang="en" dir="ltr" class="mw-content-ltr"> === Fresh Functions weekly: 17 new Functions === </div> <div lang="en" dir="ltr" class="mw-content-ltr"> This week we had 17 new functions. Here are some of the functions with implementations and passing tests to get a taste of what functions have been created. Thanks everybody for contributing! </div> * {{Z|Z24736}} * {{Z|Z24749}} * {{Z|Z24757}} * {{Z|Z24809}} * {{Z|Z24823}} <div lang="en" dir="ltr" class="mw-content-ltr"> A [https://www.wikifunctions.org/wiki/Special:ListObjectsByType?type=Z8&orderby=latest complete list of all functions sorted by when they were created] is available. </div> [[Category:Status updates{{#translation:}}|2025-05-29]] ksoxl2cej2w6wh16y09gieo8qfpqqap 191021 191019 2025-06-03T14:26:46Z Eduardogobi 2982 Created page with "=== Consulta contínua sobre a localização de conteúdo abstrato ===" 191021 wikitext text/x-wiki <languages/> {{Wikifunctions updates | prevlabel = Atualização anterior | prev = 2025-05-23 | nextlabel = Próxima atualização | next = }} <span id="Rolling_out_embedded_function_calls_to_five_Wiktionaries"></span> === Implementando chamadas de função incorporadas em cinco Wikcionários === <div lang="en" dir="ltr" class="mw-content-ltr"> We have rolled out embedded function calls to a first set of Wiktionary projects: [[:ha:wikt:|Hausa]], [[:ig:wikt:|Igbo]], [[:ml:wikt:|Malayalam]], [[:bn:wikt:|Bengali]], and [[:dv:wikt:|Divehi Wiktionary]]. These represent [[:meta:Special:MyLanguage/Abstract Wikipedia/Updates/2021-04-15|the focus languages]] that have a Wiktionary (that is, all but Dagbani), and in addition one right-to-left language, Divehi. This also represents a rough doubling of pageviews to wikis with embedded function calls, following our plan for a careful roll-out to the projects. </div> Como antes, pedimos que as pessoas se contenham e contribuam para esses projetos somente se forem ou quiserem se tornar membros da comunidade em questão. '''Não use nenhuma dessas wikis como bancos de testes.''' Você pode usar a [[Wikifunctions:Embedded function calls/sandbox|caixa de areia de chamadas do Wikifunctions]] para isso. Leia a [[Special:MyLanguage/Wikifunctions:Embedded function calls|documentação sobre a incorporação de chamadas de função]] no Wikifunctions. Mudamos nossa implementação para nos concentrarmos nos Wikcionários por enquanto, em vez das Wikipédias. Essa mudança foi feita para seguir a [[:mw:Special:MyLanguage/Parsoid/Deployments|implementação do Parsoid]], da qual dependem as chamadas de função incorporadas. Voltaremos às Wikipédias provavelmente ainda este ano. Nos próximos meses, estamos planejando a implementação em muitos outros Wikcionários. Isso permitirá que as comunidades do Wikcionário trabalhem em funções que sejam úteis nos diferentes projetos do Wikcionário. Isso pode incluir as já existentes [[:meta:Special:MyLanguage/Abstract Wikipedia/Updates/2023-09-08|funções morfológicas]] (''p. ex.'', o [[Z11089|plural regular]] de ''house'' sendo ''{{#function:Z11089|house}}''), ou funções como esta que lista as [[Z24676|três formas verbais principais de um verbo em inglês]], ''p. ex.'' ''{{#function:Z24687|L3366}}''. No momento, estamos limitados a saídas (''outputs'') de cadeias de caracteres simples no que pode ser incorporado em páginas, mas planejamos permitir alguma formatação ainda este ano, com o objetivo de criar tabelas de conjugação completas, que poderiam ser reutilizadas em muitas edições de idiomas diferentes de projetos do Wikcionário. Até lá, estamos curiosos para saber que tipo de funções vocês estarão criando a partir de agora! <span id="Calculating_with_today’s_date"></span> === Calculando com a data de hoje === <div lang="en" dir="ltr" class="mw-content-ltr"> Hello on this lovely {{#function:Z20421|}}. It is {{#function:Z20744||6 August 2025}} days until [[:wikimania:Special:MyLanguage/2025:Wikimania|Wikimania 2025]]! </div> Se você estiver lendo este texto na página wiki em que foi publicado, o dia da semana e o número de dias na frase anterior serão atualizados automaticamente à medida que nos aproximarmos da Wikimania (se você estiver lendo este texto em um e-mail, isso não funcionará — ainda não há integração das chamadas de função do Wikifunctions em e-mails, e nem está planejada). Um novo recurso ao incorporar chamadas de função em páginas wiki permite que você deixe o valor de uma [[Z20420|data do calendário gregoriano]] vazio. Se fizer isso, o valor será automaticamente definido para o dia atual quando a página for acessada (de acordo com o fuso horário da wiki). Isso permite todos os tipos de resultados dinâmicos: você pode retornar a [[Z20756|idade]] de uma pessoa ou instituição, o [[Z20421|dia da semana]] atual, a [[Z20741|distância da Lua]] de hoje e muito mais. Para usar esse recurso, basta deixar o valor vazio. Sinta-se à vontade para experimentá-lo na [[Wikifunctions:Embedded function calls/sandbox|caixa de areia de chamadas incorporadas]]. Leia [[Special:MyLanguage/Wikifunctions:Embedded function calls|mais documentação sobre como usar chamadas de função incorporadas]] em wikis que tenham essa opção ativada. Estamos planejando trabalhar em dois outros tipos para obter valores padrão: uma [[Z6091|referência de itens do Wikidata]] para definir o item conectado a uma determinada página (se houver) e o [[Z60|idioma]] de uma determinada página. Ambos podem ser usados em chamadas de função para adaptar a chamada de função a uma determinada página. Espera-se que esses recursos sejam desenvolvidos e implantados ainda este ano. Informe-nos se encontrar algum problema com o novo recurso. <span id="Presentation_at_Wikidata_and_Sister_Projects_event"></span> === Apresentação no evento “Wikidata e projetos irmãos” === <div lang="en" dir="ltr" class="mw-content-ltr"> 29 May–1 June 2025 will be the [[:d:Special:MyLanguage/Event:Wikidata and Sister Projects|Wikidata and Sister Projects]] event. [[User:DMartin (WMF)|David Martin]] and [[User:Sannita (WMF)|Luca Martinelli]] are going to present about how Wikidata powers language functions on Wikifunctions and more, on [https://zonestamp.toolforge.org/1748539800 29 May at 17:30 UTC] (that is, today). </div> Saiba mais sobre o evento na página do evento [[:d:Special:MyLanguage/Event:Wikidata and Sister Projects|Wikidata e projetos irmãos]]. <span id="Recent_Changes_in_the_software"></span> === Mudanças recentes no ''software'' === <div lang="en" dir="ltr" class="mw-content-ltr"> Last week, as discussed above, we finished one of our planned Quarterly pieces of work, and also a number of pieces of others. </div> Para o trabalho de “enums leves” ([[:phab:T390558|T390558]]), adicionamos uma interface ([[:phab:T391918|T391918]]) e direitos especiais para criá-los e editá-los ([[:phab:T391913|T391913]] e [[:phab:T391914|T391914]]); por enquanto, assim como no caso dos Tipos, estamos reservando-os apenas para funcionários, mas expandiremos o acesso posteriormente. Para possibilitar as ferramentas de criação e edição, também reformulamos nossos testes para que os tipos de edições e criações permitidos sejam mais flexíveis. Ainda há mais a ser feito antes de considerarmos isso completo, mas devemos poder demonstrá-lo na wiki em breve. Em nossa linha de trabalho de desempenho neste trimestre, estamos trabalhando para adicionar um melhor armazenamento em ''cache'' ao orquestrador. Adicionamos a funcionalidade ao lado do código do MediaWiki para acionar esse novo comportamento ([[:phab:T391971|T391971]]). Em breve, vamos conectar tudo isso, medir e relatar o impacto. Seguindo um amplo conjunto de problemas que o [[User:99of9|User:99of9]] encontrou ao executar casos de teste, adicionamos alguns testes de regressão relacionados a diferentes “formas” válidas de objetos Language ([[:phab:T391329|T391329]]). Como parte da compatibilidade com toda a Wikimedia, adicionamos um novo idioma, [[Z1970|Z1970/qxp]] ([[:phab:T394068|T394068]]). <span id="Ongoing_consultation_about_Location_of_Abstract_Content"></span> === Consulta contínua sobre a localização de conteúdo abstrato === <div lang="en" dir="ltr" class="mw-content-ltr"> Thanks to everyone who participated in the consultation about the [[:meta:Special:MyLanguage/Abstract Wikipedia/Location of Abstract Content|Location for Abstract Content]] so far! The consultation will continue for another two weeks. We try to keep answering questions by and participating in the consultation with the community. </div> <div lang="en" dir="ltr" class="mw-content-ltr"> Personally, I found the arguments thought-provoking, and I find myself changing my own position as I read about new ideas and considerations I haven’t had before. I am planning to add a current state of my thinking next week. So keep the ideas and arguments going! </div> <div lang="en" dir="ltr" class="mw-content-ltr"> === News in Types === </div> <div lang="en" dir="ltr" class="mw-content-ltr"> The [[Z86|Unicode code point]] type has been set up with a [[Z23041|read]] and [[Z24823|display]] function, thus improving the UX on Wikifunctions and also allowing Functions using this Type to be used in embedded calls. Thanks to [[User:99of9|User:99of9]] for shepherding this improvement and for working on the read and display functions. </div> <div lang="en" dir="ltr" class="mw-content-ltr"> For our current work to support import of more Wikidata content ([[:phab:T390559|T390559]]), discussions on three new types proposals are ongoing: [[Wikifunctions:Type proposals/Wikidata time|Wikidata time]], [[Wikifunctions:Type proposals/Wikidata quantity|Wikidata quantity]], and [[Wikifunctions:Type proposals/Wikidata geocoordinates|Wikidata geocoordinates]]. Comments are welcome! </div> <div lang="en" dir="ltr" class="mw-content-ltr"> === Fresh Functions weekly: 17 new Functions === </div> <div lang="en" dir="ltr" class="mw-content-ltr"> This week we had 17 new functions. Here are some of the functions with implementations and passing tests to get a taste of what functions have been created. Thanks everybody for contributing! </div> * {{Z|Z24736}} * {{Z|Z24749}} * {{Z|Z24757}} * {{Z|Z24809}} * {{Z|Z24823}} <div lang="en" dir="ltr" class="mw-content-ltr"> A [https://www.wikifunctions.org/wiki/Special:ListObjectsByType?type=Z8&orderby=latest complete list of all functions sorted by when they were created] is available. </div> [[Category:Status updates{{#translation:}}|2025-05-29]] ot8qxe1lza2k35zf3oa4hnx3ahvby2c 191033 191021 2025-06-04T05:42:10Z Eduardogobi 2982 Created page with "Implementamos chamadas de funções incorporadas em um primeiro conjunto de projetos do Wikcionário: [[$1|hausa]], [[$2|igbo]], [[$3|malaiala]], [[$4|bengali]] e [[$5|divehi]]. Eles representam os idiomas de foco que têm um Wikcionário (ou seja, todos menos o dagbani) e, além disso, um idioma da direita para a esquerda, o divehi. Isso também representa uma duplicação aproximada de visualizações de página para wikis com chamadas de função incorporadas, seguind..." 191033 wikitext text/x-wiki <languages/> {{Wikifunctions updates | prevlabel = Atualização anterior | prev = 2025-05-23 | nextlabel = Próxima atualização | next = }} <span id="Rolling_out_embedded_function_calls_to_five_Wiktionaries"></span> === Implementando chamadas de função incorporadas em cinco Wikcionários === Implementamos chamadas de funções incorporadas em um primeiro conjunto de projetos do Wikcionário: [[:ha:wikt:|hausa]], [[:ig:wikt:|igbo]], [[:ml:wikt:|malaiala]], [[:bn:wikt:|bengali]] e [[:dv:wikt:|divehi]]. Eles representam os idiomas de foco que têm um Wikcionário (ou seja, todos menos o dagbani) e, além disso, um idioma da direita para a esquerda, o divehi. Isso também representa uma duplicação aproximada de visualizações de página para wikis com chamadas de função incorporadas, seguindo nosso plano para uma implementação cuidadosa dos projetos. Como antes, pedimos que as pessoas se contenham e contribuam para esses projetos somente se forem ou quiserem se tornar membros da comunidade em questão. '''Não use nenhuma dessas wikis como bancos de testes.''' Você pode usar a [[Wikifunctions:Embedded function calls/sandbox|caixa de areia de chamadas do Wikifunctions]] para isso. Leia a [[Special:MyLanguage/Wikifunctions:Embedded function calls|documentação sobre a incorporação de chamadas de função]] no Wikifunctions. Mudamos nossa implementação para nos concentrarmos nos Wikcionários por enquanto, em vez das Wikipédias. Essa mudança foi feita para seguir a [[:mw:Special:MyLanguage/Parsoid/Deployments|implementação do Parsoid]], da qual dependem as chamadas de função incorporadas. Voltaremos às Wikipédias provavelmente ainda este ano. Nos próximos meses, estamos planejando a implementação em muitos outros Wikcionários. Isso permitirá que as comunidades do Wikcionário trabalhem em funções que sejam úteis nos diferentes projetos do Wikcionário. Isso pode incluir as já existentes [[:meta:Special:MyLanguage/Abstract Wikipedia/Updates/2023-09-08|funções morfológicas]] (''p. ex.'', o [[Z11089|plural regular]] de ''house'' sendo ''{{#function:Z11089|house}}''), ou funções como esta que lista as [[Z24676|três formas verbais principais de um verbo em inglês]], ''p. ex.'' ''{{#function:Z24687|L3366}}''. No momento, estamos limitados a saídas (''outputs'') de cadeias de caracteres simples no que pode ser incorporado em páginas, mas planejamos permitir alguma formatação ainda este ano, com o objetivo de criar tabelas de conjugação completas, que poderiam ser reutilizadas em muitas edições de idiomas diferentes de projetos do Wikcionário. Até lá, estamos curiosos para saber que tipo de funções vocês estarão criando a partir de agora! <span id="Calculating_with_today’s_date"></span> === Calculando com a data de hoje === <div lang="en" dir="ltr" class="mw-content-ltr"> Hello on this lovely {{#function:Z20421|}}. It is {{#function:Z20744||6 August 2025}} days until [[:wikimania:Special:MyLanguage/2025:Wikimania|Wikimania 2025]]! </div> Se você estiver lendo este texto na página wiki em que foi publicado, o dia da semana e o número de dias na frase anterior serão atualizados automaticamente à medida que nos aproximarmos da Wikimania (se você estiver lendo este texto em um e-mail, isso não funcionará — ainda não há integração das chamadas de função do Wikifunctions em e-mails, e nem está planejada). Um novo recurso ao incorporar chamadas de função em páginas wiki permite que você deixe o valor de uma [[Z20420|data do calendário gregoriano]] vazio. Se fizer isso, o valor será automaticamente definido para o dia atual quando a página for acessada (de acordo com o fuso horário da wiki). Isso permite todos os tipos de resultados dinâmicos: você pode retornar a [[Z20756|idade]] de uma pessoa ou instituição, o [[Z20421|dia da semana]] atual, a [[Z20741|distância da Lua]] de hoje e muito mais. Para usar esse recurso, basta deixar o valor vazio. Sinta-se à vontade para experimentá-lo na [[Wikifunctions:Embedded function calls/sandbox|caixa de areia de chamadas incorporadas]]. Leia [[Special:MyLanguage/Wikifunctions:Embedded function calls|mais documentação sobre como usar chamadas de função incorporadas]] em wikis que tenham essa opção ativada. Estamos planejando trabalhar em dois outros tipos para obter valores padrão: uma [[Z6091|referência de itens do Wikidata]] para definir o item conectado a uma determinada página (se houver) e o [[Z60|idioma]] de uma determinada página. Ambos podem ser usados em chamadas de função para adaptar a chamada de função a uma determinada página. Espera-se que esses recursos sejam desenvolvidos e implantados ainda este ano. Informe-nos se encontrar algum problema com o novo recurso. <span id="Presentation_at_Wikidata_and_Sister_Projects_event"></span> === Apresentação no evento “Wikidata e projetos irmãos” === <div lang="en" dir="ltr" class="mw-content-ltr"> 29 May–1 June 2025 will be the [[:d:Special:MyLanguage/Event:Wikidata and Sister Projects|Wikidata and Sister Projects]] event. [[User:DMartin (WMF)|David Martin]] and [[User:Sannita (WMF)|Luca Martinelli]] are going to present about how Wikidata powers language functions on Wikifunctions and more, on [https://zonestamp.toolforge.org/1748539800 29 May at 17:30 UTC] (that is, today). </div> Saiba mais sobre o evento na página do evento [[:d:Special:MyLanguage/Event:Wikidata and Sister Projects|Wikidata e projetos irmãos]]. <span id="Recent_Changes_in_the_software"></span> === Mudanças recentes no ''software'' === <div lang="en" dir="ltr" class="mw-content-ltr"> Last week, as discussed above, we finished one of our planned Quarterly pieces of work, and also a number of pieces of others. </div> Para o trabalho de “enums leves” ([[:phab:T390558|T390558]]), adicionamos uma interface ([[:phab:T391918|T391918]]) e direitos especiais para criá-los e editá-los ([[:phab:T391913|T391913]] e [[:phab:T391914|T391914]]); por enquanto, assim como no caso dos Tipos, estamos reservando-os apenas para funcionários, mas expandiremos o acesso posteriormente. Para possibilitar as ferramentas de criação e edição, também reformulamos nossos testes para que os tipos de edições e criações permitidos sejam mais flexíveis. Ainda há mais a ser feito antes de considerarmos isso completo, mas devemos poder demonstrá-lo na wiki em breve. Em nossa linha de trabalho de desempenho neste trimestre, estamos trabalhando para adicionar um melhor armazenamento em ''cache'' ao orquestrador. Adicionamos a funcionalidade ao lado do código do MediaWiki para acionar esse novo comportamento ([[:phab:T391971|T391971]]). Em breve, vamos conectar tudo isso, medir e relatar o impacto. Seguindo um amplo conjunto de problemas que o [[User:99of9|User:99of9]] encontrou ao executar casos de teste, adicionamos alguns testes de regressão relacionados a diferentes “formas” válidas de objetos Language ([[:phab:T391329|T391329]]). Como parte da compatibilidade com toda a Wikimedia, adicionamos um novo idioma, [[Z1970|Z1970/qxp]] ([[:phab:T394068|T394068]]). <span id="Ongoing_consultation_about_Location_of_Abstract_Content"></span> === Consulta contínua sobre a localização de conteúdo abstrato === <div lang="en" dir="ltr" class="mw-content-ltr"> Thanks to everyone who participated in the consultation about the [[:meta:Special:MyLanguage/Abstract Wikipedia/Location of Abstract Content|Location for Abstract Content]] so far! The consultation will continue for another two weeks. We try to keep answering questions by and participating in the consultation with the community. </div> <div lang="en" dir="ltr" class="mw-content-ltr"> Personally, I found the arguments thought-provoking, and I find myself changing my own position as I read about new ideas and considerations I haven’t had before. I am planning to add a current state of my thinking next week. So keep the ideas and arguments going! </div> <div lang="en" dir="ltr" class="mw-content-ltr"> === News in Types === </div> <div lang="en" dir="ltr" class="mw-content-ltr"> The [[Z86|Unicode code point]] type has been set up with a [[Z23041|read]] and [[Z24823|display]] function, thus improving the UX on Wikifunctions and also allowing Functions using this Type to be used in embedded calls. Thanks to [[User:99of9|User:99of9]] for shepherding this improvement and for working on the read and display functions. </div> <div lang="en" dir="ltr" class="mw-content-ltr"> For our current work to support import of more Wikidata content ([[:phab:T390559|T390559]]), discussions on three new types proposals are ongoing: [[Wikifunctions:Type proposals/Wikidata time|Wikidata time]], [[Wikifunctions:Type proposals/Wikidata quantity|Wikidata quantity]], and [[Wikifunctions:Type proposals/Wikidata geocoordinates|Wikidata geocoordinates]]. Comments are welcome! </div> <div lang="en" dir="ltr" class="mw-content-ltr"> === Fresh Functions weekly: 17 new Functions === </div> <div lang="en" dir="ltr" class="mw-content-ltr"> This week we had 17 new functions. Here are some of the functions with implementations and passing tests to get a taste of what functions have been created. Thanks everybody for contributing! </div> * {{Z|Z24736}} * {{Z|Z24749}} * {{Z|Z24757}} * {{Z|Z24809}} * {{Z|Z24823}} <div lang="en" dir="ltr" class="mw-content-ltr"> A [https://www.wikifunctions.org/wiki/Special:ListObjectsByType?type=Z8&orderby=latest complete list of all functions sorted by when they were created] is available. </div> [[Category:Status updates{{#translation:}}|2025-05-29]] fyrl76woxh9lvlrgh2il91df7bs3dvt 191035 191033 2025-06-04T05:43:20Z Eduardogobi 2982 Created page with "Olá neste(a) lindo(a) $1. Faltam $2 dias para a [[$3|Wikimania 2025]]!" 191035 wikitext text/x-wiki <languages/> {{Wikifunctions updates | prevlabel = Atualização anterior | prev = 2025-05-23 | nextlabel = Próxima atualização | next = }} <span id="Rolling_out_embedded_function_calls_to_five_Wiktionaries"></span> === Implementando chamadas de função incorporadas em cinco Wikcionários === Implementamos chamadas de funções incorporadas em um primeiro conjunto de projetos do Wikcionário: [[:ha:wikt:|hausa]], [[:ig:wikt:|igbo]], [[:ml:wikt:|malaiala]], [[:bn:wikt:|bengali]] e [[:dv:wikt:|divehi]]. Eles representam os idiomas de foco que têm um Wikcionário (ou seja, todos menos o dagbani) e, além disso, um idioma da direita para a esquerda, o divehi. Isso também representa uma duplicação aproximada de visualizações de página para wikis com chamadas de função incorporadas, seguindo nosso plano para uma implementação cuidadosa dos projetos. Como antes, pedimos que as pessoas se contenham e contribuam para esses projetos somente se forem ou quiserem se tornar membros da comunidade em questão. '''Não use nenhuma dessas wikis como bancos de testes.''' Você pode usar a [[Wikifunctions:Embedded function calls/sandbox|caixa de areia de chamadas do Wikifunctions]] para isso. Leia a [[Special:MyLanguage/Wikifunctions:Embedded function calls|documentação sobre a incorporação de chamadas de função]] no Wikifunctions. Mudamos nossa implementação para nos concentrarmos nos Wikcionários por enquanto, em vez das Wikipédias. Essa mudança foi feita para seguir a [[:mw:Special:MyLanguage/Parsoid/Deployments|implementação do Parsoid]], da qual dependem as chamadas de função incorporadas. Voltaremos às Wikipédias provavelmente ainda este ano. Nos próximos meses, estamos planejando a implementação em muitos outros Wikcionários. Isso permitirá que as comunidades do Wikcionário trabalhem em funções que sejam úteis nos diferentes projetos do Wikcionário. Isso pode incluir as já existentes [[:meta:Special:MyLanguage/Abstract Wikipedia/Updates/2023-09-08|funções morfológicas]] (''p. ex.'', o [[Z11089|plural regular]] de ''house'' sendo ''{{#function:Z11089|house}}''), ou funções como esta que lista as [[Z24676|três formas verbais principais de um verbo em inglês]], ''p. ex.'' ''{{#function:Z24687|L3366}}''. No momento, estamos limitados a saídas (''outputs'') de cadeias de caracteres simples no que pode ser incorporado em páginas, mas planejamos permitir alguma formatação ainda este ano, com o objetivo de criar tabelas de conjugação completas, que poderiam ser reutilizadas em muitas edições de idiomas diferentes de projetos do Wikcionário. Até lá, estamos curiosos para saber que tipo de funções vocês estarão criando a partir de agora! <span id="Calculating_with_today’s_date"></span> === Calculando com a data de hoje === Olá neste(a) lindo(a) {{#function:Z20421|}}. Faltam {{#function:Z20744||6 August 2025}} dias para a [[:wikimania:Special:MyLanguage/2025:Wikimania|Wikimania 2025]]! Se você estiver lendo este texto na página wiki em que foi publicado, o dia da semana e o número de dias na frase anterior serão atualizados automaticamente à medida que nos aproximarmos da Wikimania (se você estiver lendo este texto em um e-mail, isso não funcionará — ainda não há integração das chamadas de função do Wikifunctions em e-mails, e nem está planejada). Um novo recurso ao incorporar chamadas de função em páginas wiki permite que você deixe o valor de uma [[Z20420|data do calendário gregoriano]] vazio. Se fizer isso, o valor será automaticamente definido para o dia atual quando a página for acessada (de acordo com o fuso horário da wiki). Isso permite todos os tipos de resultados dinâmicos: você pode retornar a [[Z20756|idade]] de uma pessoa ou instituição, o [[Z20421|dia da semana]] atual, a [[Z20741|distância da Lua]] de hoje e muito mais. Para usar esse recurso, basta deixar o valor vazio. Sinta-se à vontade para experimentá-lo na [[Wikifunctions:Embedded function calls/sandbox|caixa de areia de chamadas incorporadas]]. Leia [[Special:MyLanguage/Wikifunctions:Embedded function calls|mais documentação sobre como usar chamadas de função incorporadas]] em wikis que tenham essa opção ativada. Estamos planejando trabalhar em dois outros tipos para obter valores padrão: uma [[Z6091|referência de itens do Wikidata]] para definir o item conectado a uma determinada página (se houver) e o [[Z60|idioma]] de uma determinada página. Ambos podem ser usados em chamadas de função para adaptar a chamada de função a uma determinada página. Espera-se que esses recursos sejam desenvolvidos e implantados ainda este ano. Informe-nos se encontrar algum problema com o novo recurso. <span id="Presentation_at_Wikidata_and_Sister_Projects_event"></span> === Apresentação no evento “Wikidata e projetos irmãos” === <div lang="en" dir="ltr" class="mw-content-ltr"> 29 May–1 June 2025 will be the [[:d:Special:MyLanguage/Event:Wikidata and Sister Projects|Wikidata and Sister Projects]] event. [[User:DMartin (WMF)|David Martin]] and [[User:Sannita (WMF)|Luca Martinelli]] are going to present about how Wikidata powers language functions on Wikifunctions and more, on [https://zonestamp.toolforge.org/1748539800 29 May at 17:30 UTC] (that is, today). </div> Saiba mais sobre o evento na página do evento [[:d:Special:MyLanguage/Event:Wikidata and Sister Projects|Wikidata e projetos irmãos]]. <span id="Recent_Changes_in_the_software"></span> === Mudanças recentes no ''software'' === <div lang="en" dir="ltr" class="mw-content-ltr"> Last week, as discussed above, we finished one of our planned Quarterly pieces of work, and also a number of pieces of others. </div> Para o trabalho de “enums leves” ([[:phab:T390558|T390558]]), adicionamos uma interface ([[:phab:T391918|T391918]]) e direitos especiais para criá-los e editá-los ([[:phab:T391913|T391913]] e [[:phab:T391914|T391914]]); por enquanto, assim como no caso dos Tipos, estamos reservando-os apenas para funcionários, mas expandiremos o acesso posteriormente. Para possibilitar as ferramentas de criação e edição, também reformulamos nossos testes para que os tipos de edições e criações permitidos sejam mais flexíveis. Ainda há mais a ser feito antes de considerarmos isso completo, mas devemos poder demonstrá-lo na wiki em breve. Em nossa linha de trabalho de desempenho neste trimestre, estamos trabalhando para adicionar um melhor armazenamento em ''cache'' ao orquestrador. Adicionamos a funcionalidade ao lado do código do MediaWiki para acionar esse novo comportamento ([[:phab:T391971|T391971]]). Em breve, vamos conectar tudo isso, medir e relatar o impacto. Seguindo um amplo conjunto de problemas que o [[User:99of9|User:99of9]] encontrou ao executar casos de teste, adicionamos alguns testes de regressão relacionados a diferentes “formas” válidas de objetos Language ([[:phab:T391329|T391329]]). Como parte da compatibilidade com toda a Wikimedia, adicionamos um novo idioma, [[Z1970|Z1970/qxp]] ([[:phab:T394068|T394068]]). <span id="Ongoing_consultation_about_Location_of_Abstract_Content"></span> === Consulta contínua sobre a localização de conteúdo abstrato === <div lang="en" dir="ltr" class="mw-content-ltr"> Thanks to everyone who participated in the consultation about the [[:meta:Special:MyLanguage/Abstract Wikipedia/Location of Abstract Content|Location for Abstract Content]] so far! The consultation will continue for another two weeks. We try to keep answering questions by and participating in the consultation with the community. </div> <div lang="en" dir="ltr" class="mw-content-ltr"> Personally, I found the arguments thought-provoking, and I find myself changing my own position as I read about new ideas and considerations I haven’t had before. I am planning to add a current state of my thinking next week. So keep the ideas and arguments going! </div> <div lang="en" dir="ltr" class="mw-content-ltr"> === News in Types === </div> <div lang="en" dir="ltr" class="mw-content-ltr"> The [[Z86|Unicode code point]] type has been set up with a [[Z23041|read]] and [[Z24823|display]] function, thus improving the UX on Wikifunctions and also allowing Functions using this Type to be used in embedded calls. Thanks to [[User:99of9|User:99of9]] for shepherding this improvement and for working on the read and display functions. </div> <div lang="en" dir="ltr" class="mw-content-ltr"> For our current work to support import of more Wikidata content ([[:phab:T390559|T390559]]), discussions on three new types proposals are ongoing: [[Wikifunctions:Type proposals/Wikidata time|Wikidata time]], [[Wikifunctions:Type proposals/Wikidata quantity|Wikidata quantity]], and [[Wikifunctions:Type proposals/Wikidata geocoordinates|Wikidata geocoordinates]]. Comments are welcome! </div> <div lang="en" dir="ltr" class="mw-content-ltr"> === Fresh Functions weekly: 17 new Functions === </div> <div lang="en" dir="ltr" class="mw-content-ltr"> This week we had 17 new functions. Here are some of the functions with implementations and passing tests to get a taste of what functions have been created. Thanks everybody for contributing! </div> * {{Z|Z24736}} * {{Z|Z24749}} * {{Z|Z24757}} * {{Z|Z24809}} * {{Z|Z24823}} <div lang="en" dir="ltr" class="mw-content-ltr"> A [https://www.wikifunctions.org/wiki/Special:ListObjectsByType?type=Z8&orderby=latest complete list of all functions sorted by when they were created] is available. </div> [[Category:Status updates{{#translation:}}|2025-05-29]] lk3doi8n1064p6ep7pyfisvf3i79avh 191037 191035 2025-06-04T05:45:22Z Eduardogobi 2982 Created page with "De 29 de maio a 1 de junho de 2025, haverá o evento [[$1|Wikidata e projetos irmãos]]. [[$2|David Martin]] e [[$3|Luca Martinelli]] farão uma apresentação sobre como o Wikidata potencializa as funções de linguagem na Wikifunctions e muito mais, no dia [$4 29 de maio às 17:30 UTC] (ou seja, hoje)." 191037 wikitext text/x-wiki <languages/> {{Wikifunctions updates | prevlabel = Atualização anterior | prev = 2025-05-23 | nextlabel = Próxima atualização | next = }} <span id="Rolling_out_embedded_function_calls_to_five_Wiktionaries"></span> === Implementando chamadas de função incorporadas em cinco Wikcionários === Implementamos chamadas de funções incorporadas em um primeiro conjunto de projetos do Wikcionário: [[:ha:wikt:|hausa]], [[:ig:wikt:|igbo]], [[:ml:wikt:|malaiala]], [[:bn:wikt:|bengali]] e [[:dv:wikt:|divehi]]. Eles representam os idiomas de foco que têm um Wikcionário (ou seja, todos menos o dagbani) e, além disso, um idioma da direita para a esquerda, o divehi. Isso também representa uma duplicação aproximada de visualizações de página para wikis com chamadas de função incorporadas, seguindo nosso plano para uma implementação cuidadosa dos projetos. Como antes, pedimos que as pessoas se contenham e contribuam para esses projetos somente se forem ou quiserem se tornar membros da comunidade em questão. '''Não use nenhuma dessas wikis como bancos de testes.''' Você pode usar a [[Wikifunctions:Embedded function calls/sandbox|caixa de areia de chamadas do Wikifunctions]] para isso. Leia a [[Special:MyLanguage/Wikifunctions:Embedded function calls|documentação sobre a incorporação de chamadas de função]] no Wikifunctions. Mudamos nossa implementação para nos concentrarmos nos Wikcionários por enquanto, em vez das Wikipédias. Essa mudança foi feita para seguir a [[:mw:Special:MyLanguage/Parsoid/Deployments|implementação do Parsoid]], da qual dependem as chamadas de função incorporadas. Voltaremos às Wikipédias provavelmente ainda este ano. Nos próximos meses, estamos planejando a implementação em muitos outros Wikcionários. Isso permitirá que as comunidades do Wikcionário trabalhem em funções que sejam úteis nos diferentes projetos do Wikcionário. Isso pode incluir as já existentes [[:meta:Special:MyLanguage/Abstract Wikipedia/Updates/2023-09-08|funções morfológicas]] (''p. ex.'', o [[Z11089|plural regular]] de ''house'' sendo ''{{#function:Z11089|house}}''), ou funções como esta que lista as [[Z24676|três formas verbais principais de um verbo em inglês]], ''p. ex.'' ''{{#function:Z24687|L3366}}''. No momento, estamos limitados a saídas (''outputs'') de cadeias de caracteres simples no que pode ser incorporado em páginas, mas planejamos permitir alguma formatação ainda este ano, com o objetivo de criar tabelas de conjugação completas, que poderiam ser reutilizadas em muitas edições de idiomas diferentes de projetos do Wikcionário. Até lá, estamos curiosos para saber que tipo de funções vocês estarão criando a partir de agora! <span id="Calculating_with_today’s_date"></span> === Calculando com a data de hoje === Olá neste(a) lindo(a) {{#function:Z20421|}}. Faltam {{#function:Z20744||6 August 2025}} dias para a [[:wikimania:Special:MyLanguage/2025:Wikimania|Wikimania 2025]]! Se você estiver lendo este texto na página wiki em que foi publicado, o dia da semana e o número de dias na frase anterior serão atualizados automaticamente à medida que nos aproximarmos da Wikimania (se você estiver lendo este texto em um e-mail, isso não funcionará — ainda não há integração das chamadas de função do Wikifunctions em e-mails, e nem está planejada). Um novo recurso ao incorporar chamadas de função em páginas wiki permite que você deixe o valor de uma [[Z20420|data do calendário gregoriano]] vazio. Se fizer isso, o valor será automaticamente definido para o dia atual quando a página for acessada (de acordo com o fuso horário da wiki). Isso permite todos os tipos de resultados dinâmicos: você pode retornar a [[Z20756|idade]] de uma pessoa ou instituição, o [[Z20421|dia da semana]] atual, a [[Z20741|distância da Lua]] de hoje e muito mais. Para usar esse recurso, basta deixar o valor vazio. Sinta-se à vontade para experimentá-lo na [[Wikifunctions:Embedded function calls/sandbox|caixa de areia de chamadas incorporadas]]. Leia [[Special:MyLanguage/Wikifunctions:Embedded function calls|mais documentação sobre como usar chamadas de função incorporadas]] em wikis que tenham essa opção ativada. Estamos planejando trabalhar em dois outros tipos para obter valores padrão: uma [[Z6091|referência de itens do Wikidata]] para definir o item conectado a uma determinada página (se houver) e o [[Z60|idioma]] de uma determinada página. Ambos podem ser usados em chamadas de função para adaptar a chamada de função a uma determinada página. Espera-se que esses recursos sejam desenvolvidos e implantados ainda este ano. Informe-nos se encontrar algum problema com o novo recurso. <span id="Presentation_at_Wikidata_and_Sister_Projects_event"></span> === Apresentação no evento “Wikidata e projetos irmãos” === De 29 de maio a 1 de junho de 2025, haverá o evento [[:d:Special:MyLanguage/Event:Wikidata and Sister Projects|Wikidata e projetos irmãos]]. [[User:DMartin (WMF)|David Martin]] e [[User:Sannita (WMF)|Luca Martinelli]] farão uma apresentação sobre como o Wikidata potencializa as funções de linguagem na Wikifunctions e muito mais, no dia [https://zonestamp.toolforge.org/1748539800 29 de maio às 17:30 UTC] (ou seja, hoje). Saiba mais sobre o evento na página do evento [[:d:Special:MyLanguage/Event:Wikidata and Sister Projects|Wikidata e projetos irmãos]]. <span id="Recent_Changes_in_the_software"></span> === Mudanças recentes no ''software'' === <div lang="en" dir="ltr" class="mw-content-ltr"> Last week, as discussed above, we finished one of our planned Quarterly pieces of work, and also a number of pieces of others. </div> Para o trabalho de “enums leves” ([[:phab:T390558|T390558]]), adicionamos uma interface ([[:phab:T391918|T391918]]) e direitos especiais para criá-los e editá-los ([[:phab:T391913|T391913]] e [[:phab:T391914|T391914]]); por enquanto, assim como no caso dos Tipos, estamos reservando-os apenas para funcionários, mas expandiremos o acesso posteriormente. Para possibilitar as ferramentas de criação e edição, também reformulamos nossos testes para que os tipos de edições e criações permitidos sejam mais flexíveis. Ainda há mais a ser feito antes de considerarmos isso completo, mas devemos poder demonstrá-lo na wiki em breve. Em nossa linha de trabalho de desempenho neste trimestre, estamos trabalhando para adicionar um melhor armazenamento em ''cache'' ao orquestrador. Adicionamos a funcionalidade ao lado do código do MediaWiki para acionar esse novo comportamento ([[:phab:T391971|T391971]]). Em breve, vamos conectar tudo isso, medir e relatar o impacto. Seguindo um amplo conjunto de problemas que o [[User:99of9|User:99of9]] encontrou ao executar casos de teste, adicionamos alguns testes de regressão relacionados a diferentes “formas” válidas de objetos Language ([[:phab:T391329|T391329]]). Como parte da compatibilidade com toda a Wikimedia, adicionamos um novo idioma, [[Z1970|Z1970/qxp]] ([[:phab:T394068|T394068]]). <span id="Ongoing_consultation_about_Location_of_Abstract_Content"></span> === Consulta contínua sobre a localização de conteúdo abstrato === <div lang="en" dir="ltr" class="mw-content-ltr"> Thanks to everyone who participated in the consultation about the [[:meta:Special:MyLanguage/Abstract Wikipedia/Location of Abstract Content|Location for Abstract Content]] so far! The consultation will continue for another two weeks. We try to keep answering questions by and participating in the consultation with the community. </div> <div lang="en" dir="ltr" class="mw-content-ltr"> Personally, I found the arguments thought-provoking, and I find myself changing my own position as I read about new ideas and considerations I haven’t had before. I am planning to add a current state of my thinking next week. So keep the ideas and arguments going! </div> <div lang="en" dir="ltr" class="mw-content-ltr"> === News in Types === </div> <div lang="en" dir="ltr" class="mw-content-ltr"> The [[Z86|Unicode code point]] type has been set up with a [[Z23041|read]] and [[Z24823|display]] function, thus improving the UX on Wikifunctions and also allowing Functions using this Type to be used in embedded calls. Thanks to [[User:99of9|User:99of9]] for shepherding this improvement and for working on the read and display functions. </div> <div lang="en" dir="ltr" class="mw-content-ltr"> For our current work to support import of more Wikidata content ([[:phab:T390559|T390559]]), discussions on three new types proposals are ongoing: [[Wikifunctions:Type proposals/Wikidata time|Wikidata time]], [[Wikifunctions:Type proposals/Wikidata quantity|Wikidata quantity]], and [[Wikifunctions:Type proposals/Wikidata geocoordinates|Wikidata geocoordinates]]. Comments are welcome! </div> <div lang="en" dir="ltr" class="mw-content-ltr"> === Fresh Functions weekly: 17 new Functions === </div> <div lang="en" dir="ltr" class="mw-content-ltr"> This week we had 17 new functions. Here are some of the functions with implementations and passing tests to get a taste of what functions have been created. Thanks everybody for contributing! </div> * {{Z|Z24736}} * {{Z|Z24749}} * {{Z|Z24757}} * {{Z|Z24809}} * {{Z|Z24823}} <div lang="en" dir="ltr" class="mw-content-ltr"> A [https://www.wikifunctions.org/wiki/Special:ListObjectsByType?type=Z8&orderby=latest complete list of all functions sorted by when they were created] is available. </div> [[Category:Status updates{{#translation:}}|2025-05-29]] nvoju4nmc9s96xj9coeoh19l1714j9l 191039 191037 2025-06-04T05:46:05Z Eduardogobi 2982 191039 wikitext text/x-wiki <languages/> {{Wikifunctions updates | prevlabel = Atualização anterior | prev = 2025-05-23 | nextlabel = Próxima atualização | next = }} <span id="Rolling_out_embedded_function_calls_to_five_Wiktionaries"></span> === Implementando chamadas de função incorporadas em cinco Wikcionários === Implementamos chamadas de funções incorporadas em um primeiro conjunto de projetos do Wikcionário: [[:ha:wikt:|hausa]], [[:ig:wikt:|igbo]], [[:ml:wikt:|malaiala]], [[:bn:wikt:|bengali]] e [[:dv:wikt:|divehi]]. Eles representam os idiomas de foco que têm um Wikcionário (ou seja, todos menos o dagbani) e, além disso, um idioma da direita para a esquerda, o divehi. Isso também representa uma duplicação aproximada de visualizações de página para wikis com chamadas de função incorporadas, seguindo nosso plano para uma implementação cuidadosa dos projetos. Como antes, pedimos que as pessoas se contenham e contribuam para esses projetos somente se forem ou quiserem se tornar membros da comunidade em questão. '''Não use nenhuma dessas wikis como bancos de testes.''' Você pode usar a [[Wikifunctions:Embedded function calls/sandbox|caixa de areia de chamadas da Wikifunctions]] para isso. Leia a [[Special:MyLanguage/Wikifunctions:Embedded function calls|documentação sobre a incorporação de chamadas de função]] na Wikifunctions. Mudamos nossa implementação para nos concentrarmos nos Wikcionários por enquanto, em vez das Wikipédias. Essa mudança foi feita para seguir a [[:mw:Special:MyLanguage/Parsoid/Deployments|implementação do Parsoid]], da qual dependem as chamadas de função incorporadas. Voltaremos às Wikipédias provavelmente ainda este ano. Nos próximos meses, estamos planejando a implementação em muitos outros Wikcionários. Isso permitirá que as comunidades do Wikcionário trabalhem em funções que sejam úteis nos diferentes projetos do Wikcionário. Isso pode incluir as já existentes [[:meta:Special:MyLanguage/Abstract Wikipedia/Updates/2023-09-08|funções morfológicas]] (''p. ex.'', o [[Z11089|plural regular]] de ''house'' sendo ''{{#function:Z11089|house}}''), ou funções como esta que lista as [[Z24676|três formas verbais principais de um verbo em inglês]], ''p. ex.'' ''{{#function:Z24687|L3366}}''. No momento, estamos limitados a saídas (''outputs'') de cadeias de caracteres simples no que pode ser incorporado em páginas, mas planejamos permitir alguma formatação ainda este ano, com o objetivo de criar tabelas de conjugação completas, que poderiam ser reutilizadas em muitas edições de idiomas diferentes de projetos do Wikcionário. Até lá, estamos curiosos para saber que tipo de funções vocês estarão criando a partir de agora! <span id="Calculating_with_today’s_date"></span> === Calculando com a data de hoje === Olá neste(a) lindo(a) {{#function:Z20421|}}. Faltam {{#function:Z20744||6 August 2025}} dias para a [[:wikimania:Special:MyLanguage/2025:Wikimania|Wikimania 2025]]! Se você estiver lendo este texto na página wiki em que foi publicado, o dia da semana e o número de dias na frase anterior serão atualizados automaticamente à medida que nos aproximarmos da Wikimania (se você estiver lendo este texto em um e-mail, isso não funcionará — ainda não há integração das chamadas de função do Wikifunctions em e-mails, e nem está planejada). Um novo recurso ao incorporar chamadas de função em páginas wiki permite que você deixe o valor de uma [[Z20420|data do calendário gregoriano]] vazio. Se fizer isso, o valor será automaticamente definido para o dia atual quando a página for acessada (de acordo com o fuso horário da wiki). Isso permite todos os tipos de resultados dinâmicos: você pode retornar a [[Z20756|idade]] de uma pessoa ou instituição, o [[Z20421|dia da semana]] atual, a [[Z20741|distância da Lua]] de hoje e muito mais. Para usar esse recurso, basta deixar o valor vazio. Sinta-se à vontade para experimentá-lo na [[Wikifunctions:Embedded function calls/sandbox|caixa de areia de chamadas incorporadas]]. Leia [[Special:MyLanguage/Wikifunctions:Embedded function calls|mais documentação sobre como usar chamadas de função incorporadas]] em wikis que tenham essa opção ativada. Estamos planejando trabalhar em dois outros tipos para obter valores padrão: uma [[Z6091|referência de itens do Wikidata]] para definir o item conectado a uma determinada página (se houver) e o [[Z60|idioma]] de uma determinada página. Ambos podem ser usados em chamadas de função para adaptar a chamada de função a uma determinada página. Espera-se que esses recursos sejam desenvolvidos e implantados ainda este ano. Informe-nos se encontrar algum problema com o novo recurso. <span id="Presentation_at_Wikidata_and_Sister_Projects_event"></span> === Apresentação no evento “Wikidata e projetos irmãos” === De 29 de maio a 1 de junho de 2025, haverá o evento [[:d:Special:MyLanguage/Event:Wikidata and Sister Projects|Wikidata e projetos irmãos]]. [[User:DMartin (WMF)|David Martin]] e [[User:Sannita (WMF)|Luca Martinelli]] farão uma apresentação sobre como o Wikidata potencializa as funções de linguagem na Wikifunctions e muito mais, no dia [https://zonestamp.toolforge.org/1748539800 29 de maio às 17:30 UTC] (ou seja, hoje). Saiba mais sobre o evento na página do evento [[:d:Special:MyLanguage/Event:Wikidata and Sister Projects|Wikidata e projetos irmãos]]. <span id="Recent_Changes_in_the_software"></span> === Mudanças recentes no ''software'' === <div lang="en" dir="ltr" class="mw-content-ltr"> Last week, as discussed above, we finished one of our planned Quarterly pieces of work, and also a number of pieces of others. </div> Para o trabalho de “enums leves” ([[:phab:T390558|T390558]]), adicionamos uma interface ([[:phab:T391918|T391918]]) e direitos especiais para criá-los e editá-los ([[:phab:T391913|T391913]] e [[:phab:T391914|T391914]]); por enquanto, assim como no caso dos Tipos, estamos reservando-os apenas para funcionários, mas expandiremos o acesso posteriormente. Para possibilitar as ferramentas de criação e edição, também reformulamos nossos testes para que os tipos de edições e criações permitidos sejam mais flexíveis. Ainda há mais a ser feito antes de considerarmos isso completo, mas devemos poder demonstrá-lo na wiki em breve. Em nossa linha de trabalho de desempenho neste trimestre, estamos trabalhando para adicionar um melhor armazenamento em ''cache'' ao orquestrador. Adicionamos a funcionalidade ao lado do código do MediaWiki para acionar esse novo comportamento ([[:phab:T391971|T391971]]). Em breve, vamos conectar tudo isso, medir e relatar o impacto. Seguindo um amplo conjunto de problemas que o [[User:99of9|User:99of9]] encontrou ao executar casos de teste, adicionamos alguns testes de regressão relacionados a diferentes “formas” válidas de objetos Language ([[:phab:T391329|T391329]]). Como parte da compatibilidade com toda a Wikimedia, adicionamos um novo idioma, [[Z1970|Z1970/qxp]] ([[:phab:T394068|T394068]]). <span id="Ongoing_consultation_about_Location_of_Abstract_Content"></span> === Consulta contínua sobre a localização de conteúdo abstrato === <div lang="en" dir="ltr" class="mw-content-ltr"> Thanks to everyone who participated in the consultation about the [[:meta:Special:MyLanguage/Abstract Wikipedia/Location of Abstract Content|Location for Abstract Content]] so far! The consultation will continue for another two weeks. We try to keep answering questions by and participating in the consultation with the community. </div> <div lang="en" dir="ltr" class="mw-content-ltr"> Personally, I found the arguments thought-provoking, and I find myself changing my own position as I read about new ideas and considerations I haven’t had before. I am planning to add a current state of my thinking next week. So keep the ideas and arguments going! </div> <div lang="en" dir="ltr" class="mw-content-ltr"> === News in Types === </div> <div lang="en" dir="ltr" class="mw-content-ltr"> The [[Z86|Unicode code point]] type has been set up with a [[Z23041|read]] and [[Z24823|display]] function, thus improving the UX on Wikifunctions and also allowing Functions using this Type to be used in embedded calls. Thanks to [[User:99of9|User:99of9]] for shepherding this improvement and for working on the read and display functions. </div> <div lang="en" dir="ltr" class="mw-content-ltr"> For our current work to support import of more Wikidata content ([[:phab:T390559|T390559]]), discussions on three new types proposals are ongoing: [[Wikifunctions:Type proposals/Wikidata time|Wikidata time]], [[Wikifunctions:Type proposals/Wikidata quantity|Wikidata quantity]], and [[Wikifunctions:Type proposals/Wikidata geocoordinates|Wikidata geocoordinates]]. Comments are welcome! </div> <div lang="en" dir="ltr" class="mw-content-ltr"> === Fresh Functions weekly: 17 new Functions === </div> <div lang="en" dir="ltr" class="mw-content-ltr"> This week we had 17 new functions. Here are some of the functions with implementations and passing tests to get a taste of what functions have been created. Thanks everybody for contributing! </div> * {{Z|Z24736}} * {{Z|Z24749}} * {{Z|Z24757}} * {{Z|Z24809}} * {{Z|Z24823}} <div lang="en" dir="ltr" class="mw-content-ltr"> A [https://www.wikifunctions.org/wiki/Special:ListObjectsByType?type=Z8&orderby=latest complete list of all functions sorted by when they were created] is available. </div> [[Category:Status updates{{#translation:}}|2025-05-29]] 2z6nll52txfaylxj2lgzwan7jjxcz8v 191041 191039 2025-06-04T05:46:11Z Eduardogobi 2982 191041 wikitext text/x-wiki <languages/> {{Wikifunctions updates | prevlabel = Atualização anterior | prev = 2025-05-23 | nextlabel = Próxima atualização | next = }} <span id="Rolling_out_embedded_function_calls_to_five_Wiktionaries"></span> === Implementando chamadas de função incorporadas em cinco Wikcionários === Implementamos chamadas de funções incorporadas em um primeiro conjunto de projetos do Wikcionário: [[:ha:wikt:|hausa]], [[:ig:wikt:|igbo]], [[:ml:wikt:|malaiala]], [[:bn:wikt:|bengali]] e [[:dv:wikt:|divehi]]. Eles representam os idiomas de foco que têm um Wikcionário (ou seja, todos menos o dagbani) e, além disso, um idioma da direita para a esquerda, o divehi. Isso também representa uma duplicação aproximada de visualizações de página para wikis com chamadas de função incorporadas, seguindo nosso plano para uma implementação cuidadosa dos projetos. Como antes, pedimos que as pessoas se contenham e contribuam para esses projetos somente se forem ou quiserem se tornar membros da comunidade em questão. '''Não use nenhuma dessas wikis como bancos de testes.''' Você pode usar a [[Wikifunctions:Embedded function calls/sandbox|caixa de areia de chamadas da Wikifunctions]] para isso. Leia a [[Special:MyLanguage/Wikifunctions:Embedded function calls|documentação sobre a incorporação de chamadas de função]] na Wikifunctions. Mudamos nossa implementação para nos concentrarmos nos Wikcionários por enquanto, em vez das Wikipédias. Essa mudança foi feita para seguir a [[:mw:Special:MyLanguage/Parsoid/Deployments|implementação do Parsoid]], da qual dependem as chamadas de função incorporadas. Voltaremos às Wikipédias provavelmente ainda este ano. Nos próximos meses, estamos planejando a implementação em muitos outros Wikcionários. Isso permitirá que as comunidades do Wikcionário trabalhem em funções que sejam úteis nos diferentes projetos do Wikcionário. Isso pode incluir as já existentes [[:meta:Special:MyLanguage/Abstract Wikipedia/Updates/2023-09-08|funções morfológicas]] (''p. ex.'', o [[Z11089|plural regular]] de ''house'' sendo ''{{#function:Z11089|house}}''), ou funções como esta que lista as [[Z24676|três formas verbais principais de um verbo em inglês]], ''p. ex.'' ''{{#function:Z24687|L3366}}''. No momento, estamos limitados a saídas (''outputs'') de cadeias de caracteres simples no que pode ser incorporado em páginas, mas planejamos permitir alguma formatação ainda este ano, com o objetivo de criar tabelas de conjugação completas, que poderiam ser reutilizadas em muitas edições de idiomas diferentes de projetos do Wikcionário. Até lá, estamos curiosos para saber que tipo de funções vocês estarão criando a partir de agora! <span id="Calculating_with_today’s_date"></span> === Calculando com a data de hoje === Olá neste(a) lindo(a) {{#function:Z20421|}}. Faltam {{#function:Z20744||6 August 2025}} dias para a [[:wikimania:Special:MyLanguage/2025:Wikimania|Wikimania 2025]]! Se você estiver lendo este texto na página wiki em que foi publicado, o dia da semana e o número de dias na frase anterior serão atualizados automaticamente à medida que nos aproximarmos da Wikimania (se você estiver lendo este texto em um e-mail, isso não funcionará — ainda não há integração das chamadas de função da Wikifunctions em e-mails, e nem está planejada). Um novo recurso ao incorporar chamadas de função em páginas wiki permite que você deixe o valor de uma [[Z20420|data do calendário gregoriano]] vazio. Se fizer isso, o valor será automaticamente definido para o dia atual quando a página for acessada (de acordo com o fuso horário da wiki). Isso permite todos os tipos de resultados dinâmicos: você pode retornar a [[Z20756|idade]] de uma pessoa ou instituição, o [[Z20421|dia da semana]] atual, a [[Z20741|distância da Lua]] de hoje e muito mais. Para usar esse recurso, basta deixar o valor vazio. Sinta-se à vontade para experimentá-lo na [[Wikifunctions:Embedded function calls/sandbox|caixa de areia de chamadas incorporadas]]. Leia [[Special:MyLanguage/Wikifunctions:Embedded function calls|mais documentação sobre como usar chamadas de função incorporadas]] em wikis que tenham essa opção ativada. Estamos planejando trabalhar em dois outros tipos para obter valores padrão: uma [[Z6091|referência de itens do Wikidata]] para definir o item conectado a uma determinada página (se houver) e o [[Z60|idioma]] de uma determinada página. Ambos podem ser usados em chamadas de função para adaptar a chamada de função a uma determinada página. Espera-se que esses recursos sejam desenvolvidos e implantados ainda este ano. Informe-nos se encontrar algum problema com o novo recurso. <span id="Presentation_at_Wikidata_and_Sister_Projects_event"></span> === Apresentação no evento “Wikidata e projetos irmãos” === De 29 de maio a 1 de junho de 2025, haverá o evento [[:d:Special:MyLanguage/Event:Wikidata and Sister Projects|Wikidata e projetos irmãos]]. [[User:DMartin (WMF)|David Martin]] e [[User:Sannita (WMF)|Luca Martinelli]] farão uma apresentação sobre como o Wikidata potencializa as funções de linguagem na Wikifunctions e muito mais, no dia [https://zonestamp.toolforge.org/1748539800 29 de maio às 17:30 UTC] (ou seja, hoje). Saiba mais sobre o evento na página do evento [[:d:Special:MyLanguage/Event:Wikidata and Sister Projects|Wikidata e projetos irmãos]]. <span id="Recent_Changes_in_the_software"></span> === Mudanças recentes no ''software'' === <div lang="en" dir="ltr" class="mw-content-ltr"> Last week, as discussed above, we finished one of our planned Quarterly pieces of work, and also a number of pieces of others. </div> Para o trabalho de “enums leves” ([[:phab:T390558|T390558]]), adicionamos uma interface ([[:phab:T391918|T391918]]) e direitos especiais para criá-los e editá-los ([[:phab:T391913|T391913]] e [[:phab:T391914|T391914]]); por enquanto, assim como no caso dos Tipos, estamos reservando-os apenas para funcionários, mas expandiremos o acesso posteriormente. Para possibilitar as ferramentas de criação e edição, também reformulamos nossos testes para que os tipos de edições e criações permitidos sejam mais flexíveis. Ainda há mais a ser feito antes de considerarmos isso completo, mas devemos poder demonstrá-lo na wiki em breve. Em nossa linha de trabalho de desempenho neste trimestre, estamos trabalhando para adicionar um melhor armazenamento em ''cache'' ao orquestrador. Adicionamos a funcionalidade ao lado do código do MediaWiki para acionar esse novo comportamento ([[:phab:T391971|T391971]]). Em breve, vamos conectar tudo isso, medir e relatar o impacto. Seguindo um amplo conjunto de problemas que o [[User:99of9|User:99of9]] encontrou ao executar casos de teste, adicionamos alguns testes de regressão relacionados a diferentes “formas” válidas de objetos Language ([[:phab:T391329|T391329]]). Como parte da compatibilidade com toda a Wikimedia, adicionamos um novo idioma, [[Z1970|Z1970/qxp]] ([[:phab:T394068|T394068]]). <span id="Ongoing_consultation_about_Location_of_Abstract_Content"></span> === Consulta contínua sobre a localização de conteúdo abstrato === <div lang="en" dir="ltr" class="mw-content-ltr"> Thanks to everyone who participated in the consultation about the [[:meta:Special:MyLanguage/Abstract Wikipedia/Location of Abstract Content|Location for Abstract Content]] so far! The consultation will continue for another two weeks. We try to keep answering questions by and participating in the consultation with the community. </div> <div lang="en" dir="ltr" class="mw-content-ltr"> Personally, I found the arguments thought-provoking, and I find myself changing my own position as I read about new ideas and considerations I haven’t had before. I am planning to add a current state of my thinking next week. So keep the ideas and arguments going! </div> <div lang="en" dir="ltr" class="mw-content-ltr"> === News in Types === </div> <div lang="en" dir="ltr" class="mw-content-ltr"> The [[Z86|Unicode code point]] type has been set up with a [[Z23041|read]] and [[Z24823|display]] function, thus improving the UX on Wikifunctions and also allowing Functions using this Type to be used in embedded calls. Thanks to [[User:99of9|User:99of9]] for shepherding this improvement and for working on the read and display functions. </div> <div lang="en" dir="ltr" class="mw-content-ltr"> For our current work to support import of more Wikidata content ([[:phab:T390559|T390559]]), discussions on three new types proposals are ongoing: [[Wikifunctions:Type proposals/Wikidata time|Wikidata time]], [[Wikifunctions:Type proposals/Wikidata quantity|Wikidata quantity]], and [[Wikifunctions:Type proposals/Wikidata geocoordinates|Wikidata geocoordinates]]. Comments are welcome! </div> <div lang="en" dir="ltr" class="mw-content-ltr"> === Fresh Functions weekly: 17 new Functions === </div> <div lang="en" dir="ltr" class="mw-content-ltr"> This week we had 17 new functions. Here are some of the functions with implementations and passing tests to get a taste of what functions have been created. Thanks everybody for contributing! </div> * {{Z|Z24736}} * {{Z|Z24749}} * {{Z|Z24757}} * {{Z|Z24809}} * {{Z|Z24823}} <div lang="en" dir="ltr" class="mw-content-ltr"> A [https://www.wikifunctions.org/wiki/Special:ListObjectsByType?type=Z8&orderby=latest complete list of all functions sorted by when they were created] is available. </div> [[Category:Status updates{{#translation:}}|2025-05-29]] a15ht0mp6831o1k7moizer2gktte6ka 191043 191041 2025-06-04T05:47:30Z Eduardogobi 2982 Created page with "Na semana passada, conforme discutido acima, concluímos um de nossos trabalhos planejados para o trimestre e também vários outros." 191043 wikitext text/x-wiki <languages/> {{Wikifunctions updates | prevlabel = Atualização anterior | prev = 2025-05-23 | nextlabel = Próxima atualização | next = }} <span id="Rolling_out_embedded_function_calls_to_five_Wiktionaries"></span> === Implementando chamadas de função incorporadas em cinco Wikcionários === Implementamos chamadas de funções incorporadas em um primeiro conjunto de projetos do Wikcionário: [[:ha:wikt:|hausa]], [[:ig:wikt:|igbo]], [[:ml:wikt:|malaiala]], [[:bn:wikt:|bengali]] e [[:dv:wikt:|divehi]]. Eles representam os idiomas de foco que têm um Wikcionário (ou seja, todos menos o dagbani) e, além disso, um idioma da direita para a esquerda, o divehi. Isso também representa uma duplicação aproximada de visualizações de página para wikis com chamadas de função incorporadas, seguindo nosso plano para uma implementação cuidadosa dos projetos. Como antes, pedimos que as pessoas se contenham e contribuam para esses projetos somente se forem ou quiserem se tornar membros da comunidade em questão. '''Não use nenhuma dessas wikis como bancos de testes.''' Você pode usar a [[Wikifunctions:Embedded function calls/sandbox|caixa de areia de chamadas da Wikifunctions]] para isso. Leia a [[Special:MyLanguage/Wikifunctions:Embedded function calls|documentação sobre a incorporação de chamadas de função]] na Wikifunctions. Mudamos nossa implementação para nos concentrarmos nos Wikcionários por enquanto, em vez das Wikipédias. Essa mudança foi feita para seguir a [[:mw:Special:MyLanguage/Parsoid/Deployments|implementação do Parsoid]], da qual dependem as chamadas de função incorporadas. Voltaremos às Wikipédias provavelmente ainda este ano. Nos próximos meses, estamos planejando a implementação em muitos outros Wikcionários. Isso permitirá que as comunidades do Wikcionário trabalhem em funções que sejam úteis nos diferentes projetos do Wikcionário. Isso pode incluir as já existentes [[:meta:Special:MyLanguage/Abstract Wikipedia/Updates/2023-09-08|funções morfológicas]] (''p. ex.'', o [[Z11089|plural regular]] de ''house'' sendo ''{{#function:Z11089|house}}''), ou funções como esta que lista as [[Z24676|três formas verbais principais de um verbo em inglês]], ''p. ex.'' ''{{#function:Z24687|L3366}}''. No momento, estamos limitados a saídas (''outputs'') de cadeias de caracteres simples no que pode ser incorporado em páginas, mas planejamos permitir alguma formatação ainda este ano, com o objetivo de criar tabelas de conjugação completas, que poderiam ser reutilizadas em muitas edições de idiomas diferentes de projetos do Wikcionário. Até lá, estamos curiosos para saber que tipo de funções vocês estarão criando a partir de agora! <span id="Calculating_with_today’s_date"></span> === Calculando com a data de hoje === Olá neste(a) lindo(a) {{#function:Z20421|}}. Faltam {{#function:Z20744||6 August 2025}} dias para a [[:wikimania:Special:MyLanguage/2025:Wikimania|Wikimania 2025]]! Se você estiver lendo este texto na página wiki em que foi publicado, o dia da semana e o número de dias na frase anterior serão atualizados automaticamente à medida que nos aproximarmos da Wikimania (se você estiver lendo este texto em um e-mail, isso não funcionará — ainda não há integração das chamadas de função da Wikifunctions em e-mails, e nem está planejada). Um novo recurso ao incorporar chamadas de função em páginas wiki permite que você deixe o valor de uma [[Z20420|data do calendário gregoriano]] vazio. Se fizer isso, o valor será automaticamente definido para o dia atual quando a página for acessada (de acordo com o fuso horário da wiki). Isso permite todos os tipos de resultados dinâmicos: você pode retornar a [[Z20756|idade]] de uma pessoa ou instituição, o [[Z20421|dia da semana]] atual, a [[Z20741|distância da Lua]] de hoje e muito mais. Para usar esse recurso, basta deixar o valor vazio. Sinta-se à vontade para experimentá-lo na [[Wikifunctions:Embedded function calls/sandbox|caixa de areia de chamadas incorporadas]]. Leia [[Special:MyLanguage/Wikifunctions:Embedded function calls|mais documentação sobre como usar chamadas de função incorporadas]] em wikis que tenham essa opção ativada. Estamos planejando trabalhar em dois outros tipos para obter valores padrão: uma [[Z6091|referência de itens do Wikidata]] para definir o item conectado a uma determinada página (se houver) e o [[Z60|idioma]] de uma determinada página. Ambos podem ser usados em chamadas de função para adaptar a chamada de função a uma determinada página. Espera-se que esses recursos sejam desenvolvidos e implantados ainda este ano. Informe-nos se encontrar algum problema com o novo recurso. <span id="Presentation_at_Wikidata_and_Sister_Projects_event"></span> === Apresentação no evento “Wikidata e projetos irmãos” === De 29 de maio a 1 de junho de 2025, haverá o evento [[:d:Special:MyLanguage/Event:Wikidata and Sister Projects|Wikidata e projetos irmãos]]. [[User:DMartin (WMF)|David Martin]] e [[User:Sannita (WMF)|Luca Martinelli]] farão uma apresentação sobre como o Wikidata potencializa as funções de linguagem na Wikifunctions e muito mais, no dia [https://zonestamp.toolforge.org/1748539800 29 de maio às 17:30 UTC] (ou seja, hoje). Saiba mais sobre o evento na página do evento [[:d:Special:MyLanguage/Event:Wikidata and Sister Projects|Wikidata e projetos irmãos]]. <span id="Recent_Changes_in_the_software"></span> === Mudanças recentes no ''software'' === Na semana passada, conforme discutido acima, concluímos um de nossos trabalhos planejados para o trimestre e também vários outros. Para o trabalho de “enums leves” ([[:phab:T390558|T390558]]), adicionamos uma interface ([[:phab:T391918|T391918]]) e direitos especiais para criá-los e editá-los ([[:phab:T391913|T391913]] e [[:phab:T391914|T391914]]); por enquanto, assim como no caso dos Tipos, estamos reservando-os apenas para funcionários, mas expandiremos o acesso posteriormente. Para possibilitar as ferramentas de criação e edição, também reformulamos nossos testes para que os tipos de edições e criações permitidos sejam mais flexíveis. Ainda há mais a ser feito antes de considerarmos isso completo, mas devemos poder demonstrá-lo na wiki em breve. Em nossa linha de trabalho de desempenho neste trimestre, estamos trabalhando para adicionar um melhor armazenamento em ''cache'' ao orquestrador. Adicionamos a funcionalidade ao lado do código do MediaWiki para acionar esse novo comportamento ([[:phab:T391971|T391971]]). Em breve, vamos conectar tudo isso, medir e relatar o impacto. Seguindo um amplo conjunto de problemas que o [[User:99of9|User:99of9]] encontrou ao executar casos de teste, adicionamos alguns testes de regressão relacionados a diferentes “formas” válidas de objetos Language ([[:phab:T391329|T391329]]). Como parte da compatibilidade com toda a Wikimedia, adicionamos um novo idioma, [[Z1970|Z1970/qxp]] ([[:phab:T394068|T394068]]). <span id="Ongoing_consultation_about_Location_of_Abstract_Content"></span> === Consulta contínua sobre a localização de conteúdo abstrato === <div lang="en" dir="ltr" class="mw-content-ltr"> Thanks to everyone who participated in the consultation about the [[:meta:Special:MyLanguage/Abstract Wikipedia/Location of Abstract Content|Location for Abstract Content]] so far! The consultation will continue for another two weeks. We try to keep answering questions by and participating in the consultation with the community. </div> <div lang="en" dir="ltr" class="mw-content-ltr"> Personally, I found the arguments thought-provoking, and I find myself changing my own position as I read about new ideas and considerations I haven’t had before. I am planning to add a current state of my thinking next week. So keep the ideas and arguments going! </div> <div lang="en" dir="ltr" class="mw-content-ltr"> === News in Types === </div> <div lang="en" dir="ltr" class="mw-content-ltr"> The [[Z86|Unicode code point]] type has been set up with a [[Z23041|read]] and [[Z24823|display]] function, thus improving the UX on Wikifunctions and also allowing Functions using this Type to be used in embedded calls. Thanks to [[User:99of9|User:99of9]] for shepherding this improvement and for working on the read and display functions. </div> <div lang="en" dir="ltr" class="mw-content-ltr"> For our current work to support import of more Wikidata content ([[:phab:T390559|T390559]]), discussions on three new types proposals are ongoing: [[Wikifunctions:Type proposals/Wikidata time|Wikidata time]], [[Wikifunctions:Type proposals/Wikidata quantity|Wikidata quantity]], and [[Wikifunctions:Type proposals/Wikidata geocoordinates|Wikidata geocoordinates]]. Comments are welcome! </div> <div lang="en" dir="ltr" class="mw-content-ltr"> === Fresh Functions weekly: 17 new Functions === </div> <div lang="en" dir="ltr" class="mw-content-ltr"> This week we had 17 new functions. Here are some of the functions with implementations and passing tests to get a taste of what functions have been created. Thanks everybody for contributing! </div> * {{Z|Z24736}} * {{Z|Z24749}} * {{Z|Z24757}} * {{Z|Z24809}} * {{Z|Z24823}} <div lang="en" dir="ltr" class="mw-content-ltr"> A [https://www.wikifunctions.org/wiki/Special:ListObjectsByType?type=Z8&orderby=latest complete list of all functions sorted by when they were created] is available. </div> [[Category:Status updates{{#translation:}}|2025-05-29]] mfvqo8b04q2cqfyzeap9twifk7oddvr 191045 191043 2025-06-04T05:48:10Z Eduardogobi 2982 Created page with "Agradecemos a todos que participaram da consulta sobre a [[$1|localização de conteúdo abstrato]] até o momento! A consulta continuará por mais duas semanas. Tentamos continuar respondendo às perguntas e participando da consulta com a comunidade." 191045 wikitext text/x-wiki <languages/> {{Wikifunctions updates | prevlabel = Atualização anterior | prev = 2025-05-23 | nextlabel = Próxima atualização | next = }} <span id="Rolling_out_embedded_function_calls_to_five_Wiktionaries"></span> === Implementando chamadas de função incorporadas em cinco Wikcionários === Implementamos chamadas de funções incorporadas em um primeiro conjunto de projetos do Wikcionário: [[:ha:wikt:|hausa]], [[:ig:wikt:|igbo]], [[:ml:wikt:|malaiala]], [[:bn:wikt:|bengali]] e [[:dv:wikt:|divehi]]. Eles representam os idiomas de foco que têm um Wikcionário (ou seja, todos menos o dagbani) e, além disso, um idioma da direita para a esquerda, o divehi. Isso também representa uma duplicação aproximada de visualizações de página para wikis com chamadas de função incorporadas, seguindo nosso plano para uma implementação cuidadosa dos projetos. Como antes, pedimos que as pessoas se contenham e contribuam para esses projetos somente se forem ou quiserem se tornar membros da comunidade em questão. '''Não use nenhuma dessas wikis como bancos de testes.''' Você pode usar a [[Wikifunctions:Embedded function calls/sandbox|caixa de areia de chamadas da Wikifunctions]] para isso. Leia a [[Special:MyLanguage/Wikifunctions:Embedded function calls|documentação sobre a incorporação de chamadas de função]] na Wikifunctions. Mudamos nossa implementação para nos concentrarmos nos Wikcionários por enquanto, em vez das Wikipédias. Essa mudança foi feita para seguir a [[:mw:Special:MyLanguage/Parsoid/Deployments|implementação do Parsoid]], da qual dependem as chamadas de função incorporadas. Voltaremos às Wikipédias provavelmente ainda este ano. Nos próximos meses, estamos planejando a implementação em muitos outros Wikcionários. Isso permitirá que as comunidades do Wikcionário trabalhem em funções que sejam úteis nos diferentes projetos do Wikcionário. Isso pode incluir as já existentes [[:meta:Special:MyLanguage/Abstract Wikipedia/Updates/2023-09-08|funções morfológicas]] (''p. ex.'', o [[Z11089|plural regular]] de ''house'' sendo ''{{#function:Z11089|house}}''), ou funções como esta que lista as [[Z24676|três formas verbais principais de um verbo em inglês]], ''p. ex.'' ''{{#function:Z24687|L3366}}''. No momento, estamos limitados a saídas (''outputs'') de cadeias de caracteres simples no que pode ser incorporado em páginas, mas planejamos permitir alguma formatação ainda este ano, com o objetivo de criar tabelas de conjugação completas, que poderiam ser reutilizadas em muitas edições de idiomas diferentes de projetos do Wikcionário. Até lá, estamos curiosos para saber que tipo de funções vocês estarão criando a partir de agora! <span id="Calculating_with_today’s_date"></span> === Calculando com a data de hoje === Olá neste(a) lindo(a) {{#function:Z20421|}}. Faltam {{#function:Z20744||6 August 2025}} dias para a [[:wikimania:Special:MyLanguage/2025:Wikimania|Wikimania 2025]]! Se você estiver lendo este texto na página wiki em que foi publicado, o dia da semana e o número de dias na frase anterior serão atualizados automaticamente à medida que nos aproximarmos da Wikimania (se você estiver lendo este texto em um e-mail, isso não funcionará — ainda não há integração das chamadas de função da Wikifunctions em e-mails, e nem está planejada). Um novo recurso ao incorporar chamadas de função em páginas wiki permite que você deixe o valor de uma [[Z20420|data do calendário gregoriano]] vazio. Se fizer isso, o valor será automaticamente definido para o dia atual quando a página for acessada (de acordo com o fuso horário da wiki). Isso permite todos os tipos de resultados dinâmicos: você pode retornar a [[Z20756|idade]] de uma pessoa ou instituição, o [[Z20421|dia da semana]] atual, a [[Z20741|distância da Lua]] de hoje e muito mais. Para usar esse recurso, basta deixar o valor vazio. Sinta-se à vontade para experimentá-lo na [[Wikifunctions:Embedded function calls/sandbox|caixa de areia de chamadas incorporadas]]. Leia [[Special:MyLanguage/Wikifunctions:Embedded function calls|mais documentação sobre como usar chamadas de função incorporadas]] em wikis que tenham essa opção ativada. Estamos planejando trabalhar em dois outros tipos para obter valores padrão: uma [[Z6091|referência de itens do Wikidata]] para definir o item conectado a uma determinada página (se houver) e o [[Z60|idioma]] de uma determinada página. Ambos podem ser usados em chamadas de função para adaptar a chamada de função a uma determinada página. Espera-se que esses recursos sejam desenvolvidos e implantados ainda este ano. Informe-nos se encontrar algum problema com o novo recurso. <span id="Presentation_at_Wikidata_and_Sister_Projects_event"></span> === Apresentação no evento “Wikidata e projetos irmãos” === De 29 de maio a 1 de junho de 2025, haverá o evento [[:d:Special:MyLanguage/Event:Wikidata and Sister Projects|Wikidata e projetos irmãos]]. [[User:DMartin (WMF)|David Martin]] e [[User:Sannita (WMF)|Luca Martinelli]] farão uma apresentação sobre como o Wikidata potencializa as funções de linguagem na Wikifunctions e muito mais, no dia [https://zonestamp.toolforge.org/1748539800 29 de maio às 17:30 UTC] (ou seja, hoje). Saiba mais sobre o evento na página do evento [[:d:Special:MyLanguage/Event:Wikidata and Sister Projects|Wikidata e projetos irmãos]]. <span id="Recent_Changes_in_the_software"></span> === Mudanças recentes no ''software'' === Na semana passada, conforme discutido acima, concluímos um de nossos trabalhos planejados para o trimestre e também vários outros. Para o trabalho de “enums leves” ([[:phab:T390558|T390558]]), adicionamos uma interface ([[:phab:T391918|T391918]]) e direitos especiais para criá-los e editá-los ([[:phab:T391913|T391913]] e [[:phab:T391914|T391914]]); por enquanto, assim como no caso dos Tipos, estamos reservando-os apenas para funcionários, mas expandiremos o acesso posteriormente. Para possibilitar as ferramentas de criação e edição, também reformulamos nossos testes para que os tipos de edições e criações permitidos sejam mais flexíveis. Ainda há mais a ser feito antes de considerarmos isso completo, mas devemos poder demonstrá-lo na wiki em breve. Em nossa linha de trabalho de desempenho neste trimestre, estamos trabalhando para adicionar um melhor armazenamento em ''cache'' ao orquestrador. Adicionamos a funcionalidade ao lado do código do MediaWiki para acionar esse novo comportamento ([[:phab:T391971|T391971]]). Em breve, vamos conectar tudo isso, medir e relatar o impacto. Seguindo um amplo conjunto de problemas que o [[User:99of9|User:99of9]] encontrou ao executar casos de teste, adicionamos alguns testes de regressão relacionados a diferentes “formas” válidas de objetos Language ([[:phab:T391329|T391329]]). Como parte da compatibilidade com toda a Wikimedia, adicionamos um novo idioma, [[Z1970|Z1970/qxp]] ([[:phab:T394068|T394068]]). <span id="Ongoing_consultation_about_Location_of_Abstract_Content"></span> === Consulta contínua sobre a localização de conteúdo abstrato === Agradecemos a todos que participaram da consulta sobre a [[:meta:Special:MyLanguage/Abstract Wikipedia/Location of Abstract Content|localização de conteúdo abstrato]] até o momento! A consulta continuará por mais duas semanas. Tentamos continuar respondendo às perguntas e participando da consulta com a comunidade. <div lang="en" dir="ltr" class="mw-content-ltr"> Personally, I found the arguments thought-provoking, and I find myself changing my own position as I read about new ideas and considerations I haven’t had before. I am planning to add a current state of my thinking next week. So keep the ideas and arguments going! </div> <div lang="en" dir="ltr" class="mw-content-ltr"> === News in Types === </div> <div lang="en" dir="ltr" class="mw-content-ltr"> The [[Z86|Unicode code point]] type has been set up with a [[Z23041|read]] and [[Z24823|display]] function, thus improving the UX on Wikifunctions and also allowing Functions using this Type to be used in embedded calls. Thanks to [[User:99of9|User:99of9]] for shepherding this improvement and for working on the read and display functions. </div> <div lang="en" dir="ltr" class="mw-content-ltr"> For our current work to support import of more Wikidata content ([[:phab:T390559|T390559]]), discussions on three new types proposals are ongoing: [[Wikifunctions:Type proposals/Wikidata time|Wikidata time]], [[Wikifunctions:Type proposals/Wikidata quantity|Wikidata quantity]], and [[Wikifunctions:Type proposals/Wikidata geocoordinates|Wikidata geocoordinates]]. Comments are welcome! </div> <div lang="en" dir="ltr" class="mw-content-ltr"> === Fresh Functions weekly: 17 new Functions === </div> <div lang="en" dir="ltr" class="mw-content-ltr"> This week we had 17 new functions. Here are some of the functions with implementations and passing tests to get a taste of what functions have been created. Thanks everybody for contributing! </div> * {{Z|Z24736}} * {{Z|Z24749}} * {{Z|Z24757}} * {{Z|Z24809}} * {{Z|Z24823}} <div lang="en" dir="ltr" class="mw-content-ltr"> A [https://www.wikifunctions.org/wiki/Special:ListObjectsByType?type=Z8&orderby=latest complete list of all functions sorted by when they were created] is available. </div> [[Category:Status updates{{#translation:}}|2025-05-29]] s12jv09lext55a7v5aglukddjlwrwhn 191047 191045 2025-06-04T05:48:28Z Eduardogobi 2982 Created page with "Pessoalmente, achei os argumentos instigantes e me vejo mudando minha própria posição ao ler sobre novas ideias e considerações que não tinha antes. Estou planejando adicionar um estado atual do meu pensamento na próxima semana. Portanto, continuem com as ideias e os argumentos!" 191047 wikitext text/x-wiki <languages/> {{Wikifunctions updates | prevlabel = Atualização anterior | prev = 2025-05-23 | nextlabel = Próxima atualização | next = }} <span id="Rolling_out_embedded_function_calls_to_five_Wiktionaries"></span> === Implementando chamadas de função incorporadas em cinco Wikcionários === Implementamos chamadas de funções incorporadas em um primeiro conjunto de projetos do Wikcionário: [[:ha:wikt:|hausa]], [[:ig:wikt:|igbo]], [[:ml:wikt:|malaiala]], [[:bn:wikt:|bengali]] e [[:dv:wikt:|divehi]]. Eles representam os idiomas de foco que têm um Wikcionário (ou seja, todos menos o dagbani) e, além disso, um idioma da direita para a esquerda, o divehi. Isso também representa uma duplicação aproximada de visualizações de página para wikis com chamadas de função incorporadas, seguindo nosso plano para uma implementação cuidadosa dos projetos. Como antes, pedimos que as pessoas se contenham e contribuam para esses projetos somente se forem ou quiserem se tornar membros da comunidade em questão. '''Não use nenhuma dessas wikis como bancos de testes.''' Você pode usar a [[Wikifunctions:Embedded function calls/sandbox|caixa de areia de chamadas da Wikifunctions]] para isso. Leia a [[Special:MyLanguage/Wikifunctions:Embedded function calls|documentação sobre a incorporação de chamadas de função]] na Wikifunctions. Mudamos nossa implementação para nos concentrarmos nos Wikcionários por enquanto, em vez das Wikipédias. Essa mudança foi feita para seguir a [[:mw:Special:MyLanguage/Parsoid/Deployments|implementação do Parsoid]], da qual dependem as chamadas de função incorporadas. Voltaremos às Wikipédias provavelmente ainda este ano. Nos próximos meses, estamos planejando a implementação em muitos outros Wikcionários. Isso permitirá que as comunidades do Wikcionário trabalhem em funções que sejam úteis nos diferentes projetos do Wikcionário. Isso pode incluir as já existentes [[:meta:Special:MyLanguage/Abstract Wikipedia/Updates/2023-09-08|funções morfológicas]] (''p. ex.'', o [[Z11089|plural regular]] de ''house'' sendo ''{{#function:Z11089|house}}''), ou funções como esta que lista as [[Z24676|três formas verbais principais de um verbo em inglês]], ''p. ex.'' ''{{#function:Z24687|L3366}}''. No momento, estamos limitados a saídas (''outputs'') de cadeias de caracteres simples no que pode ser incorporado em páginas, mas planejamos permitir alguma formatação ainda este ano, com o objetivo de criar tabelas de conjugação completas, que poderiam ser reutilizadas em muitas edições de idiomas diferentes de projetos do Wikcionário. Até lá, estamos curiosos para saber que tipo de funções vocês estarão criando a partir de agora! <span id="Calculating_with_today’s_date"></span> === Calculando com a data de hoje === Olá neste(a) lindo(a) {{#function:Z20421|}}. Faltam {{#function:Z20744||6 August 2025}} dias para a [[:wikimania:Special:MyLanguage/2025:Wikimania|Wikimania 2025]]! Se você estiver lendo este texto na página wiki em que foi publicado, o dia da semana e o número de dias na frase anterior serão atualizados automaticamente à medida que nos aproximarmos da Wikimania (se você estiver lendo este texto em um e-mail, isso não funcionará — ainda não há integração das chamadas de função da Wikifunctions em e-mails, e nem está planejada). Um novo recurso ao incorporar chamadas de função em páginas wiki permite que você deixe o valor de uma [[Z20420|data do calendário gregoriano]] vazio. Se fizer isso, o valor será automaticamente definido para o dia atual quando a página for acessada (de acordo com o fuso horário da wiki). Isso permite todos os tipos de resultados dinâmicos: você pode retornar a [[Z20756|idade]] de uma pessoa ou instituição, o [[Z20421|dia da semana]] atual, a [[Z20741|distância da Lua]] de hoje e muito mais. Para usar esse recurso, basta deixar o valor vazio. Sinta-se à vontade para experimentá-lo na [[Wikifunctions:Embedded function calls/sandbox|caixa de areia de chamadas incorporadas]]. Leia [[Special:MyLanguage/Wikifunctions:Embedded function calls|mais documentação sobre como usar chamadas de função incorporadas]] em wikis que tenham essa opção ativada. Estamos planejando trabalhar em dois outros tipos para obter valores padrão: uma [[Z6091|referência de itens do Wikidata]] para definir o item conectado a uma determinada página (se houver) e o [[Z60|idioma]] de uma determinada página. Ambos podem ser usados em chamadas de função para adaptar a chamada de função a uma determinada página. Espera-se que esses recursos sejam desenvolvidos e implantados ainda este ano. Informe-nos se encontrar algum problema com o novo recurso. <span id="Presentation_at_Wikidata_and_Sister_Projects_event"></span> === Apresentação no evento “Wikidata e projetos irmãos” === De 29 de maio a 1 de junho de 2025, haverá o evento [[:d:Special:MyLanguage/Event:Wikidata and Sister Projects|Wikidata e projetos irmãos]]. [[User:DMartin (WMF)|David Martin]] e [[User:Sannita (WMF)|Luca Martinelli]] farão uma apresentação sobre como o Wikidata potencializa as funções de linguagem na Wikifunctions e muito mais, no dia [https://zonestamp.toolforge.org/1748539800 29 de maio às 17:30 UTC] (ou seja, hoje). Saiba mais sobre o evento na página do evento [[:d:Special:MyLanguage/Event:Wikidata and Sister Projects|Wikidata e projetos irmãos]]. <span id="Recent_Changes_in_the_software"></span> === Mudanças recentes no ''software'' === Na semana passada, conforme discutido acima, concluímos um de nossos trabalhos planejados para o trimestre e também vários outros. Para o trabalho de “enums leves” ([[:phab:T390558|T390558]]), adicionamos uma interface ([[:phab:T391918|T391918]]) e direitos especiais para criá-los e editá-los ([[:phab:T391913|T391913]] e [[:phab:T391914|T391914]]); por enquanto, assim como no caso dos Tipos, estamos reservando-os apenas para funcionários, mas expandiremos o acesso posteriormente. Para possibilitar as ferramentas de criação e edição, também reformulamos nossos testes para que os tipos de edições e criações permitidos sejam mais flexíveis. Ainda há mais a ser feito antes de considerarmos isso completo, mas devemos poder demonstrá-lo na wiki em breve. Em nossa linha de trabalho de desempenho neste trimestre, estamos trabalhando para adicionar um melhor armazenamento em ''cache'' ao orquestrador. Adicionamos a funcionalidade ao lado do código do MediaWiki para acionar esse novo comportamento ([[:phab:T391971|T391971]]). Em breve, vamos conectar tudo isso, medir e relatar o impacto. Seguindo um amplo conjunto de problemas que o [[User:99of9|User:99of9]] encontrou ao executar casos de teste, adicionamos alguns testes de regressão relacionados a diferentes “formas” válidas de objetos Language ([[:phab:T391329|T391329]]). Como parte da compatibilidade com toda a Wikimedia, adicionamos um novo idioma, [[Z1970|Z1970/qxp]] ([[:phab:T394068|T394068]]). <span id="Ongoing_consultation_about_Location_of_Abstract_Content"></span> === Consulta contínua sobre a localização de conteúdo abstrato === Agradecemos a todos que participaram da consulta sobre a [[:meta:Special:MyLanguage/Abstract Wikipedia/Location of Abstract Content|localização de conteúdo abstrato]] até o momento! A consulta continuará por mais duas semanas. Tentamos continuar respondendo às perguntas e participando da consulta com a comunidade. Pessoalmente, achei os argumentos instigantes e me vejo mudando minha própria posição ao ler sobre novas ideias e considerações que não tinha antes. Estou planejando adicionar um estado atual do meu pensamento na próxima semana. Portanto, continuem com as ideias e os argumentos! <div lang="en" dir="ltr" class="mw-content-ltr"> === News in Types === </div> <div lang="en" dir="ltr" class="mw-content-ltr"> The [[Z86|Unicode code point]] type has been set up with a [[Z23041|read]] and [[Z24823|display]] function, thus improving the UX on Wikifunctions and also allowing Functions using this Type to be used in embedded calls. Thanks to [[User:99of9|User:99of9]] for shepherding this improvement and for working on the read and display functions. </div> <div lang="en" dir="ltr" class="mw-content-ltr"> For our current work to support import of more Wikidata content ([[:phab:T390559|T390559]]), discussions on three new types proposals are ongoing: [[Wikifunctions:Type proposals/Wikidata time|Wikidata time]], [[Wikifunctions:Type proposals/Wikidata quantity|Wikidata quantity]], and [[Wikifunctions:Type proposals/Wikidata geocoordinates|Wikidata geocoordinates]]. Comments are welcome! </div> <div lang="en" dir="ltr" class="mw-content-ltr"> === Fresh Functions weekly: 17 new Functions === </div> <div lang="en" dir="ltr" class="mw-content-ltr"> This week we had 17 new functions. Here are some of the functions with implementations and passing tests to get a taste of what functions have been created. Thanks everybody for contributing! </div> * {{Z|Z24736}} * {{Z|Z24749}} * {{Z|Z24757}} * {{Z|Z24809}} * {{Z|Z24823}} <div lang="en" dir="ltr" class="mw-content-ltr"> A [https://www.wikifunctions.org/wiki/Special:ListObjectsByType?type=Z8&orderby=latest complete list of all functions sorted by when they were created] is available. </div> [[Category:Status updates{{#translation:}}|2025-05-29]] f845znct0lv9es19y9rvhbxcw6pc1au 191049 191047 2025-06-04T05:48:37Z Eduardogobi 2982 Created page with "=== Novidades nos Tipos ===" 191049 wikitext text/x-wiki <languages/> {{Wikifunctions updates | prevlabel = Atualização anterior | prev = 2025-05-23 | nextlabel = Próxima atualização | next = }} <span id="Rolling_out_embedded_function_calls_to_five_Wiktionaries"></span> === Implementando chamadas de função incorporadas em cinco Wikcionários === Implementamos chamadas de funções incorporadas em um primeiro conjunto de projetos do Wikcionário: [[:ha:wikt:|hausa]], [[:ig:wikt:|igbo]], [[:ml:wikt:|malaiala]], [[:bn:wikt:|bengali]] e [[:dv:wikt:|divehi]]. Eles representam os idiomas de foco que têm um Wikcionário (ou seja, todos menos o dagbani) e, além disso, um idioma da direita para a esquerda, o divehi. Isso também representa uma duplicação aproximada de visualizações de página para wikis com chamadas de função incorporadas, seguindo nosso plano para uma implementação cuidadosa dos projetos. Como antes, pedimos que as pessoas se contenham e contribuam para esses projetos somente se forem ou quiserem se tornar membros da comunidade em questão. '''Não use nenhuma dessas wikis como bancos de testes.''' Você pode usar a [[Wikifunctions:Embedded function calls/sandbox|caixa de areia de chamadas da Wikifunctions]] para isso. Leia a [[Special:MyLanguage/Wikifunctions:Embedded function calls|documentação sobre a incorporação de chamadas de função]] na Wikifunctions. Mudamos nossa implementação para nos concentrarmos nos Wikcionários por enquanto, em vez das Wikipédias. Essa mudança foi feita para seguir a [[:mw:Special:MyLanguage/Parsoid/Deployments|implementação do Parsoid]], da qual dependem as chamadas de função incorporadas. Voltaremos às Wikipédias provavelmente ainda este ano. Nos próximos meses, estamos planejando a implementação em muitos outros Wikcionários. Isso permitirá que as comunidades do Wikcionário trabalhem em funções que sejam úteis nos diferentes projetos do Wikcionário. Isso pode incluir as já existentes [[:meta:Special:MyLanguage/Abstract Wikipedia/Updates/2023-09-08|funções morfológicas]] (''p. ex.'', o [[Z11089|plural regular]] de ''house'' sendo ''{{#function:Z11089|house}}''), ou funções como esta que lista as [[Z24676|três formas verbais principais de um verbo em inglês]], ''p. ex.'' ''{{#function:Z24687|L3366}}''. No momento, estamos limitados a saídas (''outputs'') de cadeias de caracteres simples no que pode ser incorporado em páginas, mas planejamos permitir alguma formatação ainda este ano, com o objetivo de criar tabelas de conjugação completas, que poderiam ser reutilizadas em muitas edições de idiomas diferentes de projetos do Wikcionário. Até lá, estamos curiosos para saber que tipo de funções vocês estarão criando a partir de agora! <span id="Calculating_with_today’s_date"></span> === Calculando com a data de hoje === Olá neste(a) lindo(a) {{#function:Z20421|}}. Faltam {{#function:Z20744||6 August 2025}} dias para a [[:wikimania:Special:MyLanguage/2025:Wikimania|Wikimania 2025]]! Se você estiver lendo este texto na página wiki em que foi publicado, o dia da semana e o número de dias na frase anterior serão atualizados automaticamente à medida que nos aproximarmos da Wikimania (se você estiver lendo este texto em um e-mail, isso não funcionará — ainda não há integração das chamadas de função da Wikifunctions em e-mails, e nem está planejada). Um novo recurso ao incorporar chamadas de função em páginas wiki permite que você deixe o valor de uma [[Z20420|data do calendário gregoriano]] vazio. Se fizer isso, o valor será automaticamente definido para o dia atual quando a página for acessada (de acordo com o fuso horário da wiki). Isso permite todos os tipos de resultados dinâmicos: você pode retornar a [[Z20756|idade]] de uma pessoa ou instituição, o [[Z20421|dia da semana]] atual, a [[Z20741|distância da Lua]] de hoje e muito mais. Para usar esse recurso, basta deixar o valor vazio. Sinta-se à vontade para experimentá-lo na [[Wikifunctions:Embedded function calls/sandbox|caixa de areia de chamadas incorporadas]]. Leia [[Special:MyLanguage/Wikifunctions:Embedded function calls|mais documentação sobre como usar chamadas de função incorporadas]] em wikis que tenham essa opção ativada. Estamos planejando trabalhar em dois outros tipos para obter valores padrão: uma [[Z6091|referência de itens do Wikidata]] para definir o item conectado a uma determinada página (se houver) e o [[Z60|idioma]] de uma determinada página. Ambos podem ser usados em chamadas de função para adaptar a chamada de função a uma determinada página. Espera-se que esses recursos sejam desenvolvidos e implantados ainda este ano. Informe-nos se encontrar algum problema com o novo recurso. <span id="Presentation_at_Wikidata_and_Sister_Projects_event"></span> === Apresentação no evento “Wikidata e projetos irmãos” === De 29 de maio a 1 de junho de 2025, haverá o evento [[:d:Special:MyLanguage/Event:Wikidata and Sister Projects|Wikidata e projetos irmãos]]. [[User:DMartin (WMF)|David Martin]] e [[User:Sannita (WMF)|Luca Martinelli]] farão uma apresentação sobre como o Wikidata potencializa as funções de linguagem na Wikifunctions e muito mais, no dia [https://zonestamp.toolforge.org/1748539800 29 de maio às 17:30 UTC] (ou seja, hoje). Saiba mais sobre o evento na página do evento [[:d:Special:MyLanguage/Event:Wikidata and Sister Projects|Wikidata e projetos irmãos]]. <span id="Recent_Changes_in_the_software"></span> === Mudanças recentes no ''software'' === Na semana passada, conforme discutido acima, concluímos um de nossos trabalhos planejados para o trimestre e também vários outros. Para o trabalho de “enums leves” ([[:phab:T390558|T390558]]), adicionamos uma interface ([[:phab:T391918|T391918]]) e direitos especiais para criá-los e editá-los ([[:phab:T391913|T391913]] e [[:phab:T391914|T391914]]); por enquanto, assim como no caso dos Tipos, estamos reservando-os apenas para funcionários, mas expandiremos o acesso posteriormente. Para possibilitar as ferramentas de criação e edição, também reformulamos nossos testes para que os tipos de edições e criações permitidos sejam mais flexíveis. Ainda há mais a ser feito antes de considerarmos isso completo, mas devemos poder demonstrá-lo na wiki em breve. Em nossa linha de trabalho de desempenho neste trimestre, estamos trabalhando para adicionar um melhor armazenamento em ''cache'' ao orquestrador. Adicionamos a funcionalidade ao lado do código do MediaWiki para acionar esse novo comportamento ([[:phab:T391971|T391971]]). Em breve, vamos conectar tudo isso, medir e relatar o impacto. Seguindo um amplo conjunto de problemas que o [[User:99of9|User:99of9]] encontrou ao executar casos de teste, adicionamos alguns testes de regressão relacionados a diferentes “formas” válidas de objetos Language ([[:phab:T391329|T391329]]). Como parte da compatibilidade com toda a Wikimedia, adicionamos um novo idioma, [[Z1970|Z1970/qxp]] ([[:phab:T394068|T394068]]). <span id="Ongoing_consultation_about_Location_of_Abstract_Content"></span> === Consulta contínua sobre a localização de conteúdo abstrato === Agradecemos a todos que participaram da consulta sobre a [[:meta:Special:MyLanguage/Abstract Wikipedia/Location of Abstract Content|localização de conteúdo abstrato]] até o momento! A consulta continuará por mais duas semanas. Tentamos continuar respondendo às perguntas e participando da consulta com a comunidade. Pessoalmente, achei os argumentos instigantes e me vejo mudando minha própria posição ao ler sobre novas ideias e considerações que não tinha antes. Estou planejando adicionar um estado atual do meu pensamento na próxima semana. Portanto, continuem com as ideias e os argumentos! <span id="News_in_Types"></span> === Novidades nos Tipos === <div lang="en" dir="ltr" class="mw-content-ltr"> The [[Z86|Unicode code point]] type has been set up with a [[Z23041|read]] and [[Z24823|display]] function, thus improving the UX on Wikifunctions and also allowing Functions using this Type to be used in embedded calls. Thanks to [[User:99of9|User:99of9]] for shepherding this improvement and for working on the read and display functions. </div> <div lang="en" dir="ltr" class="mw-content-ltr"> For our current work to support import of more Wikidata content ([[:phab:T390559|T390559]]), discussions on three new types proposals are ongoing: [[Wikifunctions:Type proposals/Wikidata time|Wikidata time]], [[Wikifunctions:Type proposals/Wikidata quantity|Wikidata quantity]], and [[Wikifunctions:Type proposals/Wikidata geocoordinates|Wikidata geocoordinates]]. Comments are welcome! </div> <div lang="en" dir="ltr" class="mw-content-ltr"> === Fresh Functions weekly: 17 new Functions === </div> <div lang="en" dir="ltr" class="mw-content-ltr"> This week we had 17 new functions. Here are some of the functions with implementations and passing tests to get a taste of what functions have been created. Thanks everybody for contributing! </div> * {{Z|Z24736}} * {{Z|Z24749}} * {{Z|Z24757}} * {{Z|Z24809}} * {{Z|Z24823}} <div lang="en" dir="ltr" class="mw-content-ltr"> A [https://www.wikifunctions.org/wiki/Special:ListObjectsByType?type=Z8&orderby=latest complete list of all functions sorted by when they were created] is available. </div> [[Category:Status updates{{#translation:}}|2025-05-29]] nvyf9orqkd2x6qrgi355idl0dy4u9na 191051 191049 2025-06-04T05:49:45Z Eduardogobi 2982 Created page with "Para nosso trabalho atual de suporte à importação de mais conteúdo do Wikidata ($1), estão em andamento discussões sobre três novos tipos de propostas: os tipos ''[[$2|time]]'', ''[[$3|quantity]]'' e ''[[$4|geocoordinates]]'' do Wikidata. Comentários são bem-vindos!" 191051 wikitext text/x-wiki <languages/> {{Wikifunctions updates | prevlabel = Atualização anterior | prev = 2025-05-23 | nextlabel = Próxima atualização | next = }} <span id="Rolling_out_embedded_function_calls_to_five_Wiktionaries"></span> === Implementando chamadas de função incorporadas em cinco Wikcionários === Implementamos chamadas de funções incorporadas em um primeiro conjunto de projetos do Wikcionário: [[:ha:wikt:|hausa]], [[:ig:wikt:|igbo]], [[:ml:wikt:|malaiala]], [[:bn:wikt:|bengali]] e [[:dv:wikt:|divehi]]. Eles representam os idiomas de foco que têm um Wikcionário (ou seja, todos menos o dagbani) e, além disso, um idioma da direita para a esquerda, o divehi. Isso também representa uma duplicação aproximada de visualizações de página para wikis com chamadas de função incorporadas, seguindo nosso plano para uma implementação cuidadosa dos projetos. Como antes, pedimos que as pessoas se contenham e contribuam para esses projetos somente se forem ou quiserem se tornar membros da comunidade em questão. '''Não use nenhuma dessas wikis como bancos de testes.''' Você pode usar a [[Wikifunctions:Embedded function calls/sandbox|caixa de areia de chamadas da Wikifunctions]] para isso. Leia a [[Special:MyLanguage/Wikifunctions:Embedded function calls|documentação sobre a incorporação de chamadas de função]] na Wikifunctions. Mudamos nossa implementação para nos concentrarmos nos Wikcionários por enquanto, em vez das Wikipédias. Essa mudança foi feita para seguir a [[:mw:Special:MyLanguage/Parsoid/Deployments|implementação do Parsoid]], da qual dependem as chamadas de função incorporadas. Voltaremos às Wikipédias provavelmente ainda este ano. Nos próximos meses, estamos planejando a implementação em muitos outros Wikcionários. Isso permitirá que as comunidades do Wikcionário trabalhem em funções que sejam úteis nos diferentes projetos do Wikcionário. Isso pode incluir as já existentes [[:meta:Special:MyLanguage/Abstract Wikipedia/Updates/2023-09-08|funções morfológicas]] (''p. ex.'', o [[Z11089|plural regular]] de ''house'' sendo ''{{#function:Z11089|house}}''), ou funções como esta que lista as [[Z24676|três formas verbais principais de um verbo em inglês]], ''p. ex.'' ''{{#function:Z24687|L3366}}''. No momento, estamos limitados a saídas (''outputs'') de cadeias de caracteres simples no que pode ser incorporado em páginas, mas planejamos permitir alguma formatação ainda este ano, com o objetivo de criar tabelas de conjugação completas, que poderiam ser reutilizadas em muitas edições de idiomas diferentes de projetos do Wikcionário. Até lá, estamos curiosos para saber que tipo de funções vocês estarão criando a partir de agora! <span id="Calculating_with_today’s_date"></span> === Calculando com a data de hoje === Olá neste(a) lindo(a) {{#function:Z20421|}}. Faltam {{#function:Z20744||6 August 2025}} dias para a [[:wikimania:Special:MyLanguage/2025:Wikimania|Wikimania 2025]]! Se você estiver lendo este texto na página wiki em que foi publicado, o dia da semana e o número de dias na frase anterior serão atualizados automaticamente à medida que nos aproximarmos da Wikimania (se você estiver lendo este texto em um e-mail, isso não funcionará — ainda não há integração das chamadas de função da Wikifunctions em e-mails, e nem está planejada). Um novo recurso ao incorporar chamadas de função em páginas wiki permite que você deixe o valor de uma [[Z20420|data do calendário gregoriano]] vazio. Se fizer isso, o valor será automaticamente definido para o dia atual quando a página for acessada (de acordo com o fuso horário da wiki). Isso permite todos os tipos de resultados dinâmicos: você pode retornar a [[Z20756|idade]] de uma pessoa ou instituição, o [[Z20421|dia da semana]] atual, a [[Z20741|distância da Lua]] de hoje e muito mais. Para usar esse recurso, basta deixar o valor vazio. Sinta-se à vontade para experimentá-lo na [[Wikifunctions:Embedded function calls/sandbox|caixa de areia de chamadas incorporadas]]. Leia [[Special:MyLanguage/Wikifunctions:Embedded function calls|mais documentação sobre como usar chamadas de função incorporadas]] em wikis que tenham essa opção ativada. Estamos planejando trabalhar em dois outros tipos para obter valores padrão: uma [[Z6091|referência de itens do Wikidata]] para definir o item conectado a uma determinada página (se houver) e o [[Z60|idioma]] de uma determinada página. Ambos podem ser usados em chamadas de função para adaptar a chamada de função a uma determinada página. Espera-se que esses recursos sejam desenvolvidos e implantados ainda este ano. Informe-nos se encontrar algum problema com o novo recurso. <span id="Presentation_at_Wikidata_and_Sister_Projects_event"></span> === Apresentação no evento “Wikidata e projetos irmãos” === De 29 de maio a 1 de junho de 2025, haverá o evento [[:d:Special:MyLanguage/Event:Wikidata and Sister Projects|Wikidata e projetos irmãos]]. [[User:DMartin (WMF)|David Martin]] e [[User:Sannita (WMF)|Luca Martinelli]] farão uma apresentação sobre como o Wikidata potencializa as funções de linguagem na Wikifunctions e muito mais, no dia [https://zonestamp.toolforge.org/1748539800 29 de maio às 17:30 UTC] (ou seja, hoje). Saiba mais sobre o evento na página do evento [[:d:Special:MyLanguage/Event:Wikidata and Sister Projects|Wikidata e projetos irmãos]]. <span id="Recent_Changes_in_the_software"></span> === Mudanças recentes no ''software'' === Na semana passada, conforme discutido acima, concluímos um de nossos trabalhos planejados para o trimestre e também vários outros. Para o trabalho de “enums leves” ([[:phab:T390558|T390558]]), adicionamos uma interface ([[:phab:T391918|T391918]]) e direitos especiais para criá-los e editá-los ([[:phab:T391913|T391913]] e [[:phab:T391914|T391914]]); por enquanto, assim como no caso dos Tipos, estamos reservando-os apenas para funcionários, mas expandiremos o acesso posteriormente. Para possibilitar as ferramentas de criação e edição, também reformulamos nossos testes para que os tipos de edições e criações permitidos sejam mais flexíveis. Ainda há mais a ser feito antes de considerarmos isso completo, mas devemos poder demonstrá-lo na wiki em breve. Em nossa linha de trabalho de desempenho neste trimestre, estamos trabalhando para adicionar um melhor armazenamento em ''cache'' ao orquestrador. Adicionamos a funcionalidade ao lado do código do MediaWiki para acionar esse novo comportamento ([[:phab:T391971|T391971]]). Em breve, vamos conectar tudo isso, medir e relatar o impacto. Seguindo um amplo conjunto de problemas que o [[User:99of9|User:99of9]] encontrou ao executar casos de teste, adicionamos alguns testes de regressão relacionados a diferentes “formas” válidas de objetos Language ([[:phab:T391329|T391329]]). Como parte da compatibilidade com toda a Wikimedia, adicionamos um novo idioma, [[Z1970|Z1970/qxp]] ([[:phab:T394068|T394068]]). <span id="Ongoing_consultation_about_Location_of_Abstract_Content"></span> === Consulta contínua sobre a localização de conteúdo abstrato === Agradecemos a todos que participaram da consulta sobre a [[:meta:Special:MyLanguage/Abstract Wikipedia/Location of Abstract Content|localização de conteúdo abstrato]] até o momento! A consulta continuará por mais duas semanas. Tentamos continuar respondendo às perguntas e participando da consulta com a comunidade. Pessoalmente, achei os argumentos instigantes e me vejo mudando minha própria posição ao ler sobre novas ideias e considerações que não tinha antes. Estou planejando adicionar um estado atual do meu pensamento na próxima semana. Portanto, continuem com as ideias e os argumentos! <span id="News_in_Types"></span> === Novidades nos Tipos === <div lang="en" dir="ltr" class="mw-content-ltr"> The [[Z86|Unicode code point]] type has been set up with a [[Z23041|read]] and [[Z24823|display]] function, thus improving the UX on Wikifunctions and also allowing Functions using this Type to be used in embedded calls. Thanks to [[User:99of9|User:99of9]] for shepherding this improvement and for working on the read and display functions. </div> Para nosso trabalho atual de suporte à importação de mais conteúdo do Wikidata ([[:phab:T390559|T390559]]), estão em andamento discussões sobre três novos tipos de propostas: os tipos ''[[Wikifunctions:Type proposals/Wikidata time|time]]'', ''[[Wikifunctions:Type proposals/Wikidata quantity|quantity]]'' e ''[[Wikifunctions:Type proposals/Wikidata geocoordinates|geocoordinates]]'' do Wikidata. Comentários são bem-vindos! <div lang="en" dir="ltr" class="mw-content-ltr"> === Fresh Functions weekly: 17 new Functions === </div> <div lang="en" dir="ltr" class="mw-content-ltr"> This week we had 17 new functions. Here are some of the functions with implementations and passing tests to get a taste of what functions have been created. Thanks everybody for contributing! </div> * {{Z|Z24736}} * {{Z|Z24749}} * {{Z|Z24757}} * {{Z|Z24809}} * {{Z|Z24823}} <div lang="en" dir="ltr" class="mw-content-ltr"> A [https://www.wikifunctions.org/wiki/Special:ListObjectsByType?type=Z8&orderby=latest complete list of all functions sorted by when they were created] is available. </div> [[Category:Status updates{{#translation:}}|2025-05-29]] f7sp88f8nszmgc839a66b3o654rnxc6 191053 191051 2025-06-04T05:50:04Z Eduardogobi 2982 Created page with "=== Novas funções toda semana: 17 novas funções ===" 191053 wikitext text/x-wiki <languages/> {{Wikifunctions updates | prevlabel = Atualização anterior | prev = 2025-05-23 | nextlabel = Próxima atualização | next = }} <span id="Rolling_out_embedded_function_calls_to_five_Wiktionaries"></span> === Implementando chamadas de função incorporadas em cinco Wikcionários === Implementamos chamadas de funções incorporadas em um primeiro conjunto de projetos do Wikcionário: [[:ha:wikt:|hausa]], [[:ig:wikt:|igbo]], [[:ml:wikt:|malaiala]], [[:bn:wikt:|bengali]] e [[:dv:wikt:|divehi]]. Eles representam os idiomas de foco que têm um Wikcionário (ou seja, todos menos o dagbani) e, além disso, um idioma da direita para a esquerda, o divehi. Isso também representa uma duplicação aproximada de visualizações de página para wikis com chamadas de função incorporadas, seguindo nosso plano para uma implementação cuidadosa dos projetos. Como antes, pedimos que as pessoas se contenham e contribuam para esses projetos somente se forem ou quiserem se tornar membros da comunidade em questão. '''Não use nenhuma dessas wikis como bancos de testes.''' Você pode usar a [[Wikifunctions:Embedded function calls/sandbox|caixa de areia de chamadas da Wikifunctions]] para isso. Leia a [[Special:MyLanguage/Wikifunctions:Embedded function calls|documentação sobre a incorporação de chamadas de função]] na Wikifunctions. Mudamos nossa implementação para nos concentrarmos nos Wikcionários por enquanto, em vez das Wikipédias. Essa mudança foi feita para seguir a [[:mw:Special:MyLanguage/Parsoid/Deployments|implementação do Parsoid]], da qual dependem as chamadas de função incorporadas. Voltaremos às Wikipédias provavelmente ainda este ano. Nos próximos meses, estamos planejando a implementação em muitos outros Wikcionários. Isso permitirá que as comunidades do Wikcionário trabalhem em funções que sejam úteis nos diferentes projetos do Wikcionário. Isso pode incluir as já existentes [[:meta:Special:MyLanguage/Abstract Wikipedia/Updates/2023-09-08|funções morfológicas]] (''p. ex.'', o [[Z11089|plural regular]] de ''house'' sendo ''{{#function:Z11089|house}}''), ou funções como esta que lista as [[Z24676|três formas verbais principais de um verbo em inglês]], ''p. ex.'' ''{{#function:Z24687|L3366}}''. No momento, estamos limitados a saídas (''outputs'') de cadeias de caracteres simples no que pode ser incorporado em páginas, mas planejamos permitir alguma formatação ainda este ano, com o objetivo de criar tabelas de conjugação completas, que poderiam ser reutilizadas em muitas edições de idiomas diferentes de projetos do Wikcionário. Até lá, estamos curiosos para saber que tipo de funções vocês estarão criando a partir de agora! <span id="Calculating_with_today’s_date"></span> === Calculando com a data de hoje === Olá neste(a) lindo(a) {{#function:Z20421|}}. Faltam {{#function:Z20744||6 August 2025}} dias para a [[:wikimania:Special:MyLanguage/2025:Wikimania|Wikimania 2025]]! Se você estiver lendo este texto na página wiki em que foi publicado, o dia da semana e o número de dias na frase anterior serão atualizados automaticamente à medida que nos aproximarmos da Wikimania (se você estiver lendo este texto em um e-mail, isso não funcionará — ainda não há integração das chamadas de função da Wikifunctions em e-mails, e nem está planejada). Um novo recurso ao incorporar chamadas de função em páginas wiki permite que você deixe o valor de uma [[Z20420|data do calendário gregoriano]] vazio. Se fizer isso, o valor será automaticamente definido para o dia atual quando a página for acessada (de acordo com o fuso horário da wiki). Isso permite todos os tipos de resultados dinâmicos: você pode retornar a [[Z20756|idade]] de uma pessoa ou instituição, o [[Z20421|dia da semana]] atual, a [[Z20741|distância da Lua]] de hoje e muito mais. Para usar esse recurso, basta deixar o valor vazio. Sinta-se à vontade para experimentá-lo na [[Wikifunctions:Embedded function calls/sandbox|caixa de areia de chamadas incorporadas]]. Leia [[Special:MyLanguage/Wikifunctions:Embedded function calls|mais documentação sobre como usar chamadas de função incorporadas]] em wikis que tenham essa opção ativada. Estamos planejando trabalhar em dois outros tipos para obter valores padrão: uma [[Z6091|referência de itens do Wikidata]] para definir o item conectado a uma determinada página (se houver) e o [[Z60|idioma]] de uma determinada página. Ambos podem ser usados em chamadas de função para adaptar a chamada de função a uma determinada página. Espera-se que esses recursos sejam desenvolvidos e implantados ainda este ano. Informe-nos se encontrar algum problema com o novo recurso. <span id="Presentation_at_Wikidata_and_Sister_Projects_event"></span> === Apresentação no evento “Wikidata e projetos irmãos” === De 29 de maio a 1 de junho de 2025, haverá o evento [[:d:Special:MyLanguage/Event:Wikidata and Sister Projects|Wikidata e projetos irmãos]]. [[User:DMartin (WMF)|David Martin]] e [[User:Sannita (WMF)|Luca Martinelli]] farão uma apresentação sobre como o Wikidata potencializa as funções de linguagem na Wikifunctions e muito mais, no dia [https://zonestamp.toolforge.org/1748539800 29 de maio às 17:30 UTC] (ou seja, hoje). Saiba mais sobre o evento na página do evento [[:d:Special:MyLanguage/Event:Wikidata and Sister Projects|Wikidata e projetos irmãos]]. <span id="Recent_Changes_in_the_software"></span> === Mudanças recentes no ''software'' === Na semana passada, conforme discutido acima, concluímos um de nossos trabalhos planejados para o trimestre e também vários outros. Para o trabalho de “enums leves” ([[:phab:T390558|T390558]]), adicionamos uma interface ([[:phab:T391918|T391918]]) e direitos especiais para criá-los e editá-los ([[:phab:T391913|T391913]] e [[:phab:T391914|T391914]]); por enquanto, assim como no caso dos Tipos, estamos reservando-os apenas para funcionários, mas expandiremos o acesso posteriormente. Para possibilitar as ferramentas de criação e edição, também reformulamos nossos testes para que os tipos de edições e criações permitidos sejam mais flexíveis. Ainda há mais a ser feito antes de considerarmos isso completo, mas devemos poder demonstrá-lo na wiki em breve. Em nossa linha de trabalho de desempenho neste trimestre, estamos trabalhando para adicionar um melhor armazenamento em ''cache'' ao orquestrador. Adicionamos a funcionalidade ao lado do código do MediaWiki para acionar esse novo comportamento ([[:phab:T391971|T391971]]). Em breve, vamos conectar tudo isso, medir e relatar o impacto. Seguindo um amplo conjunto de problemas que o [[User:99of9|User:99of9]] encontrou ao executar casos de teste, adicionamos alguns testes de regressão relacionados a diferentes “formas” válidas de objetos Language ([[:phab:T391329|T391329]]). Como parte da compatibilidade com toda a Wikimedia, adicionamos um novo idioma, [[Z1970|Z1970/qxp]] ([[:phab:T394068|T394068]]). <span id="Ongoing_consultation_about_Location_of_Abstract_Content"></span> === Consulta contínua sobre a localização de conteúdo abstrato === Agradecemos a todos que participaram da consulta sobre a [[:meta:Special:MyLanguage/Abstract Wikipedia/Location of Abstract Content|localização de conteúdo abstrato]] até o momento! A consulta continuará por mais duas semanas. Tentamos continuar respondendo às perguntas e participando da consulta com a comunidade. Pessoalmente, achei os argumentos instigantes e me vejo mudando minha própria posição ao ler sobre novas ideias e considerações que não tinha antes. Estou planejando adicionar um estado atual do meu pensamento na próxima semana. Portanto, continuem com as ideias e os argumentos! <span id="News_in_Types"></span> === Novidades nos Tipos === <div lang="en" dir="ltr" class="mw-content-ltr"> The [[Z86|Unicode code point]] type has been set up with a [[Z23041|read]] and [[Z24823|display]] function, thus improving the UX on Wikifunctions and also allowing Functions using this Type to be used in embedded calls. Thanks to [[User:99of9|User:99of9]] for shepherding this improvement and for working on the read and display functions. </div> Para nosso trabalho atual de suporte à importação de mais conteúdo do Wikidata ([[:phab:T390559|T390559]]), estão em andamento discussões sobre três novos tipos de propostas: os tipos ''[[Wikifunctions:Type proposals/Wikidata time|time]]'', ''[[Wikifunctions:Type proposals/Wikidata quantity|quantity]]'' e ''[[Wikifunctions:Type proposals/Wikidata geocoordinates|geocoordinates]]'' do Wikidata. Comentários são bem-vindos! <span id="Fresh_Functions_weekly:_17_new_Functions"></span> === Novas funções toda semana: 17 novas funções === <div lang="en" dir="ltr" class="mw-content-ltr"> This week we had 17 new functions. Here are some of the functions with implementations and passing tests to get a taste of what functions have been created. Thanks everybody for contributing! </div> * {{Z|Z24736}} * {{Z|Z24749}} * {{Z|Z24757}} * {{Z|Z24809}} * {{Z|Z24823}} <div lang="en" dir="ltr" class="mw-content-ltr"> A [https://www.wikifunctions.org/wiki/Special:ListObjectsByType?type=Z8&orderby=latest complete list of all functions sorted by when they were created] is available. </div> [[Category:Status updates{{#translation:}}|2025-05-29]] mmhqj0v2r0qzqb0aeeku1qy0ldjqcon 191055 191053 2025-06-04T05:50:23Z Eduardogobi 2982 Created page with "Está disponível uma [$1 lista completa de todas as funções ordenadas por quando foram criadas]." 191055 wikitext text/x-wiki <languages/> {{Wikifunctions updates | prevlabel = Atualização anterior | prev = 2025-05-23 | nextlabel = Próxima atualização | next = }} <span id="Rolling_out_embedded_function_calls_to_five_Wiktionaries"></span> === Implementando chamadas de função incorporadas em cinco Wikcionários === Implementamos chamadas de funções incorporadas em um primeiro conjunto de projetos do Wikcionário: [[:ha:wikt:|hausa]], [[:ig:wikt:|igbo]], [[:ml:wikt:|malaiala]], [[:bn:wikt:|bengali]] e [[:dv:wikt:|divehi]]. Eles representam os idiomas de foco que têm um Wikcionário (ou seja, todos menos o dagbani) e, além disso, um idioma da direita para a esquerda, o divehi. Isso também representa uma duplicação aproximada de visualizações de página para wikis com chamadas de função incorporadas, seguindo nosso plano para uma implementação cuidadosa dos projetos. Como antes, pedimos que as pessoas se contenham e contribuam para esses projetos somente se forem ou quiserem se tornar membros da comunidade em questão. '''Não use nenhuma dessas wikis como bancos de testes.''' Você pode usar a [[Wikifunctions:Embedded function calls/sandbox|caixa de areia de chamadas da Wikifunctions]] para isso. Leia a [[Special:MyLanguage/Wikifunctions:Embedded function calls|documentação sobre a incorporação de chamadas de função]] na Wikifunctions. Mudamos nossa implementação para nos concentrarmos nos Wikcionários por enquanto, em vez das Wikipédias. Essa mudança foi feita para seguir a [[:mw:Special:MyLanguage/Parsoid/Deployments|implementação do Parsoid]], da qual dependem as chamadas de função incorporadas. Voltaremos às Wikipédias provavelmente ainda este ano. Nos próximos meses, estamos planejando a implementação em muitos outros Wikcionários. Isso permitirá que as comunidades do Wikcionário trabalhem em funções que sejam úteis nos diferentes projetos do Wikcionário. Isso pode incluir as já existentes [[:meta:Special:MyLanguage/Abstract Wikipedia/Updates/2023-09-08|funções morfológicas]] (''p. ex.'', o [[Z11089|plural regular]] de ''house'' sendo ''{{#function:Z11089|house}}''), ou funções como esta que lista as [[Z24676|três formas verbais principais de um verbo em inglês]], ''p. ex.'' ''{{#function:Z24687|L3366}}''. No momento, estamos limitados a saídas (''outputs'') de cadeias de caracteres simples no que pode ser incorporado em páginas, mas planejamos permitir alguma formatação ainda este ano, com o objetivo de criar tabelas de conjugação completas, que poderiam ser reutilizadas em muitas edições de idiomas diferentes de projetos do Wikcionário. Até lá, estamos curiosos para saber que tipo de funções vocês estarão criando a partir de agora! <span id="Calculating_with_today’s_date"></span> === Calculando com a data de hoje === Olá neste(a) lindo(a) {{#function:Z20421|}}. Faltam {{#function:Z20744||6 August 2025}} dias para a [[:wikimania:Special:MyLanguage/2025:Wikimania|Wikimania 2025]]! Se você estiver lendo este texto na página wiki em que foi publicado, o dia da semana e o número de dias na frase anterior serão atualizados automaticamente à medida que nos aproximarmos da Wikimania (se você estiver lendo este texto em um e-mail, isso não funcionará — ainda não há integração das chamadas de função da Wikifunctions em e-mails, e nem está planejada). Um novo recurso ao incorporar chamadas de função em páginas wiki permite que você deixe o valor de uma [[Z20420|data do calendário gregoriano]] vazio. Se fizer isso, o valor será automaticamente definido para o dia atual quando a página for acessada (de acordo com o fuso horário da wiki). Isso permite todos os tipos de resultados dinâmicos: você pode retornar a [[Z20756|idade]] de uma pessoa ou instituição, o [[Z20421|dia da semana]] atual, a [[Z20741|distância da Lua]] de hoje e muito mais. Para usar esse recurso, basta deixar o valor vazio. Sinta-se à vontade para experimentá-lo na [[Wikifunctions:Embedded function calls/sandbox|caixa de areia de chamadas incorporadas]]. Leia [[Special:MyLanguage/Wikifunctions:Embedded function calls|mais documentação sobre como usar chamadas de função incorporadas]] em wikis que tenham essa opção ativada. Estamos planejando trabalhar em dois outros tipos para obter valores padrão: uma [[Z6091|referência de itens do Wikidata]] para definir o item conectado a uma determinada página (se houver) e o [[Z60|idioma]] de uma determinada página. Ambos podem ser usados em chamadas de função para adaptar a chamada de função a uma determinada página. Espera-se que esses recursos sejam desenvolvidos e implantados ainda este ano. Informe-nos se encontrar algum problema com o novo recurso. <span id="Presentation_at_Wikidata_and_Sister_Projects_event"></span> === Apresentação no evento “Wikidata e projetos irmãos” === De 29 de maio a 1 de junho de 2025, haverá o evento [[:d:Special:MyLanguage/Event:Wikidata and Sister Projects|Wikidata e projetos irmãos]]. [[User:DMartin (WMF)|David Martin]] e [[User:Sannita (WMF)|Luca Martinelli]] farão uma apresentação sobre como o Wikidata potencializa as funções de linguagem na Wikifunctions e muito mais, no dia [https://zonestamp.toolforge.org/1748539800 29 de maio às 17:30 UTC] (ou seja, hoje). Saiba mais sobre o evento na página do evento [[:d:Special:MyLanguage/Event:Wikidata and Sister Projects|Wikidata e projetos irmãos]]. <span id="Recent_Changes_in_the_software"></span> === Mudanças recentes no ''software'' === Na semana passada, conforme discutido acima, concluímos um de nossos trabalhos planejados para o trimestre e também vários outros. Para o trabalho de “enums leves” ([[:phab:T390558|T390558]]), adicionamos uma interface ([[:phab:T391918|T391918]]) e direitos especiais para criá-los e editá-los ([[:phab:T391913|T391913]] e [[:phab:T391914|T391914]]); por enquanto, assim como no caso dos Tipos, estamos reservando-os apenas para funcionários, mas expandiremos o acesso posteriormente. Para possibilitar as ferramentas de criação e edição, também reformulamos nossos testes para que os tipos de edições e criações permitidos sejam mais flexíveis. Ainda há mais a ser feito antes de considerarmos isso completo, mas devemos poder demonstrá-lo na wiki em breve. Em nossa linha de trabalho de desempenho neste trimestre, estamos trabalhando para adicionar um melhor armazenamento em ''cache'' ao orquestrador. Adicionamos a funcionalidade ao lado do código do MediaWiki para acionar esse novo comportamento ([[:phab:T391971|T391971]]). Em breve, vamos conectar tudo isso, medir e relatar o impacto. Seguindo um amplo conjunto de problemas que o [[User:99of9|User:99of9]] encontrou ao executar casos de teste, adicionamos alguns testes de regressão relacionados a diferentes “formas” válidas de objetos Language ([[:phab:T391329|T391329]]). Como parte da compatibilidade com toda a Wikimedia, adicionamos um novo idioma, [[Z1970|Z1970/qxp]] ([[:phab:T394068|T394068]]). <span id="Ongoing_consultation_about_Location_of_Abstract_Content"></span> === Consulta contínua sobre a localização de conteúdo abstrato === Agradecemos a todos que participaram da consulta sobre a [[:meta:Special:MyLanguage/Abstract Wikipedia/Location of Abstract Content|localização de conteúdo abstrato]] até o momento! A consulta continuará por mais duas semanas. Tentamos continuar respondendo às perguntas e participando da consulta com a comunidade. Pessoalmente, achei os argumentos instigantes e me vejo mudando minha própria posição ao ler sobre novas ideias e considerações que não tinha antes. Estou planejando adicionar um estado atual do meu pensamento na próxima semana. Portanto, continuem com as ideias e os argumentos! <span id="News_in_Types"></span> === Novidades nos Tipos === <div lang="en" dir="ltr" class="mw-content-ltr"> The [[Z86|Unicode code point]] type has been set up with a [[Z23041|read]] and [[Z24823|display]] function, thus improving the UX on Wikifunctions and also allowing Functions using this Type to be used in embedded calls. Thanks to [[User:99of9|User:99of9]] for shepherding this improvement and for working on the read and display functions. </div> Para nosso trabalho atual de suporte à importação de mais conteúdo do Wikidata ([[:phab:T390559|T390559]]), estão em andamento discussões sobre três novos tipos de propostas: os tipos ''[[Wikifunctions:Type proposals/Wikidata time|time]]'', ''[[Wikifunctions:Type proposals/Wikidata quantity|quantity]]'' e ''[[Wikifunctions:Type proposals/Wikidata geocoordinates|geocoordinates]]'' do Wikidata. Comentários são bem-vindos! <span id="Fresh_Functions_weekly:_17_new_Functions"></span> === Novas funções toda semana: 17 novas funções === <div lang="en" dir="ltr" class="mw-content-ltr"> This week we had 17 new functions. Here are some of the functions with implementations and passing tests to get a taste of what functions have been created. Thanks everybody for contributing! </div> * {{Z|Z24736}} * {{Z|Z24749}} * {{Z|Z24757}} * {{Z|Z24809}} * {{Z|Z24823}} Está disponível uma [https://www.wikifunctions.org/wiki/Special:ListObjectsByType?type=Z8&orderby=latest lista completa de todas as funções ordenadas por quando foram criadas]. [[Category:Status updates{{#translation:}}|2025-05-29]] smu3x2zcsuh8tuf7j4wp5f7x19nctr9 Translations:Wikifunctions:Status updates/2025-05-29/4/pt-br 1198 57618 191038 189880 2025-06-04T05:46:04Z Eduardogobi 2982 191038 wikitext text/x-wiki Como antes, pedimos que as pessoas se contenham e contribuam para esses projetos somente se forem ou quiserem se tornar membros da comunidade em questão. '''Não use nenhuma dessas wikis como bancos de testes.''' Você pode usar a [[$1|caixa de areia de chamadas da Wikifunctions]] para isso. Leia a [[$2|documentação sobre a incorporação de chamadas de função]] na Wikifunctions. hjav7w0hc0t61o5xdqy7dem90f93g3v Translations:Wikifunctions:Status updates/2025-05-29/8/pt-br 1198 57622 191040 189888 2025-06-04T05:46:11Z Eduardogobi 2982 191040 wikitext text/x-wiki Se você estiver lendo este texto na página wiki em que foi publicado, o dia da semana e o número de dias na frase anterior serão atualizados automaticamente à medida que nos aproximarmos da Wikimania (se você estiver lendo este texto em um e-mail, isso não funcionará — ainda não há integração das chamadas de função da Wikifunctions em e-mails, e nem está planejada). 6gcrtuvnlx5y7v2a9yizen69r8hgylr Wikifunctions:Status updates/2025-05-29/de 4 57904 191065 190956 2025-06-04T07:48:29Z Ameisenigel 44 Created page with "Ich persönlich fand die Argumente zum Nachdenken anregend und merke, wie ich meine eigene Meinung ändere, wenn ich neue Ideen und Überlegungen lese, die ich vorher nicht hatte. Nächste Woche werde ich meinen aktuellen Stand meiner Überlegungen darlegen. Also, weiter so mit den Ideen und Argumenten!" 191065 wikitext text/x-wiki <languages/> {{Wikifunctions updates | prevlabel = Vorheriges Update | prev = 2025-05-23 | nextlabel = Nächstes Update | next = }} <span id="Rolling_out_embedded_function_calls_to_five_Wiktionaries"></span> === Einführung eingebetteter Funktionsaufrufe in fünf Wiktionarys === Wir haben eingebettete Funktionsaufrufe in einer ersten Reihe von Wiktionary-Projekten eingeführt: [[:ha:wikt:|Hausa]], [[:ig:wikt:|Igbo]], [[:ml:wikt:|Malayalam]], [[:bn:wikt:|Bengalisch]] und [[:dv:wikt:|Divehi]]. Diese repräsentieren [[:meta:Special:MyLanguage/Abstract Wikipedia/Updates/2021-04-15|die Fokussprachen]], die über ein Wiktionary verfügen (also alle außer Dagbani) und zusätzlich eine von rechts nach links geschriebene Sprache, Divehi. Dies entspricht ungefähr einer Verdoppelung der Seitenaufrufe für Wikis mit eingebetteten Funktionsaufrufen, gemäß unserem Plan einer behutsamen Einführung in den Projekten. Wir bitten nach wie vor um Zurückhaltung und darum, nur dann zu diesen Projekten beizutragen, wenn du Mitglied der jeweiligen Community bist oder werden möchtest. '''Verwende keines dieser Wikis als Testumgebung.''' Du kannst hierfür die [[Wikifunctions:Embedded function calls/sandbox|Spielwiese für Wikifunctions-Aufrufe]] verwenden. Eine [[Special:MyLanguage/Wikifunctions:Embedded function calls|Dokumentation zum Einbetten von Funktionsaufrufen]] findet sich auf Wikifunctions. Wir haben unsere Einführung vorerst auf Wiktionarys statt Wikipedias umgestellt. Diese Änderung erfolgte im Zuge der [[:mw:Special:MyLanguage/Parsoid/Deployments|Parsoid-Einführung]], von der eingebettete Funktionsaufrufe abhängen. Wir werden voraussichtlich später in diesem Jahr auf die Wikipedias zurückkommen. In den nächsten Monaten planen wir die Einführung in vielen weiteren Wiktionarys. Dies ermöglicht den Wiktionary-Communitys, an Funktionen zu arbeiten, die in den verschiedenen Wiktionary-Projekten nützlich sind. Dazu gehören beispielsweise die bereits vorhandenen [[:meta:Special:MyLanguage/Abstract Wikipedia/Updates/2023-09-08|morphologischen Funktionen]] (''z. B.'' der [[Z11089|reguläre Plural]] von ''house'' ist ''{{#function:Z11089|house}}'') oder Funktionen wie diese, die die [[Z24676|drei Hauptformen eines englischen Verbs]] auflistet, ''z. B.'' ''{{#function:Z24687|L3366}}''. Derzeit sind wir bei der Einbettung in Seiten auf einfache Zeichenketten-Ausgaben beschränkt, planen aber für später in diesem Jahr, einige Formatierungen zuzulassen, mit dem Ziel, ganze Konjugationstabellen zu erstellen, die in vielen verschiedenen Sprachversionen von Wiktionary-Projekten wiederverwendet werden können. Bis dahin sind wir gespannt, welche Funktionen ihr jetzt entwickeln werdet! <span id="Calculating_with_today’s_date"></span> === Berechnung mit dem heutigen Datum === Hallo an diesem schönen {{#function:Z20421|}}. Es sind noch {{#function:Z20744||6 August 2025}} Tage bis zur [[:wikimania:Special:MyLanguage/2025:Wikimania|Wikimania 2025]]! Wenn du diesen Text auf der Wiki-Seite liest, auf der er veröffentlicht wurde, werden der Wochentag und die Anzahl der Tage im vorherigen Satz automatisch aktualisiert, je näher wir der Wikimania kommen (wenn du dies in einer E-Mail liest, funktioniert dies nicht – eine Integration von Wikifunctions-Funktionsaufrufen in E-Mails ist noch nicht vorhanden und auch nicht geplant). Eine neue Funktion beim Einbetten von Funktionsaufrufen auf Wikiseiten ermöglicht es, den Wert für ein [[Z20420|Datum des Gregorianischen Kalenders]] leer zu lassen. In diesem Fall wird der Wert beim Seitenaufruf automatisch auf den aktuellen Tag gesetzt (entsprechend der Zeitzone des Wikis). Dies ermöglicht vielfältige dynamische Ausgaben: Du kannst das [[Z20756|Alter]] einer Person oder Institution, den aktuellen [[Z20421|Wochentag]], die heutige [[Z20741|Entfernung zum Mond]] und vieles mehr zurückgeben. Du nutzt diese Funktion, indem du den Wert einfach leer lässt. Probiere es gerne auf der [[Wikifunctions:Embedded function calls/sandbox|Spielwiese für eingebettete Funktionsaufrufe]] aus. Du findest [[Special:MyLanguage/Wikifunctions:Embedded function calls|weitere Dokumentation zur Verwendung eingebetteter Funktionsaufrufe]] in Wikis, die diese Funktion aktiviert haben. Wir planen, daran zu arbeiten, Standardwerte für zwei andere Typen zu erhalten: eine [[Z6091|Wikidata-Datenobjekt-Referenz]], um das mit einer bestimmten Seite verbundene Objekt (falls vorhanden) festzulegen, und die [[Z60|Sprache]] einer bestimmten Seite. Beide können dann in Funktionsaufrufen verwendet werden, um den Funktionsaufruf an eine bestimmte Seite anzupassen. Diese werden voraussichtlich noch in diesem Jahr entwickelt und bereitgestellt. Bitte informiere uns, wenn du Probleme mit der neuen Funktion bemerkst. <span id="Presentation_at_Wikidata_and_Sister_Projects_event"></span> === Präsentation bei der Veranstaltung Wikidata und Schwesterprojekte === Vom 29. Mai bis 1. Juni 2025 findet die Veranstaltung [[:d:Special:MyLanguage/Event:Wikidata and Sister Projects|Wikidata und Schwesterprojekte]] statt. [[User:DMartin (WMF)|David Martin]] und [[User:Sannita (WMF)|Luca Martinelli]] werden am [https://zonestamp.toolforge.org/1748539800 29. Mai um 19:30 MESZ] (also heute) vorstellen, wie Wikidata Sprachfunktionen auf Wikifunctions unterstützt und vieles mehr. Weitere Informationen zu der Veranstaltung findest du auf der [[:d:Special:MyLanguage/Event:Wikidata and Sister Projects|Veranstaltungsseite Wikidata und Schwesterprojekte]]. <span id="Recent_Changes_in_the_software"></span> === Letzte Änderungen an der Software === Letzte Woche haben wir, wie oben besprochen, eine unserer geplanten vierteljährlichen Arbeiten sowie eine Reihe anderer Arbeiten abgeschlossen. Für die Arbeit mit leichtgewichtigen Aufzählungen' ([[:phab:T390558|T390558]]) haben wir eine Benutzeroberfläche ([[:phab:T391918|T391918]]) und spezielle Rechte für deren Erstellung und Bearbeitung hinzugefügt ([[:phab:T391913|T391913]] und [[:phab:T391914|T391914]]). Wie bei den Typen sind diese vorerst nur für Mitarbeiter verfügbar, der Zugang wird aber später ausgeweitet. Um die Erstellungs- und Bearbeitungswerkzeuge zu ermöglichen, haben wir auch unsere Tests für die zulässigen Bearbeitungen und Erstellungen flexibler gestaltet. Es gibt hier noch einiges zu tun, bevor wir dies als abgeschlossen betrachten, aber wir sollten es in Kürze im Wiki demonstrieren können. Im Rahmen unseres Performance-Arbeitsschwerpunkts in diesem Quartal arbeiten wir an einem besseren Caching des Orchestrierers. Wir haben die Funktionalität auf der MediaWiki-Seite des Codes hinzugefügt, um dieses neue Verhalten auszulösen ([[:phab:T391971|T391971]]). In Kürze werden wir dies zusammenführen und die Auswirkungen messen und darüber berichten. Als Reaktion auf eine Reihe weitreichender Probleme, die [[User:99of9|Benutzer:99of9]] beim Ausführen von Tests festgestellt hat, haben wir einige Regressionstests hinzugefügt, die sich auf verschiedene gültige 'Formen' von Sprachobjekten beziehen ([[:phab:T391329|T391329]]). Als Teil der Wikimedia-weiten Unterstützung haben wir eine neue Sprache hinzugefügt: [[Z1970|Z1970/qxp]] ([[:phab:T394068|T394068]]). <span id="Ongoing_consultation_about_Location_of_Abstract_Content"></span> === Laufende Konsultation über den Ort des Abstrakten Inhalts === Vielen Dank an alle, die bisher an der Konsultation über den [[:meta:Special:MyLanguage/Abstract Wikipedia/Location of Abstract Content|Ort des Abstrakten Inhalts]] teilgenommen haben! Die Konsultation läuft noch zwei Wochen. Wir versuchen, weiterhin Fragen der Community zu beantworten und an der Konsultation mitzuwirken. Ich persönlich fand die Argumente zum Nachdenken anregend und merke, wie ich meine eigene Meinung ändere, wenn ich neue Ideen und Überlegungen lese, die ich vorher nicht hatte. Nächste Woche werde ich meinen aktuellen Stand meiner Überlegungen darlegen. Also, weiter so mit den Ideen und Argumenten! <div lang="en" dir="ltr" class="mw-content-ltr"> === News in Types === </div> <div lang="en" dir="ltr" class="mw-content-ltr"> The [[Z86|Unicode code point]] type has been set up with a [[Z23041|read]] and [[Z24823|display]] function, thus improving the UX on Wikifunctions and also allowing Functions using this Type to be used in embedded calls. Thanks to [[User:99of9|User:99of9]] for shepherding this improvement and for working on the read and display functions. </div> <div lang="en" dir="ltr" class="mw-content-ltr"> For our current work to support import of more Wikidata content ([[:phab:T390559|T390559]]), discussions on three new types proposals are ongoing: [[Wikifunctions:Type proposals/Wikidata time|Wikidata time]], [[Wikifunctions:Type proposals/Wikidata quantity|Wikidata quantity]], and [[Wikifunctions:Type proposals/Wikidata geocoordinates|Wikidata geocoordinates]]. Comments are welcome! </div> <div lang="en" dir="ltr" class="mw-content-ltr"> === Fresh Functions weekly: 17 new Functions === </div> <div lang="en" dir="ltr" class="mw-content-ltr"> This week we had 17 new functions. Here are some of the functions with implementations and passing tests to get a taste of what functions have been created. Thanks everybody for contributing! </div> * {{Z|Z24736}} * {{Z|Z24749}} * {{Z|Z24757}} * {{Z|Z24809}} * {{Z|Z24823}} <div lang="en" dir="ltr" class="mw-content-ltr"> A [https://www.wikifunctions.org/wiki/Special:ListObjectsByType?type=Z8&orderby=latest complete list of all functions sorted by when they were created] is available. </div> [[Category:Status updates{{#translation:}}|2025-05-29]] enbvwxpok0isltmebu20e2s0ovp1xva 191067 191065 2025-06-04T07:48:33Z Ameisenigel 44 Created page with "=== Neuigkeiten zu Typen ===" 191067 wikitext text/x-wiki <languages/> {{Wikifunctions updates | prevlabel = Vorheriges Update | prev = 2025-05-23 | nextlabel = Nächstes Update | next = }} <span id="Rolling_out_embedded_function_calls_to_five_Wiktionaries"></span> === Einführung eingebetteter Funktionsaufrufe in fünf Wiktionarys === Wir haben eingebettete Funktionsaufrufe in einer ersten Reihe von Wiktionary-Projekten eingeführt: [[:ha:wikt:|Hausa]], [[:ig:wikt:|Igbo]], [[:ml:wikt:|Malayalam]], [[:bn:wikt:|Bengalisch]] und [[:dv:wikt:|Divehi]]. Diese repräsentieren [[:meta:Special:MyLanguage/Abstract Wikipedia/Updates/2021-04-15|die Fokussprachen]], die über ein Wiktionary verfügen (also alle außer Dagbani) und zusätzlich eine von rechts nach links geschriebene Sprache, Divehi. Dies entspricht ungefähr einer Verdoppelung der Seitenaufrufe für Wikis mit eingebetteten Funktionsaufrufen, gemäß unserem Plan einer behutsamen Einführung in den Projekten. Wir bitten nach wie vor um Zurückhaltung und darum, nur dann zu diesen Projekten beizutragen, wenn du Mitglied der jeweiligen Community bist oder werden möchtest. '''Verwende keines dieser Wikis als Testumgebung.''' Du kannst hierfür die [[Wikifunctions:Embedded function calls/sandbox|Spielwiese für Wikifunctions-Aufrufe]] verwenden. Eine [[Special:MyLanguage/Wikifunctions:Embedded function calls|Dokumentation zum Einbetten von Funktionsaufrufen]] findet sich auf Wikifunctions. Wir haben unsere Einführung vorerst auf Wiktionarys statt Wikipedias umgestellt. Diese Änderung erfolgte im Zuge der [[:mw:Special:MyLanguage/Parsoid/Deployments|Parsoid-Einführung]], von der eingebettete Funktionsaufrufe abhängen. Wir werden voraussichtlich später in diesem Jahr auf die Wikipedias zurückkommen. In den nächsten Monaten planen wir die Einführung in vielen weiteren Wiktionarys. Dies ermöglicht den Wiktionary-Communitys, an Funktionen zu arbeiten, die in den verschiedenen Wiktionary-Projekten nützlich sind. Dazu gehören beispielsweise die bereits vorhandenen [[:meta:Special:MyLanguage/Abstract Wikipedia/Updates/2023-09-08|morphologischen Funktionen]] (''z. B.'' der [[Z11089|reguläre Plural]] von ''house'' ist ''{{#function:Z11089|house}}'') oder Funktionen wie diese, die die [[Z24676|drei Hauptformen eines englischen Verbs]] auflistet, ''z. B.'' ''{{#function:Z24687|L3366}}''. Derzeit sind wir bei der Einbettung in Seiten auf einfache Zeichenketten-Ausgaben beschränkt, planen aber für später in diesem Jahr, einige Formatierungen zuzulassen, mit dem Ziel, ganze Konjugationstabellen zu erstellen, die in vielen verschiedenen Sprachversionen von Wiktionary-Projekten wiederverwendet werden können. Bis dahin sind wir gespannt, welche Funktionen ihr jetzt entwickeln werdet! <span id="Calculating_with_today’s_date"></span> === Berechnung mit dem heutigen Datum === Hallo an diesem schönen {{#function:Z20421|}}. Es sind noch {{#function:Z20744||6 August 2025}} Tage bis zur [[:wikimania:Special:MyLanguage/2025:Wikimania|Wikimania 2025]]! Wenn du diesen Text auf der Wiki-Seite liest, auf der er veröffentlicht wurde, werden der Wochentag und die Anzahl der Tage im vorherigen Satz automatisch aktualisiert, je näher wir der Wikimania kommen (wenn du dies in einer E-Mail liest, funktioniert dies nicht – eine Integration von Wikifunctions-Funktionsaufrufen in E-Mails ist noch nicht vorhanden und auch nicht geplant). Eine neue Funktion beim Einbetten von Funktionsaufrufen auf Wikiseiten ermöglicht es, den Wert für ein [[Z20420|Datum des Gregorianischen Kalenders]] leer zu lassen. In diesem Fall wird der Wert beim Seitenaufruf automatisch auf den aktuellen Tag gesetzt (entsprechend der Zeitzone des Wikis). Dies ermöglicht vielfältige dynamische Ausgaben: Du kannst das [[Z20756|Alter]] einer Person oder Institution, den aktuellen [[Z20421|Wochentag]], die heutige [[Z20741|Entfernung zum Mond]] und vieles mehr zurückgeben. Du nutzt diese Funktion, indem du den Wert einfach leer lässt. Probiere es gerne auf der [[Wikifunctions:Embedded function calls/sandbox|Spielwiese für eingebettete Funktionsaufrufe]] aus. Du findest [[Special:MyLanguage/Wikifunctions:Embedded function calls|weitere Dokumentation zur Verwendung eingebetteter Funktionsaufrufe]] in Wikis, die diese Funktion aktiviert haben. Wir planen, daran zu arbeiten, Standardwerte für zwei andere Typen zu erhalten: eine [[Z6091|Wikidata-Datenobjekt-Referenz]], um das mit einer bestimmten Seite verbundene Objekt (falls vorhanden) festzulegen, und die [[Z60|Sprache]] einer bestimmten Seite. Beide können dann in Funktionsaufrufen verwendet werden, um den Funktionsaufruf an eine bestimmte Seite anzupassen. Diese werden voraussichtlich noch in diesem Jahr entwickelt und bereitgestellt. Bitte informiere uns, wenn du Probleme mit der neuen Funktion bemerkst. <span id="Presentation_at_Wikidata_and_Sister_Projects_event"></span> === Präsentation bei der Veranstaltung Wikidata und Schwesterprojekte === Vom 29. Mai bis 1. Juni 2025 findet die Veranstaltung [[:d:Special:MyLanguage/Event:Wikidata and Sister Projects|Wikidata und Schwesterprojekte]] statt. [[User:DMartin (WMF)|David Martin]] und [[User:Sannita (WMF)|Luca Martinelli]] werden am [https://zonestamp.toolforge.org/1748539800 29. Mai um 19:30 MESZ] (also heute) vorstellen, wie Wikidata Sprachfunktionen auf Wikifunctions unterstützt und vieles mehr. Weitere Informationen zu der Veranstaltung findest du auf der [[:d:Special:MyLanguage/Event:Wikidata and Sister Projects|Veranstaltungsseite Wikidata und Schwesterprojekte]]. <span id="Recent_Changes_in_the_software"></span> === Letzte Änderungen an der Software === Letzte Woche haben wir, wie oben besprochen, eine unserer geplanten vierteljährlichen Arbeiten sowie eine Reihe anderer Arbeiten abgeschlossen. Für die Arbeit mit leichtgewichtigen Aufzählungen' ([[:phab:T390558|T390558]]) haben wir eine Benutzeroberfläche ([[:phab:T391918|T391918]]) und spezielle Rechte für deren Erstellung und Bearbeitung hinzugefügt ([[:phab:T391913|T391913]] und [[:phab:T391914|T391914]]). Wie bei den Typen sind diese vorerst nur für Mitarbeiter verfügbar, der Zugang wird aber später ausgeweitet. Um die Erstellungs- und Bearbeitungswerkzeuge zu ermöglichen, haben wir auch unsere Tests für die zulässigen Bearbeitungen und Erstellungen flexibler gestaltet. Es gibt hier noch einiges zu tun, bevor wir dies als abgeschlossen betrachten, aber wir sollten es in Kürze im Wiki demonstrieren können. Im Rahmen unseres Performance-Arbeitsschwerpunkts in diesem Quartal arbeiten wir an einem besseren Caching des Orchestrierers. Wir haben die Funktionalität auf der MediaWiki-Seite des Codes hinzugefügt, um dieses neue Verhalten auszulösen ([[:phab:T391971|T391971]]). In Kürze werden wir dies zusammenführen und die Auswirkungen messen und darüber berichten. Als Reaktion auf eine Reihe weitreichender Probleme, die [[User:99of9|Benutzer:99of9]] beim Ausführen von Tests festgestellt hat, haben wir einige Regressionstests hinzugefügt, die sich auf verschiedene gültige 'Formen' von Sprachobjekten beziehen ([[:phab:T391329|T391329]]). Als Teil der Wikimedia-weiten Unterstützung haben wir eine neue Sprache hinzugefügt: [[Z1970|Z1970/qxp]] ([[:phab:T394068|T394068]]). <span id="Ongoing_consultation_about_Location_of_Abstract_Content"></span> === Laufende Konsultation über den Ort des Abstrakten Inhalts === Vielen Dank an alle, die bisher an der Konsultation über den [[:meta:Special:MyLanguage/Abstract Wikipedia/Location of Abstract Content|Ort des Abstrakten Inhalts]] teilgenommen haben! Die Konsultation läuft noch zwei Wochen. Wir versuchen, weiterhin Fragen der Community zu beantworten und an der Konsultation mitzuwirken. Ich persönlich fand die Argumente zum Nachdenken anregend und merke, wie ich meine eigene Meinung ändere, wenn ich neue Ideen und Überlegungen lese, die ich vorher nicht hatte. Nächste Woche werde ich meinen aktuellen Stand meiner Überlegungen darlegen. Also, weiter so mit den Ideen und Argumenten! <span id="News_in_Types"></span> === Neuigkeiten zu Typen === <div lang="en" dir="ltr" class="mw-content-ltr"> The [[Z86|Unicode code point]] type has been set up with a [[Z23041|read]] and [[Z24823|display]] function, thus improving the UX on Wikifunctions and also allowing Functions using this Type to be used in embedded calls. Thanks to [[User:99of9|User:99of9]] for shepherding this improvement and for working on the read and display functions. </div> <div lang="en" dir="ltr" class="mw-content-ltr"> For our current work to support import of more Wikidata content ([[:phab:T390559|T390559]]), discussions on three new types proposals are ongoing: [[Wikifunctions:Type proposals/Wikidata time|Wikidata time]], [[Wikifunctions:Type proposals/Wikidata quantity|Wikidata quantity]], and [[Wikifunctions:Type proposals/Wikidata geocoordinates|Wikidata geocoordinates]]. Comments are welcome! </div> <div lang="en" dir="ltr" class="mw-content-ltr"> === Fresh Functions weekly: 17 new Functions === </div> <div lang="en" dir="ltr" class="mw-content-ltr"> This week we had 17 new functions. Here are some of the functions with implementations and passing tests to get a taste of what functions have been created. Thanks everybody for contributing! </div> * {{Z|Z24736}} * {{Z|Z24749}} * {{Z|Z24757}} * {{Z|Z24809}} * {{Z|Z24823}} <div lang="en" dir="ltr" class="mw-content-ltr"> A [https://www.wikifunctions.org/wiki/Special:ListObjectsByType?type=Z8&orderby=latest complete list of all functions sorted by when they were created] is available. </div> [[Category:Status updates{{#translation:}}|2025-05-29]] 3hunja6dsx5hlkq70cxdfvucj8kwi5m 191069 191067 2025-06-04T07:49:55Z Ameisenigel 44 Created page with "Der Typ [[$1|Unicode-Codepunkt]] wurde mit einer [[$2|Lese]]- und einer [[$3|Anzeige]]-Funktion ausgestattet. Dies verbessert die Benutzererfahrung von Wikifunctions und ermöglicht die Verwendung von Funktionen mit diesem Typ in eingebetteten Aufrufen. Vielen Dank an [[$4|Benutzer:99of9]] für die Unterstützung dieser Verbesserung und die Arbeit an den Lese- und Anzeigefunktionen." 191069 wikitext text/x-wiki <languages/> {{Wikifunctions updates | prevlabel = Vorheriges Update | prev = 2025-05-23 | nextlabel = Nächstes Update | next = }} <span id="Rolling_out_embedded_function_calls_to_five_Wiktionaries"></span> === Einführung eingebetteter Funktionsaufrufe in fünf Wiktionarys === Wir haben eingebettete Funktionsaufrufe in einer ersten Reihe von Wiktionary-Projekten eingeführt: [[:ha:wikt:|Hausa]], [[:ig:wikt:|Igbo]], [[:ml:wikt:|Malayalam]], [[:bn:wikt:|Bengalisch]] und [[:dv:wikt:|Divehi]]. Diese repräsentieren [[:meta:Special:MyLanguage/Abstract Wikipedia/Updates/2021-04-15|die Fokussprachen]], die über ein Wiktionary verfügen (also alle außer Dagbani) und zusätzlich eine von rechts nach links geschriebene Sprache, Divehi. Dies entspricht ungefähr einer Verdoppelung der Seitenaufrufe für Wikis mit eingebetteten Funktionsaufrufen, gemäß unserem Plan einer behutsamen Einführung in den Projekten. Wir bitten nach wie vor um Zurückhaltung und darum, nur dann zu diesen Projekten beizutragen, wenn du Mitglied der jeweiligen Community bist oder werden möchtest. '''Verwende keines dieser Wikis als Testumgebung.''' Du kannst hierfür die [[Wikifunctions:Embedded function calls/sandbox|Spielwiese für Wikifunctions-Aufrufe]] verwenden. Eine [[Special:MyLanguage/Wikifunctions:Embedded function calls|Dokumentation zum Einbetten von Funktionsaufrufen]] findet sich auf Wikifunctions. Wir haben unsere Einführung vorerst auf Wiktionarys statt Wikipedias umgestellt. Diese Änderung erfolgte im Zuge der [[:mw:Special:MyLanguage/Parsoid/Deployments|Parsoid-Einführung]], von der eingebettete Funktionsaufrufe abhängen. Wir werden voraussichtlich später in diesem Jahr auf die Wikipedias zurückkommen. In den nächsten Monaten planen wir die Einführung in vielen weiteren Wiktionarys. Dies ermöglicht den Wiktionary-Communitys, an Funktionen zu arbeiten, die in den verschiedenen Wiktionary-Projekten nützlich sind. Dazu gehören beispielsweise die bereits vorhandenen [[:meta:Special:MyLanguage/Abstract Wikipedia/Updates/2023-09-08|morphologischen Funktionen]] (''z. B.'' der [[Z11089|reguläre Plural]] von ''house'' ist ''{{#function:Z11089|house}}'') oder Funktionen wie diese, die die [[Z24676|drei Hauptformen eines englischen Verbs]] auflistet, ''z. B.'' ''{{#function:Z24687|L3366}}''. Derzeit sind wir bei der Einbettung in Seiten auf einfache Zeichenketten-Ausgaben beschränkt, planen aber für später in diesem Jahr, einige Formatierungen zuzulassen, mit dem Ziel, ganze Konjugationstabellen zu erstellen, die in vielen verschiedenen Sprachversionen von Wiktionary-Projekten wiederverwendet werden können. Bis dahin sind wir gespannt, welche Funktionen ihr jetzt entwickeln werdet! <span id="Calculating_with_today’s_date"></span> === Berechnung mit dem heutigen Datum === Hallo an diesem schönen {{#function:Z20421|}}. Es sind noch {{#function:Z20744||6 August 2025}} Tage bis zur [[:wikimania:Special:MyLanguage/2025:Wikimania|Wikimania 2025]]! Wenn du diesen Text auf der Wiki-Seite liest, auf der er veröffentlicht wurde, werden der Wochentag und die Anzahl der Tage im vorherigen Satz automatisch aktualisiert, je näher wir der Wikimania kommen (wenn du dies in einer E-Mail liest, funktioniert dies nicht – eine Integration von Wikifunctions-Funktionsaufrufen in E-Mails ist noch nicht vorhanden und auch nicht geplant). Eine neue Funktion beim Einbetten von Funktionsaufrufen auf Wikiseiten ermöglicht es, den Wert für ein [[Z20420|Datum des Gregorianischen Kalenders]] leer zu lassen. In diesem Fall wird der Wert beim Seitenaufruf automatisch auf den aktuellen Tag gesetzt (entsprechend der Zeitzone des Wikis). Dies ermöglicht vielfältige dynamische Ausgaben: Du kannst das [[Z20756|Alter]] einer Person oder Institution, den aktuellen [[Z20421|Wochentag]], die heutige [[Z20741|Entfernung zum Mond]] und vieles mehr zurückgeben. Du nutzt diese Funktion, indem du den Wert einfach leer lässt. Probiere es gerne auf der [[Wikifunctions:Embedded function calls/sandbox|Spielwiese für eingebettete Funktionsaufrufe]] aus. Du findest [[Special:MyLanguage/Wikifunctions:Embedded function calls|weitere Dokumentation zur Verwendung eingebetteter Funktionsaufrufe]] in Wikis, die diese Funktion aktiviert haben. Wir planen, daran zu arbeiten, Standardwerte für zwei andere Typen zu erhalten: eine [[Z6091|Wikidata-Datenobjekt-Referenz]], um das mit einer bestimmten Seite verbundene Objekt (falls vorhanden) festzulegen, und die [[Z60|Sprache]] einer bestimmten Seite. Beide können dann in Funktionsaufrufen verwendet werden, um den Funktionsaufruf an eine bestimmte Seite anzupassen. Diese werden voraussichtlich noch in diesem Jahr entwickelt und bereitgestellt. Bitte informiere uns, wenn du Probleme mit der neuen Funktion bemerkst. <span id="Presentation_at_Wikidata_and_Sister_Projects_event"></span> === Präsentation bei der Veranstaltung Wikidata und Schwesterprojekte === Vom 29. Mai bis 1. Juni 2025 findet die Veranstaltung [[:d:Special:MyLanguage/Event:Wikidata and Sister Projects|Wikidata und Schwesterprojekte]] statt. [[User:DMartin (WMF)|David Martin]] und [[User:Sannita (WMF)|Luca Martinelli]] werden am [https://zonestamp.toolforge.org/1748539800 29. Mai um 19:30 MESZ] (also heute) vorstellen, wie Wikidata Sprachfunktionen auf Wikifunctions unterstützt und vieles mehr. Weitere Informationen zu der Veranstaltung findest du auf der [[:d:Special:MyLanguage/Event:Wikidata and Sister Projects|Veranstaltungsseite Wikidata und Schwesterprojekte]]. <span id="Recent_Changes_in_the_software"></span> === Letzte Änderungen an der Software === Letzte Woche haben wir, wie oben besprochen, eine unserer geplanten vierteljährlichen Arbeiten sowie eine Reihe anderer Arbeiten abgeschlossen. Für die Arbeit mit leichtgewichtigen Aufzählungen' ([[:phab:T390558|T390558]]) haben wir eine Benutzeroberfläche ([[:phab:T391918|T391918]]) und spezielle Rechte für deren Erstellung und Bearbeitung hinzugefügt ([[:phab:T391913|T391913]] und [[:phab:T391914|T391914]]). Wie bei den Typen sind diese vorerst nur für Mitarbeiter verfügbar, der Zugang wird aber später ausgeweitet. Um die Erstellungs- und Bearbeitungswerkzeuge zu ermöglichen, haben wir auch unsere Tests für die zulässigen Bearbeitungen und Erstellungen flexibler gestaltet. Es gibt hier noch einiges zu tun, bevor wir dies als abgeschlossen betrachten, aber wir sollten es in Kürze im Wiki demonstrieren können. Im Rahmen unseres Performance-Arbeitsschwerpunkts in diesem Quartal arbeiten wir an einem besseren Caching des Orchestrierers. Wir haben die Funktionalität auf der MediaWiki-Seite des Codes hinzugefügt, um dieses neue Verhalten auszulösen ([[:phab:T391971|T391971]]). In Kürze werden wir dies zusammenführen und die Auswirkungen messen und darüber berichten. Als Reaktion auf eine Reihe weitreichender Probleme, die [[User:99of9|Benutzer:99of9]] beim Ausführen von Tests festgestellt hat, haben wir einige Regressionstests hinzugefügt, die sich auf verschiedene gültige 'Formen' von Sprachobjekten beziehen ([[:phab:T391329|T391329]]). Als Teil der Wikimedia-weiten Unterstützung haben wir eine neue Sprache hinzugefügt: [[Z1970|Z1970/qxp]] ([[:phab:T394068|T394068]]). <span id="Ongoing_consultation_about_Location_of_Abstract_Content"></span> === Laufende Konsultation über den Ort des Abstrakten Inhalts === Vielen Dank an alle, die bisher an der Konsultation über den [[:meta:Special:MyLanguage/Abstract Wikipedia/Location of Abstract Content|Ort des Abstrakten Inhalts]] teilgenommen haben! Die Konsultation läuft noch zwei Wochen. Wir versuchen, weiterhin Fragen der Community zu beantworten und an der Konsultation mitzuwirken. Ich persönlich fand die Argumente zum Nachdenken anregend und merke, wie ich meine eigene Meinung ändere, wenn ich neue Ideen und Überlegungen lese, die ich vorher nicht hatte. Nächste Woche werde ich meinen aktuellen Stand meiner Überlegungen darlegen. Also, weiter so mit den Ideen und Argumenten! <span id="News_in_Types"></span> === Neuigkeiten zu Typen === Der Typ [[Z86|Unicode-Codepunkt]] wurde mit einer [[Z23041|Lese]]- und einer [[Z24823|Anzeige]]-Funktion ausgestattet. Dies verbessert die Benutzererfahrung von Wikifunctions und ermöglicht die Verwendung von Funktionen mit diesem Typ in eingebetteten Aufrufen. Vielen Dank an [[User:99of9|Benutzer:99of9]] für die Unterstützung dieser Verbesserung und die Arbeit an den Lese- und Anzeigefunktionen. <div lang="en" dir="ltr" class="mw-content-ltr"> For our current work to support import of more Wikidata content ([[:phab:T390559|T390559]]), discussions on three new types proposals are ongoing: [[Wikifunctions:Type proposals/Wikidata time|Wikidata time]], [[Wikifunctions:Type proposals/Wikidata quantity|Wikidata quantity]], and [[Wikifunctions:Type proposals/Wikidata geocoordinates|Wikidata geocoordinates]]. Comments are welcome! </div> <div lang="en" dir="ltr" class="mw-content-ltr"> === Fresh Functions weekly: 17 new Functions === </div> <div lang="en" dir="ltr" class="mw-content-ltr"> This week we had 17 new functions. Here are some of the functions with implementations and passing tests to get a taste of what functions have been created. Thanks everybody for contributing! </div> * {{Z|Z24736}} * {{Z|Z24749}} * {{Z|Z24757}} * {{Z|Z24809}} * {{Z|Z24823}} <div lang="en" dir="ltr" class="mw-content-ltr"> A [https://www.wikifunctions.org/wiki/Special:ListObjectsByType?type=Z8&orderby=latest complete list of all functions sorted by when they were created] is available. </div> [[Category:Status updates{{#translation:}}|2025-05-29]] crmt23j8a4powch0je4pzs3a458c6x4 191071 191069 2025-06-04T07:50:19Z Ameisenigel 44 Created page with "Im Rahmen unserer aktuellen Arbeit zur Unterstützung des Imports weiterer Wikidata-Inhalte ($1) laufen Diskussionen über drei neue Typenvorschläge: [[$2|Wikidata-Zeit]], [[$3|Wikidata-Menge]] und [[$4|Wikidata-Geokoordinaten]]. Kommentare sind willkommen!" 191071 wikitext text/x-wiki <languages/> {{Wikifunctions updates | prevlabel = Vorheriges Update | prev = 2025-05-23 | nextlabel = Nächstes Update | next = }} <span id="Rolling_out_embedded_function_calls_to_five_Wiktionaries"></span> === Einführung eingebetteter Funktionsaufrufe in fünf Wiktionarys === Wir haben eingebettete Funktionsaufrufe in einer ersten Reihe von Wiktionary-Projekten eingeführt: [[:ha:wikt:|Hausa]], [[:ig:wikt:|Igbo]], [[:ml:wikt:|Malayalam]], [[:bn:wikt:|Bengalisch]] und [[:dv:wikt:|Divehi]]. Diese repräsentieren [[:meta:Special:MyLanguage/Abstract Wikipedia/Updates/2021-04-15|die Fokussprachen]], die über ein Wiktionary verfügen (also alle außer Dagbani) und zusätzlich eine von rechts nach links geschriebene Sprache, Divehi. Dies entspricht ungefähr einer Verdoppelung der Seitenaufrufe für Wikis mit eingebetteten Funktionsaufrufen, gemäß unserem Plan einer behutsamen Einführung in den Projekten. Wir bitten nach wie vor um Zurückhaltung und darum, nur dann zu diesen Projekten beizutragen, wenn du Mitglied der jeweiligen Community bist oder werden möchtest. '''Verwende keines dieser Wikis als Testumgebung.''' Du kannst hierfür die [[Wikifunctions:Embedded function calls/sandbox|Spielwiese für Wikifunctions-Aufrufe]] verwenden. Eine [[Special:MyLanguage/Wikifunctions:Embedded function calls|Dokumentation zum Einbetten von Funktionsaufrufen]] findet sich auf Wikifunctions. Wir haben unsere Einführung vorerst auf Wiktionarys statt Wikipedias umgestellt. Diese Änderung erfolgte im Zuge der [[:mw:Special:MyLanguage/Parsoid/Deployments|Parsoid-Einführung]], von der eingebettete Funktionsaufrufe abhängen. Wir werden voraussichtlich später in diesem Jahr auf die Wikipedias zurückkommen. In den nächsten Monaten planen wir die Einführung in vielen weiteren Wiktionarys. Dies ermöglicht den Wiktionary-Communitys, an Funktionen zu arbeiten, die in den verschiedenen Wiktionary-Projekten nützlich sind. Dazu gehören beispielsweise die bereits vorhandenen [[:meta:Special:MyLanguage/Abstract Wikipedia/Updates/2023-09-08|morphologischen Funktionen]] (''z. B.'' der [[Z11089|reguläre Plural]] von ''house'' ist ''{{#function:Z11089|house}}'') oder Funktionen wie diese, die die [[Z24676|drei Hauptformen eines englischen Verbs]] auflistet, ''z. B.'' ''{{#function:Z24687|L3366}}''. Derzeit sind wir bei der Einbettung in Seiten auf einfache Zeichenketten-Ausgaben beschränkt, planen aber für später in diesem Jahr, einige Formatierungen zuzulassen, mit dem Ziel, ganze Konjugationstabellen zu erstellen, die in vielen verschiedenen Sprachversionen von Wiktionary-Projekten wiederverwendet werden können. Bis dahin sind wir gespannt, welche Funktionen ihr jetzt entwickeln werdet! <span id="Calculating_with_today’s_date"></span> === Berechnung mit dem heutigen Datum === Hallo an diesem schönen {{#function:Z20421|}}. Es sind noch {{#function:Z20744||6 August 2025}} Tage bis zur [[:wikimania:Special:MyLanguage/2025:Wikimania|Wikimania 2025]]! Wenn du diesen Text auf der Wiki-Seite liest, auf der er veröffentlicht wurde, werden der Wochentag und die Anzahl der Tage im vorherigen Satz automatisch aktualisiert, je näher wir der Wikimania kommen (wenn du dies in einer E-Mail liest, funktioniert dies nicht – eine Integration von Wikifunctions-Funktionsaufrufen in E-Mails ist noch nicht vorhanden und auch nicht geplant). Eine neue Funktion beim Einbetten von Funktionsaufrufen auf Wikiseiten ermöglicht es, den Wert für ein [[Z20420|Datum des Gregorianischen Kalenders]] leer zu lassen. In diesem Fall wird der Wert beim Seitenaufruf automatisch auf den aktuellen Tag gesetzt (entsprechend der Zeitzone des Wikis). Dies ermöglicht vielfältige dynamische Ausgaben: Du kannst das [[Z20756|Alter]] einer Person oder Institution, den aktuellen [[Z20421|Wochentag]], die heutige [[Z20741|Entfernung zum Mond]] und vieles mehr zurückgeben. Du nutzt diese Funktion, indem du den Wert einfach leer lässt. Probiere es gerne auf der [[Wikifunctions:Embedded function calls/sandbox|Spielwiese für eingebettete Funktionsaufrufe]] aus. Du findest [[Special:MyLanguage/Wikifunctions:Embedded function calls|weitere Dokumentation zur Verwendung eingebetteter Funktionsaufrufe]] in Wikis, die diese Funktion aktiviert haben. Wir planen, daran zu arbeiten, Standardwerte für zwei andere Typen zu erhalten: eine [[Z6091|Wikidata-Datenobjekt-Referenz]], um das mit einer bestimmten Seite verbundene Objekt (falls vorhanden) festzulegen, und die [[Z60|Sprache]] einer bestimmten Seite. Beide können dann in Funktionsaufrufen verwendet werden, um den Funktionsaufruf an eine bestimmte Seite anzupassen. Diese werden voraussichtlich noch in diesem Jahr entwickelt und bereitgestellt. Bitte informiere uns, wenn du Probleme mit der neuen Funktion bemerkst. <span id="Presentation_at_Wikidata_and_Sister_Projects_event"></span> === Präsentation bei der Veranstaltung Wikidata und Schwesterprojekte === Vom 29. Mai bis 1. Juni 2025 findet die Veranstaltung [[:d:Special:MyLanguage/Event:Wikidata and Sister Projects|Wikidata und Schwesterprojekte]] statt. [[User:DMartin (WMF)|David Martin]] und [[User:Sannita (WMF)|Luca Martinelli]] werden am [https://zonestamp.toolforge.org/1748539800 29. Mai um 19:30 MESZ] (also heute) vorstellen, wie Wikidata Sprachfunktionen auf Wikifunctions unterstützt und vieles mehr. Weitere Informationen zu der Veranstaltung findest du auf der [[:d:Special:MyLanguage/Event:Wikidata and Sister Projects|Veranstaltungsseite Wikidata und Schwesterprojekte]]. <span id="Recent_Changes_in_the_software"></span> === Letzte Änderungen an der Software === Letzte Woche haben wir, wie oben besprochen, eine unserer geplanten vierteljährlichen Arbeiten sowie eine Reihe anderer Arbeiten abgeschlossen. Für die Arbeit mit leichtgewichtigen Aufzählungen' ([[:phab:T390558|T390558]]) haben wir eine Benutzeroberfläche ([[:phab:T391918|T391918]]) und spezielle Rechte für deren Erstellung und Bearbeitung hinzugefügt ([[:phab:T391913|T391913]] und [[:phab:T391914|T391914]]). Wie bei den Typen sind diese vorerst nur für Mitarbeiter verfügbar, der Zugang wird aber später ausgeweitet. Um die Erstellungs- und Bearbeitungswerkzeuge zu ermöglichen, haben wir auch unsere Tests für die zulässigen Bearbeitungen und Erstellungen flexibler gestaltet. Es gibt hier noch einiges zu tun, bevor wir dies als abgeschlossen betrachten, aber wir sollten es in Kürze im Wiki demonstrieren können. Im Rahmen unseres Performance-Arbeitsschwerpunkts in diesem Quartal arbeiten wir an einem besseren Caching des Orchestrierers. Wir haben die Funktionalität auf der MediaWiki-Seite des Codes hinzugefügt, um dieses neue Verhalten auszulösen ([[:phab:T391971|T391971]]). In Kürze werden wir dies zusammenführen und die Auswirkungen messen und darüber berichten. Als Reaktion auf eine Reihe weitreichender Probleme, die [[User:99of9|Benutzer:99of9]] beim Ausführen von Tests festgestellt hat, haben wir einige Regressionstests hinzugefügt, die sich auf verschiedene gültige 'Formen' von Sprachobjekten beziehen ([[:phab:T391329|T391329]]). Als Teil der Wikimedia-weiten Unterstützung haben wir eine neue Sprache hinzugefügt: [[Z1970|Z1970/qxp]] ([[:phab:T394068|T394068]]). <span id="Ongoing_consultation_about_Location_of_Abstract_Content"></span> === Laufende Konsultation über den Ort des Abstrakten Inhalts === Vielen Dank an alle, die bisher an der Konsultation über den [[:meta:Special:MyLanguage/Abstract Wikipedia/Location of Abstract Content|Ort des Abstrakten Inhalts]] teilgenommen haben! Die Konsultation läuft noch zwei Wochen. Wir versuchen, weiterhin Fragen der Community zu beantworten und an der Konsultation mitzuwirken. Ich persönlich fand die Argumente zum Nachdenken anregend und merke, wie ich meine eigene Meinung ändere, wenn ich neue Ideen und Überlegungen lese, die ich vorher nicht hatte. Nächste Woche werde ich meinen aktuellen Stand meiner Überlegungen darlegen. Also, weiter so mit den Ideen und Argumenten! <span id="News_in_Types"></span> === Neuigkeiten zu Typen === Der Typ [[Z86|Unicode-Codepunkt]] wurde mit einer [[Z23041|Lese]]- und einer [[Z24823|Anzeige]]-Funktion ausgestattet. Dies verbessert die Benutzererfahrung von Wikifunctions und ermöglicht die Verwendung von Funktionen mit diesem Typ in eingebetteten Aufrufen. Vielen Dank an [[User:99of9|Benutzer:99of9]] für die Unterstützung dieser Verbesserung und die Arbeit an den Lese- und Anzeigefunktionen. Im Rahmen unserer aktuellen Arbeit zur Unterstützung des Imports weiterer Wikidata-Inhalte ([[:phab:T390559|T390559]]) laufen Diskussionen über drei neue Typenvorschläge: [[Wikifunctions:Type proposals/Wikidata time|Wikidata-Zeit]], [[Wikifunctions:Type proposals/Wikidata quantity|Wikidata-Menge]] und [[Wikifunctions:Type proposals/Wikidata geocoordinates|Wikidata-Geokoordinaten]]. Kommentare sind willkommen! <div lang="en" dir="ltr" class="mw-content-ltr"> === Fresh Functions weekly: 17 new Functions === </div> <div lang="en" dir="ltr" class="mw-content-ltr"> This week we had 17 new functions. Here are some of the functions with implementations and passing tests to get a taste of what functions have been created. Thanks everybody for contributing! </div> * {{Z|Z24736}} * {{Z|Z24749}} * {{Z|Z24757}} * {{Z|Z24809}} * {{Z|Z24823}} <div lang="en" dir="ltr" class="mw-content-ltr"> A [https://www.wikifunctions.org/wiki/Special:ListObjectsByType?type=Z8&orderby=latest complete list of all functions sorted by when they were created] is available. </div> [[Category:Status updates{{#translation:}}|2025-05-29]] 51dnwcnvudziiwe7l561dj1igmxon4d 191073 191071 2025-06-04T07:50:26Z Ameisenigel 44 Created page with "=== Wöchentliche neue Funktionen: 17 neue Funktionen ===" 191073 wikitext text/x-wiki <languages/> {{Wikifunctions updates | prevlabel = Vorheriges Update | prev = 2025-05-23 | nextlabel = Nächstes Update | next = }} <span id="Rolling_out_embedded_function_calls_to_five_Wiktionaries"></span> === Einführung eingebetteter Funktionsaufrufe in fünf Wiktionarys === Wir haben eingebettete Funktionsaufrufe in einer ersten Reihe von Wiktionary-Projekten eingeführt: [[:ha:wikt:|Hausa]], [[:ig:wikt:|Igbo]], [[:ml:wikt:|Malayalam]], [[:bn:wikt:|Bengalisch]] und [[:dv:wikt:|Divehi]]. Diese repräsentieren [[:meta:Special:MyLanguage/Abstract Wikipedia/Updates/2021-04-15|die Fokussprachen]], die über ein Wiktionary verfügen (also alle außer Dagbani) und zusätzlich eine von rechts nach links geschriebene Sprache, Divehi. Dies entspricht ungefähr einer Verdoppelung der Seitenaufrufe für Wikis mit eingebetteten Funktionsaufrufen, gemäß unserem Plan einer behutsamen Einführung in den Projekten. Wir bitten nach wie vor um Zurückhaltung und darum, nur dann zu diesen Projekten beizutragen, wenn du Mitglied der jeweiligen Community bist oder werden möchtest. '''Verwende keines dieser Wikis als Testumgebung.''' Du kannst hierfür die [[Wikifunctions:Embedded function calls/sandbox|Spielwiese für Wikifunctions-Aufrufe]] verwenden. Eine [[Special:MyLanguage/Wikifunctions:Embedded function calls|Dokumentation zum Einbetten von Funktionsaufrufen]] findet sich auf Wikifunctions. Wir haben unsere Einführung vorerst auf Wiktionarys statt Wikipedias umgestellt. Diese Änderung erfolgte im Zuge der [[:mw:Special:MyLanguage/Parsoid/Deployments|Parsoid-Einführung]], von der eingebettete Funktionsaufrufe abhängen. Wir werden voraussichtlich später in diesem Jahr auf die Wikipedias zurückkommen. In den nächsten Monaten planen wir die Einführung in vielen weiteren Wiktionarys. Dies ermöglicht den Wiktionary-Communitys, an Funktionen zu arbeiten, die in den verschiedenen Wiktionary-Projekten nützlich sind. Dazu gehören beispielsweise die bereits vorhandenen [[:meta:Special:MyLanguage/Abstract Wikipedia/Updates/2023-09-08|morphologischen Funktionen]] (''z. B.'' der [[Z11089|reguläre Plural]] von ''house'' ist ''{{#function:Z11089|house}}'') oder Funktionen wie diese, die die [[Z24676|drei Hauptformen eines englischen Verbs]] auflistet, ''z. B.'' ''{{#function:Z24687|L3366}}''. Derzeit sind wir bei der Einbettung in Seiten auf einfache Zeichenketten-Ausgaben beschränkt, planen aber für später in diesem Jahr, einige Formatierungen zuzulassen, mit dem Ziel, ganze Konjugationstabellen zu erstellen, die in vielen verschiedenen Sprachversionen von Wiktionary-Projekten wiederverwendet werden können. Bis dahin sind wir gespannt, welche Funktionen ihr jetzt entwickeln werdet! <span id="Calculating_with_today’s_date"></span> === Berechnung mit dem heutigen Datum === Hallo an diesem schönen {{#function:Z20421|}}. Es sind noch {{#function:Z20744||6 August 2025}} Tage bis zur [[:wikimania:Special:MyLanguage/2025:Wikimania|Wikimania 2025]]! Wenn du diesen Text auf der Wiki-Seite liest, auf der er veröffentlicht wurde, werden der Wochentag und die Anzahl der Tage im vorherigen Satz automatisch aktualisiert, je näher wir der Wikimania kommen (wenn du dies in einer E-Mail liest, funktioniert dies nicht – eine Integration von Wikifunctions-Funktionsaufrufen in E-Mails ist noch nicht vorhanden und auch nicht geplant). Eine neue Funktion beim Einbetten von Funktionsaufrufen auf Wikiseiten ermöglicht es, den Wert für ein [[Z20420|Datum des Gregorianischen Kalenders]] leer zu lassen. In diesem Fall wird der Wert beim Seitenaufruf automatisch auf den aktuellen Tag gesetzt (entsprechend der Zeitzone des Wikis). Dies ermöglicht vielfältige dynamische Ausgaben: Du kannst das [[Z20756|Alter]] einer Person oder Institution, den aktuellen [[Z20421|Wochentag]], die heutige [[Z20741|Entfernung zum Mond]] und vieles mehr zurückgeben. Du nutzt diese Funktion, indem du den Wert einfach leer lässt. Probiere es gerne auf der [[Wikifunctions:Embedded function calls/sandbox|Spielwiese für eingebettete Funktionsaufrufe]] aus. Du findest [[Special:MyLanguage/Wikifunctions:Embedded function calls|weitere Dokumentation zur Verwendung eingebetteter Funktionsaufrufe]] in Wikis, die diese Funktion aktiviert haben. Wir planen, daran zu arbeiten, Standardwerte für zwei andere Typen zu erhalten: eine [[Z6091|Wikidata-Datenobjekt-Referenz]], um das mit einer bestimmten Seite verbundene Objekt (falls vorhanden) festzulegen, und die [[Z60|Sprache]] einer bestimmten Seite. Beide können dann in Funktionsaufrufen verwendet werden, um den Funktionsaufruf an eine bestimmte Seite anzupassen. Diese werden voraussichtlich noch in diesem Jahr entwickelt und bereitgestellt. Bitte informiere uns, wenn du Probleme mit der neuen Funktion bemerkst. <span id="Presentation_at_Wikidata_and_Sister_Projects_event"></span> === Präsentation bei der Veranstaltung Wikidata und Schwesterprojekte === Vom 29. Mai bis 1. Juni 2025 findet die Veranstaltung [[:d:Special:MyLanguage/Event:Wikidata and Sister Projects|Wikidata und Schwesterprojekte]] statt. [[User:DMartin (WMF)|David Martin]] und [[User:Sannita (WMF)|Luca Martinelli]] werden am [https://zonestamp.toolforge.org/1748539800 29. Mai um 19:30 MESZ] (also heute) vorstellen, wie Wikidata Sprachfunktionen auf Wikifunctions unterstützt und vieles mehr. Weitere Informationen zu der Veranstaltung findest du auf der [[:d:Special:MyLanguage/Event:Wikidata and Sister Projects|Veranstaltungsseite Wikidata und Schwesterprojekte]]. <span id="Recent_Changes_in_the_software"></span> === Letzte Änderungen an der Software === Letzte Woche haben wir, wie oben besprochen, eine unserer geplanten vierteljährlichen Arbeiten sowie eine Reihe anderer Arbeiten abgeschlossen. Für die Arbeit mit leichtgewichtigen Aufzählungen' ([[:phab:T390558|T390558]]) haben wir eine Benutzeroberfläche ([[:phab:T391918|T391918]]) und spezielle Rechte für deren Erstellung und Bearbeitung hinzugefügt ([[:phab:T391913|T391913]] und [[:phab:T391914|T391914]]). Wie bei den Typen sind diese vorerst nur für Mitarbeiter verfügbar, der Zugang wird aber später ausgeweitet. Um die Erstellungs- und Bearbeitungswerkzeuge zu ermöglichen, haben wir auch unsere Tests für die zulässigen Bearbeitungen und Erstellungen flexibler gestaltet. Es gibt hier noch einiges zu tun, bevor wir dies als abgeschlossen betrachten, aber wir sollten es in Kürze im Wiki demonstrieren können. Im Rahmen unseres Performance-Arbeitsschwerpunkts in diesem Quartal arbeiten wir an einem besseren Caching des Orchestrierers. Wir haben die Funktionalität auf der MediaWiki-Seite des Codes hinzugefügt, um dieses neue Verhalten auszulösen ([[:phab:T391971|T391971]]). In Kürze werden wir dies zusammenführen und die Auswirkungen messen und darüber berichten. Als Reaktion auf eine Reihe weitreichender Probleme, die [[User:99of9|Benutzer:99of9]] beim Ausführen von Tests festgestellt hat, haben wir einige Regressionstests hinzugefügt, die sich auf verschiedene gültige 'Formen' von Sprachobjekten beziehen ([[:phab:T391329|T391329]]). Als Teil der Wikimedia-weiten Unterstützung haben wir eine neue Sprache hinzugefügt: [[Z1970|Z1970/qxp]] ([[:phab:T394068|T394068]]). <span id="Ongoing_consultation_about_Location_of_Abstract_Content"></span> === Laufende Konsultation über den Ort des Abstrakten Inhalts === Vielen Dank an alle, die bisher an der Konsultation über den [[:meta:Special:MyLanguage/Abstract Wikipedia/Location of Abstract Content|Ort des Abstrakten Inhalts]] teilgenommen haben! Die Konsultation läuft noch zwei Wochen. Wir versuchen, weiterhin Fragen der Community zu beantworten und an der Konsultation mitzuwirken. Ich persönlich fand die Argumente zum Nachdenken anregend und merke, wie ich meine eigene Meinung ändere, wenn ich neue Ideen und Überlegungen lese, die ich vorher nicht hatte. Nächste Woche werde ich meinen aktuellen Stand meiner Überlegungen darlegen. Also, weiter so mit den Ideen und Argumenten! <span id="News_in_Types"></span> === Neuigkeiten zu Typen === Der Typ [[Z86|Unicode-Codepunkt]] wurde mit einer [[Z23041|Lese]]- und einer [[Z24823|Anzeige]]-Funktion ausgestattet. Dies verbessert die Benutzererfahrung von Wikifunctions und ermöglicht die Verwendung von Funktionen mit diesem Typ in eingebetteten Aufrufen. Vielen Dank an [[User:99of9|Benutzer:99of9]] für die Unterstützung dieser Verbesserung und die Arbeit an den Lese- und Anzeigefunktionen. Im Rahmen unserer aktuellen Arbeit zur Unterstützung des Imports weiterer Wikidata-Inhalte ([[:phab:T390559|T390559]]) laufen Diskussionen über drei neue Typenvorschläge: [[Wikifunctions:Type proposals/Wikidata time|Wikidata-Zeit]], [[Wikifunctions:Type proposals/Wikidata quantity|Wikidata-Menge]] und [[Wikifunctions:Type proposals/Wikidata geocoordinates|Wikidata-Geokoordinaten]]. Kommentare sind willkommen! <span id="Fresh_Functions_weekly:_17_new_Functions"></span> === Wöchentliche neue Funktionen: 17 neue Funktionen === <div lang="en" dir="ltr" class="mw-content-ltr"> This week we had 17 new functions. Here are some of the functions with implementations and passing tests to get a taste of what functions have been created. Thanks everybody for contributing! </div> * {{Z|Z24736}} * {{Z|Z24749}} * {{Z|Z24757}} * {{Z|Z24809}} * {{Z|Z24823}} <div lang="en" dir="ltr" class="mw-content-ltr"> A [https://www.wikifunctions.org/wiki/Special:ListObjectsByType?type=Z8&orderby=latest complete list of all functions sorted by when they were created] is available. </div> [[Category:Status updates{{#translation:}}|2025-05-29]] 0vifxq0a1yt7e7of553llr0aw6ex1wv 191075 191073 2025-06-04T07:51:01Z Ameisenigel 44 Created page with "Diese Woche hatten wir 17 neue Funktionen. Hier ist eine Liste von Funktionen mit Implementierungen und bestandenen Tests, um einen Eindruck davon zu bekommen, welche Funktionen erstellt wurden. Vielen Dank an alle für ihre Beiträge!" 191075 wikitext text/x-wiki <languages/> {{Wikifunctions updates | prevlabel = Vorheriges Update | prev = 2025-05-23 | nextlabel = Nächstes Update | next = }} <span id="Rolling_out_embedded_function_calls_to_five_Wiktionaries"></span> === Einführung eingebetteter Funktionsaufrufe in fünf Wiktionarys === Wir haben eingebettete Funktionsaufrufe in einer ersten Reihe von Wiktionary-Projekten eingeführt: [[:ha:wikt:|Hausa]], [[:ig:wikt:|Igbo]], [[:ml:wikt:|Malayalam]], [[:bn:wikt:|Bengalisch]] und [[:dv:wikt:|Divehi]]. Diese repräsentieren [[:meta:Special:MyLanguage/Abstract Wikipedia/Updates/2021-04-15|die Fokussprachen]], die über ein Wiktionary verfügen (also alle außer Dagbani) und zusätzlich eine von rechts nach links geschriebene Sprache, Divehi. Dies entspricht ungefähr einer Verdoppelung der Seitenaufrufe für Wikis mit eingebetteten Funktionsaufrufen, gemäß unserem Plan einer behutsamen Einführung in den Projekten. Wir bitten nach wie vor um Zurückhaltung und darum, nur dann zu diesen Projekten beizutragen, wenn du Mitglied der jeweiligen Community bist oder werden möchtest. '''Verwende keines dieser Wikis als Testumgebung.''' Du kannst hierfür die [[Wikifunctions:Embedded function calls/sandbox|Spielwiese für Wikifunctions-Aufrufe]] verwenden. Eine [[Special:MyLanguage/Wikifunctions:Embedded function calls|Dokumentation zum Einbetten von Funktionsaufrufen]] findet sich auf Wikifunctions. Wir haben unsere Einführung vorerst auf Wiktionarys statt Wikipedias umgestellt. Diese Änderung erfolgte im Zuge der [[:mw:Special:MyLanguage/Parsoid/Deployments|Parsoid-Einführung]], von der eingebettete Funktionsaufrufe abhängen. Wir werden voraussichtlich später in diesem Jahr auf die Wikipedias zurückkommen. In den nächsten Monaten planen wir die Einführung in vielen weiteren Wiktionarys. Dies ermöglicht den Wiktionary-Communitys, an Funktionen zu arbeiten, die in den verschiedenen Wiktionary-Projekten nützlich sind. Dazu gehören beispielsweise die bereits vorhandenen [[:meta:Special:MyLanguage/Abstract Wikipedia/Updates/2023-09-08|morphologischen Funktionen]] (''z. B.'' der [[Z11089|reguläre Plural]] von ''house'' ist ''{{#function:Z11089|house}}'') oder Funktionen wie diese, die die [[Z24676|drei Hauptformen eines englischen Verbs]] auflistet, ''z. B.'' ''{{#function:Z24687|L3366}}''. Derzeit sind wir bei der Einbettung in Seiten auf einfache Zeichenketten-Ausgaben beschränkt, planen aber für später in diesem Jahr, einige Formatierungen zuzulassen, mit dem Ziel, ganze Konjugationstabellen zu erstellen, die in vielen verschiedenen Sprachversionen von Wiktionary-Projekten wiederverwendet werden können. Bis dahin sind wir gespannt, welche Funktionen ihr jetzt entwickeln werdet! <span id="Calculating_with_today’s_date"></span> === Berechnung mit dem heutigen Datum === Hallo an diesem schönen {{#function:Z20421|}}. Es sind noch {{#function:Z20744||6 August 2025}} Tage bis zur [[:wikimania:Special:MyLanguage/2025:Wikimania|Wikimania 2025]]! Wenn du diesen Text auf der Wiki-Seite liest, auf der er veröffentlicht wurde, werden der Wochentag und die Anzahl der Tage im vorherigen Satz automatisch aktualisiert, je näher wir der Wikimania kommen (wenn du dies in einer E-Mail liest, funktioniert dies nicht – eine Integration von Wikifunctions-Funktionsaufrufen in E-Mails ist noch nicht vorhanden und auch nicht geplant). Eine neue Funktion beim Einbetten von Funktionsaufrufen auf Wikiseiten ermöglicht es, den Wert für ein [[Z20420|Datum des Gregorianischen Kalenders]] leer zu lassen. In diesem Fall wird der Wert beim Seitenaufruf automatisch auf den aktuellen Tag gesetzt (entsprechend der Zeitzone des Wikis). Dies ermöglicht vielfältige dynamische Ausgaben: Du kannst das [[Z20756|Alter]] einer Person oder Institution, den aktuellen [[Z20421|Wochentag]], die heutige [[Z20741|Entfernung zum Mond]] und vieles mehr zurückgeben. Du nutzt diese Funktion, indem du den Wert einfach leer lässt. Probiere es gerne auf der [[Wikifunctions:Embedded function calls/sandbox|Spielwiese für eingebettete Funktionsaufrufe]] aus. Du findest [[Special:MyLanguage/Wikifunctions:Embedded function calls|weitere Dokumentation zur Verwendung eingebetteter Funktionsaufrufe]] in Wikis, die diese Funktion aktiviert haben. Wir planen, daran zu arbeiten, Standardwerte für zwei andere Typen zu erhalten: eine [[Z6091|Wikidata-Datenobjekt-Referenz]], um das mit einer bestimmten Seite verbundene Objekt (falls vorhanden) festzulegen, und die [[Z60|Sprache]] einer bestimmten Seite. Beide können dann in Funktionsaufrufen verwendet werden, um den Funktionsaufruf an eine bestimmte Seite anzupassen. Diese werden voraussichtlich noch in diesem Jahr entwickelt und bereitgestellt. Bitte informiere uns, wenn du Probleme mit der neuen Funktion bemerkst. <span id="Presentation_at_Wikidata_and_Sister_Projects_event"></span> === Präsentation bei der Veranstaltung Wikidata und Schwesterprojekte === Vom 29. Mai bis 1. Juni 2025 findet die Veranstaltung [[:d:Special:MyLanguage/Event:Wikidata and Sister Projects|Wikidata und Schwesterprojekte]] statt. [[User:DMartin (WMF)|David Martin]] und [[User:Sannita (WMF)|Luca Martinelli]] werden am [https://zonestamp.toolforge.org/1748539800 29. Mai um 19:30 MESZ] (also heute) vorstellen, wie Wikidata Sprachfunktionen auf Wikifunctions unterstützt und vieles mehr. Weitere Informationen zu der Veranstaltung findest du auf der [[:d:Special:MyLanguage/Event:Wikidata and Sister Projects|Veranstaltungsseite Wikidata und Schwesterprojekte]]. <span id="Recent_Changes_in_the_software"></span> === Letzte Änderungen an der Software === Letzte Woche haben wir, wie oben besprochen, eine unserer geplanten vierteljährlichen Arbeiten sowie eine Reihe anderer Arbeiten abgeschlossen. Für die Arbeit mit leichtgewichtigen Aufzählungen' ([[:phab:T390558|T390558]]) haben wir eine Benutzeroberfläche ([[:phab:T391918|T391918]]) und spezielle Rechte für deren Erstellung und Bearbeitung hinzugefügt ([[:phab:T391913|T391913]] und [[:phab:T391914|T391914]]). Wie bei den Typen sind diese vorerst nur für Mitarbeiter verfügbar, der Zugang wird aber später ausgeweitet. Um die Erstellungs- und Bearbeitungswerkzeuge zu ermöglichen, haben wir auch unsere Tests für die zulässigen Bearbeitungen und Erstellungen flexibler gestaltet. Es gibt hier noch einiges zu tun, bevor wir dies als abgeschlossen betrachten, aber wir sollten es in Kürze im Wiki demonstrieren können. Im Rahmen unseres Performance-Arbeitsschwerpunkts in diesem Quartal arbeiten wir an einem besseren Caching des Orchestrierers. Wir haben die Funktionalität auf der MediaWiki-Seite des Codes hinzugefügt, um dieses neue Verhalten auszulösen ([[:phab:T391971|T391971]]). In Kürze werden wir dies zusammenführen und die Auswirkungen messen und darüber berichten. Als Reaktion auf eine Reihe weitreichender Probleme, die [[User:99of9|Benutzer:99of9]] beim Ausführen von Tests festgestellt hat, haben wir einige Regressionstests hinzugefügt, die sich auf verschiedene gültige 'Formen' von Sprachobjekten beziehen ([[:phab:T391329|T391329]]). Als Teil der Wikimedia-weiten Unterstützung haben wir eine neue Sprache hinzugefügt: [[Z1970|Z1970/qxp]] ([[:phab:T394068|T394068]]). <span id="Ongoing_consultation_about_Location_of_Abstract_Content"></span> === Laufende Konsultation über den Ort des Abstrakten Inhalts === Vielen Dank an alle, die bisher an der Konsultation über den [[:meta:Special:MyLanguage/Abstract Wikipedia/Location of Abstract Content|Ort des Abstrakten Inhalts]] teilgenommen haben! Die Konsultation läuft noch zwei Wochen. Wir versuchen, weiterhin Fragen der Community zu beantworten und an der Konsultation mitzuwirken. Ich persönlich fand die Argumente zum Nachdenken anregend und merke, wie ich meine eigene Meinung ändere, wenn ich neue Ideen und Überlegungen lese, die ich vorher nicht hatte. Nächste Woche werde ich meinen aktuellen Stand meiner Überlegungen darlegen. Also, weiter so mit den Ideen und Argumenten! <span id="News_in_Types"></span> === Neuigkeiten zu Typen === Der Typ [[Z86|Unicode-Codepunkt]] wurde mit einer [[Z23041|Lese]]- und einer [[Z24823|Anzeige]]-Funktion ausgestattet. Dies verbessert die Benutzererfahrung von Wikifunctions und ermöglicht die Verwendung von Funktionen mit diesem Typ in eingebetteten Aufrufen. Vielen Dank an [[User:99of9|Benutzer:99of9]] für die Unterstützung dieser Verbesserung und die Arbeit an den Lese- und Anzeigefunktionen. Im Rahmen unserer aktuellen Arbeit zur Unterstützung des Imports weiterer Wikidata-Inhalte ([[:phab:T390559|T390559]]) laufen Diskussionen über drei neue Typenvorschläge: [[Wikifunctions:Type proposals/Wikidata time|Wikidata-Zeit]], [[Wikifunctions:Type proposals/Wikidata quantity|Wikidata-Menge]] und [[Wikifunctions:Type proposals/Wikidata geocoordinates|Wikidata-Geokoordinaten]]. Kommentare sind willkommen! <span id="Fresh_Functions_weekly:_17_new_Functions"></span> === Wöchentliche neue Funktionen: 17 neue Funktionen === Diese Woche hatten wir 17 neue Funktionen. Hier ist eine Liste von Funktionen mit Implementierungen und bestandenen Tests, um einen Eindruck davon zu bekommen, welche Funktionen erstellt wurden. Vielen Dank an alle für ihre Beiträge! * {{Z|Z24736}} * {{Z|Z24749}} * {{Z|Z24757}} * {{Z|Z24809}} * {{Z|Z24823}} <div lang="en" dir="ltr" class="mw-content-ltr"> A [https://www.wikifunctions.org/wiki/Special:ListObjectsByType?type=Z8&orderby=latest complete list of all functions sorted by when they were created] is available. </div> [[Category:Status updates{{#translation:}}|2025-05-29]] 5mb2wo53lamg5e3f3c2hgvo7glqy468 191077 191075 2025-06-04T07:51:06Z Ameisenigel 44 Created page with "Eine [$1 vollständige Liste aller Funktionen, sortiert nach Erstellungsdatum], ist verfügbar." 191077 wikitext text/x-wiki <languages/> {{Wikifunctions updates | prevlabel = Vorheriges Update | prev = 2025-05-23 | nextlabel = Nächstes Update | next = }} <span id="Rolling_out_embedded_function_calls_to_five_Wiktionaries"></span> === Einführung eingebetteter Funktionsaufrufe in fünf Wiktionarys === Wir haben eingebettete Funktionsaufrufe in einer ersten Reihe von Wiktionary-Projekten eingeführt: [[:ha:wikt:|Hausa]], [[:ig:wikt:|Igbo]], [[:ml:wikt:|Malayalam]], [[:bn:wikt:|Bengalisch]] und [[:dv:wikt:|Divehi]]. Diese repräsentieren [[:meta:Special:MyLanguage/Abstract Wikipedia/Updates/2021-04-15|die Fokussprachen]], die über ein Wiktionary verfügen (also alle außer Dagbani) und zusätzlich eine von rechts nach links geschriebene Sprache, Divehi. Dies entspricht ungefähr einer Verdoppelung der Seitenaufrufe für Wikis mit eingebetteten Funktionsaufrufen, gemäß unserem Plan einer behutsamen Einführung in den Projekten. Wir bitten nach wie vor um Zurückhaltung und darum, nur dann zu diesen Projekten beizutragen, wenn du Mitglied der jeweiligen Community bist oder werden möchtest. '''Verwende keines dieser Wikis als Testumgebung.''' Du kannst hierfür die [[Wikifunctions:Embedded function calls/sandbox|Spielwiese für Wikifunctions-Aufrufe]] verwenden. Eine [[Special:MyLanguage/Wikifunctions:Embedded function calls|Dokumentation zum Einbetten von Funktionsaufrufen]] findet sich auf Wikifunctions. Wir haben unsere Einführung vorerst auf Wiktionarys statt Wikipedias umgestellt. Diese Änderung erfolgte im Zuge der [[:mw:Special:MyLanguage/Parsoid/Deployments|Parsoid-Einführung]], von der eingebettete Funktionsaufrufe abhängen. Wir werden voraussichtlich später in diesem Jahr auf die Wikipedias zurückkommen. In den nächsten Monaten planen wir die Einführung in vielen weiteren Wiktionarys. Dies ermöglicht den Wiktionary-Communitys, an Funktionen zu arbeiten, die in den verschiedenen Wiktionary-Projekten nützlich sind. Dazu gehören beispielsweise die bereits vorhandenen [[:meta:Special:MyLanguage/Abstract Wikipedia/Updates/2023-09-08|morphologischen Funktionen]] (''z. B.'' der [[Z11089|reguläre Plural]] von ''house'' ist ''{{#function:Z11089|house}}'') oder Funktionen wie diese, die die [[Z24676|drei Hauptformen eines englischen Verbs]] auflistet, ''z. B.'' ''{{#function:Z24687|L3366}}''. Derzeit sind wir bei der Einbettung in Seiten auf einfache Zeichenketten-Ausgaben beschränkt, planen aber für später in diesem Jahr, einige Formatierungen zuzulassen, mit dem Ziel, ganze Konjugationstabellen zu erstellen, die in vielen verschiedenen Sprachversionen von Wiktionary-Projekten wiederverwendet werden können. Bis dahin sind wir gespannt, welche Funktionen ihr jetzt entwickeln werdet! <span id="Calculating_with_today’s_date"></span> === Berechnung mit dem heutigen Datum === Hallo an diesem schönen {{#function:Z20421|}}. Es sind noch {{#function:Z20744||6 August 2025}} Tage bis zur [[:wikimania:Special:MyLanguage/2025:Wikimania|Wikimania 2025]]! Wenn du diesen Text auf der Wiki-Seite liest, auf der er veröffentlicht wurde, werden der Wochentag und die Anzahl der Tage im vorherigen Satz automatisch aktualisiert, je näher wir der Wikimania kommen (wenn du dies in einer E-Mail liest, funktioniert dies nicht – eine Integration von Wikifunctions-Funktionsaufrufen in E-Mails ist noch nicht vorhanden und auch nicht geplant). Eine neue Funktion beim Einbetten von Funktionsaufrufen auf Wikiseiten ermöglicht es, den Wert für ein [[Z20420|Datum des Gregorianischen Kalenders]] leer zu lassen. In diesem Fall wird der Wert beim Seitenaufruf automatisch auf den aktuellen Tag gesetzt (entsprechend der Zeitzone des Wikis). Dies ermöglicht vielfältige dynamische Ausgaben: Du kannst das [[Z20756|Alter]] einer Person oder Institution, den aktuellen [[Z20421|Wochentag]], die heutige [[Z20741|Entfernung zum Mond]] und vieles mehr zurückgeben. Du nutzt diese Funktion, indem du den Wert einfach leer lässt. Probiere es gerne auf der [[Wikifunctions:Embedded function calls/sandbox|Spielwiese für eingebettete Funktionsaufrufe]] aus. Du findest [[Special:MyLanguage/Wikifunctions:Embedded function calls|weitere Dokumentation zur Verwendung eingebetteter Funktionsaufrufe]] in Wikis, die diese Funktion aktiviert haben. Wir planen, daran zu arbeiten, Standardwerte für zwei andere Typen zu erhalten: eine [[Z6091|Wikidata-Datenobjekt-Referenz]], um das mit einer bestimmten Seite verbundene Objekt (falls vorhanden) festzulegen, und die [[Z60|Sprache]] einer bestimmten Seite. Beide können dann in Funktionsaufrufen verwendet werden, um den Funktionsaufruf an eine bestimmte Seite anzupassen. Diese werden voraussichtlich noch in diesem Jahr entwickelt und bereitgestellt. Bitte informiere uns, wenn du Probleme mit der neuen Funktion bemerkst. <span id="Presentation_at_Wikidata_and_Sister_Projects_event"></span> === Präsentation bei der Veranstaltung Wikidata und Schwesterprojekte === Vom 29. Mai bis 1. Juni 2025 findet die Veranstaltung [[:d:Special:MyLanguage/Event:Wikidata and Sister Projects|Wikidata und Schwesterprojekte]] statt. [[User:DMartin (WMF)|David Martin]] und [[User:Sannita (WMF)|Luca Martinelli]] werden am [https://zonestamp.toolforge.org/1748539800 29. Mai um 19:30 MESZ] (also heute) vorstellen, wie Wikidata Sprachfunktionen auf Wikifunctions unterstützt und vieles mehr. Weitere Informationen zu der Veranstaltung findest du auf der [[:d:Special:MyLanguage/Event:Wikidata and Sister Projects|Veranstaltungsseite Wikidata und Schwesterprojekte]]. <span id="Recent_Changes_in_the_software"></span> === Letzte Änderungen an der Software === Letzte Woche haben wir, wie oben besprochen, eine unserer geplanten vierteljährlichen Arbeiten sowie eine Reihe anderer Arbeiten abgeschlossen. Für die Arbeit mit leichtgewichtigen Aufzählungen' ([[:phab:T390558|T390558]]) haben wir eine Benutzeroberfläche ([[:phab:T391918|T391918]]) und spezielle Rechte für deren Erstellung und Bearbeitung hinzugefügt ([[:phab:T391913|T391913]] und [[:phab:T391914|T391914]]). Wie bei den Typen sind diese vorerst nur für Mitarbeiter verfügbar, der Zugang wird aber später ausgeweitet. Um die Erstellungs- und Bearbeitungswerkzeuge zu ermöglichen, haben wir auch unsere Tests für die zulässigen Bearbeitungen und Erstellungen flexibler gestaltet. Es gibt hier noch einiges zu tun, bevor wir dies als abgeschlossen betrachten, aber wir sollten es in Kürze im Wiki demonstrieren können. Im Rahmen unseres Performance-Arbeitsschwerpunkts in diesem Quartal arbeiten wir an einem besseren Caching des Orchestrierers. Wir haben die Funktionalität auf der MediaWiki-Seite des Codes hinzugefügt, um dieses neue Verhalten auszulösen ([[:phab:T391971|T391971]]). In Kürze werden wir dies zusammenführen und die Auswirkungen messen und darüber berichten. Als Reaktion auf eine Reihe weitreichender Probleme, die [[User:99of9|Benutzer:99of9]] beim Ausführen von Tests festgestellt hat, haben wir einige Regressionstests hinzugefügt, die sich auf verschiedene gültige 'Formen' von Sprachobjekten beziehen ([[:phab:T391329|T391329]]). Als Teil der Wikimedia-weiten Unterstützung haben wir eine neue Sprache hinzugefügt: [[Z1970|Z1970/qxp]] ([[:phab:T394068|T394068]]). <span id="Ongoing_consultation_about_Location_of_Abstract_Content"></span> === Laufende Konsultation über den Ort des Abstrakten Inhalts === Vielen Dank an alle, die bisher an der Konsultation über den [[:meta:Special:MyLanguage/Abstract Wikipedia/Location of Abstract Content|Ort des Abstrakten Inhalts]] teilgenommen haben! Die Konsultation läuft noch zwei Wochen. Wir versuchen, weiterhin Fragen der Community zu beantworten und an der Konsultation mitzuwirken. Ich persönlich fand die Argumente zum Nachdenken anregend und merke, wie ich meine eigene Meinung ändere, wenn ich neue Ideen und Überlegungen lese, die ich vorher nicht hatte. Nächste Woche werde ich meinen aktuellen Stand meiner Überlegungen darlegen. Also, weiter so mit den Ideen und Argumenten! <span id="News_in_Types"></span> === Neuigkeiten zu Typen === Der Typ [[Z86|Unicode-Codepunkt]] wurde mit einer [[Z23041|Lese]]- und einer [[Z24823|Anzeige]]-Funktion ausgestattet. Dies verbessert die Benutzererfahrung von Wikifunctions und ermöglicht die Verwendung von Funktionen mit diesem Typ in eingebetteten Aufrufen. Vielen Dank an [[User:99of9|Benutzer:99of9]] für die Unterstützung dieser Verbesserung und die Arbeit an den Lese- und Anzeigefunktionen. Im Rahmen unserer aktuellen Arbeit zur Unterstützung des Imports weiterer Wikidata-Inhalte ([[:phab:T390559|T390559]]) laufen Diskussionen über drei neue Typenvorschläge: [[Wikifunctions:Type proposals/Wikidata time|Wikidata-Zeit]], [[Wikifunctions:Type proposals/Wikidata quantity|Wikidata-Menge]] und [[Wikifunctions:Type proposals/Wikidata geocoordinates|Wikidata-Geokoordinaten]]. Kommentare sind willkommen! <span id="Fresh_Functions_weekly:_17_new_Functions"></span> === Wöchentliche neue Funktionen: 17 neue Funktionen === Diese Woche hatten wir 17 neue Funktionen. Hier ist eine Liste von Funktionen mit Implementierungen und bestandenen Tests, um einen Eindruck davon zu bekommen, welche Funktionen erstellt wurden. Vielen Dank an alle für ihre Beiträge! * {{Z|Z24736}} * {{Z|Z24749}} * {{Z|Z24757}} * {{Z|Z24809}} * {{Z|Z24823}} Eine [https://www.wikifunctions.org/wiki/Special:ListObjectsByType?type=Z8&orderby=latest vollständige Liste aller Funktionen, sortiert nach Erstellungsdatum], ist verfügbar. [[Category:Status updates{{#translation:}}|2025-05-29]] j4d9trxxwmyjwji17bfpnfo294f9xw7 Z24901 0 57978 190972 190907 2025-06-03T12:24:56Z Denny 81 Added Z24910 to the approved list of test cases 190972 zobject text/plain { "Z1K1": "Z2", "Z2K1": { "Z1K1": "Z6", "Z6K1": "Z24901" }, "Z2K2": { "Z1K1": "Z8", "Z8K1": [ "Z17", { "Z1K1": "Z17", "Z17K1": "Z20420", "Z17K2": "Z24901K1", "Z17K3": { "Z1K1": "Z12", "Z12K1": [ "Z11", { "Z1K1": "Z11", "Z11K1": "Z1002", "Z11K2": "start date" }, { "Z1K1": "Z11", "Z11K1": "Z1282", "Z11K2": "deiziad kregiñ" }, { "Z1K1": "Z11", "Z11K1": "Z1004", "Z11K2": "date de début" } ] } }, { "Z1K1": "Z17", "Z17K1": "Z20420", "Z17K2": "Z24901K2", "Z17K3": { "Z1K1": "Z12", "Z12K1": [ "Z11", { "Z1K1": "Z11", "Z11K1": "Z1002", "Z11K2": "end date" }, { "Z1K1": "Z11", "Z11K1": "Z1282", "Z11K2": "deiziad echuiñ" }, { "Z1K1": "Z11", "Z11K1": "Z1004", "Z11K2": "date de fin" } ] } } ], "Z8K2": "Z6", "Z8K3": [ "Z20", "Z24902", "Z24903", "Z24908", "Z24904", "Z24905", "Z24906", "Z24909", "Z24911", "Z24910" ], "Z8K4": [ "Z14", "Z24907" ], "Z8K5": "Z24901" }, "Z2K3": { "Z1K1": "Z12", "Z12K1": [ "Z11", { "Z1K1": "Z11", "Z11K1": "Z1002", "Z11K2": "time between two dates with unit in English" }, { "Z1K1": "Z11", "Z11K1": "Z1004", "Z11K2": "temps entre deux dates avec unités en anglais" }, { "Z1K1": "Z11", "Z11K1": "Z1282", "Z11K2": "amzer etre daou zeiziad gant unanenn e saozneg" } ] }, "Z2K4": { "Z1K1": "Z32", "Z32K1": [ "Z31", { "Z1K1": "Z31", "Z31K1": "Z1002", "Z31K2": [ "Z6", "age" ] }, { "Z1K1": "Z31", "Z31K1": "Z1004", "Z31K2": [ "Z6", "âge" ] } ] }, "Z2K5": { "Z1K1": "Z12", "Z12K1": [ "Z11", { "Z1K1": "Z11", "Z11K1": "Z1002", "Z11K2": "Returns the \"27 years\" or \"6 months\" or \"3 days\", depending on the time frame. The number is always positive." }, { "Z1K1": "Z11", "Z11K1": "Z1004", "Z11K2": "renvoie \"27 ans\" ou \"6 mois\" ou \"3 jours\", selon la durée ; le nombre est toujours positif" }, { "Z1K1": "Z11", "Z11K1": "Z1282", "Z11K2": "distreiñ a ra ar \"27 vloaz\" pe \"6 miz\" pe \"3 devezh\", diouzh ar prantad ; atav positiv" } ] } } 4o21bum55uuj6h4qf8vw28s9079kckl Z24909 0 57986 190974 190897 2025-06-03T12:28:12Z Denny 81 190974 zobject text/plain { "Z1K1": "Z2", "Z2K1": { "Z1K1": "Z6", "Z6K1": "Z24909" }, "Z2K2": { "Z1K1": "Z20", "Z20K1": "Z24901", "Z20K2": { "Z1K1": "Z7", "Z7K1": "Z24901", "Z24901K1": { "Z1K1": "Z20420", "Z20420K1": { "Z1K1": "Z20159", "Z20159K1": { "Z1K1": "Z17813", "Z17813K1": "Z17814" }, "Z20159K2": { "Z1K1": "Z13518", "Z13518K1": "2024" } }, "Z20420K2": { "Z1K1": "Z20342", "Z20342K1": { "Z1K1": "Z16098", "Z16098K1": "Z16102" }, "Z20342K2": { "Z1K1": "Z13518", "Z13518K1": "01" } } }, "Z24901K2": { "Z1K1": "Z20420", "Z20420K1": { "Z1K1": "Z20159", "Z20159K1": { "Z1K1": "Z17813", "Z17813K1": "Z17814" }, "Z20159K2": { "Z1K1": "Z13518", "Z13518K1": "2024" } }, "Z20420K2": { "Z1K1": "Z20342", "Z20342K1": { "Z1K1": "Z16098", "Z16098K1": "Z16103" }, "Z20342K2": { "Z1K1": "Z13518", "Z13518K1": "01" } } } }, "Z20K3": { "Z1K1": "Z7", "Z7K1": "Z866", "Z866K2": "1 month" } }, "Z2K3": { "Z1K1": "Z12", "Z12K1": [ "Z11", { "Z1K1": "Z11", "Z11K1": "Z1002", "Z11K2": "2024-02-01-\u003E2024-03-01 = \"1 month\"" } ] }, "Z2K4": { "Z1K1": "Z32", "Z32K1": [ "Z31" ] }, "Z2K5": { "Z1K1": "Z12", "Z12K1": [ "Z11" ] } } qgfqtjt9o9c0dkzt70xo2cw08umum5j Talk:Z24909 1 57988 190973 190900 2025-06-03T12:26:17Z Denny 81 /* 1 month or 29 days? */ Reply 190973 wikitext text/x-wiki == 1 month or 29 days? == Should this rather be "1 month" or "29 days"? The former seems to make more intuitive sense, the latter isn't wrong and easier to implement in some cases. But I think we should maybe switch to the former again. --[[User:DVrandecic (WMF)|DVrandecic (WMF)]] ([[User talk:DVrandecic (WMF)|talk]]) 18:26, 2 June 2025 (UTC) :Let's go with the former, unless someone argues differently. --[[User:Denny|Denny]] ([[User talk:Denny|talk]]) 12:26, 3 June 2025 (UTC) 4bzkntj56oh8p1asec64lajsknh79qi Translations:Template:Main page/144/ko 1198 58009 190967 2025-06-03T12:17:47Z YeBoy371 5561 Created page with "[[$lastcorner|최근의 지원자 코너]]는 위키미디어 공용에서 사용할 수 있습니다." 190967 wikitext text/x-wiki [[$lastcorner|최근의 지원자 코너]]는 위키미디어 공용에서 사용할 수 있습니다. kh89vf8llzqho24adlnx6pch0lpoc18 190969 190967 2025-06-03T12:21:43Z YeBoy371 5561 190969 wikitext text/x-wiki [[$lastcorner|최근의 지원자 코너]]는 공용에서 사용할 수 있습니다. 0ecg5bhkyznmloukex0nmlw02976y3z Translations:Template:Main page/28/ko 1198 58010 190975 2025-06-03T12:31:14Z YeBoy371 5561 Created page with "다음 지원자 코너는 $date-and-time부터 진행됩니다: $link($platform)" 190975 wikitext text/x-wiki 다음 지원자 코너는 $date-and-time부터 진행됩니다: $link($platform) n1n5c3iakdy6mseyung94ttuhz3drbl 190977 190975 2025-06-03T12:32:29Z YeBoy371 5561 190977 wikitext text/x-wiki 다음 지원자 코너는 $date-and-time에 진행됩니다: $link($platform) 295clg1y9t1jsjog0szrnfsussta8i2 Z24918 0 58011 190979 2025-06-03T12:36:02Z Denny 81 190979 zobject text/plain { "Z1K1": "Z2", "Z2K1": { "Z1K1": "Z6", "Z6K1": "Z24918" }, "Z2K2": { "Z1K1": "Z8", "Z8K1": [ "Z17", { "Z1K1": "Z17", "Z17K1": "Z20420", "Z17K2": "Z24918K1", "Z17K3": { "Z1K1": "Z12", "Z12K1": [ "Z11", { "Z1K1": "Z11", "Z11K1": "Z1002", "Z11K2": "one date" } ] } }, { "Z1K1": "Z17", "Z17K1": "Z20420", "Z17K2": "Z24918K2", "Z17K3": { "Z1K1": "Z12", "Z12K1": [ "Z11", { "Z1K1": "Z11", "Z11K1": "Z1002", "Z11K2": "other date" } ] } } ], "Z8K2": "Z13518", "Z8K3": [ "Z20" ], "Z8K4": [ "Z14" ], "Z8K5": "Z24918" }, "Z2K3": { "Z1K1": "Z12", "Z12K1": [ "Z11", { "Z1K1": "Z11", "Z11K1": "Z1002", "Z11K2": "years between" } ] }, "Z2K4": { "Z1K1": "Z32", "Z32K1": [ "Z31", { "Z1K1": "Z31", "Z31K1": "Z1002", "Z31K2": [ "Z6", "age", "how many years", "full years" ] } ] }, "Z2K5": { "Z1K1": "Z12", "Z12K1": [ "Z11", { "Z1K1": "Z11", "Z11K1": "Z1002", "Z11K2": "How many years between two dates?" } ] } } mpz9u4izvw1g3jm5qn3uugjfy6g87xq 190994 190979 2025-06-03T13:54:17Z Denny 81 Added Z24919, Z24920, Z24921, Z24922, Z24923, Z24924, Z24925, Z24926, Z24927, Z24928, Z24929 and Z24930 to the approved list of test cases 190994 zobject text/plain { "Z1K1": "Z2", "Z2K1": { "Z1K1": "Z6", "Z6K1": "Z24918" }, "Z2K2": { "Z1K1": "Z8", "Z8K1": [ "Z17", { "Z1K1": "Z17", "Z17K1": "Z20420", "Z17K2": "Z24918K1", "Z17K3": { "Z1K1": "Z12", "Z12K1": [ "Z11", { "Z1K1": "Z11", "Z11K1": "Z1002", "Z11K2": "one date" } ] } }, { "Z1K1": "Z17", "Z17K1": "Z20420", "Z17K2": "Z24918K2", "Z17K3": { "Z1K1": "Z12", "Z12K1": [ "Z11", { "Z1K1": "Z11", "Z11K1": "Z1002", "Z11K2": "other date" } ] } } ], "Z8K2": "Z13518", "Z8K3": [ "Z20", "Z24919", "Z24920", "Z24921", "Z24922", "Z24923", "Z24924", "Z24925", "Z24926", "Z24927", "Z24928", "Z24929", "Z24930" ], "Z8K4": [ "Z14" ], "Z8K5": "Z24918" }, "Z2K3": { "Z1K1": "Z12", "Z12K1": [ "Z11", { "Z1K1": "Z11", "Z11K1": "Z1002", "Z11K2": "years between" } ] }, "Z2K4": { "Z1K1": "Z32", "Z32K1": [ "Z31", { "Z1K1": "Z31", "Z31K1": "Z1002", "Z31K2": [ "Z6", "age", "how many years", "full years" ] } ] }, "Z2K5": { "Z1K1": "Z12", "Z12K1": [ "Z11", { "Z1K1": "Z11", "Z11K1": "Z1002", "Z11K2": "How many years between two dates?" } ] } } 1vkt2hdg3g7enpcrw3si789pifyq49a Z24919 0 58012 190981 2025-06-03T12:41:57Z Denny 81 190981 zobject text/plain { "Z1K1": "Z2", "Z2K1": { "Z1K1": "Z6", "Z6K1": "Z24919" }, "Z2K2": { "Z1K1": "Z20", "Z20K1": "Z24918", "Z20K2": { "Z1K1": "Z7", "Z7K1": "Z24918", "Z24918K1": { "Z1K1": "Z20420", "Z20420K1": { "Z1K1": "Z20159", "Z20159K1": { "Z1K1": "Z17813", "Z17813K1": "Z17814" }, "Z20159K2": { "Z1K1": "Z13518", "Z13518K1": "2025" } }, "Z20420K2": { "Z1K1": "Z20342", "Z20342K1": { "Z1K1": "Z16098", "Z16098K1": "Z16106" }, "Z20342K2": { "Z1K1": "Z13518", "Z13518K1": "3" } } }, "Z24918K2": { "Z1K1": "Z20420", "Z20420K1": { "Z1K1": "Z20159", "Z20159K1": { "Z1K1": "Z17813", "Z17813K1": "Z17814" }, "Z20159K2": { "Z1K1": "Z13518", "Z13518K1": "2025" } }, "Z20420K2": { "Z1K1": "Z20342", "Z20342K1": { "Z1K1": "Z16098", "Z16098K1": "Z16106" }, "Z20342K2": { "Z1K1": "Z13518", "Z13518K1": "3" } } } }, "Z20K3": { "Z1K1": "Z7", "Z7K1": "Z13522", "Z13522K2": { "Z1K1": "Z13518", "Z13518K1": "0" } } }, "Z2K3": { "Z1K1": "Z12", "Z12K1": [ "Z11", { "Z1K1": "Z11", "Z11K1": "Z1002", "Z11K2": "same day, no years" } ] }, "Z2K4": { "Z1K1": "Z32", "Z32K1": [ "Z31" ] }, "Z2K5": { "Z1K1": "Z12", "Z12K1": [ "Z11" ] } } q0jp5jtimbd8gf3xeygxluw3gf3kqc5 Z24920 0 58013 190982 2025-06-03T12:42:42Z Denny 81 190982 zobject text/plain { "Z1K1": "Z2", "Z2K1": { "Z1K1": "Z6", "Z6K1": "Z24920" }, "Z2K2": { "Z1K1": "Z20", "Z20K1": "Z24918", "Z20K2": { "Z1K1": "Z7", "Z7K1": "Z24918", "Z24918K1": { "Z1K1": "Z20420", "Z20420K1": { "Z1K1": "Z20159", "Z20159K1": { "Z1K1": "Z17813", "Z17813K1": "Z17814" }, "Z20159K2": { "Z1K1": "Z13518", "Z13518K1": "2025" } }, "Z20420K2": { "Z1K1": "Z20342", "Z20342K1": { "Z1K1": "Z16098", "Z16098K1": "Z16106" }, "Z20342K2": { "Z1K1": "Z13518", "Z13518K1": "3" } } }, "Z24918K2": { "Z1K1": "Z20420", "Z20420K1": { "Z1K1": "Z20159", "Z20159K1": { "Z1K1": "Z17813", "Z17813K1": "Z17814" }, "Z20159K2": { "Z1K1": "Z13518", "Z13518K1": "2025" } }, "Z20420K2": { "Z1K1": "Z20342", "Z20342K1": { "Z1K1": "Z16098", "Z16098K1": "Z16107" }, "Z20342K2": { "Z1K1": "Z13518", "Z13518K1": "3" } } } }, "Z20K3": { "Z1K1": "Z7", "Z7K1": "Z13522", "Z13522K2": { "Z1K1": "Z13518", "Z13518K1": "0" } } }, "Z2K3": { "Z1K1": "Z12", "Z12K1": [ "Z11", { "Z1K1": "Z11", "Z11K1": "Z1002", "Z11K2": "one month later, no year" } ] }, "Z2K4": { "Z1K1": "Z32", "Z32K1": [ "Z31" ] }, "Z2K5": { "Z1K1": "Z12", "Z12K1": [ "Z11" ] } } nx71fevrsqj2gi6j9s0b8qjtk3co1rc Z24921 0 58014 190983 2025-06-03T12:50:05Z Denny 81 190983 zobject text/plain { "Z1K1": "Z2", "Z2K1": { "Z1K1": "Z6", "Z6K1": "Z24921" }, "Z2K2": { "Z1K1": "Z20", "Z20K1": "Z24918", "Z20K2": { "Z1K1": "Z7", "Z7K1": "Z24918", "Z24918K1": { "Z1K1": "Z20420", "Z20420K1": { "Z1K1": "Z20159", "Z20159K1": { "Z1K1": "Z17813", "Z17813K1": "Z17814" }, "Z20159K2": { "Z1K1": "Z13518", "Z13518K1": "2025" } }, "Z20420K2": { "Z1K1": "Z20342", "Z20342K1": { "Z1K1": "Z16098", "Z16098K1": "Z16106" }, "Z20342K2": { "Z1K1": "Z13518", "Z13518K1": "3" } } }, "Z24918K2": { "Z1K1": "Z20420", "Z20420K1": { "Z1K1": "Z20159", "Z20159K1": { "Z1K1": "Z17813", "Z17813K1": "Z17814" }, "Z20159K2": { "Z1K1": "Z13518", "Z13518K1": "2025" } }, "Z20420K2": { "Z1K1": "Z20342", "Z20342K1": { "Z1K1": "Z16098", "Z16098K1": "Z16105" }, "Z20342K2": { "Z1K1": "Z13518", "Z13518K1": "3" } } } }, "Z20K3": { "Z1K1": "Z7", "Z7K1": "Z13522", "Z13522K2": { "Z1K1": "Z13518", "Z13518K1": "0" } } }, "Z2K3": { "Z1K1": "Z12", "Z12K1": [ "Z11", { "Z1K1": "Z11", "Z11K1": "Z1002", "Z11K2": "one month before, no year" } ] }, "Z2K4": { "Z1K1": "Z32", "Z32K1": [ "Z31" ] }, "Z2K5": { "Z1K1": "Z12", "Z12K1": [ "Z11" ] } } q36ukz12p2g3z5codu32bjxca4ayxpm Z24922 0 58015 190984 2025-06-03T12:55:54Z Denny 81 190984 zobject text/plain { "Z1K1": "Z2", "Z2K1": { "Z1K1": "Z6", "Z6K1": "Z24922" }, "Z2K2": { "Z1K1": "Z20", "Z20K1": "Z24918", "Z20K2": { "Z1K1": "Z7", "Z7K1": "Z24918", "Z24918K1": { "Z1K1": "Z20420", "Z20420K1": { "Z1K1": "Z20159", "Z20159K1": { "Z1K1": "Z17813", "Z17813K1": "Z17814" }, "Z20159K2": { "Z1K1": "Z13518", "Z13518K1": "2025" } }, "Z20420K2": { "Z1K1": "Z20342", "Z20342K1": { "Z1K1": "Z16098", "Z16098K1": "Z16106" }, "Z20342K2": { "Z1K1": "Z13518", "Z13518K1": "3" } } }, "Z24918K2": { "Z1K1": "Z20420", "Z20420K1": { "Z1K1": "Z20159", "Z20159K1": { "Z1K1": "Z17813", "Z17813K1": "Z17814" }, "Z20159K2": { "Z1K1": "Z13518", "Z13518K1": "2025" } }, "Z20420K2": { "Z1K1": "Z20342", "Z20342K1": { "Z1K1": "Z16098", "Z16098K1": "Z16106" }, "Z20342K2": { "Z1K1": "Z13518", "Z13518K1": "10" } } } }, "Z20K3": { "Z1K1": "Z7", "Z7K1": "Z13522", "Z13522K2": { "Z1K1": "Z13518", "Z13518K1": "0" } } }, "Z2K3": { "Z1K1": "Z12", "Z12K1": [ "Z11", { "Z1K1": "Z11", "Z11K1": "Z1002", "Z11K2": "a few days later, no year" } ] }, "Z2K4": { "Z1K1": "Z32", "Z32K1": [ "Z31" ] }, "Z2K5": { "Z1K1": "Z12", "Z12K1": [ "Z11" ] } } l5grea9oeexb4qr92y4dzds7nke90hz Z24923 0 58016 190985 2025-06-03T13:36:37Z Denny 81 190985 zobject text/plain { "Z1K1": "Z2", "Z2K1": { "Z1K1": "Z6", "Z6K1": "Z24923" }, "Z2K2": { "Z1K1": "Z20", "Z20K1": "Z24918", "Z20K2": { "Z1K1": "Z7", "Z7K1": "Z24918", "Z24918K1": { "Z1K1": "Z20420", "Z20420K1": { "Z1K1": "Z20159", "Z20159K1": { "Z1K1": "Z17813", "Z17813K1": "Z17814" }, "Z20159K2": { "Z1K1": "Z13518", "Z13518K1": "2025" } }, "Z20420K2": { "Z1K1": "Z20342", "Z20342K1": { "Z1K1": "Z16098", "Z16098K1": "Z16106" }, "Z20342K2": { "Z1K1": "Z13518", "Z13518K1": "3" } } }, "Z24918K2": { "Z1K1": "Z20420", "Z20420K1": { "Z1K1": "Z20159", "Z20159K1": { "Z1K1": "Z17813", "Z17813K1": "Z17814" }, "Z20159K2": { "Z1K1": "Z13518", "Z13518K1": "2025" } }, "Z20420K2": { "Z1K1": "Z20342", "Z20342K1": { "Z1K1": "Z16098", "Z16098K1": "Z16105" }, "Z20342K2": { "Z1K1": "Z13518", "Z13518K1": "29" } } } }, "Z20K3": { "Z1K1": "Z7", "Z7K1": "Z13522", "Z13522K2": { "Z1K1": "Z13518", "Z13518K1": "0" } } }, "Z2K3": { "Z1K1": "Z12", "Z12K1": [ "Z11", { "Z1K1": "Z11", "Z11K1": "Z1002", "Z11K2": "a few days before, no year" } ] }, "Z2K4": { "Z1K1": "Z32", "Z32K1": [ "Z31" ] }, "Z2K5": { "Z1K1": "Z12", "Z12K1": [ "Z11" ] } } 5f16w3ha705ka6fn9xai7xhbnb6kv1b Z24924 0 58017 190986 2025-06-03T13:37:30Z Denny 81 190986 zobject text/plain { "Z1K1": "Z2", "Z2K1": { "Z1K1": "Z6", "Z6K1": "Z24924" }, "Z2K2": { "Z1K1": "Z20", "Z20K1": "Z24918", "Z20K2": { "Z1K1": "Z7", "Z7K1": "Z24918", "Z24918K1": { "Z1K1": "Z20420", "Z20420K1": { "Z1K1": "Z20159", "Z20159K1": { "Z1K1": "Z17813", "Z17813K1": "Z17814" }, "Z20159K2": { "Z1K1": "Z13518", "Z13518K1": "2025" } }, "Z20420K2": { "Z1K1": "Z20342", "Z20342K1": { "Z1K1": "Z16098", "Z16098K1": "Z16106" }, "Z20342K2": { "Z1K1": "Z13518", "Z13518K1": "3" } } }, "Z24918K2": { "Z1K1": "Z20420", "Z20420K1": { "Z1K1": "Z20159", "Z20159K1": { "Z1K1": "Z17813", "Z17813K1": "Z17814" }, "Z20159K2": { "Z1K1": "Z13518", "Z13518K1": "2026" } }, "Z20420K2": { "Z1K1": "Z20342", "Z20342K1": { "Z1K1": "Z16098", "Z16098K1": "Z16106" }, "Z20342K2": { "Z1K1": "Z13518", "Z13518K1": "2" } } } }, "Z20K3": { "Z1K1": "Z7", "Z7K1": "Z13522", "Z13522K2": { "Z1K1": "Z13518", "Z13518K1": "0" } } }, "Z2K3": { "Z1K1": "Z12", "Z12K1": [ "Z11", { "Z1K1": "Z11", "Z11K1": "Z1002", "Z11K2": "one year minus one day later, no year" } ] }, "Z2K4": { "Z1K1": "Z32", "Z32K1": [ "Z31" ] }, "Z2K5": { "Z1K1": "Z12", "Z12K1": [ "Z11" ] } } 0r6ibv7whep7vjra4jk7y55f1g76pvh Z24925 0 58018 190987 2025-06-03T13:38:32Z Denny 81 190987 zobject text/plain { "Z1K1": "Z2", "Z2K1": { "Z1K1": "Z6", "Z6K1": "Z24925" }, "Z2K2": { "Z1K1": "Z20", "Z20K1": "Z24918", "Z20K2": { "Z1K1": "Z7", "Z7K1": "Z24918", "Z24918K1": { "Z1K1": "Z20420", "Z20420K1": { "Z1K1": "Z20159", "Z20159K1": { "Z1K1": "Z17813", "Z17813K1": "Z17814" }, "Z20159K2": { "Z1K1": "Z13518", "Z13518K1": "2025" } }, "Z20420K2": { "Z1K1": "Z20342", "Z20342K1": { "Z1K1": "Z16098", "Z16098K1": "Z16106" }, "Z20342K2": { "Z1K1": "Z13518", "Z13518K1": "3" } } }, "Z24918K2": { "Z1K1": "Z20420", "Z20420K1": { "Z1K1": "Z20159", "Z20159K1": { "Z1K1": "Z17813", "Z17813K1": "Z17814" }, "Z20159K2": { "Z1K1": "Z13518", "Z13518K1": "2026" } }, "Z20420K2": { "Z1K1": "Z20342", "Z20342K1": { "Z1K1": "Z16098", "Z16098K1": "Z16106" }, "Z20342K2": { "Z1K1": "Z13518", "Z13518K1": "3" } } } }, "Z20K3": { "Z1K1": "Z7", "Z7K1": "Z13522", "Z13522K2": { "Z1K1": "Z13518", "Z13518K1": "1" } } }, "Z2K3": { "Z1K1": "Z12", "Z12K1": [ "Z11", { "Z1K1": "Z11", "Z11K1": "Z1002", "Z11K2": "one year later, one year" } ] }, "Z2K4": { "Z1K1": "Z32", "Z32K1": [ "Z31" ] }, "Z2K5": { "Z1K1": "Z12", "Z12K1": [ "Z11" ] } } p3sjlfm1pr3pc19ifrejls7ipvd17zs Z24926 0 58019 190988 2025-06-03T13:40:20Z Denny 81 190988 zobject text/plain { "Z1K1": "Z2", "Z2K1": { "Z1K1": "Z6", "Z6K1": "Z24926" }, "Z2K2": { "Z1K1": "Z20", "Z20K1": "Z24918", "Z20K2": { "Z1K1": "Z7", "Z7K1": "Z24918", "Z24918K1": { "Z1K1": "Z20420", "Z20420K1": { "Z1K1": "Z20159", "Z20159K1": { "Z1K1": "Z17813", "Z17813K1": "Z17814" }, "Z20159K2": { "Z1K1": "Z13518", "Z13518K1": "2025" } }, "Z20420K2": { "Z1K1": "Z20342", "Z20342K1": { "Z1K1": "Z16098", "Z16098K1": "Z16106" }, "Z20342K2": { "Z1K1": "Z13518", "Z13518K1": "3" } } }, "Z24918K2": { "Z1K1": "Z20420", "Z20420K1": { "Z1K1": "Z20159", "Z20159K1": { "Z1K1": "Z17813", "Z17813K1": "Z17814" }, "Z20159K2": { "Z1K1": "Z13518", "Z13518K1": "2024" } }, "Z20420K2": { "Z1K1": "Z20342", "Z20342K1": { "Z1K1": "Z16098", "Z16098K1": "Z16106" }, "Z20342K2": { "Z1K1": "Z13518", "Z13518K1": "3" } } } }, "Z20K3": { "Z1K1": "Z7", "Z7K1": "Z13522", "Z13522K2": { "Z1K1": "Z13518", "Z13518K1": "1" } } }, "Z2K3": { "Z1K1": "Z12", "Z12K1": [ "Z11", { "Z1K1": "Z11", "Z11K1": "Z1002", "Z11K2": "one year before, one year" } ] }, "Z2K4": { "Z1K1": "Z32", "Z32K1": [ "Z31" ] }, "Z2K5": { "Z1K1": "Z12", "Z12K1": [ "Z11" ] } } tu2m2dmcpzxh1h7kqyx53wkedgn63p1 Z24927 0 58020 190989 2025-06-03T13:41:27Z Denny 81 190989 zobject text/plain { "Z1K1": "Z2", "Z2K1": { "Z1K1": "Z6", "Z6K1": "Z24927" }, "Z2K2": { "Z1K1": "Z20", "Z20K1": "Z24918", "Z20K2": { "Z1K1": "Z7", "Z7K1": "Z24918", "Z24918K1": { "Z1K1": "Z20420", "Z20420K1": { "Z1K1": "Z20159", "Z20159K1": { "Z1K1": "Z17813", "Z17813K1": "Z17814" }, "Z20159K2": { "Z1K1": "Z13518", "Z13518K1": "2023" } }, "Z20420K2": { "Z1K1": "Z20342", "Z20342K1": { "Z1K1": "Z16098", "Z16098K1": "Z16103" }, "Z20342K2": { "Z1K1": "Z13518", "Z13518K1": "1" } } }, "Z24918K2": { "Z1K1": "Z20420", "Z20420K1": { "Z1K1": "Z20159", "Z20159K1": { "Z1K1": "Z17813", "Z17813K1": "Z17814" }, "Z20159K2": { "Z1K1": "Z13518", "Z13518K1": "2024" } }, "Z20420K2": { "Z1K1": "Z20342", "Z20342K1": { "Z1K1": "Z16098", "Z16098K1": "Z16102" }, "Z20342K2": { "Z1K1": "Z13518", "Z13518K1": "29" } } } }, "Z20K3": { "Z1K1": "Z7", "Z7K1": "Z13522", "Z13522K2": { "Z1K1": "Z13518", "Z13518K1": "0" } } }, "Z2K3": { "Z1K1": "Z12", "Z12K1": [ "Z11", { "Z1K1": "Z11", "Z11K1": "Z1002", "Z11K2": "1 Mar 2023 to 29 Feb 2024, no year" } ] }, "Z2K4": { "Z1K1": "Z32", "Z32K1": [ "Z31" ] }, "Z2K5": { "Z1K1": "Z12", "Z12K1": [ "Z11" ] } } 5zfxft54do9pbq86y51v7qz080wkii9 190990 190989 2025-06-03T13:45:35Z Denny 81 190990 zobject text/plain { "Z1K1": "Z2", "Z2K1": { "Z1K1": "Z6", "Z6K1": "Z24927" }, "Z2K2": { "Z1K1": "Z20", "Z20K1": "Z24918", "Z20K2": { "Z1K1": "Z7", "Z7K1": "Z24918", "Z24918K1": { "Z1K1": "Z20420", "Z20420K1": { "Z1K1": "Z20159", "Z20159K1": { "Z1K1": "Z17813", "Z17813K1": "Z17814" }, "Z20159K2": { "Z1K1": "Z13518", "Z13518K1": "2023" } }, "Z20420K2": { "Z1K1": "Z20342", "Z20342K1": { "Z1K1": "Z16098", "Z16098K1": "Z16103" }, "Z20342K2": { "Z1K1": "Z13518", "Z13518K1": "1" } } }, "Z24918K2": { "Z1K1": "Z20420", "Z20420K1": { "Z1K1": "Z20159", "Z20159K1": { "Z1K1": "Z17813", "Z17813K1": "Z17814" }, "Z20159K2": { "Z1K1": "Z13518", "Z13518K1": "2024" } }, "Z20420K2": { "Z1K1": "Z20342", "Z20342K1": { "Z1K1": "Z16098", "Z16098K1": "Z16102" }, "Z20342K2": { "Z1K1": "Z13518", "Z13518K1": "29" } } } }, "Z20K3": { "Z1K1": "Z7", "Z7K1": "Z13522", "Z13522K2": { "Z1K1": "Z13518", "Z13518K1": "0" } } }, "Z2K3": { "Z1K1": "Z12", "Z12K1": [ "Z11", { "Z1K1": "Z11", "Z11K1": "Z1002", "Z11K2": "1 Mar 2023 to 29 Feb 2024, 365 days, no year" } ] }, "Z2K4": { "Z1K1": "Z32", "Z32K1": [ "Z31" ] }, "Z2K5": { "Z1K1": "Z12", "Z12K1": [ "Z11" ] } } o6cd01rw2xh45y3zp2j12ztrg0eox88 Z24928 0 58021 190991 2025-06-03T13:47:30Z Denny 81 190991 zobject text/plain { "Z1K1": "Z2", "Z2K1": { "Z1K1": "Z6", "Z6K1": "Z24928" }, "Z2K2": { "Z1K1": "Z20", "Z20K1": "Z24918", "Z20K2": { "Z1K1": "Z7", "Z7K1": "Z24918", "Z24918K1": { "Z1K1": "Z20420", "Z20420K1": { "Z1K1": "Z20159", "Z20159K1": { "Z1K1": "Z17813", "Z17813K1": "Z17814" }, "Z20159K2": { "Z1K1": "Z13518", "Z13518K1": "1967" } }, "Z20420K2": { "Z1K1": "Z20342", "Z20342K1": { "Z1K1": "Z16098", "Z16098K1": "Z16102" }, "Z20342K2": { "Z1K1": "Z13518", "Z13518K1": "20" } } }, "Z24918K2": { "Z1K1": "Z20420", "Z20420K1": { "Z1K1": "Z20159", "Z20159K1": { "Z1K1": "Z17813", "Z17813K1": "Z17814" }, "Z20159K2": { "Z1K1": "Z13518", "Z13518K1": "1994" } }, "Z20420K2": { "Z1K1": "Z20342", "Z20342K1": { "Z1K1": "Z16098", "Z16098K1": "Z16104" }, "Z20342K2": { "Z1K1": "Z13518", "Z13518K1": "5" } } } }, "Z20K3": { "Z1K1": "Z7", "Z7K1": "Z13522", "Z13522K2": { "Z1K1": "Z13518", "Z13518K1": "27" } } }, "Z2K3": { "Z1K1": "Z12", "Z12K1": [ "Z11", { "Z1K1": "Z11", "Z11K1": "Z1002", "Z11K2": "27 years" } ] }, "Z2K4": { "Z1K1": "Z32", "Z32K1": [ "Z31" ] }, "Z2K5": { "Z1K1": "Z12", "Z12K1": [ "Z11" ] } } tpd9kk9vzbggubu5tmmmbdp7l1yw9ze Z24929 0 58022 190992 2025-06-03T13:51:48Z Denny 81 190992 zobject text/plain { "Z1K1": "Z2", "Z2K1": { "Z1K1": "Z6", "Z6K1": "Z24929" }, "Z2K2": { "Z1K1": "Z20", "Z20K1": "Z24918", "Z20K2": { "Z1K1": "Z7", "Z7K1": "Z24918", "Z24918K1": { "Z1K1": "Z20420", "Z20420K1": { "Z1K1": "Z20159", "Z20159K1": { "Z1K1": "Z17813", "Z17813K1": "Z17814" }, "Z20159K2": { "Z1K1": "Z13518", "Z13518K1": "1985" } }, "Z20420K2": { "Z1K1": "Z20342", "Z20342K1": { "Z1K1": "Z16098", "Z16098K1": "Z16110" }, "Z20342K2": { "Z1K1": "Z13518", "Z13518K1": "26" } } }, "Z24918K2": { "Z1K1": "Z20420", "Z20420K1": { "Z1K1": "Z20159", "Z20159K1": { "Z1K1": "Z17813", "Z17813K1": "Z17814" }, "Z20159K2": { "Z1K1": "Z13518", "Z13518K1": "1955" } }, "Z20420K2": { "Z1K1": "Z20342", "Z20342K1": { "Z1K1": "Z16098", "Z16098K1": "Z16111" }, "Z20342K2": { "Z1K1": "Z13518", "Z13518K1": "12" } } } }, "Z20K3": { "Z1K1": "Z7", "Z7K1": "Z13522", "Z13522K2": { "Z1K1": "Z13518", "Z13518K1": "29" } } }, "Z2K3": { "Z1K1": "Z12", "Z12K1": [ "Z11", { "Z1K1": "Z11", "Z11K1": "Z1002", "Z11K2": "Back to the Future" } ] }, "Z2K4": { "Z1K1": "Z32", "Z32K1": [ "Z31" ] }, "Z2K5": { "Z1K1": "Z12", "Z12K1": [ "Z11" ] } } aa3y7umcj7tcvbfwylu5sc6mzfn4s6k Z24930 0 58023 190993 2025-06-03T13:53:05Z Denny 81 190993 zobject text/plain { "Z1K1": "Z2", "Z2K1": { "Z1K1": "Z6", "Z6K1": "Z24930" }, "Z2K2": { "Z1K1": "Z20", "Z20K1": "Z24918", "Z20K2": { "Z1K1": "Z7", "Z7K1": "Z24918", "Z24918K1": { "Z1K1": "Z20420", "Z20420K1": { "Z1K1": "Z20159", "Z20159K1": { "Z1K1": "Z17813", "Z17813K1": "Z17814" }, "Z20159K2": { "Z1K1": "Z13518", "Z13518K1": "1" } }, "Z20420K2": { "Z1K1": "Z20342", "Z20342K1": { "Z1K1": "Z16098", "Z16098K1": "Z16107" }, "Z20342K2": { "Z1K1": "Z13518", "Z13518K1": "1" } } }, "Z24918K2": { "Z1K1": "Z20420", "Z20420K1": { "Z1K1": "Z20159", "Z20159K1": { "Z1K1": "Z17813", "Z17813K1": "Z17815" }, "Z20159K2": { "Z1K1": "Z13518", "Z13518K1": "1" } }, "Z20420K2": { "Z1K1": "Z20342", "Z20342K1": { "Z1K1": "Z16098", "Z16098K1": "Z16107" }, "Z20342K2": { "Z1K1": "Z13518", "Z13518K1": "1" } } } }, "Z20K3": { "Z1K1": "Z7", "Z7K1": "Z13522", "Z13522K2": { "Z1K1": "Z13518", "Z13518K1": "1" } } }, "Z2K3": { "Z1K1": "Z12", "Z12K1": [ "Z11", { "Z1K1": "Z11", "Z11K1": "Z1002", "Z11K2": "1 AD to 1 BC is a year" } ] }, "Z2K4": { "Z1K1": "Z32", "Z32K1": [ "Z31" ] }, "Z2K5": { "Z1K1": "Z12", "Z12K1": [ "Z11" ] } } jwx5ykctvjaxcevvta5bvxcsagn5x6x Translations:Wikifunctions:Status updates/2025-05-29/11/pt-br 1198 58024 191000 2025-06-03T14:21:27Z Eduardogobi 2982 Created page with "Estamos planejando trabalhar em dois outros tipos para obter valores padrão: uma [[$1|referência de itens do Wikidata]] para definir o item conectado a uma determinada página (se houver) e o [[$2|idioma]] de uma determinada página. Ambos podem ser usados em chamadas de função para adaptar a chamada de função a uma determinada página. Espera-se que esses recursos sejam desenvolvidos e implantados ainda este ano." 191000 wikitext text/x-wiki Estamos planejando trabalhar em dois outros tipos para obter valores padrão: uma [[$1|referência de itens do Wikidata]] para definir o item conectado a uma determinada página (se houver) e o [[$2|idioma]] de uma determinada página. Ambos podem ser usados em chamadas de função para adaptar a chamada de função a uma determinada página. Espera-se que esses recursos sejam desenvolvidos e implantados ainda este ano. 31hmts9dofjznabl4awkr9ybwo1wrpc Translations:Wikifunctions:Status updates/2025-05-29/12/pt-br 1198 58025 191002 2025-06-03T14:21:38Z Eduardogobi 2982 Created page with "Informe-nos se encontrar algum problema com o novo recurso." 191002 wikitext text/x-wiki Informe-nos se encontrar algum problema com o novo recurso. 5s93dlqzl2m0aon699c5hhbvgjna2i5 Translations:Wikifunctions:Status updates/2025-05-29/13/pt-br 1198 58026 191005 2025-06-03T14:22:00Z Eduardogobi 2982 Created page with "=== Apresentação no evento “Wikidata e projetos irmãos” ===" 191005 wikitext text/x-wiki === Apresentação no evento “Wikidata e projetos irmãos” === 37i25tsdsgqp7raeg2i7vei6qgfc07w Translations:Wikifunctions:Status updates/2025-05-29/14/pt-br 1198 58027 191007 2025-06-03T14:22:35Z Eduardogobi 2982 Created page with "Saiba mais sobre o evento na página do evento [[$1|Wikidata e projetos irmãos]]." 191007 wikitext text/x-wiki Saiba mais sobre o evento na página do evento [[$1|Wikidata e projetos irmãos]]. 7cylbn5tl08egr5hq9q217sri45e48n Translations:Wikifunctions:Status updates/2025-05-29/15/pt-br 1198 58028 191009 2025-06-03T14:22:45Z Eduardogobi 2982 Created page with "=== Mudanças recentes no ''software'' ===" 191009 wikitext text/x-wiki === Mudanças recentes no ''software'' === i2ndxnu13o13mpgb283vcewel2u80u3 Translations:Wikifunctions:Status updates/2025-05-29/16/pt-br 1198 58029 191012 2025-06-03T14:24:16Z Eduardogobi 2982 Created page with "Para o trabalho de “enums leves” ($1), adicionamos uma interface ($2) e direitos especiais para criá-los e editá-los ($3 e $4); por enquanto, assim como no caso dos Tipos, estamos reservando-os apenas para funcionários, mas expandiremos o acesso posteriormente. Para possibilitar as ferramentas de criação e edição, também reformulamos nossos testes para que os tipos de edições e criações permitidos sejam mais flexíveis. Ainda há mais a ser feito antes de..." 191012 wikitext text/x-wiki Para o trabalho de “enums leves” ($1), adicionamos uma interface ($2) e direitos especiais para criá-los e editá-los ($3 e $4); por enquanto, assim como no caso dos Tipos, estamos reservando-os apenas para funcionários, mas expandiremos o acesso posteriormente. Para possibilitar as ferramentas de criação e edição, também reformulamos nossos testes para que os tipos de edições e criações permitidos sejam mais flexíveis. Ainda há mais a ser feito antes de considerarmos isso completo, mas devemos poder demonstrá-lo na wiki em breve. 15g3yn8rlahjcrxd0fvajmuu1agandb Translations:Wikifunctions:Status updates/2025-05-29/17/pt-br 1198 58030 191014 2025-06-03T14:24:48Z Eduardogobi 2982 Created page with "Em nossa linha de trabalho de desempenho neste trimestre, estamos trabalhando para adicionar um melhor armazenamento em ''cache'' ao orquestrador. Adicionamos a funcionalidade ao lado do código do MediaWiki para acionar esse novo comportamento ($1). Em breve, vamos conectar tudo isso, medir e relatar o impacto." 191014 wikitext text/x-wiki Em nossa linha de trabalho de desempenho neste trimestre, estamos trabalhando para adicionar um melhor armazenamento em ''cache'' ao orquestrador. Adicionamos a funcionalidade ao lado do código do MediaWiki para acionar esse novo comportamento ($1). Em breve, vamos conectar tudo isso, medir e relatar o impacto. 14nvd4ueylpi96j9wrhim1k55k3yb7k Translations:Wikifunctions:Status updates/2025-05-29/18/pt-br 1198 58031 191016 2025-06-03T14:25:53Z Eduardogobi 2982 Created page with "Seguindo um amplo conjunto de problemas que o [[$1|User:99of9]] encontrou ao executar casos de teste, adicionamos alguns testes de regressão relacionados a diferentes “formas” válidas de objetos Language ($2)." 191016 wikitext text/x-wiki Seguindo um amplo conjunto de problemas que o [[$1|User:99of9]] encontrou ao executar casos de teste, adicionamos alguns testes de regressão relacionados a diferentes “formas” válidas de objetos Language ($2). 5ixngon1f2nc4e7at1ewzp2085wbnsm Translations:Wikifunctions:Status updates/2025-05-29/19/pt-br 1198 58032 191018 2025-06-03T14:26:19Z Eduardogobi 2982 Created page with "Como parte da compatibilidade com toda a Wikimedia, adicionamos um novo idioma, [[$1|Z1970/qxp]] ($2)." 191018 wikitext text/x-wiki Como parte da compatibilidade com toda a Wikimedia, adicionamos um novo idioma, [[$1|Z1970/qxp]] ($2). owqfiw944f2j0nu6r93x4djyspmu19a Translations:Wikifunctions:Status updates/2025-05-29/20/pt-br 1198 58033 191020 2025-06-03T14:26:46Z Eduardogobi 2982 Created page with "=== Consulta contínua sobre a localização de conteúdo abstrato ===" 191020 wikitext text/x-wiki === Consulta contínua sobre a localização de conteúdo abstrato === r1slqvx6cza8wkidcioqm13iy7bo0b6 Translations:Wikifunctions:Status updates/2025-05-29/26/pt-br 1198 58034 191032 2025-06-04T05:42:09Z Eduardogobi 2982 Created page with "Implementamos chamadas de funções incorporadas em um primeiro conjunto de projetos do Wikcionário: [[$1|hausa]], [[$2|igbo]], [[$3|malaiala]], [[$4|bengali]] e [[$5|divehi]]. Eles representam os idiomas de foco que têm um Wikcionário (ou seja, todos menos o dagbani) e, além disso, um idioma da direita para a esquerda, o divehi. Isso também representa uma duplicação aproximada de visualizações de página para wikis com chamadas de função incorporadas, seguind..." 191032 wikitext text/x-wiki Implementamos chamadas de funções incorporadas em um primeiro conjunto de projetos do Wikcionário: [[$1|hausa]], [[$2|igbo]], [[$3|malaiala]], [[$4|bengali]] e [[$5|divehi]]. Eles representam os idiomas de foco que têm um Wikcionário (ou seja, todos menos o dagbani) e, além disso, um idioma da direita para a esquerda, o divehi. Isso também representa uma duplicação aproximada de visualizações de página para wikis com chamadas de função incorporadas, seguindo nosso plano para uma implementação cuidadosa dos projetos. 4ehrpg48vbshusys6glusawnwg9g4hc Translations:Wikifunctions:Status updates/2025-05-29/27/pt-br 1198 58035 191034 2025-06-04T05:43:19Z Eduardogobi 2982 Created page with "Olá neste(a) lindo(a) $1. Faltam $2 dias para a [[$3|Wikimania 2025]]!" 191034 wikitext text/x-wiki Olá neste(a) lindo(a) $1. Faltam $2 dias para a [[$3|Wikimania 2025]]! imxawbgkxm13a39l66ht537tehsdnon Translations:Wikifunctions:Status updates/2025-05-29/28/pt-br 1198 58036 191036 2025-06-04T05:45:21Z Eduardogobi 2982 Created page with "De 29 de maio a 1 de junho de 2025, haverá o evento [[$1|Wikidata e projetos irmãos]]. [[$2|David Martin]] e [[$3|Luca Martinelli]] farão uma apresentação sobre como o Wikidata potencializa as funções de linguagem na Wikifunctions e muito mais, no dia [$4 29 de maio às 17:30 UTC] (ou seja, hoje)." 191036 wikitext text/x-wiki De 29 de maio a 1 de junho de 2025, haverá o evento [[$1|Wikidata e projetos irmãos]]. [[$2|David Martin]] e [[$3|Luca Martinelli]] farão uma apresentação sobre como o Wikidata potencializa as funções de linguagem na Wikifunctions e muito mais, no dia [$4 29 de maio às 17:30 UTC] (ou seja, hoje). j4fh6wv05h5b9oeqtb29bsnxqr2tvm4 Translations:Wikifunctions:Status updates/2025-05-29/29/pt-br 1198 58037 191042 2025-06-04T05:47:29Z Eduardogobi 2982 Created page with "Na semana passada, conforme discutido acima, concluímos um de nossos trabalhos planejados para o trimestre e também vários outros." 191042 wikitext text/x-wiki Na semana passada, conforme discutido acima, concluímos um de nossos trabalhos planejados para o trimestre e também vários outros. evfjsyrzlpi8h6dn195s1fq9twudtsv Translations:Wikifunctions:Status updates/2025-05-29/30/pt-br 1198 58038 191044 2025-06-04T05:48:09Z Eduardogobi 2982 Created page with "Agradecemos a todos que participaram da consulta sobre a [[$1|localização de conteúdo abstrato]] até o momento! A consulta continuará por mais duas semanas. Tentamos continuar respondendo às perguntas e participando da consulta com a comunidade." 191044 wikitext text/x-wiki Agradecemos a todos que participaram da consulta sobre a [[$1|localização de conteúdo abstrato]] até o momento! A consulta continuará por mais duas semanas. Tentamos continuar respondendo às perguntas e participando da consulta com a comunidade. qb22otuo37p429kwi59choi12ft7oz7 Translations:Wikifunctions:Status updates/2025-05-29/21/pt-br 1198 58039 191046 2025-06-04T05:48:27Z Eduardogobi 2982 Created page with "Pessoalmente, achei os argumentos instigantes e me vejo mudando minha própria posição ao ler sobre novas ideias e considerações que não tinha antes. Estou planejando adicionar um estado atual do meu pensamento na próxima semana. Portanto, continuem com as ideias e os argumentos!" 191046 wikitext text/x-wiki Pessoalmente, achei os argumentos instigantes e me vejo mudando minha própria posição ao ler sobre novas ideias e considerações que não tinha antes. Estou planejando adicionar um estado atual do meu pensamento na próxima semana. Portanto, continuem com as ideias e os argumentos! 8g6agkmc9zco8jd19zmun0qax29ys99 Translations:Wikifunctions:Status updates/2025-05-29/22/pt-br 1198 58040 191048 2025-06-04T05:48:37Z Eduardogobi 2982 Created page with "=== Novidades nos Tipos ===" 191048 wikitext text/x-wiki === Novidades nos Tipos === 3nszthwjw35wy5nsgsx7usmqaj70fbe Translations:Wikifunctions:Status updates/2025-05-29/23/pt-br 1198 58041 191050 2025-06-04T05:49:44Z Eduardogobi 2982 Created page with "Para nosso trabalho atual de suporte à importação de mais conteúdo do Wikidata ($1), estão em andamento discussões sobre três novos tipos de propostas: os tipos ''[[$2|time]]'', ''[[$3|quantity]]'' e ''[[$4|geocoordinates]]'' do Wikidata. Comentários são bem-vindos!" 191050 wikitext text/x-wiki Para nosso trabalho atual de suporte à importação de mais conteúdo do Wikidata ($1), estão em andamento discussões sobre três novos tipos de propostas: os tipos ''[[$2|time]]'', ''[[$3|quantity]]'' e ''[[$4|geocoordinates]]'' do Wikidata. Comentários são bem-vindos! h0ylwdnqms42qdyzky7532maq5aguq1 Translations:Wikifunctions:Status updates/2025-05-29/24/pt-br 1198 58042 191052 2025-06-04T05:50:02Z Eduardogobi 2982 Created page with "=== Novas funções toda semana: 17 novas funções ===" 191052 wikitext text/x-wiki === Novas funções toda semana: 17 novas funções === exo8boch8e75y560mspc4oopkot4pxx Translations:Wikifunctions:Status updates/2025-05-29/25/pt-br 1198 58043 191054 2025-06-04T05:50:22Z Eduardogobi 2982 Created page with "Está disponível uma [$1 lista completa de todas as funções ordenadas por quando foram criadas]." 191054 wikitext text/x-wiki Está disponível uma [$1 lista completa de todas as funções ordenadas por quando foram criadas]. crryrifqwjztj5d6mv7rcgqiszlncai Translations:Wikifunctions:Report vandalism/header/1/it 1198 58044 191058 2025-06-04T06:44:41Z Dv103 11127 Created page with "In caso di vandalismo in una qualsiasi pagina del prigetto, riportalo usando [$1 questo link]." 191058 wikitext text/x-wiki In caso di vandalismo in una qualsiasi pagina del prigetto, riportalo usando [$1 questo link]. izrqmyfx3fltqcdya8pepom1mitydio Wikifunctions:Report vandalism/header/it 4 58045 191059 2025-06-04T06:44:42Z Dv103 11127 Created page with "In caso di vandalismo in una qualsiasi pagina del prigetto, riportalo usando [$1 questo link]." 191059 wikitext text/x-wiki <noinclude><languages/></noinclude> '''<big>In caso di vandalismo in una qualsiasi pagina del prigetto, riportalo usando [//www.wikifunctions.org/wiki/Wikifunctions:Report_vandalism?action=edit&section=new&preload=Template:VandalReport/Preload&nosummary=true&veswitched=0 questo link].</big>''' <div lang="en" dir="ltr" class="mw-content-ltr"> You may also ping an [[Special:ListAdmins|administrator]]. Contact can also be made with an administrator on [https://t.me/Wikifunctions Telegram] or IRC {{channel|wikipedia-abstract}}. </div> <div lang="en" dir="ltr" class="mw-content-ltr"> In case you just want to report a page to be deleted, please instead use [[Wikifunctions:Requests for deletions]]. </div> <noinclude>[[Category:Help{{#translation:}}]]</noinclude> 1flagmjzxmkf5pjpdel4e19dc9h9d7t 191061 191059 2025-06-04T06:45:44Z Dv103 11127 Created page with "Puoi anche pingare un [[$1|amministratore]]. Puoi anche contattare un amministratore via [$2 Telegram] o IRC $3." 191061 wikitext text/x-wiki <noinclude><languages/></noinclude> '''<big>In caso di vandalismo in una qualsiasi pagina del prigetto, riportalo usando [//www.wikifunctions.org/wiki/Wikifunctions:Report_vandalism?action=edit&section=new&preload=Template:VandalReport/Preload&nosummary=true&veswitched=0 questo link].</big>''' Puoi anche pingare un [[Special:ListAdmins|amministratore]]. Puoi anche contattare un amministratore via [https://t.me/Wikifunctions Telegram] o IRC {{channel|wikipedia-abstract}}. <div lang="en" dir="ltr" class="mw-content-ltr"> In case you just want to report a page to be deleted, please instead use [[Wikifunctions:Requests for deletions]]. </div> <noinclude>[[Category:Help{{#translation:}}]]</noinclude> 9ga6ssoccevoqdt3csk3dexmhhfb2de 191063 191061 2025-06-04T06:46:23Z Dv103 11127 Created page with "Nel caso in cui si voglia solo segnalare una pagina da eliminare, si prega di usare $1." 191063 wikitext text/x-wiki <noinclude><languages/></noinclude> '''<big>In caso di vandalismo in una qualsiasi pagina del prigetto, riportalo usando [//www.wikifunctions.org/wiki/Wikifunctions:Report_vandalism?action=edit&section=new&preload=Template:VandalReport/Preload&nosummary=true&veswitched=0 questo link].</big>''' Puoi anche pingare un [[Special:ListAdmins|amministratore]]. Puoi anche contattare un amministratore via [https://t.me/Wikifunctions Telegram] o IRC {{channel|wikipedia-abstract}}. Nel caso in cui si voglia solo segnalare una pagina da eliminare, si prega di usare [[Wikifunctions:Requests for deletions]]. <noinclude>[[Category:Help{{#translation:}}]]</noinclude> 7fqc8rjtwehm0y390at548y8d46342t Translations:Wikifunctions:Report vandalism/header/2/it 1198 58046 191060 2025-06-04T06:45:43Z Dv103 11127 Created page with "Puoi anche pingare un [[$1|amministratore]]. Puoi anche contattare un amministratore via [$2 Telegram] o IRC $3." 191060 wikitext text/x-wiki Puoi anche pingare un [[$1|amministratore]]. Puoi anche contattare un amministratore via [$2 Telegram] o IRC $3. 2qawcnj7teb3ceyv6sct532mrhvilyg Translations:Wikifunctions:Report vandalism/header/3/it 1198 58047 191062 2025-06-04T06:46:22Z Dv103 11127 Created page with "Nel caso in cui si voglia solo segnalare una pagina da eliminare, si prega di usare $1." 191062 wikitext text/x-wiki Nel caso in cui si voglia solo segnalare una pagina da eliminare, si prega di usare $1. 42d0s74062i9kzkg4nx4bmvn9kzkcut Translations:Wikifunctions:Status updates/2025-05-29/21/de 1198 58048 191064 2025-06-04T07:48:28Z Ameisenigel 44 Created page with "Ich persönlich fand die Argumente zum Nachdenken anregend und merke, wie ich meine eigene Meinung ändere, wenn ich neue Ideen und Überlegungen lese, die ich vorher nicht hatte. Nächste Woche werde ich meinen aktuellen Stand meiner Überlegungen darlegen. Also, weiter so mit den Ideen und Argumenten!" 191064 wikitext text/x-wiki Ich persönlich fand die Argumente zum Nachdenken anregend und merke, wie ich meine eigene Meinung ändere, wenn ich neue Ideen und Überlegungen lese, die ich vorher nicht hatte. Nächste Woche werde ich meinen aktuellen Stand meiner Überlegungen darlegen. Also, weiter so mit den Ideen und Argumenten! o7oc59avn9a1hv9zms5mdsstjvh16vy Translations:Wikifunctions:Status updates/2025-05-29/22/de 1198 58049 191066 2025-06-04T07:48:32Z Ameisenigel 44 Created page with "=== Neuigkeiten zu Typen ===" 191066 wikitext text/x-wiki === Neuigkeiten zu Typen === gyypi9432z9l1qt3dgyvp34g1xkn48u Translations:Wikifunctions:Status updates/2025-05-29/31/de 1198 58050 191068 2025-06-04T07:49:54Z Ameisenigel 44 Created page with "Der Typ [[$1|Unicode-Codepunkt]] wurde mit einer [[$2|Lese]]- und einer [[$3|Anzeige]]-Funktion ausgestattet. Dies verbessert die Benutzererfahrung von Wikifunctions und ermöglicht die Verwendung von Funktionen mit diesem Typ in eingebetteten Aufrufen. Vielen Dank an [[$4|Benutzer:99of9]] für die Unterstützung dieser Verbesserung und die Arbeit an den Lese- und Anzeigefunktionen." 191068 wikitext text/x-wiki Der Typ [[$1|Unicode-Codepunkt]] wurde mit einer [[$2|Lese]]- und einer [[$3|Anzeige]]-Funktion ausgestattet. Dies verbessert die Benutzererfahrung von Wikifunctions und ermöglicht die Verwendung von Funktionen mit diesem Typ in eingebetteten Aufrufen. Vielen Dank an [[$4|Benutzer:99of9]] für die Unterstützung dieser Verbesserung und die Arbeit an den Lese- und Anzeigefunktionen. 5f8qw6qydkaz6d37ht25f5dy81txz8u Translations:Wikifunctions:Status updates/2025-05-29/23/de 1198 58051 191070 2025-06-04T07:50:19Z Ameisenigel 44 Created page with "Im Rahmen unserer aktuellen Arbeit zur Unterstützung des Imports weiterer Wikidata-Inhalte ($1) laufen Diskussionen über drei neue Typenvorschläge: [[$2|Wikidata-Zeit]], [[$3|Wikidata-Menge]] und [[$4|Wikidata-Geokoordinaten]]. Kommentare sind willkommen!" 191070 wikitext text/x-wiki Im Rahmen unserer aktuellen Arbeit zur Unterstützung des Imports weiterer Wikidata-Inhalte ($1) laufen Diskussionen über drei neue Typenvorschläge: [[$2|Wikidata-Zeit]], [[$3|Wikidata-Menge]] und [[$4|Wikidata-Geokoordinaten]]. Kommentare sind willkommen! 5loohqo5agzjsg7o2jrioyxdl4kbhtu Translations:Wikifunctions:Status updates/2025-05-29/24/de 1198 58052 191072 2025-06-04T07:50:26Z Ameisenigel 44 Created page with "=== Wöchentliche neue Funktionen: 17 neue Funktionen ===" 191072 wikitext text/x-wiki === Wöchentliche neue Funktionen: 17 neue Funktionen === tjfdxxtsvz3vw7rg3umxmjrk8vf46ql Translations:Wikifunctions:Status updates/2025-05-29/32/de 1198 58053 191074 2025-06-04T07:51:01Z Ameisenigel 44 Created page with "Diese Woche hatten wir 17 neue Funktionen. Hier ist eine Liste von Funktionen mit Implementierungen und bestandenen Tests, um einen Eindruck davon zu bekommen, welche Funktionen erstellt wurden. Vielen Dank an alle für ihre Beiträge!" 191074 wikitext text/x-wiki Diese Woche hatten wir 17 neue Funktionen. Hier ist eine Liste von Funktionen mit Implementierungen und bestandenen Tests, um einen Eindruck davon zu bekommen, welche Funktionen erstellt wurden. Vielen Dank an alle für ihre Beiträge! 3b5pmtc3vqyd99y7f5a724q2px5bnzy Translations:Wikifunctions:Status updates/2025-05-29/25/de 1198 58054 191076 2025-06-04T07:51:06Z Ameisenigel 44 Created page with "Eine [$1 vollständige Liste aller Funktionen, sortiert nach Erstellungsdatum], ist verfügbar." 191076 wikitext text/x-wiki Eine [$1 vollständige Liste aller Funktionen, sortiert nach Erstellungsdatum], ist verfügbar. dckjpk14krlg91zy1npet79eyynekde