Wikifunctions
wikifunctionswiki
https://www.wikifunctions.org/wiki/Wikifunctions:Main_Page
MediaWiki 1.45.0-wmf.8
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
Z3
0
5
200101
197648
2025-07-03T10:02:27Z
Winston Sung
2672
200101
zobject
text/plain
{
"Z1K1": "Z2",
"Z2K1": {
"Z1K1": "Z6",
"Z6K1": "Z3"
},
"Z2K2": {
"Z1K1": "Z4",
"Z4K1": "Z3",
"Z4K2": [
"Z3",
{
"Z1K1": "Z3",
"Z3K1": "Z4",
"Z3K2": "Z3K1",
"Z3K3": {
"Z1K1": "Z12",
"Z12K1": [
"Z11",
{
"Z1K1": "Z11",
"Z11K1": "Z1002",
"Z11K2": "value type"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1025",
"Z11K2": "typ wartości"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1011",
"Z11K2": "মানের ধরন"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1645",
"Z11K2": "值类型"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1062",
"Z11K2": "typ hodnoty"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1592",
"Z11K2": "typ av värde"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1186",
"Z11K2": "סוג ערך"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1430",
"Z11K2": "Werttyp"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1113",
"Z11K2": "value type"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1625",
"Z11K2": "karazan-tsanda"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1157",
"Z11K2": "waardetype"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1078",
"Z11K2": "tipe nilai"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1672",
"Z11K2": "值類型"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1004",
"Z11K2": "type de valeur"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1005",
"Z11K2": "тип значения"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1664",
"Z11K2": "tip de valoare"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1001",
"Z11K2": "نوع القيمة"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1787",
"Z11K2": "tipo del valore"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1181",
"Z11K2": "тип вредности"
}
]
},
"Z3K4": {
"Z1K1": "Z40",
"Z40K1": "Z42"
}
},
{
"Z1K1": "Z3",
"Z3K1": "Z6",
"Z3K2": "Z3K2",
"Z3K3": {
"Z1K1": "Z12",
"Z12K1": [
"Z11",
{
"Z1K1": "Z11",
"Z11K1": "Z1002",
"Z11K2": "key id"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1025",
"Z11K2": "identyfikator cechy"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1011",
"Z11K2": "নির্দেশক শনাক্তকারী"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1645",
"Z11K2": "键标识符"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1062",
"Z11K2": "identifikátor klíče"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1592",
"Z11K2": "attribut-id"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1186",
"Z11K2": "מזהה מפתח"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1430",
"Z11K2": "Schlüssel-ID"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1113",
"Z11K2": "key id"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1625",
"Z11K2": "famantaran-karazana"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1157",
"Z11K2": "sleutel-ID"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1078",
"Z11K2": "ID kunci"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1672",
"Z11K2": "鍵識別碼"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1004",
"Z11K2": "identifiant de la clé"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1005",
"Z11K2": "идентификатор ключа"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1664",
"Z11K2": "identificatorul cheii"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1001",
"Z11K2": "معرّف مفتاح"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1787",
"Z11K2": "ID della chiave"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1181",
"Z11K2": "идентификатор атрибута"
}
]
},
"Z3K4": {
"Z1K1": "Z40",
"Z40K1": "Z42"
}
},
{
"Z1K1": "Z3",
"Z3K1": "Z12",
"Z3K2": "Z3K3",
"Z3K3": {
"Z1K1": "Z12",
"Z12K1": [
"Z11",
{
"Z1K1": "Z11",
"Z11K1": "Z1002",
"Z11K2": "label"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1025",
"Z11K2": "etykieta"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1011",
"Z11K2": "নাম"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1645",
"Z11K2": "名称"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1062",
"Z11K2": "štítek"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1592",
"Z11K2": "etikett"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1186",
"Z11K2": "תווית"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1430",
"Z11K2": "Bezeichnung"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1113",
"Z11K2": "label"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1625",
"Z11K2": "famantarana"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1157",
"Z11K2": "label"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1078",
"Z11K2": "label"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1672",
"Z11K2": "名稱"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1004",
"Z11K2": "libellé"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1005",
"Z11K2": "метка"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1664",
"Z11K2": "etichetă"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1001",
"Z11K2": "تسمية"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1787",
"Z11K2": "etichetta"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1181",
"Z11K2": "ознака"
}
]
},
"Z3K4": {
"Z1K1": "Z40",
"Z40K1": "Z42"
}
},
{
"Z1K1": "Z3",
"Z3K1": "Z40",
"Z3K2": "Z3K4",
"Z3K3": {
"Z1K1": "Z12",
"Z12K1": [
"Z11",
{
"Z1K1": "Z11",
"Z11K1": "Z1025",
"Z11K2": "tożsamość?"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1011",
"Z11K2": "পরিচয়?"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1592",
"Z11K2": "id?"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1645",
"Z11K2": "为识别对象?"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1062",
"Z11K2": "identita?"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1186",
"Z11K2": "האם זהות?"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1430",
"Z11K2": "Identität?"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1113",
"Z11K2": "identity?"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1625",
"Z11K2": "fanondro?"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1157",
"Z11K2": "identiteit?"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1078",
"Z11K2": "identitas?"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1002",
"Z11K2": "is identity"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1004",
"Z11K2": "identité ?"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1005",
"Z11K2": "является ли равенством"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1664",
"Z11K2": "identitate?"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1672",
"Z11K2": "為識別物件?"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1001",
"Z11K2": "هل هوية ؟"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1787",
"Z11K2": "è identità?"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1181",
"Z11K2": "да ли је идентитет?"
}
]
}
}
],
"Z4K3": "Z103",
"Z4K7": [
"Z46"
],
"Z4K8": [
"Z64"
]
},
"Z2K3": {
"Z1K1": "Z12",
"Z12K1": [
"Z11",
{
"Z1K1": "Z11",
"Z11K1": "Z1002",
"Z11K2": "Key"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1083",
"Z11K2": "کنجی"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1657",
"Z11K2": "ਕੁੰਜੀ"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1025",
"Z11K2": "Cecha"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1592",
"Z11K2": "Attribut"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1430",
"Z11K2": "Schlüssel"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1011",
"Z11K2": "নির্দেশক"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1005",
"Z11K2": "Ключ"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1576",
"Z11K2": "ŝlosilo"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1062",
"Z11K2": "Klíč"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1830",
"Z11K2": "キー"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1709",
"Z11K2": "Atslēga"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1186",
"Z11K2": "מפתח"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1048",
"Z11K2": "Khoá"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1157",
"Z11K2": "sleutel"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1227",
"Z11K2": "Nøkkel"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1004",
"Z11K2": "clé"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1851",
"Z11K2": "คีย์"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1237",
"Z11K2": "Anahtar"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1381",
"Z11K2": "Chave"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1332",
"Z11K2": "Ключ"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1113",
"Z11K2": "Key"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1625",
"Z11K2": "Lakile"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1051",
"Z11K2": "avain"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1078",
"Z11K2": "Kunci"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1643",
"Z11K2": "키"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1645",
"Z11K2": "键"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1672",
"Z11K2": "鍵"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1827",
"Z11K2": "κλειδί"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1531",
"Z11K2": "Kekunci"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1434",
"Z11K2": "ککونچي"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1003",
"Z11K2": "Clave"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1360",
"Z11K2": "🔲📝"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1787",
"Z11K2": "Chiave"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1664",
"Z11K2": "Cheie"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1001",
"Z11K2": "مفتاح"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1181",
"Z11K2": "Атрибут"
}
]
},
"Z2K4": {
"Z1K1": "Z32",
"Z32K1": [
"Z31",
{
"Z1K1": "Z31",
"Z31K1": "Z1592",
"Z31K2": [
"Z6",
"Nyckel"
]
},
{
"Z1K1": "Z31",
"Z31K1": "Z1048",
"Z31K2": [
"Z6",
"Chìa khoá"
]
}
]
},
"Z2K5": {
"Z1K1": "Z12",
"Z12K1": [
"Z11",
{
"Z1K1": "Z11",
"Z11K1": "Z1002",
"Z11K2": "A referenced key/value pair within a Z4/Type."
},
{
"Z1K1": "Z11",
"Z11K1": "Z1025",
"Z11K2": "Para klucz-wartość, z której składa się typ (Z4)"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1592",
"Z11K2": "den identifierande delen av ett attribut–värde-par i en datatyp"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1011",
"Z11K2": "Z4/ধরনের মধ্যে একটি তথ্যসূত্রযুক্ত নির্দেশক/মান যুগল"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1576",
"Z11K2": "referencita ŝlosil-valora paro ene de Z4/Tipo"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1062",
"Z11K2": "Pár klíč/hodnota definující položku Z4/Typu."
},
{
"Z1K1": "Z11",
"Z11K1": "Z1830",
"Z11K2": "Z4/Type内の参照されたkey/value ペア。"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1430",
"Z11K2": "referenziertes Schlüssel/Wert-Paar innerhalb eines Typs"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1157",
"Z11K2": "een sleutel/waarde-paar waarnaar wordt verwezen binnen een Z4/type"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1048",
"Z11K2": "Một cặp khoá và giá trị của một kiểu (Z4)"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1004",
"Z11K2": "une paire clé/valeur référencée à l'intérieur d'un Z4/type"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1381",
"Z11K2": "Um par chave/valor referenciado dentro de um Z4/Tipo."
},
{
"Z1K1": "Z11",
"Z11K1": "Z1113",
"Z11K2": "A referenced key/value pair within a Z4/Type."
},
{
"Z1K1": "Z11",
"Z11K1": "Z1625",
"Z11K2": "Kamban-droa lakile/sanda anaty Z4/Karazana"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1851",
"Z11K2": "คู่ของคีย์กับค่าที่อ้างถึงใน Z4/ชนิด ๆ หนึ่ง"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1078",
"Z11K2": "Pasangan kunci/nilai yang direferensikan dalam Z4/Tipe."
},
{
"Z1K1": "Z11",
"Z11K1": "Z1643",
"Z11K2": "Z4/유형 안에서 참조된 키/값 쌍"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1186",
"Z11K2": "צמד מפתח/ערך עם התייחסות בתוך Z4/סוג."
},
{
"Z1K1": "Z11",
"Z11K1": "Z1531",
"Z11K2": "Pasangan kekunci/nilai yang dirujuk dalam Z4/Jenis."
},
{
"Z1K1": "Z11",
"Z11K1": "Z1434",
"Z11K2": "ڤاسڠن ککونچي/نيلاي يڠ دروجوع دالم Z4/جنيس."
},
{
"Z1K1": "Z11",
"Z11K1": "Z1664",
"Z11K2": "O pereche cheie/valoare în cadrul unui Z4/Tip."
},
{
"Z1K1": "Z11",
"Z11K1": "Z1001",
"Z11K2": "زوج مفتاح/قيمة مرجعي داخل Z4/نوع."
},
{
"Z1K1": "Z11",
"Z11K1": "Z1787",
"Z11K2": "Una coppia chiave/valore in un Z4/Tipo"
}
]
}
}
gs1gw47ivt7xfo0vi3l1e96tfz8t2nf
Z4
0
6
200099
197646
2025-07-03T09:56:25Z
Winston Sung
2672
200099
zobject
text/plain
{
"Z1K1": "Z2",
"Z2K1": {
"Z1K1": "Z6",
"Z6K1": "Z4"
},
"Z2K2": {
"Z1K1": "Z4",
"Z4K1": "Z4",
"Z4K2": [
"Z3",
{
"Z1K1": "Z3",
"Z3K1": "Z4",
"Z3K2": "Z4K1",
"Z3K3": {
"Z1K1": "Z12",
"Z12K1": [
"Z11",
{
"Z1K1": "Z11",
"Z11K1": "Z1002",
"Z11K2": "identity"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1360",
"Z11K2": "🆔"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1025",
"Z11K2": "tożsamość"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1011",
"Z11K2": "পরিচয়"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1592",
"Z11K2": "id"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1645",
"Z11K2": "识别对象"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1062",
"Z11K2": "identita"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1186",
"Z11K2": "זהות"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1430",
"Z11K2": "Identität"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1113",
"Z11K2": "identity"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1625",
"Z11K2": "fanondro"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1157",
"Z11K2": "identiteit"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1078",
"Z11K2": "identitas"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1004",
"Z11K2": "identité"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1005",
"Z11K2": " идентичность"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1664",
"Z11K2": "identitate"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1643",
"Z11K2": "식별"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1672",
"Z11K2": "識別物件"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1001",
"Z11K2": "هوية"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1787",
"Z11K2": "identità"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1181",
"Z11K2": "идентитет"
}
]
},
"Z3K4": "Z41"
},
{
"Z1K1": "Z3",
"Z3K1": {
"Z1K1": "Z7",
"Z7K1": "Z881",
"Z881K1": "Z3"
},
"Z3K2": "Z4K2",
"Z3K3": {
"Z1K1": "Z12",
"Z12K1": [
"Z11",
{
"Z1K1": "Z11",
"Z11K1": "Z1002",
"Z11K2": "keys"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1025",
"Z11K2": "cechy"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1011",
"Z11K2": "নির্দেশকসমূহ"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1592",
"Z11K2": "attribut"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1645",
"Z11K2": "键"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1062",
"Z11K2": "klíče"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1186",
"Z11K2": "מפתחות"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1430",
"Z11K2": "Schlüssel"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1113",
"Z11K2": "keys"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1625",
"Z11K2": "lakile"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1157",
"Z11K2": "sleutels"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1078",
"Z11K2": "kunci"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1672",
"Z11K2": "鍵"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1004",
"Z11K2": "clés"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1005",
"Z11K2": "ключи"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1664",
"Z11K2": "chei"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1001",
"Z11K2": "مفاتيح"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1787",
"Z11K2": "chiavi"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1181",
"Z11K2": "атрибути"
}
]
},
"Z3K4": {
"Z1K1": "Z40",
"Z40K1": "Z42"
}
},
{
"Z1K1": "Z3",
"Z3K1": "Z8",
"Z3K2": "Z4K3",
"Z3K3": {
"Z1K1": "Z12",
"Z12K1": [
"Z11",
{
"Z1K1": "Z11",
"Z11K1": "Z1002",
"Z11K2": "validator"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1025",
"Z11K2": "walidator"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1011",
"Z11K2": "বৈধকারী"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1645",
"Z11K2": "验证函数"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1062",
"Z11K2": "validátor"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1592",
"Z11K2": "utvärderare"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1186",
"Z11K2": "בודק תקינות"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1430",
"Z11K2": "Prüfer"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1113",
"Z11K2": "validator"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1625",
"Z11K2": "mpanaiky"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1157",
"Z11K2": "validator"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1078",
"Z11K2": "validator"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1672",
"Z11K2": "驗證函式"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1004",
"Z11K2": "validateur"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1005",
"Z11K2": "валидатор"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1664",
"Z11K2": "validator"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1001",
"Z11K2": "متحقق"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1787",
"Z11K2": "validatore"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1181",
"Z11K2": "валидатор"
}
]
},
"Z3K4": {
"Z1K1": "Z40",
"Z40K1": "Z42"
}
},
{
"Z1K1": "Z3",
"Z3K1": "Z8",
"Z3K2": "Z4K4",
"Z3K3": {
"Z1K1": "Z12",
"Z12K1": [
"Z11",
{
"Z1K1": "Z11",
"Z11K1": "Z1002",
"Z11K2": "equality"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1025",
"Z11K2": "porównanie"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1186",
"Z11K2": "שוויון"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1430",
"Z11K2": "Gleichheit"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1672",
"Z11K2": "相等"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1004",
"Z11K2": "égalité"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1005",
"Z11K2": "равенство"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1664",
"Z11K2": "egalitate"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1672",
"Z11K2": "相等"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1001",
"Z11K2": "مساواة"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1787",
"Z11K2": "uguaglianza"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1181",
"Z11K2": "једнакост"
}
]
},
"Z3K4": "Z42"
},
{
"Z1K1": "Z3",
"Z3K1": "Z8",
"Z3K2": "Z4K5",
"Z3K3": {
"Z1K1": "Z12",
"Z12K1": [
"Z11",
{
"Z1K1": "Z11",
"Z11K1": "Z1002",
"Z11K2": "display function"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1186",
"Z11K2": "מתצג"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1025",
"Z11K2": "formater"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1430",
"Z11K2": "Renderer"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1004",
"Z11K2": "moteur de rendu"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1005",
"Z11K2": "подготовитель"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1664",
"Z11K2": "motor de randare"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1672",
"Z11K2": "轉譯函式"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1645",
"Z11K2": "转译函数"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1001",
"Z11K2": "دالة العرض"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1787",
"Z11K2": "formattatore"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1181",
"Z11K2": "функција за приказ"
}
]
},
"Z3K4": {
"Z1K1": "Z40",
"Z40K1": "Z42"
}
},
{
"Z1K1": "Z3",
"Z3K1": "Z8",
"Z3K2": "Z4K6",
"Z3K3": {
"Z1K1": "Z12",
"Z12K1": [
"Z11",
{
"Z1K1": "Z11",
"Z11K1": "Z1002",
"Z11K2": "reading function"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1025",
"Z11K2": "parser"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1186",
"Z11K2": "מפענח"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1430",
"Z11K2": "Parser"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1672",
"Z11K2": "解析函式"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1645",
"Z11K2": "解析函数"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1004",
"Z11K2": "analyseur"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1005",
"Z11K2": "парсер"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1664",
"Z11K2": "analizor sintactic"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1001",
"Z11K2": "دالة القراءة"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1787",
"Z11K2": "lettore"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1181",
"Z11K2": "рашчлањивач"
}
]
},
"Z3K4": {
"Z1K1": "Z40",
"Z40K1": "Z42"
}
},
{
"Z1K1": "Z3",
"Z3K1": {
"Z1K1": "Z7",
"Z7K1": "Z881",
"Z881K1": "Z46"
},
"Z3K2": "Z4K7",
"Z3K3": {
"Z1K1": "Z12",
"Z12K1": [
"Z11",
{
"Z1K1": "Z11",
"Z11K1": "Z1002",
"Z11K2": "type converters to code"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1025",
"Z11K2": "konwertery typu na kod źródłowy"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1186",
"Z11K2": "ממירי הסוג לקוד"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1430",
"Z11K2": "Typumwandler in Code"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1004",
"Z11K2": " convertisseurs de type en code"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1005",
"Z11K2": "конвертеры типа в код"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1664",
"Z11K2": "convertor de tip în cod"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1001",
"Z11K2": "محوّلات النوع إلى نص برمجي"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1787",
"Z11K2": "convertitori del tipo in codice"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1181",
"Z11K2": "конвертер из типа у код"
}
]
},
"Z3K4": {
"Z1K1": "Z40",
"Z40K1": "Z42"
}
},
{
"Z1K1": "Z3",
"Z3K1": {
"Z1K1": "Z7",
"Z7K1": "Z881",
"Z881K1": "Z64"
},
"Z3K2": "Z4K8",
"Z3K3": {
"Z1K1": "Z12",
"Z12K1": [
"Z11",
{
"Z1K1": "Z11",
"Z11K1": "Z1002",
"Z11K2": "type converters from code"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1025",
"Z11K2": "konwertery typu z kodu źródłowego"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1186",
"Z11K2": "ממירי הסוג מהקוד"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1430",
"Z11K2": "Typumwandler aus Code"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1004",
"Z11K2": "convertisseurs de type à partir du code"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1005",
"Z11K2": "конвертеры типа из кода"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1664",
"Z11K2": "convertor de tip din cod"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1001",
"Z11K2": "محوّلات النوع من نص برمجي"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1787",
"Z11K2": "convertitori del tipo dal codice"
}
]
},
"Z3K4": {
"Z1K1": "Z40",
"Z40K1": "Z42"
}
}
],
"Z4K3": "Z104",
"Z4K7": [
"Z46"
],
"Z4K8": [
"Z64"
]
},
"Z2K3": {
"Z1K1": "Z12",
"Z12K1": [
"Z11",
{
"Z1K1": "Z11",
"Z11K1": "Z1002",
"Z11K2": "Type"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1011",
"Z11K2": "ধরন"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1830",
"Z11K2": "型"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1657",
"Z11K2": "ਕਿਸਮ"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1083",
"Z11K2": "قسم"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1025",
"Z11K2": "Typ"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1592",
"Z11K2": "Datatyp"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1430",
"Z11K2": "Typ"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1787",
"Z11K2": "Tipo"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1062",
"Z11K2": "Typ"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1005",
"Z11K2": "Тип"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1576",
"Z11K2": "tipo"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1709",
"Z11K2": "Tips"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1186",
"Z11K2": "סוג"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1048",
"Z11K2": "Kiểu dữ liệu"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1157",
"Z11K2": "type"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1227",
"Z11K2": "Type"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1004",
"Z11K2": "type"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1851",
"Z11K2": "ชนิด"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1298",
"Z11K2": "Tipu"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1381",
"Z11K2": "Tipo"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1488",
"Z11K2": "typ"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1237",
"Z11K2": "Tip"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1332",
"Z11K2": "Тип"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1113",
"Z11K2": "Type"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1625",
"Z11K2": "Karazana"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1051",
"Z11K2": "tyyppi"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1151",
"Z11K2": "ꯃꯈꯜ"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1078",
"Z11K2": "Tipe"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1643",
"Z11K2": "유형"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1645",
"Z11K2": "类型"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1672",
"Z11K2": "類型"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1827",
"Z11K2": "τύπος"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1531",
"Z11K2": "Jenis"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1434",
"Z11K2": "جنيس"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1003",
"Z11K2": "Tipo"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1099",
"Z11K2": "Typ"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1014",
"Z11K2": "Nbipụta"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1360",
"Z11K2": "🔲🔣"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1789",
"Z11K2": "Tipus"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1037",
"Z11K2": "Tipo"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1664",
"Z11K2": "Tip"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1001",
"Z11K2": "نوع"
}
]
},
"Z2K4": {
"Z1K1": "Z32",
"Z32K1": [
"Z31",
{
"Z1K1": "Z31",
"Z31K1": "Z1011",
"Z31K2": [
"Z6",
"টাইপ",
"প্রকার"
]
},
{
"Z1K1": "Z31",
"Z31K1": "Z1005",
"Z31K2": [
"Z6",
"тип переменной",
"тип данных"
]
},
{
"Z1K1": "Z31",
"Z31K1": "Z1048",
"Z31K2": [
"Z6",
"Loại",
"Kiểu"
]
},
{
"Z1K1": "Z31",
"Z31K1": "Z1592",
"Z31K2": [
"Z6",
"Typ"
]
},
{
"Z1K1": "Z31",
"Z31K1": "Z1078",
"Z31K2": [
"Z6",
"Jenis"
]
},
{
"Z1K1": "Z31",
"Z31K1": "Z1643",
"Z31K2": [
"Z6",
"타입",
"형"
]
},
{
"Z1K1": "Z31",
"Z31K1": "Z1002",
"Z31K2": [
"Z6",
"type"
]
},
{
"Z1K1": "Z31",
"Z31K1": "Z1531",
"Z31K2": [
"Z6",
"jenis"
]
},
{
"Z1K1": "Z31",
"Z31K1": "Z1381",
"Z31K2": [
"Z6",
"tipo"
]
}
]
},
"Z2K5": {
"Z1K1": "Z12",
"Z12K1": [
"Z11",
{
"Z1K1": "Z11",
"Z11K1": "Z1002",
"Z11K2": "A class of Z1/Object, with a set list of Z3/Keys."
},
{
"Z1K1": "Z11",
"Z11K1": "Z1011",
"Z11K2": "Z1/বস্তুর শ্রেণি, যার মধ্যে Z3/নির্দেশকের ধ্রুবক তালিকা"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1830",
"Z11K2": "Z1/オブジェクトのクラスで、Z3/キーのセットリストを持つ。"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1025",
"Z11K2": "Klasa obiektów (Z1), która składa się z listy cech (Z3)"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1787",
"Z11K2": "Una classe di Z1/Oggetti, con un insieme di Z3/Chiavi"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1062",
"Z11K2": "Třída Z1/Objektů, definující seznam Z3/Klíčů."
},
{
"Z1K1": "Z11",
"Z11K1": "Z1576",
"Z11K2": "klaso de Z1/objekto, kun fiksa listo de Z3/ŝlosiloj"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1430",
"Z11K2": "Klasse des Objekts mit einer festgelegten Liste von Schlüsseln"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1592",
"Z11K2": "en klass objekt (Z1) med en fastslagen lista med attribut (Z3)"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1157",
"Z11K2": "een klasse van Z1/object, met een lijst van Z3/sleutels"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1048",
"Z11K2": "Một lớp đối tượng (Z1) với một tập hợp cố định các khoá (Z3)"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1004",
"Z11K2": "une classe d' Z1/objet constituée d'une liste de Z3/clés"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1298",
"Z11K2": "Na classi di Z1/Uggetti, c'unu nzemi di Z3/Chiavi"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1381",
"Z11K2": "Uma classe de Z1/Objeto, com uma lista definida de Z3/Chaves."
},
{
"Z1K1": "Z11",
"Z11K1": "Z1237",
"Z11K2": "Z3/Keys'ten oluşan bir liste içeren bir Z1/Object sınıfı."
},
{
"Z1K1": "Z11",
"Z11K1": "Z1113",
"Z11K2": "A class of Z1/Object, with a set list of Z3/Keys."
},
{
"Z1K1": "Z11",
"Z11K1": "Z1851",
"Z11K2": "ชั้นของ Z1/วัตถุ พร้อมรายการของ Z3/คีย์ที่กำหนดไว้"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1078",
"Z11K2": "Sebuah kelas dari Z1/Objek, memiliki daftar Z3/Kunci"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1186",
"Z11K2": "המחלקה של Z1/עצם עם רשימה מוגדרת של Z3/מפתחות."
},
{
"Z1K1": "Z11",
"Z11K1": "Z1531",
"Z11K2": "Kelas Z1/Objek, dengan senarai set Z3/Kekunci."
},
{
"Z1K1": "Z11",
"Z11K1": "Z1434",
"Z11K2": "کلس Z1/اوبجيک، دڠن سناراي سيت Z3/ککونچي."
},
{
"Z1K1": "Z11",
"Z11K1": "Z1003",
"Z11K2": "Una clase de Z1/Objeto con una lista fija de Z3/Claves"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1014",
"Z11K2": "Otu klas nke Z1/Ihe, yana ndepụta Z3/ igodo ahazi."
},
{
"Z1K1": "Z11",
"Z11K1": "Z1789",
"Z11K2": "Una classe de Z1/Objecte amb una llista fixa de Z3/Claus"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1664",
"Z11K2": "O clasă de Z1/Obiect, cu o listă fixă de Z3/Chei."
},
{
"Z1K1": "Z11",
"Z11K1": "Z1001",
"Z11K2": "فئة من Z1/Object، مع قائمة محددة من Z3/Keys."
}
]
}
}
1zt7a4bzaxlnhqscnijkh2atvhfinpl
Z7
0
10
200095
192890
2025-07-03T09:48:32Z
Winston Sung
2672
200095
zobject
text/plain
{
"Z1K1": "Z2",
"Z2K1": {
"Z1K1": "Z6",
"Z6K1": "Z7"
},
"Z2K2": {
"Z1K1": "Z4",
"Z4K1": "Z7",
"Z4K2": [
"Z3",
{
"Z1K1": "Z3",
"Z3K1": "Z8",
"Z3K2": "Z7K1",
"Z3K3": {
"Z1K1": "Z12",
"Z12K1": [
"Z11",
{
"Z1K1": "Z11",
"Z11K1": "Z1002",
"Z11K2": "function"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1011",
"Z11K2": "ফাংশন"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1657",
"Z11K2": "ਕਰਨੀ"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1083",
"Z11K2": "کرنی"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1025",
"Z11K2": "funkcja"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1645",
"Z11K2": "函数"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1062",
"Z11K2": "funkce"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1592",
"Z11K2": "funktion"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1186",
"Z11K2": "פונקציה"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1430",
"Z11K2": "Funktion"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1113",
"Z11K2": "function"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1625",
"Z11K2": "lefa"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1157",
"Z11K2": "functie"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1078",
"Z11K2": "fungsi"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1672",
"Z11K2": "函式"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1004",
"Z11K2": "fonction"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1005",
"Z11K2": "функция"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1664",
"Z11K2": "funcție"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1787",
"Z11K2": "funzione"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1001",
"Z11K2": "دالة"
}
]
}
}
],
"Z4K3": "Z107"
},
"Z2K3": {
"Z1K1": "Z12",
"Z12K1": [
"Z11",
{
"Z1K1": "Z11",
"Z11K1": "Z1002",
"Z11K2": "Function call"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1011",
"Z11K2": "ফাংশন কল"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1657",
"Z11K2": "ਕਰਨੀ ਲਾਉਣੀ"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1083",
"Z11K2": "کرنی لاوݨی"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1025",
"Z11K2": "Wywołanie funkcji"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1592",
"Z11K2": "Funktionsanrop"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1430",
"Z11K2": "Funktionsaufruf"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1787",
"Z11K2": "Chiamata ad una funzione"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1005",
"Z11K2": "Вызов функции"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1576",
"Z11K2": "funkciovoko"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1062",
"Z11K2": "Volání funkce"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1830",
"Z11K2": "関数呼び出し"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1709",
"Z11K2": "Funkcijas izsaukums"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1186",
"Z11K2": "קריאה לפונקציה"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1048",
"Z11K2": "Lời gọi hàm"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1157",
"Z11K2": "aanroep van functie"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1851",
"Z11K2": "เรียกใช้ฟังก์ชัน"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1004",
"Z11K2": "appel de fonction"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1332",
"Z11K2": "Виклик функції"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1113",
"Z11K2": "Function call"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1625",
"Z11K2": "Antso lefa"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1381",
"Z11K2": "Chamada de função"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1051",
"Z11K2": "funktiokutsu"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1078",
"Z11K2": "Panggilan fungsi"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1645",
"Z11K2": "调用函数"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1003",
"Z11K2": "Llamada de función"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1014",
"Z11K2": "Okụ ọrụ"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1664",
"Z11K2": "Apel de funcție"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1672",
"Z11K2": "呼叫函式"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1902",
"Z11K2": "調用函數"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1001",
"Z11K2": "استدعاء دالة"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1643",
"Z11K2": "함수 호출"
}
]
},
"Z2K4": {
"Z1K1": "Z32",
"Z32K1": [
"Z31",
{
"Z1K1": "Z31",
"Z31K1": "Z1011",
"Z31K2": [
"Z6",
"অপেক্ষক কল",
"ফাংশন আহ্বান"
]
},
{
"Z1K1": "Z31",
"Z31K1": "Z1592",
"Z31K2": [
"Z6",
"Anrop"
]
},
{
"Z1K1": "Z31",
"Z31K1": "Z1664",
"Z31K2": [
"Z6",
"Apel funcție",
"Apeluri de funcție",
"Apeluri funcție"
]
},
{
"Z1K1": "Z31",
"Z31K1": "Z1672",
"Z31K2": [
"Z6",
"調用函式"
]
},
{
"Z1K1": "Z31",
"Z31K1": "Z1902",
"Z31K2": [
"Z6",
"呼叫函數"
]
}
]
},
"Z2K5": {
"Z1K1": "Z12",
"Z12K1": [
"Z11",
{
"Z1K1": "Z11",
"Z11K1": "Z1002",
"Z11K2": "A call to a Z8/Function, including its inputs."
},
{
"Z1K1": "Z11",
"Z11K1": "Z1011",
"Z11K2": "একটি ফাংশন ও তার ইনপুট মান গুলোকে কল করা, যথা তাদের অন্তর্ভুক্তিকরন বা উদ্ধৃতিকরন"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1025",
"Z11K2": "Reprezentuje wywołanie funkcji (Z8), wraz z jej argumentami"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1787",
"Z11K2": "Una chiamata ad una Z8/Funzione, inclusi i suoi argomenti"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1576",
"Z11K2": "voko al Z8/funkcio, inkluzive de ĝiaj enigaĵoj"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1062",
"Z11K2": "Vyvolání Z8/Funkce včetně konkrétních vstupů"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1430",
"Z11K2": "Aufruf einer Funktion einschließlich ihrer Eingaben"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1592",
"Z11K2": "anrop till en funktion (Z8) med indata"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1157",
"Z11K2": "een aanroep naar een Z8/functie, inclusief de invoer ervan"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1048",
"Z11K2": "Cấp dữ liệu và kích hoạt/chạy một hàm (Z8)"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1004",
"Z11K2": "un appel de Z8/fonction, y compris ses paramètres d'entrée."
},
{
"Z1K1": "Z11",
"Z11K1": "Z1113",
"Z11K2": "A call to a Z8/Function, including its inputs."
},
{
"Z1K1": "Z11",
"Z11K1": "Z1381",
"Z11K2": "Uma chamada para uma Z8/Função, incluindo suas entradas."
},
{
"Z1K1": "Z11",
"Z11K1": "Z1851",
"Z11K2": "การเรียกใช้ Z8/ฟังก์ชัน พร้อมสิ่งที่จะป้อนเข้า"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1078",
"Z11K2": "Sebuah panggilan untuk suatu Z8/Fungsi, termasuk masukannya"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1186",
"Z11K2": "קריאה ל־Z8/פונקציה, כולל הקלטים שלה."
},
{
"Z1K1": "Z11",
"Z11K1": "Z1332",
"Z11K2": "Виклик Z8/Функції, включаючи її вводи."
},
{
"Z1K1": "Z11",
"Z11K1": "Z1003",
"Z11K2": "Una llamada a una Z8/Función, incluyendo sus entradas."
},
{
"Z1K1": "Z11",
"Z11K1": "Z1014",
"Z11K2": "Oku na-aga na Z8/Ọrụ, gụnyere ntinye ya."
},
{
"Z1K1": "Z11",
"Z11K1": "Z1664",
"Z11K2": "Un apel către o Z8/Funcție, inclusiv intrările sale."
},
{
"Z1K1": "Z11",
"Z11K1": "Z1001",
"Z11K2": "استدعاء لدالة/Z8، بما في ذلك مدخلاتها."
}
]
}
}
j89azlxvtulk4wl0001kyuxettntyz3
Z8
0
11
200097
195710
2025-07-03T09:49:54Z
Winston Sung
2672
200097
zobject
text/plain
{
"Z1K1": "Z2",
"Z2K1": {
"Z1K1": "Z6",
"Z6K1": "Z8"
},
"Z2K2": {
"Z1K1": "Z4",
"Z4K1": "Z8",
"Z4K2": [
"Z3",
{
"Z1K1": "Z3",
"Z3K1": {
"Z1K1": "Z7",
"Z7K1": "Z881",
"Z881K1": "Z17"
},
"Z3K2": "Z8K1",
"Z3K3": {
"Z1K1": "Z12",
"Z12K1": [
"Z11",
{
"Z1K1": "Z11",
"Z11K1": "Z1002",
"Z11K2": "arguments"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1025",
"Z11K2": "argumenty"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1011",
"Z11K2": "আর্গুমেন্টসমূহ"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1083",
"Z11K2": "منگݨے"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1657",
"Z11K2": "ਮੰਗਣੇ"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1645",
"Z11K2": "参数"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1592",
"Z11K2": "argument"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1186",
"Z11K2": "ארגומנטים"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1430",
"Z11K2": "Argumente"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1113",
"Z11K2": "arguments"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1078",
"Z11K2": "daftar argumen"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1157",
"Z11K2": "argumenten"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1672",
"Z11K2": "引數"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1004",
"Z11K2": "arguments"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1787",
"Z11K2": "argomenti"
}
]
},
"Z3K4": {
"Z1K1": "Z40",
"Z40K1": "Z42"
}
},
{
"Z1K1": "Z3",
"Z3K1": "Z4",
"Z3K2": "Z8K2",
"Z3K3": {
"Z1K1": "Z12",
"Z12K1": [
"Z11",
{
"Z1K1": "Z11",
"Z11K1": "Z1002",
"Z11K2": "return type"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1025",
"Z11K2": "typ wyjścia"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1011",
"Z11K2": "ফলাফলের ধরন"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1083",
"Z11K2": "قسم پیندی"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1657",
"Z11K2": "ਕਿਸਮ ਪੈਂਦੀ"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1645",
"Z11K2": "返回类型"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1592",
"Z11K2": "svarstyp"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1186",
"Z11K2": "סוג מוחזר"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1430",
"Z11K2": "Rückgabetyp"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1113",
"Z11K2": "return type"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1078",
"Z11K2": "tipe keluaran"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1157",
"Z11K2": "retourneertype"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1672",
"Z11K2": "回傳類型"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1004",
"Z11K2": "renvoie le type"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1787",
"Z11K2": "tipo di ritorno"
}
]
},
"Z3K4": {
"Z1K1": "Z40",
"Z40K1": "Z42"
}
},
{
"Z1K1": "Z3",
"Z3K1": {
"Z1K1": "Z7",
"Z7K1": "Z881",
"Z881K1": "Z20"
},
"Z3K2": "Z8K3",
"Z3K3": {
"Z1K1": "Z12",
"Z12K1": [
"Z11",
{
"Z1K1": "Z11",
"Z11K1": "Z1002",
"Z11K2": "testers"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1025",
"Z11K2": "przypadki testowe"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1011",
"Z11K2": "পরীক্ষার ক্ষেত্রসমূহ"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1083",
"Z11K2": "جاچݨ والے"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1657",
"Z11K2": "ਜਾਚਣ ਵਾਲੇ"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1645",
"Z11K2": "测试用例"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1592",
"Z11K2": "tester"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1186",
"Z11K2": "בודקים"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1430",
"Z11K2": "Tester"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1113",
"Z11K2": "testers"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1078",
"Z11K2": "penguji"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1157",
"Z11K2": "tests"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1004",
"Z11K2": "tests"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1787",
"Z11K2": "test"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1672",
"Z11K2": "測試案例"
}
]
},
"Z3K4": {
"Z1K1": "Z40",
"Z40K1": "Z42"
}
},
{
"Z1K1": "Z3",
"Z3K1": {
"Z1K1": "Z7",
"Z7K1": "Z881",
"Z881K1": "Z14"
},
"Z3K2": "Z8K4",
"Z3K3": {
"Z1K1": "Z12",
"Z12K1": [
"Z11",
{
"Z1K1": "Z11",
"Z11K1": "Z1002",
"Z11K2": "implementations"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1025",
"Z11K2": "implementacje"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1011",
"Z11K2": "বাস্তবায়নসমূহ"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1083",
"Z11K2": "چلائیاں"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1657",
"Z11K2": "ਚਲਾਈਆਂ"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1645",
"Z11K2": "实现"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1592",
"Z11K2": "implementeringar"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1186",
"Z11K2": "מימושים"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1430",
"Z11K2": "Implementierungen"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1113",
"Z11K2": "implementations"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1078",
"Z11K2": "implementasi"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1157",
"Z11K2": "implementaties"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1672",
"Z11K2": "實作"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1004",
"Z11K2": "implémentations"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1787",
"Z11K2": "implementazioni"
}
]
},
"Z3K4": {
"Z1K1": "Z40",
"Z40K1": "Z42"
}
},
{
"Z1K1": "Z3",
"Z3K1": "Z8",
"Z3K2": "Z8K5",
"Z3K3": {
"Z1K1": "Z12",
"Z12K1": [
"Z11",
{
"Z1K1": "Z11",
"Z11K1": "Z1002",
"Z11K2": "identity"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1025",
"Z11K2": "tożsamość"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1011",
"Z11K2": "পরিচয়"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1083",
"Z11K2": "شناخت"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1657",
"Z11K2": "ਸ਼ਿਨਾਖ਼ਤ"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1645",
"Z11K2": "身份"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1592",
"Z11K2": "identitet"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1186",
"Z11K2": "זהות"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1430",
"Z11K2": "Identität"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1113",
"Z11K2": "identity"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1078",
"Z11K2": "pengenal"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1157",
"Z11K2": "identiteit"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1004",
"Z11K2": "identité"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1787",
"Z11K2": "identità"
}
]
},
"Z3K4": "Z41"
}
],
"Z4K3": "Z108",
"Z4K7": [
"Z46"
],
"Z4K8": [
"Z64"
]
},
"Z2K3": {
"Z1K1": "Z12",
"Z12K1": [
"Z11",
{
"Z1K1": "Z11",
"Z11K1": "Z1002",
"Z11K2": "Function"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1011",
"Z11K2": "ফাংশন"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1272",
"Z11K2": "funkcija"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1657",
"Z11K2": "ਕਰਨੀ"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1083",
"Z11K2": "کرنی"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1025",
"Z11K2": "Funkcja"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1592",
"Z11K2": "Funktion"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1005",
"Z11K2": "Функция"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1062",
"Z11K2": "Funkce"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1430",
"Z11K2": "Funktion"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1830",
"Z11K2": "関数"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1186",
"Z11K2": "פונקציה"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1048",
"Z11K2": "Hàm"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1157",
"Z11K2": "functie"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1227",
"Z11K2": "Funksjon"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1004",
"Z11K2": "fonction"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1851",
"Z11K2": "ฟังก์ชัน"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1237",
"Z11K2": "Fonksiyon"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1381",
"Z11K2": "Função"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1003",
"Z11K2": "Función"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1332",
"Z11K2": "Функція"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1696",
"Z11K2": "વિધેય"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1113",
"Z11K2": "Function"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1787",
"Z11K2": "Funzione"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1298",
"Z11K2": "Funzioni"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1051",
"Z11K2": "funktio"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1078",
"Z11K2": "Fungsi"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1645",
"Z11K2": "函数"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1672",
"Z11K2": "函數"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1827",
"Z11K2": "συνάρτηση"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1099",
"Z11K2": "Funktioun"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1014",
"Z11K2": "Ọrụ"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1709",
"Z11K2": "Funkcija"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1037",
"Z11K2": "Função"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1664",
"Z11K2": "Funcție"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1001",
"Z11K2": "دالة"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1643",
"Z11K2": "함수"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1394",
"Z11K2": "Funkcija"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1181",
"Z11K2": "Функција"
}
]
},
"Z2K4": {
"Z1K1": "Z32",
"Z32K1": [
"Z31",
{
"Z1K1": "Z31",
"Z31K1": "Z1011",
"Z31K2": [
"Z6",
"অপেক্ষক",
"গননাযান্ত্রিক কার্য"
]
}
]
},
"Z2K5": {
"Z1K1": "Z12",
"Z12K1": [
"Z11",
{
"Z1K1": "Z11",
"Z11K1": "Z1002",
"Z11K2": "A concept of a computable resource, which through its Z14/Implementations and Z20/Testers can let you make a calculate or perform some other task."
},
{
"Z1K1": "Z11",
"Z11K1": "Z1011",
"Z11K2": "Z14/বাস্তবায়ন এবং Z20/পরীক্ষার ক্ষেত্র সমূহ দ্বারা কোনো একটি বিশেষ কাজ করানোর গননাযান্ত্রিক পদ্ধতি।"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1025",
"Z11K2": "Obiekt, reprezentujący pewne przekształcenie. Po połączeniu z implementacją (Z14) może być wywołany."
},
{
"Z1K1": "Z11",
"Z11K1": "Z1062",
"Z11K2": "Koncept, prostřednictvím jehož Z14/Implementací a Z20/Testerů můžete provést výpočet či jinou úlohu"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1430",
"Z11K2": "Konzept einer berechenbaren Ressource zur Berechnung oder Durchführung einer Aufgabe"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1048",
"Z11K2": "Khái niệm chỉ tài nguyên tính toán được và có thể thực hiện một tác vụ nào đó"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1381",
"Z11K2": "Um conceito de recurso computável que, através de suas Z14/Implementações e Z20/Testadores, pode permitir que você faça um cálculo ou execute alguma outra tarefa."
},
{
"Z1K1": "Z11",
"Z11K1": "Z1113",
"Z11K2": "A concept of a computable resource, which through its Z14/Implementations and Z20/Testers can let yo"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1851",
"Z11K2": "ทรัพยากรที่ใช้คำนวณได้ สามารถใช้คำนวณและปฏิบัติภารกิจผ่าน Z14/การนำไปปฏิบัติ และ Z20/ชุดทดสอบ"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1078",
"Z11K2": "Suatu konsep sumber daya yang bisa dikomputasi, bisa dipakai untuk menghitung atau melakukan tugas lain melalui Z14/Implementasi dan Z20/Pengujinya"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1157",
"Z11K2": "concept van berekenbare bron, om via Z14/implementaties en Z20/tests een taak uit te voeren"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1186",
"Z11K2": "מושג של משאב בר־חישוב שבאמצעות Z14/מימוש ו־Z20/בודקים יכול לאפשר לך לחשב משהו או לבצע משימה אחרת."
},
{
"Z1K1": "Z11",
"Z11K1": "Z1332",
"Z11K2": "Концепція обчислюваного ресурсу, який через свої Z14/Реалізації і Z20/Тести може дозволити вам виконувати обчислення або інші завдання."
},
{
"Z1K1": "Z11",
"Z11K1": "Z1014",
"Z11K2": "Echiche nke akụrụngwa nwere ike ịgbakọ, nke site na Z14 / Mmejuputa ya na Z20/Testers nwere ike ime ka ị gbakọọ ma ọ bụ rụọ ọrụ ọzọ."
},
{
"Z1K1": "Z11",
"Z11K1": "Z1004",
"Z11K2": "un concept de ressource calculable qui, grâce à ses Z14/implémentations et Z20/cas de test, peut permettre d'effectuer un calcul ou d'effectuer une autre tâche."
},
{
"Z1K1": "Z11",
"Z11K1": "Z1664",
"Z11K2": "Un concept de resursă calculabilă care, prin intermediul aplicațiilor sale Z14/Implementări și Z20/Cazuri de test, vă poate permite să efectuați un calcul sau să îndepliniți o altă sarcină."
},
{
"Z1K1": "Z11",
"Z11K1": "Z1001",
"Z11K2": "مفهوم لمورد قابل للحساب، يمكنك من خلال Z14/تنفيذاته و Z20/حالات اختباره أن تجري حسابًا أو أن تقوم بمهمة أخرى ما."
}
]
}
}
4klmsvw1tbcnzif7mc4umk28j27q0us
200098
200097
2025-07-03T09:53:41Z
Winston Sung
2672
200098
zobject
text/plain
{
"Z1K1": "Z2",
"Z2K1": {
"Z1K1": "Z6",
"Z6K1": "Z8"
},
"Z2K2": {
"Z1K1": "Z4",
"Z4K1": "Z8",
"Z4K2": [
"Z3",
{
"Z1K1": "Z3",
"Z3K1": {
"Z1K1": "Z7",
"Z7K1": "Z881",
"Z881K1": "Z17"
},
"Z3K2": "Z8K1",
"Z3K3": {
"Z1K1": "Z12",
"Z12K1": [
"Z11",
{
"Z1K1": "Z11",
"Z11K1": "Z1002",
"Z11K2": "arguments"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1025",
"Z11K2": "argumenty"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1011",
"Z11K2": "আর্গুমেন্টসমূহ"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1083",
"Z11K2": "منگݨے"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1657",
"Z11K2": "ਮੰਗਣੇ"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1645",
"Z11K2": "参数"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1592",
"Z11K2": "argument"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1186",
"Z11K2": "ארגומנטים"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1430",
"Z11K2": "Argumente"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1113",
"Z11K2": "arguments"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1078",
"Z11K2": "daftar argumen"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1157",
"Z11K2": "argumenten"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1672",
"Z11K2": "引數"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1004",
"Z11K2": "arguments"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1787",
"Z11K2": "argomenti"
}
]
},
"Z3K4": {
"Z1K1": "Z40",
"Z40K1": "Z42"
}
},
{
"Z1K1": "Z3",
"Z3K1": "Z4",
"Z3K2": "Z8K2",
"Z3K3": {
"Z1K1": "Z12",
"Z12K1": [
"Z11",
{
"Z1K1": "Z11",
"Z11K1": "Z1002",
"Z11K2": "return type"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1025",
"Z11K2": "typ wyjścia"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1011",
"Z11K2": "ফলাফলের ধরন"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1083",
"Z11K2": "قسم پیندی"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1657",
"Z11K2": "ਕਿਸਮ ਪੈਂਦੀ"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1645",
"Z11K2": "返回类型"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1592",
"Z11K2": "svarstyp"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1186",
"Z11K2": "סוג מוחזר"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1430",
"Z11K2": "Rückgabetyp"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1113",
"Z11K2": "return type"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1078",
"Z11K2": "tipe keluaran"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1157",
"Z11K2": "retourneertype"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1672",
"Z11K2": "回傳類型"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1004",
"Z11K2": "renvoie le type"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1787",
"Z11K2": "tipo di ritorno"
}
]
},
"Z3K4": {
"Z1K1": "Z40",
"Z40K1": "Z42"
}
},
{
"Z1K1": "Z3",
"Z3K1": {
"Z1K1": "Z7",
"Z7K1": "Z881",
"Z881K1": "Z20"
},
"Z3K2": "Z8K3",
"Z3K3": {
"Z1K1": "Z12",
"Z12K1": [
"Z11",
{
"Z1K1": "Z11",
"Z11K1": "Z1002",
"Z11K2": "testers"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1025",
"Z11K2": "przypadki testowe"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1011",
"Z11K2": "পরীক্ষার ক্ষেত্রসমূহ"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1083",
"Z11K2": "جاچݨ والے"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1657",
"Z11K2": "ਜਾਚਣ ਵਾਲੇ"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1645",
"Z11K2": "测试用例"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1592",
"Z11K2": "tester"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1186",
"Z11K2": "בודקים"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1430",
"Z11K2": "Tester"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1113",
"Z11K2": "testers"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1078",
"Z11K2": "penguji"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1157",
"Z11K2": "tests"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1004",
"Z11K2": "tests"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1787",
"Z11K2": "test"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1672",
"Z11K2": "測試案例"
}
]
},
"Z3K4": {
"Z1K1": "Z40",
"Z40K1": "Z42"
}
},
{
"Z1K1": "Z3",
"Z3K1": {
"Z1K1": "Z7",
"Z7K1": "Z881",
"Z881K1": "Z14"
},
"Z3K2": "Z8K4",
"Z3K3": {
"Z1K1": "Z12",
"Z12K1": [
"Z11",
{
"Z1K1": "Z11",
"Z11K1": "Z1002",
"Z11K2": "implementations"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1025",
"Z11K2": "implementacje"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1011",
"Z11K2": "বাস্তবায়নসমূহ"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1083",
"Z11K2": "چلائیاں"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1657",
"Z11K2": "ਚਲਾਈਆਂ"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1645",
"Z11K2": "实现"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1592",
"Z11K2": "implementeringar"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1186",
"Z11K2": "מימושים"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1430",
"Z11K2": "Implementierungen"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1113",
"Z11K2": "implementations"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1078",
"Z11K2": "implementasi"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1157",
"Z11K2": "implementaties"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1672",
"Z11K2": "實作"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1004",
"Z11K2": "implémentations"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1787",
"Z11K2": "implementazioni"
}
]
},
"Z3K4": {
"Z1K1": "Z40",
"Z40K1": "Z42"
}
},
{
"Z1K1": "Z3",
"Z3K1": "Z8",
"Z3K2": "Z8K5",
"Z3K3": {
"Z1K1": "Z12",
"Z12K1": [
"Z11",
{
"Z1K1": "Z11",
"Z11K1": "Z1002",
"Z11K2": "identity"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1025",
"Z11K2": "tożsamość"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1011",
"Z11K2": "পরিচয়"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1083",
"Z11K2": "شناخت"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1657",
"Z11K2": "ਸ਼ਿਨਾਖ਼ਤ"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1645",
"Z11K2": "识别对象"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1592",
"Z11K2": "identitet"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1186",
"Z11K2": "זהות"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1430",
"Z11K2": "Identität"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1113",
"Z11K2": "identity"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1078",
"Z11K2": "pengenal"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1157",
"Z11K2": "identiteit"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1004",
"Z11K2": "identité"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1787",
"Z11K2": "identità"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1672",
"Z11K2": "識別物件"
}
]
},
"Z3K4": "Z41"
}
],
"Z4K3": "Z108",
"Z4K7": [
"Z46"
],
"Z4K8": [
"Z64"
]
},
"Z2K3": {
"Z1K1": "Z12",
"Z12K1": [
"Z11",
{
"Z1K1": "Z11",
"Z11K1": "Z1002",
"Z11K2": "Function"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1011",
"Z11K2": "ফাংশন"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1272",
"Z11K2": "funkcija"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1657",
"Z11K2": "ਕਰਨੀ"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1083",
"Z11K2": "کرنی"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1025",
"Z11K2": "Funkcja"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1592",
"Z11K2": "Funktion"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1005",
"Z11K2": "Функция"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1062",
"Z11K2": "Funkce"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1430",
"Z11K2": "Funktion"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1830",
"Z11K2": "関数"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1186",
"Z11K2": "פונקציה"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1048",
"Z11K2": "Hàm"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1157",
"Z11K2": "functie"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1227",
"Z11K2": "Funksjon"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1004",
"Z11K2": "fonction"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1851",
"Z11K2": "ฟังก์ชัน"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1237",
"Z11K2": "Fonksiyon"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1381",
"Z11K2": "Função"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1003",
"Z11K2": "Función"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1332",
"Z11K2": "Функція"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1696",
"Z11K2": "વિધેય"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1113",
"Z11K2": "Function"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1787",
"Z11K2": "Funzione"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1298",
"Z11K2": "Funzioni"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1051",
"Z11K2": "funktio"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1078",
"Z11K2": "Fungsi"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1645",
"Z11K2": "函数"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1672",
"Z11K2": "函數"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1827",
"Z11K2": "συνάρτηση"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1099",
"Z11K2": "Funktioun"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1014",
"Z11K2": "Ọrụ"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1709",
"Z11K2": "Funkcija"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1037",
"Z11K2": "Função"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1664",
"Z11K2": "Funcție"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1001",
"Z11K2": "دالة"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1643",
"Z11K2": "함수"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1394",
"Z11K2": "Funkcija"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1181",
"Z11K2": "Функција"
}
]
},
"Z2K4": {
"Z1K1": "Z32",
"Z32K1": [
"Z31",
{
"Z1K1": "Z31",
"Z31K1": "Z1011",
"Z31K2": [
"Z6",
"অপেক্ষক",
"গননাযান্ত্রিক কার্য"
]
}
]
},
"Z2K5": {
"Z1K1": "Z12",
"Z12K1": [
"Z11",
{
"Z1K1": "Z11",
"Z11K1": "Z1002",
"Z11K2": "A concept of a computable resource, which through its Z14/Implementations and Z20/Testers can let you make a calculate or perform some other task."
},
{
"Z1K1": "Z11",
"Z11K1": "Z1011",
"Z11K2": "Z14/বাস্তবায়ন এবং Z20/পরীক্ষার ক্ষেত্র সমূহ দ্বারা কোনো একটি বিশেষ কাজ করানোর গননাযান্ত্রিক পদ্ধতি।"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1025",
"Z11K2": "Obiekt, reprezentujący pewne przekształcenie. Po połączeniu z implementacją (Z14) może być wywołany."
},
{
"Z1K1": "Z11",
"Z11K1": "Z1062",
"Z11K2": "Koncept, prostřednictvím jehož Z14/Implementací a Z20/Testerů můžete provést výpočet či jinou úlohu"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1430",
"Z11K2": "Konzept einer berechenbaren Ressource zur Berechnung oder Durchführung einer Aufgabe"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1048",
"Z11K2": "Khái niệm chỉ tài nguyên tính toán được và có thể thực hiện một tác vụ nào đó"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1381",
"Z11K2": "Um conceito de recurso computável que, através de suas Z14/Implementações e Z20/Testadores, pode permitir que você faça um cálculo ou execute alguma outra tarefa."
},
{
"Z1K1": "Z11",
"Z11K1": "Z1113",
"Z11K2": "A concept of a computable resource, which through its Z14/Implementations and Z20/Testers can let yo"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1851",
"Z11K2": "ทรัพยากรที่ใช้คำนวณได้ สามารถใช้คำนวณและปฏิบัติภารกิจผ่าน Z14/การนำไปปฏิบัติ และ Z20/ชุดทดสอบ"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1078",
"Z11K2": "Suatu konsep sumber daya yang bisa dikomputasi, bisa dipakai untuk menghitung atau melakukan tugas lain melalui Z14/Implementasi dan Z20/Pengujinya"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1157",
"Z11K2": "concept van berekenbare bron, om via Z14/implementaties en Z20/tests een taak uit te voeren"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1186",
"Z11K2": "מושג של משאב בר־חישוב שבאמצעות Z14/מימוש ו־Z20/בודקים יכול לאפשר לך לחשב משהו או לבצע משימה אחרת."
},
{
"Z1K1": "Z11",
"Z11K1": "Z1332",
"Z11K2": "Концепція обчислюваного ресурсу, який через свої Z14/Реалізації і Z20/Тести може дозволити вам виконувати обчислення або інші завдання."
},
{
"Z1K1": "Z11",
"Z11K1": "Z1014",
"Z11K2": "Echiche nke akụrụngwa nwere ike ịgbakọ, nke site na Z14 / Mmejuputa ya na Z20/Testers nwere ike ime ka ị gbakọọ ma ọ bụ rụọ ọrụ ọzọ."
},
{
"Z1K1": "Z11",
"Z11K1": "Z1004",
"Z11K2": "un concept de ressource calculable qui, grâce à ses Z14/implémentations et Z20/cas de test, peut permettre d'effectuer un calcul ou d'effectuer une autre tâche."
},
{
"Z1K1": "Z11",
"Z11K1": "Z1664",
"Z11K2": "Un concept de resursă calculabilă care, prin intermediul aplicațiilor sale Z14/Implementări și Z20/Cazuri de test, vă poate permite să efectuați un calcul sau să îndepliniți o altă sarcină."
},
{
"Z1K1": "Z11",
"Z11K1": "Z1001",
"Z11K2": "مفهوم لمورد قابل للحساب، يمكنك من خلال Z14/تنفيذاته و Z20/حالات اختباره أن تجري حسابًا أو أن تقوم بمهمة أخرى ما."
}
]
}
}
0z2zk4w5tgdto32zt955a8ybflradia
200100
200098
2025-07-03T09:57:41Z
Winston Sung
2672
200100
zobject
text/plain
{
"Z1K1": "Z2",
"Z2K1": {
"Z1K1": "Z6",
"Z6K1": "Z8"
},
"Z2K2": {
"Z1K1": "Z4",
"Z4K1": "Z8",
"Z4K2": [
"Z3",
{
"Z1K1": "Z3",
"Z3K1": {
"Z1K1": "Z7",
"Z7K1": "Z881",
"Z881K1": "Z17"
},
"Z3K2": "Z8K1",
"Z3K3": {
"Z1K1": "Z12",
"Z12K1": [
"Z11",
{
"Z1K1": "Z11",
"Z11K1": "Z1002",
"Z11K2": "arguments"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1025",
"Z11K2": "argumenty"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1011",
"Z11K2": "আর্গুমেন্টসমূহ"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1083",
"Z11K2": "منگݨے"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1657",
"Z11K2": "ਮੰਗਣੇ"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1645",
"Z11K2": "参数"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1592",
"Z11K2": "argument"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1186",
"Z11K2": "ארגומנטים"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1430",
"Z11K2": "Argumente"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1113",
"Z11K2": "arguments"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1078",
"Z11K2": "daftar argumen"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1157",
"Z11K2": "argumenten"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1672",
"Z11K2": "引數"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1004",
"Z11K2": "arguments"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1787",
"Z11K2": "argomenti"
}
]
},
"Z3K4": {
"Z1K1": "Z40",
"Z40K1": "Z42"
}
},
{
"Z1K1": "Z3",
"Z3K1": "Z4",
"Z3K2": "Z8K2",
"Z3K3": {
"Z1K1": "Z12",
"Z12K1": [
"Z11",
{
"Z1K1": "Z11",
"Z11K1": "Z1002",
"Z11K2": "return type"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1025",
"Z11K2": "typ wyjścia"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1011",
"Z11K2": "ফলাফলের ধরন"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1083",
"Z11K2": "قسم پیندی"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1657",
"Z11K2": "ਕਿਸਮ ਪੈਂਦੀ"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1645",
"Z11K2": "返回类型"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1592",
"Z11K2": "svarstyp"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1186",
"Z11K2": "סוג מוחזר"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1430",
"Z11K2": "Rückgabetyp"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1113",
"Z11K2": "return type"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1078",
"Z11K2": "tipe keluaran"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1157",
"Z11K2": "retourneertype"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1672",
"Z11K2": "回傳類型"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1004",
"Z11K2": "renvoie le type"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1787",
"Z11K2": "tipo di ritorno"
}
]
},
"Z3K4": {
"Z1K1": "Z40",
"Z40K1": "Z42"
}
},
{
"Z1K1": "Z3",
"Z3K1": {
"Z1K1": "Z7",
"Z7K1": "Z881",
"Z881K1": "Z20"
},
"Z3K2": "Z8K3",
"Z3K3": {
"Z1K1": "Z12",
"Z12K1": [
"Z11",
{
"Z1K1": "Z11",
"Z11K1": "Z1002",
"Z11K2": "testers"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1025",
"Z11K2": "przypadki testowe"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1011",
"Z11K2": "পরীক্ষার ক্ষেত্রসমূহ"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1083",
"Z11K2": "جاچݨ والے"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1657",
"Z11K2": "ਜਾਚਣ ਵਾਲੇ"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1645",
"Z11K2": "测试用例"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1592",
"Z11K2": "tester"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1186",
"Z11K2": "בודקים"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1430",
"Z11K2": "Tester"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1113",
"Z11K2": "testers"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1078",
"Z11K2": "penguji"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1157",
"Z11K2": "tests"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1004",
"Z11K2": "tests"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1787",
"Z11K2": "test"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1672",
"Z11K2": "測試案例"
}
]
},
"Z3K4": {
"Z1K1": "Z40",
"Z40K1": "Z42"
}
},
{
"Z1K1": "Z3",
"Z3K1": {
"Z1K1": "Z7",
"Z7K1": "Z881",
"Z881K1": "Z14"
},
"Z3K2": "Z8K4",
"Z3K3": {
"Z1K1": "Z12",
"Z12K1": [
"Z11",
{
"Z1K1": "Z11",
"Z11K1": "Z1002",
"Z11K2": "implementations"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1025",
"Z11K2": "implementacje"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1011",
"Z11K2": "বাস্তবায়নসমূহ"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1083",
"Z11K2": "چلائیاں"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1657",
"Z11K2": "ਚਲਾਈਆਂ"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1645",
"Z11K2": "实现"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1592",
"Z11K2": "implementeringar"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1186",
"Z11K2": "מימושים"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1430",
"Z11K2": "Implementierungen"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1113",
"Z11K2": "implementations"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1078",
"Z11K2": "implementasi"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1157",
"Z11K2": "implementaties"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1672",
"Z11K2": "實作"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1004",
"Z11K2": "implémentations"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1787",
"Z11K2": "implementazioni"
}
]
},
"Z3K4": {
"Z1K1": "Z40",
"Z40K1": "Z42"
}
},
{
"Z1K1": "Z3",
"Z3K1": "Z8",
"Z3K2": "Z8K5",
"Z3K3": {
"Z1K1": "Z12",
"Z12K1": [
"Z11",
{
"Z1K1": "Z11",
"Z11K1": "Z1002",
"Z11K2": "identity"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1025",
"Z11K2": "tożsamość"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1011",
"Z11K2": "পরিচয়"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1083",
"Z11K2": "شناخت"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1657",
"Z11K2": "ਸ਼ਿਨਾਖ਼ਤ"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1645",
"Z11K2": "识别对象"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1592",
"Z11K2": "identitet"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1186",
"Z11K2": "זהות"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1430",
"Z11K2": "Identität"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1113",
"Z11K2": "identity"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1078",
"Z11K2": "pengenal"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1157",
"Z11K2": "identiteit"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1004",
"Z11K2": "identité"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1787",
"Z11K2": "identità"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1672",
"Z11K2": "識別物件"
}
]
},
"Z3K4": "Z41"
}
],
"Z4K3": "Z108",
"Z4K7": [
"Z46"
],
"Z4K8": [
"Z64"
]
},
"Z2K3": {
"Z1K1": "Z12",
"Z12K1": [
"Z11",
{
"Z1K1": "Z11",
"Z11K1": "Z1002",
"Z11K2": "Function"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1011",
"Z11K2": "ফাংশন"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1272",
"Z11K2": "funkcija"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1657",
"Z11K2": "ਕਰਨੀ"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1083",
"Z11K2": "کرنی"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1025",
"Z11K2": "Funkcja"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1592",
"Z11K2": "Funktion"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1005",
"Z11K2": "Функция"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1062",
"Z11K2": "Funkce"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1430",
"Z11K2": "Funktion"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1830",
"Z11K2": "関数"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1186",
"Z11K2": "פונקציה"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1048",
"Z11K2": "Hàm"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1157",
"Z11K2": "functie"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1227",
"Z11K2": "Funksjon"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1004",
"Z11K2": "fonction"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1851",
"Z11K2": "ฟังก์ชัน"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1237",
"Z11K2": "Fonksiyon"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1381",
"Z11K2": "Função"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1003",
"Z11K2": "Función"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1332",
"Z11K2": "Функція"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1696",
"Z11K2": "વિધેય"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1113",
"Z11K2": "Function"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1787",
"Z11K2": "Funzione"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1298",
"Z11K2": "Funzioni"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1051",
"Z11K2": "funktio"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1078",
"Z11K2": "Fungsi"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1645",
"Z11K2": "函数"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1827",
"Z11K2": "συνάρτηση"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1099",
"Z11K2": "Funktioun"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1014",
"Z11K2": "Ọrụ"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1709",
"Z11K2": "Funkcija"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1037",
"Z11K2": "Função"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1664",
"Z11K2": "Funcție"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1001",
"Z11K2": "دالة"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1643",
"Z11K2": "함수"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1394",
"Z11K2": "Funkcija"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1181",
"Z11K2": "Функција"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1672",
"Z11K2": "函式"
}
]
},
"Z2K4": {
"Z1K1": "Z32",
"Z32K1": [
"Z31",
{
"Z1K1": "Z31",
"Z31K1": "Z1011",
"Z31K2": [
"Z6",
"অপেক্ষক",
"গননাযান্ত্রিক কার্য"
]
},
{
"Z1K1": "Z31",
"Z31K1": "Z1672",
"Z31K2": [
"Z6",
"函數"
]
}
]
},
"Z2K5": {
"Z1K1": "Z12",
"Z12K1": [
"Z11",
{
"Z1K1": "Z11",
"Z11K1": "Z1002",
"Z11K2": "A concept of a computable resource, which through its Z14/Implementations and Z20/Testers can let you make a calculate or perform some other task."
},
{
"Z1K1": "Z11",
"Z11K1": "Z1011",
"Z11K2": "Z14/বাস্তবায়ন এবং Z20/পরীক্ষার ক্ষেত্র সমূহ দ্বারা কোনো একটি বিশেষ কাজ করানোর গননাযান্ত্রিক পদ্ধতি।"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1025",
"Z11K2": "Obiekt, reprezentujący pewne przekształcenie. Po połączeniu z implementacją (Z14) może być wywołany."
},
{
"Z1K1": "Z11",
"Z11K1": "Z1062",
"Z11K2": "Koncept, prostřednictvím jehož Z14/Implementací a Z20/Testerů můžete provést výpočet či jinou úlohu"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1430",
"Z11K2": "Konzept einer berechenbaren Ressource zur Berechnung oder Durchführung einer Aufgabe"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1048",
"Z11K2": "Khái niệm chỉ tài nguyên tính toán được và có thể thực hiện một tác vụ nào đó"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1381",
"Z11K2": "Um conceito de recurso computável que, através de suas Z14/Implementações e Z20/Testadores, pode permitir que você faça um cálculo ou execute alguma outra tarefa."
},
{
"Z1K1": "Z11",
"Z11K1": "Z1113",
"Z11K2": "A concept of a computable resource, which through its Z14/Implementations and Z20/Testers can let yo"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1851",
"Z11K2": "ทรัพยากรที่ใช้คำนวณได้ สามารถใช้คำนวณและปฏิบัติภารกิจผ่าน Z14/การนำไปปฏิบัติ และ Z20/ชุดทดสอบ"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1078",
"Z11K2": "Suatu konsep sumber daya yang bisa dikomputasi, bisa dipakai untuk menghitung atau melakukan tugas lain melalui Z14/Implementasi dan Z20/Pengujinya"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1157",
"Z11K2": "concept van berekenbare bron, om via Z14/implementaties en Z20/tests een taak uit te voeren"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1186",
"Z11K2": "מושג של משאב בר־חישוב שבאמצעות Z14/מימוש ו־Z20/בודקים יכול לאפשר לך לחשב משהו או לבצע משימה אחרת."
},
{
"Z1K1": "Z11",
"Z11K1": "Z1332",
"Z11K2": "Концепція обчислюваного ресурсу, який через свої Z14/Реалізації і Z20/Тести може дозволити вам виконувати обчислення або інші завдання."
},
{
"Z1K1": "Z11",
"Z11K1": "Z1014",
"Z11K2": "Echiche nke akụrụngwa nwere ike ịgbakọ, nke site na Z14 / Mmejuputa ya na Z20/Testers nwere ike ime ka ị gbakọọ ma ọ bụ rụọ ọrụ ọzọ."
},
{
"Z1K1": "Z11",
"Z11K1": "Z1004",
"Z11K2": "un concept de ressource calculable qui, grâce à ses Z14/implémentations et Z20/cas de test, peut permettre d'effectuer un calcul ou d'effectuer une autre tâche."
},
{
"Z1K1": "Z11",
"Z11K1": "Z1664",
"Z11K2": "Un concept de resursă calculabilă care, prin intermediul aplicațiilor sale Z14/Implementări și Z20/Cazuri de test, vă poate permite să efectuați un calcul sau să îndepliniți o altă sarcină."
},
{
"Z1K1": "Z11",
"Z11K1": "Z1001",
"Z11K2": "مفهوم لمورد قابل للحساب، يمكنك من خلال Z14/تنفيذاته و Z20/حالات اختباره أن تجري حسابًا أو أن تقوم بمهمة أخرى ما."
}
]
}
}
phlc4te2g78h1catdn8lr6qa0rzb5oy
Z14
0
18
200094
171213
2025-07-03T09:46:26Z
Winston Sung
2672
200094
zobject
text/plain
{
"Z1K1": "Z2",
"Z2K1": {
"Z1K1": "Z6",
"Z6K1": "Z14"
},
"Z2K2": {
"Z1K1": "Z4",
"Z4K1": "Z14",
"Z4K2": [
"Z3",
{
"Z1K1": "Z3",
"Z3K1": "Z8",
"Z3K2": "Z14K1",
"Z3K3": {
"Z1K1": "Z12",
"Z12K1": [
"Z11",
{
"Z1K1": "Z11",
"Z11K1": "Z1002",
"Z11K2": "function"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1025",
"Z11K2": "funkcja"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1011",
"Z11K2": "ফাংশন"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1083",
"Z11K2": "کرنی"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1657",
"Z11K2": "ਕਰਨੀ"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1645",
"Z11K2": "函数"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1062",
"Z11K2": "funkce"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1592",
"Z11K2": "funktion"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1186",
"Z11K2": "פונקציה"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1430",
"Z11K2": "Funktion"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1113",
"Z11K2": "function (Z14K1)"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1625",
"Z11K2": "lefa"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1157",
"Z11K2": "functie"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1078",
"Z11K2": "fungsi"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1672",
"Z11K2": "函式"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1004",
"Z11K2": "fonction"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1005",
"Z11K2": "функция"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1664",
"Z11K2": "funcție"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1001",
"Z11K2": "دالة"
}
]
}
},
{
"Z1K1": "Z3",
"Z3K1": "Z1",
"Z3K2": "Z14K2",
"Z3K3": {
"Z1K1": "Z12",
"Z12K1": [
"Z11",
{
"Z1K1": "Z11",
"Z11K1": "Z1002",
"Z11K2": "composition"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1025",
"Z11K2": "złożenie funkcji"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1011",
"Z11K2": "ফাংশন প্রণয়ন"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1083",
"Z11K2": "مسودہ"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1657",
"Z11K2": "ਮਸੌਦਾ"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1645",
"Z11K2": "组合"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1062",
"Z11K2": "složení funkcí"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1592",
"Z11K2": "sammansättning"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1186",
"Z11K2": "הרכבה"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1430",
"Z11K2": "Komposition"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1113",
"Z11K2": "composition"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1625",
"Z11K2": "fanambarana"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1157",
"Z11K2": "compositie"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1078",
"Z11K2": "komposisi"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1004",
"Z11K2": "composition"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1005",
"Z11K2": "композиция"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1664",
"Z11K2": "compoziție"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1001",
"Z11K2": "تركيب"
}
]
}
},
{
"Z1K1": "Z3",
"Z3K1": "Z16",
"Z3K2": "Z14K3",
"Z3K3": {
"Z1K1": "Z12",
"Z12K1": [
"Z11",
{
"Z1K1": "Z11",
"Z11K1": "Z1002",
"Z11K2": "code"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1025",
"Z11K2": "kod źródłowy"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1011",
"Z11K2": "কোড"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1083",
"Z11K2": "کوڈ"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1657",
"Z11K2": "ਕੋਡ"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1645",
"Z11K2": "代码"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1062",
"Z11K2": "zdrojový kód"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1592",
"Z11K2": "kod"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1186",
"Z11K2": "קוד"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1430",
"Z11K2": "Code"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1113",
"Z11K2": "code"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1625",
"Z11K2": "kaody"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1157",
"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": "cod"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1001",
"Z11K2": "نص برمجي"
}
]
}
},
{
"Z1K1": "Z3",
"Z3K1": "Z8",
"Z3K2": "Z14K4",
"Z3K3": {
"Z1K1": "Z12",
"Z12K1": [
"Z11",
{
"Z1K1": "Z11",
"Z11K1": "Z1002",
"Z11K2": "built-in"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1025",
"Z11K2": "wbudowana"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1011",
"Z11K2": "অভ্যন্তরীণ ফাংশন"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1083",
"Z11K2": "بنیادی"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1657",
"Z11K2": "ਬੁਨਿਆਦੀ"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1645",
"Z11K2": "内置"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1062",
"Z11K2": "vestavěná"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1592",
"Z11K2": "inbyggd"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1186",
"Z11K2": "מובנה"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1430",
"Z11K2": "integriert"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1113",
"Z11K2": "built-in"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1625",
"Z11K2": "ampahany mitambatra"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1157",
"Z11K2": "ingebouwd"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1078",
"Z11K2": "terbina"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1672",
"Z11K2": "內建"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1004",
"Z11K2": " intégré"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1005",
"Z11K2": "встроенная"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1664",
"Z11K2": "integrată"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1001",
"Z11K2": "مدمج"
}
]
}
}
],
"Z4K3": "Z114"
},
"Z2K3": {
"Z1K1": "Z12",
"Z12K1": [
"Z11",
{
"Z1K1": "Z11",
"Z11K1": "Z1002",
"Z11K2": "Implementation"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1025",
"Z11K2": "Implementacja"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1592",
"Z11K2": "Implementering"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1011",
"Z11K2": "বাস্তবায়ন"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1430",
"Z11K2": "Implementierung"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1083",
"Z11K2": "چلائی"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1657",
"Z11K2": "ਚਲਾਈ"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1576",
"Z11K2": "efektivigo"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1062",
"Z11K2": "Implementace"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1830",
"Z11K2": "実装"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1709",
"Z11K2": "Implementācija"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1186",
"Z11K2": "מימוש"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1048",
"Z11K2": "Thực hiện"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1157",
"Z11K2": "implementatie"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1227",
"Z11K2": "Implementering"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1004",
"Z11K2": "implémentation"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1332",
"Z11K2": "Реалізація"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1113",
"Z11K2": "Implementation"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1625",
"Z11K2": "Antsipiriham-pamaritana"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1381",
"Z11K2": "Implementação"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1051",
"Z11K2": "toteutus"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1851",
"Z11K2": "การนำไปปฏิบัติ"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1787",
"Z11K2": "Implementazione"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1078",
"Z11K2": "Implementasi"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1645",
"Z11K2": "实现"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1672",
"Z11K2": "實作"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1827",
"Z11K2": "υλοποίηση"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1003",
"Z11K2": "Implementación"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1099",
"Z11K2": "Implementéierung"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1014",
"Z11K2": "Mmejụpụta"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1037",
"Z11K2": "Implementação"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1005",
"Z11K2": "Реализация"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1664",
"Z11K2": "Implementare"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1001",
"Z11K2": "تنفيذ"
}
]
},
"Z2K4": {
"Z1K1": "Z32",
"Z32K1": [
"Z31",
{
"Z1K1": "Z31",
"Z31K1": "Z1851",
"Z31K2": [
"Z6",
"การทำให้เกิดผล"
]
},
{
"Z1K1": "Z31",
"Z31K1": "Z1078",
"Z31K2": [
"Z6",
"Penerapan"
]
},
{
"Z1K1": "Z31",
"Z31K1": "Z1672",
"Z31K2": [
"Z6",
"實現"
]
},
{
"Z1K1": "Z31",
"Z31K1": "Z1664",
"Z31K2": [
"Z6",
"Implementări"
]
}
]
},
"Z2K5": {
"Z1K1": "Z12",
"Z12K1": [
"Z11",
{
"Z1K1": "Z11",
"Z11K1": "Z1002",
"Z11K2": "An implementation of a Z8/Function which can be checked as working through its Z20/Test cases and if working can be used in a Z7/Function call."
},
{
"Z1K1": "Z11",
"Z11K1": "Z1025",
"Z11K2": "Implementacja funkcji (Z8), która może być przetestowana (Z20) i wywołana (Z7), jeśli jest poprawna."
},
{
"Z1K1": "Z11",
"Z11K1": "Z1011",
"Z11K2": "Z8/ফাংশনের পরিণতকারী; (Z7/ফাংশন কল দিয়ে ব্যবহার)|(শুদ্ধতা Z20/পরীক্ষা ক্ষেত্র দিয়ে নিশ্চিত) করা যায়"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1576",
"Z11K2": "efektivigo de Z8/funkcio kiu povas esti testita tra siaj Z20/provkazoj kaj uzita en Z7/funkciovoko"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1062",
"Z11K2": "Konkrétní implementace dané Z8/Funkce"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1430",
"Z11K2": "Implementierung einer Funktion, die in einem Funktionsaufruf genutzt werden kann"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1048",
"Z11K2": "Sự hiện thực hoá một hàm (Z8) được kiểm thử bằng cách gọi (Z7) trong các kịch bản kiểm thử (Z20)"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1004",
"Z11K2": "L'implémentation d'une Z8/fonction validée par un Z20/cas de test utilisé dans un Z7/appel de fonction."
},
{
"Z1K1": "Z11",
"Z11K1": "Z1113",
"Z11K2": "An implementation of a Z8/Function which can be checked as working through its Z20/Test cases and if"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1381",
"Z11K2": "Uma implementação de uma Z8/Função que pode ser verificada como funcional através de seus Z20/Casos de teste e, se estiver funcionando, pode ser usada em uma Z7/Chamada de função."
},
{
"Z1K1": "Z11",
"Z11K1": "Z1851",
"Z11K2": "การนำ Z8/ฟังก์ชัน ไปปฏิบัติ ตรวจว่าใช้ได้ด้วย Z20/ชุดทดสอบ และใช้ Z7/เรียกฟังก์ชัน หากใช้ได้"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1078",
"Z11K2": "Implementasi dari suatu Fungsi yang bisa diperiksa melalui Kasus ujinya dan jika bekerja ia bisa digunakan dalam suatu Panggilan fungsi"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1157",
"Z11K2": "implementatie van Z8/functie die kan worden getest via Z20/tests en gebruikt in Z7/functie-aanroep"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1003",
"Z11K2": "Una implementación de una Z8/Función que puede ser verificada como funcionando a través de sus Z20/Casos de prueba y, si funciona, puede ser usada en una Z7/Llamada de función."
},
{
"Z1K1": "Z11",
"Z11K1": "Z1014",
"Z11K2": "Mmejuputa atumatu Z8/Ọrụ nke enwere ike ịlele ka ọ na-arụ ọrụ site na Z20/Nnwale ya ma ọ bụrụ na ọna arụ ọrụ enwere ike iji ọrụ na oku Z7/."
},
{
"Z1K1": "Z11",
"Z11K1": "Z1664",
"Z11K2": "O implementare a unei Z8/Funcții care poate fi verificată ca funcționând prin intermediul Z20/Cazurilor sale de test și, dacă funcționează, poate fi utilizată într-un Z7/Apel de funcție."
},
{
"Z1K1": "Z11",
"Z11K1": "Z1001",
"Z11K2": "تنفيذ Z8/للدالة يمكن فحص عمله من خلال حالات Z20/اختباره، ويتحدد بذلك إن كان ممكنًا للاستخدام في استدعاء Z7/الدالة."
}
]
}
}
njurao6229t4pzaev6otx568odr70qj
Z20
0
21
200096
197977
2025-07-03T09:49:04Z
Winston Sung
2672
200096
zobject
text/plain
{
"Z1K1": "Z2",
"Z2K1": {
"Z1K1": "Z6",
"Z6K1": "Z20"
},
"Z2K2": {
"Z1K1": "Z4",
"Z4K1": "Z20",
"Z4K2": [
"Z3",
{
"Z1K1": "Z3",
"Z3K1": "Z8",
"Z3K2": "Z20K1",
"Z3K3": {
"Z1K1": "Z12",
"Z12K1": [
"Z11",
{
"Z1K1": "Z11",
"Z11K1": "Z1002",
"Z11K2": "function"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1011",
"Z11K2": "ফাংশন"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1657",
"Z11K2": "ਕਰਨੀ"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1083",
"Z11K2": "کرنی"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1025",
"Z11K2": "funkcja"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1645",
"Z11K2": "函数"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1062",
"Z11K2": "funkce"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1592",
"Z11K2": "funktion"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1186",
"Z11K2": "פונקציה"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1430",
"Z11K2": "Funktion"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1113",
"Z11K2": "function"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1625",
"Z11K2": "lefa"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1332",
"Z11K2": "функція"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1078",
"Z11K2": "fungsi"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1157",
"Z11K2": "functie"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1672",
"Z11K2": "函式"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1004",
"Z11K2": "fonction"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1005",
"Z11K2": "функция"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1664",
"Z11K2": "funcție"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1001",
"Z11K2": "دالة"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1181",
"Z11K2": "функција"
}
]
}
},
{
"Z1K1": "Z3",
"Z3K1": "Z7",
"Z3K2": "Z20K2",
"Z3K3": {
"Z1K1": "Z12",
"Z12K1": [
"Z11",
{
"Z1K1": "Z11",
"Z11K1": "Z1002",
"Z11K2": "call"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1011",
"Z11K2": "কল"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1657",
"Z11K2": "ਲਾਉਣੀ"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1083",
"Z11K2": "لاوݨی"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1025",
"Z11K2": "wywołanie"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1645",
"Z11K2": "调用"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1062",
"Z11K2": "volání"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1592",
"Z11K2": "anrop"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1186",
"Z11K2": "קריאה לפונקציה"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1430",
"Z11K2": "Aufruf"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1113",
"Z11K2": "call"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1625",
"Z11K2": "antso"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1078",
"Z11K2": "panggilan"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1157",
"Z11K2": "aanroep"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1672",
"Z11K2": "呼叫"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1004",
"Z11K2": "appel"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1005",
"Z11K2": "вызов"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1664",
"Z11K2": "apel"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1001",
"Z11K2": "استدعاء"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1181",
"Z11K2": "позив"
}
]
}
},
{
"Z1K1": "Z3",
"Z3K1": "Z7",
"Z3K2": "Z20K3",
"Z3K3": {
"Z1K1": "Z12",
"Z12K1": [
"Z11",
{
"Z1K1": "Z11",
"Z11K1": "Z1002",
"Z11K2": "result validation"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1011",
"Z11K2": "ফলাফল বৈধকরণ"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1657",
"Z11K2": "ਨਤੀਜਾ ਠੀਕ ਲੱਗਦਾ"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1083",
"Z11K2": "نتیجہ ٹھیک لگدا"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1025",
"Z11K2": "weryfikacja wyniku"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1645",
"Z11K2": "结果验证"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1062",
"Z11K2": "ověření výsledku"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1592",
"Z11K2": "svarsvalidering"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1186",
"Z11K2": "בדיקת התקינות של התוצאה"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1430",
"Z11K2": "Ergebnisprüfung"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1113",
"Z11K2": "result validation"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1625",
"Z11K2": "fanekem-baliny"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1078",
"Z11K2": "validasi hasil"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1157",
"Z11K2": "resultaatvalidatie"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1672",
"Z11K2": "結果驗證"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1004",
"Z11K2": "validation du résultat"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1005",
"Z11K2": "валидация результата"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1664",
"Z11K2": "validarea rezultatului"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1001",
"Z11K2": "التحقق من صحة النتيجة"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1181",
"Z11K2": "валидација резултата"
}
]
}
}
],
"Z4K3": "Z120"
},
"Z2K3": {
"Z1K1": "Z12",
"Z12K1": [
"Z11",
{
"Z1K1": "Z11",
"Z11K1": "Z1002",
"Z11K2": "Test case"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1011",
"Z11K2": "পরীক্ষার ক্ষেত্র"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1657",
"Z11K2": "ਜਾਂਚ"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1083",
"Z11K2": "جانچ"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1025",
"Z11K2": "Przypadek testowy"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1592",
"Z11K2": "Testfall"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1430",
"Z11K2": "Testfall"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1576",
"Z11K2": "provkazo"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1062",
"Z11K2": "Testovací případ"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1830",
"Z11K2": "テストケース"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1709",
"Z11K2": "Testpiemērs"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1186",
"Z11K2": "מקרה בדיקה"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1048",
"Z11K2": "Kịch bản kiểm thử"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1851",
"Z11K2": "ชุดทดสอบ"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1004",
"Z11K2": "cas de test"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1157",
"Z11K2": "test"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1332",
"Z11K2": "Тест"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1113",
"Z11K2": "Test case"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1625",
"Z11K2": "Tranga andrana"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1381",
"Z11K2": "Caso de teste"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1051",
"Z11K2": "testitapaus"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1078",
"Z11K2": "Kasus uji"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1645",
"Z11K2": "测试用例"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1672",
"Z11K2": "測試案例"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1827",
"Z11K2": "δοκιμαστική περίπτωση"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1014",
"Z11K2": "Nyocha ikpe"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1787",
"Z11K2": "Caso di test"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1005",
"Z11K2": "Тестовый случай"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1664",
"Z11K2": "Caz de test"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1001",
"Z11K2": "حالة اختبار"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1643",
"Z11K2": "테스트 케이스"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1181",
"Z11K2": "Тест"
}
]
},
"Z2K4": {
"Z1K1": "Z32",
"Z32K1": [
"Z31",
{
"Z1K1": "Z31",
"Z31K1": "Z1592",
"Z31K2": [
"Z6",
"Test"
]
},
{
"Z1K1": "Z31",
"Z31K1": "Z1186",
"Z31K2": [
"Z6",
"מקרה מבחן",
"מקרה בוחן"
]
},
{
"Z1K1": "Z31",
"Z31K1": "Z1048",
"Z31K2": [
"Z6",
"Trường hợp kiểm thử",
"Ca kiểm thử"
]
},
{
"Z1K1": "Z31",
"Z31K1": "Z1851",
"Z31K2": [
"Z6",
"กรณีทดสอบ"
]
},
{
"Z1K1": "Z31",
"Z31K1": "Z1645",
"Z31K2": [
"Z6",
"测试"
]
},
{
"Z1K1": "Z31",
"Z31K1": "Z1002",
"Z31K2": [
"Z6",
"Unit test"
]
},
{
"Z1K1": "Z31",
"Z31K1": "Z1381",
"Z31K2": [
"Z6",
"Teste de unidade"
]
},
{
"Z1K1": "Z31",
"Z31K1": "Z1005",
"Z31K2": [
"Z6",
"Тест-кейс",
"Тест кейс"
]
},
{
"Z1K1": "Z31",
"Z31K1": "Z1664",
"Z31K2": [
"Z6",
"test unitar"
]
}
]
},
"Z2K5": {
"Z1K1": "Z12",
"Z12K1": [
"Z11",
{
"Z1K1": "Z11",
"Z11K1": "Z1002",
"Z11K2": "A special call to a Z8/Function used to check if a Z14/Implementation returns the expected result."
},
{
"Z1K1": "Z11",
"Z11K1": "Z1011",
"Z11K2": "যদি Z14/বাস্তবায়ন ঠিক ফলাফল উৎপাদন করে সেটা দেখার জন্য বিশেষ একটি Z8/ফাংশনের কল"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1025",
"Z11K2": "Szczególne wywołanie funkcji (Z8), wykorzystywane do sprawdzenia poprawności implementacji (Z14)."
},
{
"Z1K1": "Z11",
"Z11K1": "Z1592",
"Z11K2": "anrop till en funktion (Z8) för att se om en implementering (Z14) ger rätt svar"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1576",
"Z11K2": "speciala voko al Z8/funkcio uzata por kontroli ĉu Z14/efektivigo resendas la atendatan rezulton"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1062",
"Z11K2": "Speciální volání Z8/Funkce sloužící k ověření, že nějaká Z14/Implementace vrací očekávaný výsledek"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1430",
"Z11K2": "spezieller Aufruf einer Funktion zur Überprüfung"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1157",
"Z11K2": "aanroep van Z8/functie om te controleren of Z14/implementatie het verwachte resultaat retourneert"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1048",
"Z11K2": "Lời gọi một hàm (Z8) dùng để đối chiếu kết quả của một bản thực hiện (Z14) với kết quả mong đợi"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1004",
"Z11K2": "un appel spécial à une Z8/fonction pour valider qu'une Z14/implémentation renvoie le résultat voulu."
},
{
"Z1K1": "Z11",
"Z11K1": "Z1113",
"Z11K2": "A special call to a Z8/Function used to check if a Z14/Implementation returns the expected result."
},
{
"Z1K1": "Z11",
"Z11K1": "Z1381",
"Z11K2": "Uma chamada especial para uma Z8/Função usada para verificar se uma Z14/Implementação retorna o resultado esperado."
},
{
"Z1K1": "Z11",
"Z11K1": "Z1851",
"Z11K2": "การเรียกใช้ Z8/ฟังก์ชัน แบบพิเศษ เพื่อตรวจว่า Z14/นำไปปฏิบัติ แล้วส่งผลลัพธ์ตามที่คาดหวังหรือไม่"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1078",
"Z11K2": "Panggilan khusus ke suatu Z8/Fungsi yang digunakan untuk memeriksa apakah Z14/Implementasi menghasilkan hasil yang diharapkan"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1186",
"Z11K2": "קריאה מיוחדת ל־Z8/פונקציה שמשמשת לבדיקה אם Z14/מימוש מחזיר את התוצאה הצפויה."
},
{
"Z1K1": "Z11",
"Z11K1": "Z1332",
"Z11K2": "Спеціальний виклик Z8/Функції, який використовується для перевірки, чи Z14/Реалізація повертає очікуваний результат."
},
{
"Z1K1": "Z11",
"Z11K1": "Z1014",
"Z11K2": "Oku pụrụ iche gaa na Z8/Ọrụ a na-eji lelee ma Z14/Mmejuputa weghachiri rezọọtụ a tụrụ anya ya."
},
{
"Z1K1": "Z11",
"Z11K1": "Z1005",
"Z11K2": "Отдельный вызов Z8/Функции, используемый для проверки того, что Z14/Реализация возвращает ожидаемый результат."
},
{
"Z1K1": "Z11",
"Z11K1": "Z1664",
"Z11K2": "Un apel special la o Z8/Funcție utilizat pentru a verifica dacă o Z14/Implementare returnează rezultatul așteptat."
},
{
"Z1K1": "Z11",
"Z11K1": "Z1001",
"Z11K2": "استدعاء خاص لـ Z8/دالة ما يُستعمل للتحقق مما إذا كان Z14/التنفيذ يُرجع النتيجة المتوقّعة."
},
{
"Z1K1": "Z11",
"Z11K1": "Z1181",
"Z11K2": "Посебан позив Z8/Функције којим се проверава да ли Z14/Имплементација даје очекиван резултат."
}
]
}
}
7fvcsy7m4hdiw4f9enn56011u9z6c08
Z1345
0
571
199780
151060
2025-07-03T04:41:00Z
NikolasKHF
7673
199780
zobject
text/plain
{
"Z1K1": "Z2",
"Z2K1": {
"Z1K1": "Z6",
"Z6K1": "Z1345"
},
"Z2K2": {
"Z1K1": "Z60",
"Z60K1": "sas"
},
"Z2K3": {
"Z1K1": "Z12",
"Z12K1": [
"Z11",
{
"Z1K1": "Z11",
"Z11K1": "Z1002",
"Z11K2": "Sasak"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1005",
"Z11K2": "сасакский"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1830",
"Z11K2": "ササク語"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1430",
"Z11K2": "Sasak"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1157",
"Z11K2": "Sasak"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1004",
"Z11K2": "sasak"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1078",
"Z11K2": "Sasak"
}
]
},
"Z2K4": {
"Z1K1": "Z32",
"Z32K1": [
"Z31",
{
"Z1K1": "Z31",
"Z31K1": "Z1004",
"Z31K2": [
"Z6",
"sassak"
]
}
]
},
"Z2K5": {
"Z1K1": "Z12",
"Z12K1": [
"Z11",
{
"Z1K1": "Z11",
"Z11K1": "Z1078",
"Z11K2": "bahasa alami"
}
]
}
}
7yqmx0bssik220l5mw1ayxnvcd3nev9
Wikifunctions:Requests for deletions
4
1696
199776
195714
2025-07-02T15:45:17Z
SRG372
12739
/* nth weekday of month */ new section
199776
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}}}}
== is power of 2 ==
Delete {{z|Z15749}}, superseded by {{z|Z25424}}.
I cannot currently edit connected implementations but the old one was broken but the new one passes all tests. [[User:Laura240406|Laura240406]] ([[User talk:Laura240406|talk]]) 10:20, 18 June 2025 (UTC)
:@[[User:Laura240406|Laura240406]]: The first step would be on [[Talk:Z15735]] to get agreement to disconnect the Implementation. Deleting it would come after that point? [[User:Jdforrester (WMF)|Jdforrester (WMF)]] ([[User talk:Jdforrester (WMF)|talk]]) 21:21, 18 June 2025 (UTC)
::I mean the old implementation fails 3/4 tests and the new one I created is basically the same with one small change so it passes all 4 tests. I would just replace the old one if I had the rights to do so so I thought that this should be uncontroversial. [[User:Laura240406|Laura240406]] ([[User talk:Laura240406|talk]]) 21:27, 18 June 2025 (UTC)
:::I've connected yours (thanks!) and fixed the broken one in a similar but slightly different way. Let's leave it for now. Once we get functioneer flags for you, this will all be easier. --[[User:99of9|99of9]] ([[User talk:99of9|talk]]) 03:06, 19 June 2025 (UTC)
== nth weekday of month ==
Hello, I created {{Z|Z25924}} before realizing that there was a [[Z17549|function]] for the same purpose with a better signature. Could somebody please delete the former function and its tests. Thanks. [[User:SRG372|SRG372]] ([[User talk:SRG372|talk]]) 15:45, 2 July 2025 (UTC)
9ys3pl9t3ce7sugeitim1iv9pn89jbs
200142
199776
2025-07-03T11:37:07Z
Bunnypranav
9976
/* nth weekday of month */ Reply
200142
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}}}}
== is power of 2 ==
Delete {{z|Z15749}}, superseded by {{z|Z25424}}.
I cannot currently edit connected implementations but the old one was broken but the new one passes all tests. [[User:Laura240406|Laura240406]] ([[User talk:Laura240406|talk]]) 10:20, 18 June 2025 (UTC)
:@[[User:Laura240406|Laura240406]]: The first step would be on [[Talk:Z15735]] to get agreement to disconnect the Implementation. Deleting it would come after that point? [[User:Jdforrester (WMF)|Jdforrester (WMF)]] ([[User talk:Jdforrester (WMF)|talk]]) 21:21, 18 June 2025 (UTC)
::I mean the old implementation fails 3/4 tests and the new one I created is basically the same with one small change so it passes all 4 tests. I would just replace the old one if I had the rights to do so so I thought that this should be uncontroversial. [[User:Laura240406|Laura240406]] ([[User talk:Laura240406|talk]]) 21:27, 18 June 2025 (UTC)
:::I've connected yours (thanks!) and fixed the broken one in a similar but slightly different way. Let's leave it for now. Once we get functioneer flags for you, this will all be easier. --[[User:99of9|99of9]] ([[User talk:99of9|talk]]) 03:06, 19 June 2025 (UTC)
== nth weekday of month ==
Hello, I created {{Z|Z25924}} before realizing that there was a [[Z17549|function]] for the same purpose with a better signature. Could somebody please delete the former function and its tests. Thanks. [[User:SRG372|SRG372]] ([[User talk:SRG372|talk]]) 15:45, 2 July 2025 (UTC)
:{{done}} <span style="font-family:monospace;font-weight:bold">[[User:Bunnypranav|<span style="color:#63b3ed">~/Bunny</span><span style="color:#2c5282">pranav</span>]]:<[[User talk:Bunnypranav|<span style="color:#63b3ed">ping</span>]]></span> 11:37, 3 July 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>]]:<[[User talk:Bunnypranav|<span style="color:#63b3ed">ping</span>]]></span> 11:37, 3 July 2025 (UTC)}}
cycc4oqq7gf0tnnpf4m14qpsgjb5mlw
Wikifunctions:Administrators' noticeboard
4
9491
199792
199739
2025-07-03T08:54:48Z
Ameisenigel
44
/* Move and deletion request 2025-06-25 (4) */ done
199792
wikitext
text/x-wiki
{{shortcut|[[WF:AN]]}}
<div style="border:1px solid grey; margin:1em 5em 2em; padding:1.5em 1em;">
<!-- Don't remove this, it adds the new-thread tool to the page.-->__NEWSECTIONLINK__
[[Category:Help]]
<big>Welcome to the '''Administrators' noticeboard for Wikifunctions'''!</big>
This is a noticeboard for '''matters requiring [[Special:MyLanguage/Wikifunctions:Administrators|administrator]] attention'''.
* If you wish for something to be deleted, please use [[Wikifunctions:Requests for deletions]].
* If you want to report a bug in Wikifunctions software, please see [[Wikifunctions:Report a technical problem]].
* Matters not requiring administrator action should be raised at [[Wikifunctions:Project chat|Project chat]].
* To report [[Special:MyLanguage/Wikifunctions:Vandalism|vandalism]] on Wikifunctions: Please use [[Wikifunctions:Report vandalism]]
* Please add <code><nowiki>{{section resolved|1=~~~~}}</nowiki></code> to resolved sections.
</div>
<!-- Add new reports below this line -->
{{Autoarchive resolved section
|age = 1
|archive = ((FULLPAGENAME))/Archive/((year))/((month:##))
|timeout=30
}}
{{Archives|{{Special:PrefixIndex/Wikifunctions:Administrators' noticeboard/Archive/|stripprefix=1}}}}
== Perform test error: 'Znnnnn' isn't a known Object ==
Newly run tests on {{Z|Z20181}} return this error: “Perform test error: 'Z20254' isn't a known Object”. The object is listed in the function’s test cases but no longer exists. It was deleted in November and function tests appear to have passed “6 hours ago” (as at 2025-05-30 10:00 UTC). I think the function just needs its Z8K3 editing but I doubt this is a one-off. Short of going through the deletion logs, I can’t think of a way to pick these cases up before they appear as errors. ''[https://t.me/Wikifunctions/25647 Mentioned on Telegram]'' [[User:GrounderUK|GrounderUK]] ([[User talk:GrounderUK|talk]]) 10:33, 30 May 2025 (UTC)
:{{ping|Jdforrester (WMF)}} Could you take a look at this? --[[User:Ameisenigel|Ameisenigel]] ([[User talk:Ameisenigel|talk]]) 13:52, 27 June 2025 (UTC)
== Move and deletion request 2025-06-25 (4) ==
Move without leaving redirects:
<syntaxhighlight lang="diff">
- /zh
+ /zh-hans
</syntaxhighlight>
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:How_to_create_implementations/Page_display_title/zh|wpNewTitleMain=Translations:Wikifunctions:How_to_create_implementations/Page_display_title/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:How_to_create_implementations/Page_display_title/zh?wpNewTitleMain=Translations:Wikifunctions:How_to_create_implementations/Page_display_title/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:How_to_create_implementations/1/zh|wpNewTitleMain=Translations:Wikifunctions:How_to_create_implementations/1/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:How_to_create_implementations/1/zh?wpNewTitleMain=Translations:Wikifunctions:How_to_create_implementations/1/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:How_to_create_implementations/2/zh|wpNewTitleMain=Translations:Wikifunctions:How_to_create_implementations/2/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:How_to_create_implementations/2/zh?wpNewTitleMain=Translations:Wikifunctions:How_to_create_implementations/2/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:How_to_create_implementations/3/zh|wpNewTitleMain=Translations:Wikifunctions:How_to_create_implementations/3/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:How_to_create_implementations/3/zh?wpNewTitleMain=Translations:Wikifunctions:How_to_create_implementations/3/zh-hans&wpLeaveRedirect=0]
----
Move without leaving redirects:
<syntaxhighlight lang="diff">
- /zh
+ /zh-hant
</syntaxhighlight>
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:How_to_create_implementations/4/zh|wpNewTitleMain=Translations:Wikifunctions:How_to_create_implementations/4/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:How_to_create_implementations/4/zh?wpNewTitleMain=Translations:Wikifunctions:How_to_create_implementations/4/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:How_to_create_implementations/5/zh|wpNewTitleMain=Translations:Wikifunctions:How_to_create_implementations/5/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:How_to_create_implementations/5/zh?wpNewTitleMain=Translations:Wikifunctions:How_to_create_implementations/5/zh-hant&wpLeaveRedirect=0]
----
Delete:
* [{{fullurl:Wikifunctions:How_to_create_implementations/zh|action=delete}} Wikifunctions:How_to_create_implementations/zh?action=delete]
-- [[User:Winston Sung|Winston Sung]] ([[User talk:Winston Sung|talk]]) 06:43, 25 June 2025 (UTC)
:{{done}} --[[User:Ameisenigel|Ameisenigel]] ([[User talk:Ameisenigel|talk]]) 08:54, 3 July 2025 (UTC)
{{section resolved|1=[[User:Ameisenigel|Ameisenigel]] ([[User talk:Ameisenigel|talk]]) 08:54, 3 July 2025 (UTC)}}
== Move and deletion request 2025-06-25 (5) ==
Move without leaving redirects:
<syntaxhighlight lang="diff">
- /zh
+ /zh-hans
</syntaxhighlight>
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/Page_display_title/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/Page_display_title/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/Page_display_title/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/Page_display_title/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/1/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/1/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/1/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/1/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/2/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/2/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/2/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/2/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/3/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/3/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/3/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/3/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/5/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/5/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/5/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/5/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/6/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/6/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/6/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/6/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/7/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/7/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/7/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/7/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/8/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/8/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/8/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/8/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/9/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/9/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/9/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/9/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/10/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/10/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/10/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/10/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/11/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/11/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/11/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/11/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/12/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/12/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/12/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/12/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/13/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/13/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/13/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/13/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/15/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/15/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/15/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/15/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/16/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/16/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/16/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/16/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/17/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/17/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/17/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/17/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/18/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/18/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/18/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/18/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/19/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/19/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/19/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/19/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/20/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/20/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/20/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/20/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/21/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/21/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/21/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/21/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/22/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/22/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/22/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/22/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/23/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/23/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/23/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/23/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/24/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/24/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/24/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/24/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/25/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/25/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/25/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/25/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/26/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/26/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/26/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/26/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/27/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/27/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/27/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/27/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/28/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/28/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/28/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/28/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/29/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/29/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/29/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/29/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/30/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/30/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/30/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/30/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/32/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/32/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/32/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/32/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/33/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/33/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/33/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/33/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/34/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/34/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/34/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/34/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/35/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/35/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/35/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/35/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/36/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/36/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/36/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/36/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/37/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/37/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/37/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/37/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/38/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/38/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/38/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/38/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/39/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/39/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/39/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/39/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/40/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/40/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/40/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/40/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/41/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/41/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/41/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/41/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/42/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/42/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/42/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/42/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/43/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/43/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/43/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/43/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/44/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/44/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/44/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/44/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/45/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/45/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/45/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/45/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/46/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/46/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/46/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/46/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/47/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/47/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/47/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/47/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/48/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/48/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/48/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/48/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/49/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/49/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/49/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/49/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/50/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/50/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/50/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/50/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/51/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/51/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/51/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/51/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/52/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/52/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/52/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/52/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/53/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/53/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/53/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/53/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/55/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/55/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/55/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/55/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/56/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/56/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/56/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/56/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/57/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/57/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/57/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/57/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/58/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/58/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/58/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/58/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/59/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/59/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/59/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/59/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/60/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/60/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/60/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/60/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/61/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/61/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/61/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/61/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/62/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/62/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/62/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/62/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/63/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/63/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/63/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/63/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/64/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/64/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/64/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/64/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/65/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/65/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/65/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/65/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/66/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/66/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/66/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/66/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/67/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/67/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/67/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/67/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/68/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/68/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/68/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/68/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/69/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/69/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/69/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/69/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/70/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/70/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/70/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/70/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/72/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/72/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/72/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/72/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/73/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/73/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/73/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/73/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/74/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/74/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/74/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/74/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/75/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/75/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/75/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/75/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/76/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/76/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/76/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/76/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/77/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/77/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/77/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/77/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/78/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/78/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/78/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/78/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/79/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/79/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/79/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/79/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/80/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/80/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/80/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/80/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/81/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/81/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/81/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/81/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/82/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/82/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/82/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/82/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/83/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/83/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/83/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/83/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/84/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/84/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/84/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/84/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/85/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/85/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/85/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/85/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/86/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/86/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/86/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/86/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/87/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/87/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/87/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/87/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/89/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/89/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/89/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/89/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/90/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/90/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/90/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/90/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/91/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/91/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/91/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/91/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/92/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/92/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/92/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/92/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/93/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/93/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/93/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/93/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/94/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/94/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/94/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/94/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/95/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/95/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/95/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/95/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/96/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/96/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/96/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/96/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/97/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/97/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/97/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/97/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/98/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/98/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/98/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/98/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/99/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/99/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/99/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/99/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/100/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/100/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/100/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/100/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/101/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/101/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/101/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/101/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/102/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/102/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/102/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/102/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/103/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/103/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/103/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/103/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/104/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/104/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/104/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/104/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/105/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/105/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/105/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/105/zh-hans&wpLeaveRedirect=0]
----
Delete:
* [{{fullurl:Wikifunctions:Introduction/zh|action=delete}} Wikifunctions:Introduction/zh?action=delete]
-- [[User:Winston Sung|Winston Sung]] ([[User talk:Winston Sung|talk]]) 06:50, 25 June 2025 (UTC)
== Move and deletion request 2025-06-25 (6) ==
Finally, should be the last one.
----
Move without leaving redirects:
<syntaxhighlight lang="diff">
- /zh
+ /zh-hant
</syntaxhighlight>
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/Page_display_title/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/Page_display_title/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/Page_display_title/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/Page_display_title/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/7/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/7/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/7/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/7/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/8/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/8/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/8/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/8/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/9/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/9/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/9/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/9/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/10/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/10/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/10/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/10/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/11/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/11/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/11/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/11/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/12/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/12/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/12/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/12/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/13/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/13/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/13/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/13/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/14/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/14/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/14/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/14/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/15/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/15/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/15/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/15/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/16/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/16/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/16/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/16/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/17/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/17/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/17/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/17/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/18/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/18/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/18/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/18/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/19/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/19/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/19/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/19/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/20/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/20/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/20/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/20/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/21/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/21/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/21/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/21/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/22/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/22/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/22/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/22/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/23/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/23/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/23/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/23/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/24/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/24/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/24/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/24/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/25/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/25/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/25/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/25/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/26/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/26/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/26/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/26/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/27/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/27/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/27/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/27/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/28/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/28/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/28/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/28/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/29/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/29/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/29/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/29/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/30/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/30/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/30/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/30/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/31/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/31/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/31/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/31/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/32/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/32/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/32/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/32/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/33/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/33/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/33/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/33/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/34/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/34/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/34/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/34/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/35/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/35/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/35/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/35/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/36/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/36/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/36/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/36/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/37/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/37/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/37/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/37/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/38/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/38/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/38/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/38/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/39/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/39/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/39/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/39/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/40/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/40/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/40/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/40/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/41/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/41/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/41/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/41/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/42/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/42/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/42/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/42/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/43/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/43/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/43/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/43/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/44/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/44/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/44/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/44/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/45/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/45/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/45/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/45/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/46/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/46/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/46/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/46/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/47/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/47/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/47/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/47/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/48/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/48/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/48/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/48/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/49/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/49/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/49/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/49/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/50/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/50/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/50/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/50/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/51/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/51/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/51/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/51/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/52/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/52/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/52/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/52/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/53/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/53/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/53/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/53/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/54/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/54/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/54/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/54/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/55/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/55/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/55/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/55/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/56/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/56/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/56/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/56/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/57/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/57/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/57/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/57/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/58/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/58/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/58/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/58/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/59/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/59/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/59/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/59/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/60/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/60/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/60/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/60/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/61/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/61/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/61/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/61/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/62/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/62/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/62/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/62/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/63/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/63/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/63/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/63/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/64/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/64/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/64/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/64/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/65/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/65/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/65/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/65/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/66/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/66/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/66/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/66/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/67/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/67/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/67/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/67/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/68/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/68/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/68/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/68/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/69/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/69/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/69/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/69/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/70/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/70/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/70/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/70/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/71/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/71/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/71/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/71/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/72/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/72/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/72/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/72/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/73/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/73/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/73/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/73/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/74/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/74/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/74/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/74/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/75/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/75/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/75/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/75/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/76/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/76/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/76/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/76/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/77/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/77/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/77/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/77/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/78/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/78/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/78/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/78/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/79/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/79/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/79/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/79/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/80/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/80/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/80/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/80/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/81/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/81/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/81/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/81/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/82/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/82/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/82/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/82/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/83/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/83/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/83/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/83/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/84/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/84/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/84/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/84/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/85/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/85/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/85/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/85/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/86/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/86/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/86/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/86/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/87/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/87/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/87/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/87/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/88/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/88/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/88/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/88/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/89/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/89/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/89/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/89/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/90/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/90/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/90/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/90/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/91/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/91/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/91/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/91/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/92/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/92/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/92/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/92/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/93/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/93/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/93/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/93/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/94/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/94/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/94/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/94/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/95/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/95/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/95/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/95/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/96/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/96/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/96/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/96/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/97/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/97/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/97/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/97/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/98/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/98/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/98/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/98/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/99/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/99/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/99/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/99/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/100/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/100/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/100/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/100/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/101/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/101/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/101/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/101/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/102/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/102/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/102/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/102/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/103/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/103/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/103/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/103/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/104/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/104/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/104/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/104/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/105/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/105/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/105/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/105/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/106/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/106/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/106/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/106/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/107/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/107/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/107/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/107/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/108/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/108/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/108/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/108/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/109/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/109/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/109/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/109/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/110/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/110/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/110/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/110/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/111/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/111/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/111/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/111/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/112/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/112/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/112/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/112/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/113/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/113/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/113/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/113/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/114/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/114/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/114/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/114/zh-hant&wpLeaveRedirect=0]
----
Delete:
* [{{fullurl:Wikifunctions:Working_with_Wikidata_content/zh|action=delete}} Wikifunctions:Working_with_Wikidata_content/zh?action=delete]
-- [[User:Winston Sung|Winston Sung]] ([[User talk:Winston Sung|talk]]) 06:54, 25 June 2025 (UTC)
ige5eu9wkloo9n5egx5hs1k6fo91aec
199978
199792
2025-07-03T09:21:29Z
Ameisenigel
44
/* Move and deletion request 2025-06-25 (5) */ done
199978
wikitext
text/x-wiki
{{shortcut|[[WF:AN]]}}
<div style="border:1px solid grey; margin:1em 5em 2em; padding:1.5em 1em;">
<!-- Don't remove this, it adds the new-thread tool to the page.-->__NEWSECTIONLINK__
[[Category:Help]]
<big>Welcome to the '''Administrators' noticeboard for Wikifunctions'''!</big>
This is a noticeboard for '''matters requiring [[Special:MyLanguage/Wikifunctions:Administrators|administrator]] attention'''.
* If you wish for something to be deleted, please use [[Wikifunctions:Requests for deletions]].
* If you want to report a bug in Wikifunctions software, please see [[Wikifunctions:Report a technical problem]].
* Matters not requiring administrator action should be raised at [[Wikifunctions:Project chat|Project chat]].
* To report [[Special:MyLanguage/Wikifunctions:Vandalism|vandalism]] on Wikifunctions: Please use [[Wikifunctions:Report vandalism]]
* Please add <code><nowiki>{{section resolved|1=~~~~}}</nowiki></code> to resolved sections.
</div>
<!-- Add new reports below this line -->
{{Autoarchive resolved section
|age = 1
|archive = ((FULLPAGENAME))/Archive/((year))/((month:##))
|timeout=30
}}
{{Archives|{{Special:PrefixIndex/Wikifunctions:Administrators' noticeboard/Archive/|stripprefix=1}}}}
== Perform test error: 'Znnnnn' isn't a known Object ==
Newly run tests on {{Z|Z20181}} return this error: “Perform test error: 'Z20254' isn't a known Object”. The object is listed in the function’s test cases but no longer exists. It was deleted in November and function tests appear to have passed “6 hours ago” (as at 2025-05-30 10:00 UTC). I think the function just needs its Z8K3 editing but I doubt this is a one-off. Short of going through the deletion logs, I can’t think of a way to pick these cases up before they appear as errors. ''[https://t.me/Wikifunctions/25647 Mentioned on Telegram]'' [[User:GrounderUK|GrounderUK]] ([[User talk:GrounderUK|talk]]) 10:33, 30 May 2025 (UTC)
:{{ping|Jdforrester (WMF)}} Could you take a look at this? --[[User:Ameisenigel|Ameisenigel]] ([[User talk:Ameisenigel|talk]]) 13:52, 27 June 2025 (UTC)
== Move and deletion request 2025-06-25 (4) ==
Move without leaving redirects:
<syntaxhighlight lang="diff">
- /zh
+ /zh-hans
</syntaxhighlight>
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:How_to_create_implementations/Page_display_title/zh|wpNewTitleMain=Translations:Wikifunctions:How_to_create_implementations/Page_display_title/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:How_to_create_implementations/Page_display_title/zh?wpNewTitleMain=Translations:Wikifunctions:How_to_create_implementations/Page_display_title/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:How_to_create_implementations/1/zh|wpNewTitleMain=Translations:Wikifunctions:How_to_create_implementations/1/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:How_to_create_implementations/1/zh?wpNewTitleMain=Translations:Wikifunctions:How_to_create_implementations/1/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:How_to_create_implementations/2/zh|wpNewTitleMain=Translations:Wikifunctions:How_to_create_implementations/2/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:How_to_create_implementations/2/zh?wpNewTitleMain=Translations:Wikifunctions:How_to_create_implementations/2/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:How_to_create_implementations/3/zh|wpNewTitleMain=Translations:Wikifunctions:How_to_create_implementations/3/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:How_to_create_implementations/3/zh?wpNewTitleMain=Translations:Wikifunctions:How_to_create_implementations/3/zh-hans&wpLeaveRedirect=0]
----
Move without leaving redirects:
<syntaxhighlight lang="diff">
- /zh
+ /zh-hant
</syntaxhighlight>
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:How_to_create_implementations/4/zh|wpNewTitleMain=Translations:Wikifunctions:How_to_create_implementations/4/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:How_to_create_implementations/4/zh?wpNewTitleMain=Translations:Wikifunctions:How_to_create_implementations/4/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:How_to_create_implementations/5/zh|wpNewTitleMain=Translations:Wikifunctions:How_to_create_implementations/5/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:How_to_create_implementations/5/zh?wpNewTitleMain=Translations:Wikifunctions:How_to_create_implementations/5/zh-hant&wpLeaveRedirect=0]
----
Delete:
* [{{fullurl:Wikifunctions:How_to_create_implementations/zh|action=delete}} Wikifunctions:How_to_create_implementations/zh?action=delete]
-- [[User:Winston Sung|Winston Sung]] ([[User talk:Winston Sung|talk]]) 06:43, 25 June 2025 (UTC)
:{{done}} --[[User:Ameisenigel|Ameisenigel]] ([[User talk:Ameisenigel|talk]]) 08:54, 3 July 2025 (UTC)
{{section resolved|1=[[User:Ameisenigel|Ameisenigel]] ([[User talk:Ameisenigel|talk]]) 08:54, 3 July 2025 (UTC)}}
== Move and deletion request 2025-06-25 (5) ==
Move without leaving redirects:
<syntaxhighlight lang="diff">
- /zh
+ /zh-hans
</syntaxhighlight>
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/Page_display_title/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/Page_display_title/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/Page_display_title/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/Page_display_title/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/1/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/1/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/1/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/1/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/2/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/2/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/2/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/2/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/3/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/3/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/3/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/3/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/5/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/5/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/5/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/5/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/6/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/6/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/6/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/6/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/7/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/7/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/7/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/7/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/8/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/8/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/8/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/8/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/9/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/9/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/9/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/9/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/10/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/10/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/10/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/10/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/11/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/11/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/11/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/11/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/12/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/12/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/12/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/12/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/13/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/13/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/13/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/13/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/15/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/15/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/15/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/15/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/16/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/16/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/16/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/16/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/17/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/17/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/17/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/17/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/18/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/18/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/18/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/18/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/19/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/19/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/19/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/19/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/20/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/20/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/20/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/20/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/21/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/21/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/21/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/21/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/22/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/22/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/22/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/22/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/23/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/23/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/23/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/23/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/24/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/24/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/24/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/24/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/25/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/25/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/25/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/25/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/26/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/26/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/26/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/26/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/27/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/27/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/27/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/27/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/28/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/28/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/28/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/28/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/29/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/29/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/29/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/29/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/30/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/30/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/30/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/30/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/32/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/32/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/32/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/32/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/33/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/33/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/33/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/33/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/34/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/34/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/34/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/34/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/35/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/35/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/35/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/35/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/36/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/36/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/36/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/36/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/37/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/37/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/37/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/37/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/38/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/38/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/38/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/38/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/39/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/39/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/39/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/39/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/40/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/40/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/40/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/40/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/41/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/41/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/41/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/41/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/42/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/42/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/42/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/42/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/43/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/43/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/43/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/43/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/44/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/44/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/44/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/44/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/45/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/45/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/45/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/45/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/46/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/46/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/46/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/46/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/47/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/47/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/47/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/47/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/48/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/48/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/48/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/48/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/49/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/49/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/49/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/49/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/50/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/50/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/50/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/50/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/51/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/51/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/51/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/51/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/52/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/52/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/52/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/52/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/53/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/53/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/53/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/53/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/55/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/55/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/55/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/55/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/56/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/56/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/56/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/56/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/57/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/57/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/57/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/57/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/58/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/58/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/58/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/58/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/59/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/59/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/59/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/59/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/60/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/60/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/60/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/60/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/61/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/61/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/61/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/61/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/62/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/62/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/62/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/62/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/63/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/63/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/63/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/63/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/64/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/64/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/64/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/64/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/65/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/65/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/65/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/65/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/66/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/66/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/66/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/66/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/67/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/67/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/67/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/67/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/68/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/68/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/68/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/68/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/69/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/69/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/69/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/69/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/70/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/70/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/70/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/70/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/72/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/72/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/72/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/72/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/73/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/73/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/73/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/73/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/74/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/74/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/74/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/74/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/75/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/75/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/75/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/75/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/76/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/76/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/76/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/76/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/77/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/77/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/77/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/77/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/78/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/78/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/78/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/78/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/79/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/79/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/79/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/79/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/80/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/80/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/80/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/80/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/81/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/81/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/81/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/81/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/82/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/82/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/82/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/82/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/83/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/83/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/83/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/83/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/84/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/84/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/84/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/84/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/85/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/85/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/85/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/85/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/86/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/86/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/86/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/86/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/87/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/87/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/87/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/87/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/89/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/89/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/89/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/89/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/90/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/90/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/90/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/90/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/91/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/91/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/91/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/91/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/92/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/92/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/92/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/92/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/93/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/93/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/93/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/93/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/94/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/94/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/94/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/94/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/95/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/95/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/95/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/95/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/96/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/96/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/96/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/96/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/97/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/97/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/97/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/97/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/98/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/98/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/98/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/98/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/99/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/99/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/99/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/99/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/100/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/100/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/100/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/100/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/101/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/101/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/101/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/101/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/102/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/102/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/102/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/102/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/103/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/103/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/103/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/103/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/104/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/104/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/104/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/104/zh-hans&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Introduction/105/zh|wpNewTitleMain=Translations:Wikifunctions:Introduction/105/zh-hans&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Introduction/105/zh?wpNewTitleMain=Translations:Wikifunctions:Introduction/105/zh-hans&wpLeaveRedirect=0]
----
Delete:
* [{{fullurl:Wikifunctions:Introduction/zh|action=delete}} Wikifunctions:Introduction/zh?action=delete]
-- [[User:Winston Sung|Winston Sung]] ([[User talk:Winston Sung|talk]]) 06:50, 25 June 2025 (UTC)
:{{done}} --[[User:Ameisenigel|Ameisenigel]] ([[User talk:Ameisenigel|talk]]) 09:21, 3 July 2025 (UTC)
{{section resolved|1=[[User:Ameisenigel|Ameisenigel]] ([[User talk:Ameisenigel|talk]]) 09:21, 3 July 2025 (UTC)}}
== Move and deletion request 2025-06-25 (6) ==
Finally, should be the last one.
----
Move without leaving redirects:
<syntaxhighlight lang="diff">
- /zh
+ /zh-hant
</syntaxhighlight>
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/Page_display_title/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/Page_display_title/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/Page_display_title/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/Page_display_title/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/7/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/7/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/7/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/7/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/8/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/8/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/8/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/8/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/9/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/9/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/9/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/9/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/10/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/10/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/10/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/10/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/11/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/11/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/11/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/11/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/12/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/12/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/12/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/12/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/13/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/13/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/13/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/13/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/14/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/14/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/14/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/14/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/15/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/15/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/15/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/15/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/16/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/16/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/16/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/16/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/17/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/17/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/17/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/17/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/18/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/18/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/18/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/18/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/19/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/19/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/19/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/19/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/20/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/20/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/20/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/20/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/21/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/21/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/21/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/21/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/22/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/22/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/22/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/22/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/23/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/23/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/23/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/23/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/24/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/24/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/24/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/24/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/25/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/25/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/25/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/25/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/26/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/26/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/26/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/26/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/27/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/27/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/27/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/27/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/28/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/28/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/28/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/28/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/29/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/29/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/29/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/29/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/30/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/30/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/30/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/30/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/31/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/31/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/31/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/31/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/32/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/32/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/32/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/32/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/33/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/33/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/33/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/33/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/34/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/34/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/34/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/34/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/35/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/35/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/35/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/35/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/36/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/36/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/36/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/36/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/37/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/37/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/37/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/37/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/38/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/38/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/38/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/38/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/39/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/39/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/39/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/39/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/40/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/40/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/40/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/40/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/41/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/41/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/41/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/41/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/42/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/42/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/42/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/42/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/43/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/43/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/43/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/43/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/44/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/44/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/44/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/44/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/45/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/45/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/45/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/45/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/46/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/46/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/46/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/46/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/47/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/47/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/47/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/47/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/48/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/48/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/48/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/48/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/49/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/49/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/49/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/49/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/50/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/50/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/50/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/50/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/51/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/51/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/51/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/51/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/52/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/52/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/52/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/52/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/53/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/53/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/53/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/53/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/54/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/54/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/54/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/54/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/55/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/55/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/55/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/55/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/56/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/56/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/56/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/56/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/57/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/57/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/57/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/57/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/58/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/58/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/58/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/58/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/59/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/59/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/59/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/59/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/60/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/60/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/60/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/60/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/61/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/61/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/61/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/61/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/62/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/62/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/62/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/62/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/63/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/63/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/63/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/63/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/64/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/64/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/64/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/64/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/65/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/65/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/65/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/65/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/66/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/66/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/66/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/66/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/67/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/67/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/67/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/67/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/68/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/68/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/68/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/68/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/69/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/69/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/69/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/69/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/70/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/70/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/70/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/70/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/71/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/71/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/71/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/71/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/72/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/72/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/72/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/72/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/73/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/73/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/73/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/73/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/74/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/74/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/74/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/74/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/75/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/75/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/75/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/75/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/76/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/76/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/76/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/76/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/77/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/77/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/77/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/77/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/78/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/78/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/78/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/78/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/79/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/79/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/79/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/79/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/80/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/80/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/80/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/80/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/81/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/81/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/81/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/81/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/82/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/82/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/82/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/82/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/83/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/83/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/83/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/83/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/84/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/84/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/84/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/84/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/85/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/85/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/85/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/85/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/86/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/86/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/86/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/86/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/87/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/87/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/87/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/87/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/88/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/88/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/88/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/88/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/89/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/89/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/89/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/89/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/90/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/90/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/90/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/90/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/91/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/91/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/91/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/91/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/92/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/92/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/92/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/92/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/93/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/93/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/93/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/93/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/94/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/94/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/94/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/94/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/95/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/95/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/95/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/95/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/96/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/96/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/96/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/96/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/97/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/97/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/97/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/97/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/98/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/98/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/98/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/98/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/99/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/99/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/99/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/99/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/100/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/100/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/100/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/100/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/101/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/101/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/101/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/101/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/102/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/102/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/102/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/102/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/103/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/103/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/103/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/103/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/104/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/104/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/104/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/104/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/105/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/105/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/105/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/105/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/106/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/106/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/106/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/106/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/107/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/107/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/107/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/107/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/108/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/108/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/108/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/108/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/109/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/109/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/109/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/109/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/110/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/110/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/110/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/110/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/111/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/111/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/111/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/111/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/112/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/112/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/112/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/112/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/113/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/113/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/113/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/113/zh-hant&wpLeaveRedirect=0]
* [{{fullurl:Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/114/zh|wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/114/zh-hant&wpLeaveRedirect=0}} Special:MovePage/Translations:Wikifunctions:Working_with_Wikidata_content/114/zh?wpNewTitleMain=Translations:Wikifunctions:Working_with_Wikidata_content/114/zh-hant&wpLeaveRedirect=0]
----
Delete:
* [{{fullurl:Wikifunctions:Working_with_Wikidata_content/zh|action=delete}} Wikifunctions:Working_with_Wikidata_content/zh?action=delete]
-- [[User:Winston Sung|Winston Sung]] ([[User talk:Winston Sung|talk]]) 06:54, 25 June 2025 (UTC)
rz9yjq30eom1f65c6hj2gf4r74yjesj
Translations:Wikifunctions:Introduction/Page display title/zh-hans
1198
10318
199793
36923
2025-07-03T08:55:39Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:Introduction/Page display title/zh]] to [[Translations:Wikifunctions:Introduction/Page display title/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
36923
wikitext
text/x-wiki
Wikifunctions:介绍
j5ppy1paz99nbeoh1gf7xfghxj4g1tc
Translations:Wikifunctions:Introduction/1/zh-hans
1198
10320
199794
150083
2025-07-03T08:55:51Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:Introduction/1/zh]] to [[Translations:Wikifunctions:Introduction/1/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
150083
wikitext
text/x-wiki
-{A|zh:函数;zh-hans:函数;zh-hant:函式;}-是基于所提供数据进行计算、并回答相关问题的-{zh-cn:计算机;zh-hk:電腦;zh-tw:電腦;zh-mo:電腦;zh-my:电脑;zh-sg:电脑}-指令。例如,当你询问语音助手一公里相当于多少英里时,语音助手可以-{zh-cn:调用;zh-tw:呼叫}-一个函数以计算相应结果。
t464ditymr9cj0wzgh8ayk9z93uo8ye
199999
199794
2025-07-03T09:31:38Z
Winston Sung
2672
199999
wikitext
text/x-wiki
函数是基于所提供数据进行计算、并回答相关问题的计算机指令。例如,当你询问语音助手一公里相当于多少英里时,语音助手可以调用一个函数以计算相应结果。
dgd9t831a9ma0u00s6sdra7tn1bhrnc
Translations:Wikifunctions:Introduction/2/zh-hans
1198
10321
199796
36927
2025-07-03T08:56:03Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:Introduction/2/zh]] to [[Translations:Wikifunctions:Introduction/2/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
36927
wikitext
text/x-wiki
Wikifunctions是一个开源项目,任何人都能在其中创建各种函数,并分享给其他人使用、重组、测试和学习。
i5zqioeupqsiry64n7j4wbagvdef6nj
Translations:Wikifunctions:Introduction/3/zh-hans
1198
10322
199798
36929
2025-07-03T08:56:13Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:Introduction/3/zh]] to [[Translations:Wikifunctions:Introduction/3/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
36929
wikitext
text/x-wiki
请跟随以下操作指南尝试Wikifunctions的基本功能。我们期待你的[[$1|反馈]]与贡献!
9g2cbbxx7b8q88kau3l67pfesxo7qaz
Translations:Wikifunctions:Introduction/99/zh-hans
1198
10323
199964
39873
2025-07-03T09:18:19Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:Introduction/99/zh]] to [[Translations:Wikifunctions:Introduction/99/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
39873
wikitext
text/x-wiki
== 运行函数 ==
k7hkjii57fv7lamynocl2m7xxc4b6xk
Translations:Wikifunctions:Introduction/5/zh-hans
1198
10324
199800
36934
2025-07-03T08:56:25Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:Introduction/5/zh]] to [[Translations:Wikifunctions:Introduction/5/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
36934
wikitext
text/x-wiki
你可以在Wikifunctions上尝试由社区贡献的函数。先从我们的''[[$1|函数库]]''中挑选一个函数,然后输入相应的参数值以查看输出结果。
odf4oyuxpy0hr9d9xksday9yv1d2ryr
200028
199800
2025-07-03T09:36:13Z
Winston Sung
2672
200028
wikitext
text/x-wiki
你可以在Wikifunctions上尝试由社群贡献的函数。先从我们的''[[$1|函数库]]''中挑选一个函数,然后输入相应的参数值以查看输出结果。
j1vf3teoxoxndf3fuf9w4gpjz0r28ly
Translations:Wikifunctions:Introduction/6/zh-hans
1198
10325
199802
36936
2025-07-03T08:56:41Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:Introduction/6/zh]] to [[Translations:Wikifunctions:Introduction/6/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
36936
wikitext
text/x-wiki
'''步骤:'''
1r0qz3npc0fqc1r143grbjtzc4wk3za
Translations:Wikifunctions:Introduction/8/zh-hans
1198
10326
199806
150107
2025-07-03T08:57:21Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:Introduction/8/zh]] to [[Translations:Wikifunctions:Introduction/8/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
150107
wikitext
text/x-wiki
瀏覽某個函数的页面。
n4g4do757o0xhj0vxi6abtyzis9lm1d
Translations:Wikifunctions:Introduction/7/zh-hans
1198
10327
199804
36940
2025-07-03T08:56:57Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:Introduction/7/zh]] to [[Translations:Wikifunctions:Introduction/7/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
36940
wikitext
text/x-wiki
在[[$1|首页]]上挑选一个函数。
oso3kzucuvn0sfw0bczcle2pjniafo5
Translations:Wikifunctions:Introduction/9/zh-hans
1198
10328
199808
36942
2025-07-03T08:57:33Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:Introduction/9/zh]] to [[Translations:Wikifunctions:Introduction/9/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
36942
wikitext
text/x-wiki
填入输入参数。
5ghbam3ujeb3w25jsbe0ayq8uq42kkf
Translations:Wikifunctions:Introduction/10/zh-hans
1198
10329
199810
36944
2025-07-03T08:58:06Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:Introduction/10/zh]] to [[Translations:Wikifunctions:Introduction/10/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
36944
wikitext
text/x-wiki
运行该函数。
o1f76sxszl8ino18dr1lmgjhxe1pd89
Translations:Wikifunctions:Introduction/11/zh-hans
1198
10330
199812
36946
2025-07-03T08:58:25Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:Introduction/11/zh]] to [[Translations:Wikifunctions:Introduction/11/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
36946
wikitext
text/x-wiki
'''结果:'''
6t7kkcmfvxbe12nv7wcg26pgem25jp0
Translations:Wikifunctions:Introduction/12/zh-hans
1198
10331
199814
36948
2025-07-03T08:58:38Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:Introduction/12/zh]] to [[Translations:Wikifunctions:Introduction/12/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
36948
wikitext
text/x-wiki
输出结果是否如你所预期?
8kbjzzxidfloyqsfrxq4lxwxmgwdrmy
Translations:Wikifunctions:Introduction/13/zh-hans
1198
10332
199816
36950
2025-07-03T08:58:49Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:Introduction/13/zh]] to [[Translations:Wikifunctions:Introduction/13/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
36950
wikitext
text/x-wiki
你是否有任何更正或反馈想要[[$1|提交]]?
r57wi4ewfbks83wsmmlrp4ruc04blx0
Translations:Wikifunctions:Introduction/100/zh-hans
1198
10333
199966
39875
2025-07-03T09:18:38Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:Introduction/100/zh]] to [[Translations:Wikifunctions:Introduction/100/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
39875
wikitext
text/x-wiki
== 创建函数 ==
323gbaxoy7q3tmvtgej7mhjcygu2q6z
Translations:Wikifunctions:Introduction/16/zh-hans
1198
10335
199818
37420
2025-07-03T08:59:19Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:Introduction/16/zh]] to [[Translations:Wikifunctions:Introduction/16/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
37420
wikitext
text/x-wiki
你能够在Wikifunctions中加入自己的函数!你可以自行创建一个新函数的-{zh-cn:实现;zh-tw:實作}-,同时分享给其他人使用。你可以使用你所偏好的-{zh-cn:编程;zh-tw:程式設計}-语言编写新函数。
b89il1u6w4nqb5dys3e8vfdfr2xboz1
200001
199818
2025-07-03T09:32:29Z
Winston Sung
2672
200001
wikitext
text/x-wiki
你能够在Wikifunctions中加入自己的函数!你可以自行创建新的函数实现,同时分享给其他人使用。你可以使用你所偏好的编程语言编写新函数。
al64y6eq6dj4kov79dbt2c3s26efyzu
Translations:Wikifunctions:Introduction/17/zh-hans
1198
10336
199820
36958
2025-07-03T08:59:38Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:Introduction/17/zh]] to [[Translations:Wikifunctions:Introduction/17/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
36958
wikitext
text/x-wiki
'''步骤:'''
1r0qz3npc0fqc1r143grbjtzc4wk3za
Translations:Wikifunctions:Introduction/18/zh-hans
1198
10337
199822
36960
2025-07-03T08:59:54Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:Introduction/18/zh]] to [[Translations:Wikifunctions:Introduction/18/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
36960
wikitext
text/x-wiki
前往[$1 函数创建页面]。
k1v8ylqqu6mxuktuuco4prqdexecozv
Translations:Wikifunctions:Introduction/19/zh-hans
1198
10338
199824
36964
2025-07-03T09:00:08Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:Introduction/19/zh]] to [[Translations:Wikifunctions:Introduction/19/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
36964
wikitext
text/x-wiki
给你的函数取一个名字。
crs80rd2ftq8t6ei2athm7u3difzc60
200092
199824
2025-07-03T09:45:05Z
Winston Sung
2672
200092
wikitext
text/x-wiki
命名函数。
plbwogjn6vqgbfcz5y1v6puzt6mhivn
Translations:Wikifunctions:Introduction/20/zh-hans
1198
10339
199826
36966
2025-07-03T09:00:22Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:Introduction/20/zh]] to [[Translations:Wikifunctions:Introduction/20/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
36966
wikitext
text/x-wiki
定义该函数的输入参数:
gcd95ytzsytuw0kby2w0pkeh7osp5w4
Translations:Wikifunctions:Introduction/21/zh-hans
1198
10340
199827
36968
2025-07-03T09:00:37Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:Introduction/21/zh]] to [[Translations:Wikifunctions:Introduction/21/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
36968
wikitext
text/x-wiki
添加、删除输入参数。
geftu70x06tjw3nhoe569ga93cexrba
Translations:Wikifunctions:Introduction/22/zh-hans
1198
10341
199828
37422
2025-07-03T09:00:49Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:Introduction/22/zh]] to [[Translations:Wikifunctions:Introduction/22/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
37422
wikitext
text/x-wiki
定义每一个输入参数的-{zh-cn:类型;zh-tw:型別}-。
qvs90hlfvne3jq44ga9gajifgr2xz35
200003
199828
2025-07-03T09:32:40Z
Winston Sung
2672
200003
wikitext
text/x-wiki
定义每一个输入参数的类型。
eegld2srs6pfqhtwk9nv8hdpiqrd4yr
Translations:Wikifunctions:Introduction/23/zh-hans
1198
10342
199830
36972
2025-07-03T09:01:04Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:Introduction/23/zh]] to [[Translations:Wikifunctions:Introduction/23/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
36972
wikitext
text/x-wiki
为每一个输入参数命名。
s3a4gljq543lnu494m8ip4namxmqk54
Translations:Wikifunctions:Introduction/24/zh-hans
1198
10343
199832
36974
2025-07-03T09:01:25Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:Introduction/24/zh]] to [[Translations:Wikifunctions:Introduction/24/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
36974
wikitext
text/x-wiki
定义该函数的输出参数。
656keo34hwe8xa6pvcavlpdt2mr74as
Translations:Wikifunctions:Introduction/25/zh-hans
1198
10344
199834
150085
2025-07-03T09:01:47Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:Introduction/25/zh]] to [[Translations:Wikifunctions:Introduction/25/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
150085
wikitext
text/x-wiki
你还可以选择性地为以下字段提供多语言的值:
hg4naefql4o9ikvbspmljul2xduuouk
Translations:Wikifunctions:Introduction/26/zh-hans
1198
10345
199836
36980
2025-07-03T09:02:02Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:Introduction/26/zh]] to [[Translations:Wikifunctions:Introduction/26/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
36980
wikitext
text/x-wiki
函数名称、函数别名、输入参数标签。
4074wptsbznsk6vqeb7hligp0cz1rqb
Translations:Wikifunctions:Introduction/27/zh-hans
1198
10346
199838
150087
2025-07-03T09:02:25Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:Introduction/27/zh]] to [[Translations:Wikifunctions:Introduction/27/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
150087
wikitext
text/x-wiki
发佈你的函数。
h8mjmp1oxr4buvlo5zszbol5tktpekw
Translations:Wikifunctions:Introduction/28/zh-hans
1198
10347
199840
36984
2025-07-03T09:02:38Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:Introduction/28/zh]] to [[Translations:Wikifunctions:Introduction/28/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
36984
wikitext
text/x-wiki
'''结果:'''
6t7kkcmfvxbe12nv7wcg26pgem25jp0
Translations:Wikifunctions:Introduction/29/zh-hans
1198
10348
199842
152794
2025-07-03T09:02:51Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:Introduction/29/zh]] to [[Translations:Wikifunctions:Introduction/29/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
152794
wikitext
text/x-wiki
函数是否已發佈成功?
suxzkyizvenvy4j9q8tp8zium9x9xj1
Translations:Wikifunctions:Introduction/30/zh-hans
1198
10349
199844
36988
2025-07-03T09:03:02Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:Introduction/30/zh]] to [[Translations:Wikifunctions:Introduction/30/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
36988
wikitext
text/x-wiki
你是否有任何更正或反馈想要[[$1|提交]]?
r57wi4ewfbks83wsmmlrp4ruc04blx0
Translations:Wikifunctions:Introduction/101/zh-hans
1198
10350
199968
39877
2025-07-03T09:18:52Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:Introduction/101/zh]] to [[Translations:Wikifunctions:Introduction/101/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
39877
wikitext
text/x-wiki
== 编辑函数 ==
a4hf52yuz98ylzcsjpjy9nek1pfo2qy
Translations:Wikifunctions:Introduction/33/zh-hans
1198
10352
199846
36994
2025-07-03T09:03:30Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:Introduction/33/zh]] to [[Translations:Wikifunctions:Introduction/33/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
36994
wikitext
text/x-wiki
你可以通过编辑Wikifunctions的函数库来做出贡献,包括添加或编辑函数的多语言信息,扩展和修改函数的定义。
b3tnwottq4zilk75hng4y7ygdphmlqh
Translations:Wikifunctions:Introduction/34/zh-hans
1198
10353
199848
36996
2025-07-03T09:03:50Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:Introduction/34/zh]] to [[Translations:Wikifunctions:Introduction/34/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
36996
wikitext
text/x-wiki
'''步骤:'''
1r0qz3npc0fqc1r143grbjtzc4wk3za
Translations:Wikifunctions:Introduction/35/zh-hans
1198
10354
199850
36998
2025-07-03T09:04:04Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:Introduction/35/zh]] to [[Translations:Wikifunctions:Introduction/35/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
36998
wikitext
text/x-wiki
在[[$1|首页]]上挑选一个函数。
oso3kzucuvn0sfw0bczcle2pjniafo5
Translations:Wikifunctions:Introduction/36/zh-hans
1198
10355
199852
150101
2025-07-03T09:04:15Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:Introduction/36/zh]] to [[Translations:Wikifunctions:Introduction/36/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
150101
wikitext
text/x-wiki
瀏覽函数的页面。
tnghen0rdmt7eko06chlswoceocdv1i
Translations:Wikifunctions:Introduction/37/zh-hans
1198
10356
199854
37424
2025-07-03T09:04:33Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:Introduction/37/zh]] to [[Translations:Wikifunctions:Introduction/37/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
37424
wikitext
text/x-wiki
点击“编辑-{zh-hans:源代码;zh-hant:原始碼}-”以查看该函数的编辑选项。
lu396k6c22mv76qvk9qz1hongus6cpc
200005
199854
2025-07-03T09:33:02Z
Winston Sung
2672
200005
wikitext
text/x-wiki
点击“编辑源代码”以查看该函数的编辑选项。
lxsqcigcz2ltiqcjee7r4djyy333wsl
Translations:Wikifunctions:Introduction/38/zh-hans
1198
10357
199856
150091
2025-07-03T09:04:51Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:Introduction/38/zh]] to [[Translations:Wikifunctions:Introduction/38/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
150091
wikitext
text/x-wiki
你可以选择性地修改以下-{zh-cn:字段;zh-tw:欄位}-的值:
ng45lgtx9tdg4uycnsu37bui29ybz6w
200007
199856
2025-07-03T09:33:10Z
Winston Sung
2672
200007
wikitext
text/x-wiki
你可以选择性地修改以下字段的值:
dsdblxhzz8k51bxdnwsdnn5rga6fi0p
Translations:Wikifunctions:Introduction/39/zh-hans
1198
10358
199858
37006
2025-07-03T09:05:05Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:Introduction/39/zh]] to [[Translations:Wikifunctions:Introduction/39/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
37006
wikitext
text/x-wiki
函数名称;
jkbtc81su7x99362wxu8i6t7ny6ksul
Translations:Wikifunctions:Introduction/40/zh-hans
1198
10359
199859
37008
2025-07-03T09:05:18Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:Introduction/40/zh]] to [[Translations:Wikifunctions:Introduction/40/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
37008
wikitext
text/x-wiki
函数别名;
7aoytcg9u8f069jw1gun8jnehrhv6wl
Translations:Wikifunctions:Introduction/41/zh-hans
1198
10360
199860
37010
2025-07-03T09:05:33Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:Introduction/41/zh]] to [[Translations:Wikifunctions:Introduction/41/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
37010
wikitext
text/x-wiki
输入参数列表
cngzsvzia0hyt6ikuc5rbp8nmg8vhbz
Translations:Wikifunctions:Introduction/42/zh-hans
1198
10361
199862
37012
2025-07-03T09:05:48Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:Introduction/42/zh]] to [[Translations:Wikifunctions:Introduction/42/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
37012
wikitext
text/x-wiki
添加、删除输入参数
0lx94lu8wkkzat25or2vvfc42i3fxlx
Translations:Wikifunctions:Introduction/43/zh-hans
1198
10362
199864
37428
2025-07-03T09:06:06Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:Introduction/43/zh]] to [[Translations:Wikifunctions:Introduction/43/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
37428
wikitext
text/x-wiki
编辑输入参数的-{zh-cn:类型;zh-tw:型別}-
fmmjb24ii2gviikan9a5to78f6zkkyo
200009
199864
2025-07-03T09:33:22Z
Winston Sung
2672
200009
wikitext
text/x-wiki
编辑输入参数的类型
qzo34r5l31t517uhswkmrjxtqao57c4
Translations:Wikifunctions:Introduction/44/zh-hans
1198
10363
199866
37016
2025-07-03T09:06:17Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:Introduction/44/zh]] to [[Translations:Wikifunctions:Introduction/44/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
37016
wikitext
text/x-wiki
编辑输入参数标签
2r8jiyz37x6hsswts43x71xc03gih0i
Translations:Wikifunctions:Introduction/45/zh-hans
1198
10364
199868
37430
2025-07-03T09:06:28Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:Introduction/45/zh]] to [[Translations:Wikifunctions:Introduction/45/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
37430
wikitext
text/x-wiki
输出参数-{zh-cn:类型;zh-tw:型別}-。
cdjcgotc2v7s0dk91q2hbhw5rrvqt93
200011
199868
2025-07-03T09:33:31Z
Winston Sung
2672
200011
wikitext
text/x-wiki
输出参数类型。
lasrn82wdr31icbk1hf3lyqdzm1f7rs
Translations:Wikifunctions:Introduction/46/zh-hans
1198
10365
199870
150089
2025-07-03T09:06:40Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:Introduction/46/zh]] to [[Translations:Wikifunctions:Introduction/46/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
150089
wikitext
text/x-wiki
你还可以选择性地为以下-{zh-cn:字段;zh-tw:欄位}-提供多语言的值:
7xii61ng2r7bfnmziymsxmup1wz4yfl
200013
199870
2025-07-03T09:33:38Z
Winston Sung
2672
200013
wikitext
text/x-wiki
你还可以选择性地为以下字段提供多语言的值:
hg4naefql4o9ikvbspmljul2xduuouk
Translations:Wikifunctions:Introduction/47/zh-hans
1198
10366
199872
37028
2025-07-03T09:06:55Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:Introduction/47/zh]] to [[Translations:Wikifunctions:Introduction/47/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
37028
wikitext
text/x-wiki
函数名称;
jkbtc81su7x99362wxu8i6t7ny6ksul
Translations:Wikifunctions:Introduction/48/zh-hans
1198
10367
199874
37030
2025-07-03T09:07:07Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:Introduction/48/zh]] to [[Translations:Wikifunctions:Introduction/48/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
37030
wikitext
text/x-wiki
函数别名;
7aoytcg9u8f069jw1gun8jnehrhv6wl
Translations:Wikifunctions:Introduction/49/zh-hans
1198
10368
199876
37026
2025-07-03T09:07:24Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:Introduction/49/zh]] to [[Translations:Wikifunctions:Introduction/49/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
37026
wikitext
text/x-wiki
输入参数标签。
b34lcadinuaisd6078uvwzlsy67ba41
Translations:Wikifunctions:Introduction/50/zh-hans
1198
10369
199878
37032
2025-07-03T09:07:40Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:Introduction/50/zh]] to [[Translations:Wikifunctions:Introduction/50/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
37032
wikitext
text/x-wiki
发布你所做的更新。
lwlpjk2l7rs78hjbu8ogowxhmf7zfbt
Translations:Wikifunctions:Introduction/51/zh-hans
1198
10370
199880
37034
2025-07-03T09:07:57Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:Introduction/51/zh]] to [[Translations:Wikifunctions:Introduction/51/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
37034
wikitext
text/x-wiki
'''结果:'''
6t7kkcmfvxbe12nv7wcg26pgem25jp0
Translations:Wikifunctions:Introduction/52/zh-hans
1198
10371
199882
152796
2025-07-03T09:08:10Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:Introduction/52/zh]] to [[Translations:Wikifunctions:Introduction/52/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
152796
wikitext
text/x-wiki
你的编辑是否已發佈成功?
awjnnyx2cgytpexxllxsjvumkezk7lx
Translations:Wikifunctions:Introduction/53/zh-hans
1198
10372
199884
37038
2025-07-03T09:08:24Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:Introduction/53/zh]] to [[Translations:Wikifunctions:Introduction/53/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
37038
wikitext
text/x-wiki
你是否有任何更正或反馈想要[[$1|提交]]?
r57wi4ewfbks83wsmmlrp4ruc04blx0
Translations:Wikifunctions:Introduction/102/zh-hans
1198
10373
199970
39879
2025-07-03T09:19:04Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:Introduction/102/zh]] to [[Translations:Wikifunctions:Introduction/102/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
39879
wikitext
text/x-wiki
== 创建测试 ==
79snxjzu60sccjlwe6dbtq9wbwiz4y7
Translations:Wikifunctions:Introduction/56/zh-hans
1198
10375
199886
37044
2025-07-03T09:08:54Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:Introduction/56/zh]] to [[Translations:Wikifunctions:Introduction/56/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
37044
wikitext
text/x-wiki
你可以在Wikifunctions中为你的函数实现创建测试,以确保它们能正常工作。
noq2nxbrb5bss1b4btwsc6fzxlkhvm9
Translations:Wikifunctions:Introduction/57/zh-hans
1198
10376
199888
37046
2025-07-03T09:09:06Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:Introduction/57/zh]] to [[Translations:Wikifunctions:Introduction/57/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
37046
wikitext
text/x-wiki
'''步骤:'''
1r0qz3npc0fqc1r143grbjtzc4wk3za
Translations:Wikifunctions:Introduction/58/zh-hans
1198
10377
199890
37048
2025-07-03T09:09:23Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:Introduction/58/zh]] to [[Translations:Wikifunctions:Introduction/58/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
37048
wikitext
text/x-wiki
在[[$1|首页]]上挑选一个函数,或者也可以使用你在之前流程中所创建的函数。
01jenmwtiope68zvzmg1f9goftd3anl
Translations:Wikifunctions:Introduction/59/zh-hans
1198
10378
199892
150103
2025-07-03T09:09:42Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:Introduction/59/zh]] to [[Translations:Wikifunctions:Introduction/59/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
150103
wikitext
text/x-wiki
瀏覽函数的页面。
tnghen0rdmt7eko06chlswoceocdv1i
Translations:Wikifunctions:Introduction/60/zh-hans
1198
10379
199894
150113
2025-07-03T09:09:55Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:Introduction/60/zh]] to [[Translations:Wikifunctions:Introduction/60/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
150113
wikitext
text/x-wiki
点击那個測試表上的“+”。
7qlxfb1zawtqbvp41b70lz8dsedclhz
Translations:Wikifunctions:Introduction/61/zh-hans
1198
10380
199896
140556
2025-07-03T09:10:15Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:Introduction/61/zh]] to [[Translations:Wikifunctions:Introduction/61/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
140556
wikitext
text/x-wiki
在“-{zh-cn:调用;zh-tw:呼叫}-”下点击“$select_function”。
p9yex0bdvitty5dg683as7gc9oy96qv
200015
199896
2025-07-03T09:33:50Z
Winston Sung
2672
200015
wikitext
text/x-wiki
在“调用”下点击“$select_function”。
dgp4otphct1zusotul7g8rxa7lvi2sv
Translations:Wikifunctions:Introduction/62/zh-hans
1198
10381
199898
37436
2025-07-03T09:10:28Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:Introduction/62/zh]] to [[Translations:Wikifunctions:Introduction/62/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
37436
wikitext
text/x-wiki
在“函数”-{zh-cn:字段;zh-tw:欄位}-下,输入你想要测试的函数的名称,并在其出现时选择该函数。
ktyylfa7343c7odpwktclrkklejyfwu
200017
199898
2025-07-03T09:33:57Z
Winston Sung
2672
200017
wikitext
text/x-wiki
在“函数”字段下,输入你想要测试的函数的名称,并在其出现时选择该函数。
s66lasdyv1ut32lqcvlnqc9r38o0159
Translations:Wikifunctions:Introduction/63/zh-hans
1198
10382
199900
37438
2025-07-03T09:10:42Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:Introduction/63/zh]] to [[Translations:Wikifunctions:Introduction/63/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
37438
wikitext
text/x-wiki
在相应的-{zh-cn:字段;zh-tw:欄位}-中添加输入参数的值。
4e6yrenejwjf510jtqlbpbi8i9iq7ec
200019
199900
2025-07-03T09:34:04Z
Winston Sung
2672
200019
wikitext
text/x-wiki
在相应的字段中添加输入参数的值。
m66a4yilwiiu8k7lvwuoddoovogdntf
Translations:Wikifunctions:Introduction/64/zh-hans
1198
10383
199902
140558
2025-07-03T09:10:55Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:Introduction/64/zh]] to [[Translations:Wikifunctions:Introduction/64/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
140558
wikitext
text/x-wiki
在“结果验证”下点击“$select_function”。在“函数”-{zh-cn:字段;zh-tw:欄位}-下,输入你想要用来检查结果的函数的名称。
8tzsofqbor33wb6lydkwu39i8f9vgm8
200021
199902
2025-07-03T09:34:14Z
Winston Sung
2672
200021
wikitext
text/x-wiki
在“结果验证”下点击“$select_function”。在“函数”字段下,输入你想要用来检查结果的函数的名称。
76nscik65runq8qqbfbvlgka0iwtqgy
Translations:Wikifunctions:Introduction/65/zh-hans
1198
10384
199904
37442
2025-07-03T09:11:12Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:Introduction/65/zh]] to [[Translations:Wikifunctions:Introduction/65/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
37442
wikitext
text/x-wiki
对于输出类型为字符串的函数,应选择“-{zh-cn:字符串;zh-tw:字串}-相等”。而对于输出类型为-{zh-cn:布尔;zh-tw:布林}-值的函数,应选择“-{zh-cn:布尔;zh-tw:布林}-值相等”。
s2h8zg6va2rataxcjbi2k4v1yizssnu
Translations:Wikifunctions:Introduction/66/zh-hans
1198
10385
199906
37444
2025-07-03T09:11:22Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:Introduction/66/zh]] to [[Translations:Wikifunctions:Introduction/66/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
37444
wikitext
text/x-wiki
在相应的-{zh-cn:字段;zh-tw:欄位}-(“第二个-{zh-cn:字符串;zh-tw:字串}-”或“第二个-{zh-cn:布尔;zh-tw:布林}-值”)中添加预期值。
55nb1x5yxzilar5ogh3e4f9pcjw0zic
Translations:Wikifunctions:Introduction/67/zh-hans
1198
10386
199908
37067
2025-07-03T09:11:33Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:Introduction/67/zh]] to [[Translations:Wikifunctions:Introduction/67/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
37067
wikitext
text/x-wiki
发布你所做的更新。
lwlpjk2l7rs78hjbu8ogowxhmf7zfbt
Translations:Wikifunctions:Introduction/68/zh-hans
1198
10387
199910
37069
2025-07-03T09:11:51Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:Introduction/68/zh]] to [[Translations:Wikifunctions:Introduction/68/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
37069
wikitext
text/x-wiki
'''结果:'''
6t7kkcmfvxbe12nv7wcg26pgem25jp0
Translations:Wikifunctions:Introduction/69/zh-hans
1198
10388
199912
152798
2025-07-03T09:12:07Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:Introduction/69/zh]] to [[Translations:Wikifunctions:Introduction/69/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
152798
wikitext
text/x-wiki
测试是否已發佈成功?
00xs1wwzw4y7peevgddoj93ztptawbr
Translations:Wikifunctions:Introduction/70/zh-hans
1198
10389
199914
37073
2025-07-03T09:12:17Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:Introduction/70/zh]] to [[Translations:Wikifunctions:Introduction/70/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
37073
wikitext
text/x-wiki
你是否有任何更正或反馈想要[[$1|提交]]?
r57wi4ewfbks83wsmmlrp4ruc04blx0
Translations:Wikifunctions:Introduction/103/zh-hans
1198
10390
199972
39881
2025-07-03T09:19:14Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:Introduction/103/zh]] to [[Translations:Wikifunctions:Introduction/103/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
39881
wikitext
text/x-wiki
== 创建-{zh-cn:实现;zh-tw:實作}- ==
3rkjvzdf208gf7e2oie22ogolaud1vi
200023
199972
2025-07-03T09:34:34Z
Winston Sung
2672
200023
wikitext
text/x-wiki
== 创建函数实现 ==
pfij7g808iba1h3cbma6s39wgxeulli
Translations:Wikifunctions:Introduction/73/zh-hans
1198
10392
199916
37448
2025-07-03T09:12:49Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:Introduction/73/zh]] to [[Translations:Wikifunctions:Introduction/73/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
37448
wikitext
text/x-wiki
函数通过具体的-{zh-cn:实现;zh-tw:實作}-而得以发挥作用。你可以在Wikifunctions创建的-{zh-cn:实现;zh-tw:實作}-中运行或者重新组合函数。下一部分将会介绍如何[[$1|将你的-{zh-cn:实现;zh-tw:實作}-与函数连接起来]]。在创建-{zh-cn:实现;zh-tw:實作}-之前,我们建议先[[$2|创建并连接一个测试]]。有关创建-{zh-cn:实现;zh-tw:實作}-的更详细指南可以参考$3。
s2zp9uxi4fpovr7gpzw8tr1zogc17dw
Translations:Wikifunctions:Introduction/74/zh-hans
1198
10393
199918
37082
2025-07-03T09:13:01Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:Introduction/74/zh]] to [[Translations:Wikifunctions:Introduction/74/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
37082
wikitext
text/x-wiki
'''步骤:'''
1r0qz3npc0fqc1r143grbjtzc4wk3za
Translations:Wikifunctions:Introduction/75/zh-hans
1198
10394
199920
37084
2025-07-03T09:13:13Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:Introduction/75/zh]] to [[Translations:Wikifunctions:Introduction/75/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
37084
wikitext
text/x-wiki
在[[$1|首页]]上挑选一个函数。
oso3kzucuvn0sfw0bczcle2pjniafo5
Translations:Wikifunctions:Introduction/76/zh-hans
1198
10395
199922
150105
2025-07-03T09:13:33Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:Introduction/76/zh]] to [[Translations:Wikifunctions:Introduction/76/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
150105
wikitext
text/x-wiki
瀏覽函数的页面。
tnghen0rdmt7eko06chlswoceocdv1i
Translations:Wikifunctions:Introduction/77/zh-hans
1198
10396
199924
150115
2025-07-03T09:13:44Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:Introduction/77/zh]] to [[Translations:Wikifunctions:Introduction/77/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
150115
wikitext
text/x-wiki
点击那個-{zh-cn:实现;zh-tw:實作}-表上的“+”。
go4r563p1uviaiwk48i9hhfy6kwa09n
Translations:Wikifunctions:Introduction/78/zh-hans
1198
10397
199926
37452
2025-07-03T09:13:57Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:Introduction/78/zh]] to [[Translations:Wikifunctions:Introduction/78/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
37452
wikitext
text/x-wiki
你可以通过以下两种方式之一创建新的-{zh-cn:实现;zh-tw:實作}-:
f3s3nyuu3zwfi0uwqt12fs0eutkntms
Translations:Wikifunctions:Introduction/79/zh-hans
1198
10398
199928
37454
2025-07-03T09:14:11Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:Introduction/79/zh]] to [[Translations:Wikifunctions:Introduction/79/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
37454
wikitext
text/x-wiki
'''-{zh-cn:代码;zh-tw:程式碼}-'''
dxw6etsysj6a2pgiif5fricwr5y7qra
Translations:Wikifunctions:Introduction/80/zh-hans
1198
10399
199930
37456
2025-07-03T09:14:27Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:Introduction/80/zh]] to [[Translations:Wikifunctions:Introduction/80/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
37456
wikitext
text/x-wiki
选择所需的-{zh-cn:编程;zh-tw:程式設計}-语言来编写函数-{zh-cn:代码;zh-tw:程式碼}-。
00po83xouad17rf4j7rz5o1y963mvhn
Translations:Wikifunctions:Introduction/81/zh-hans
1198
10400
199932
37458
2025-07-03T09:14:38Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:Introduction/81/zh]] to [[Translations:Wikifunctions:Introduction/81/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
37458
wikitext
text/x-wiki
输入你的-{zh-cn:代码;zh-tw:程式碼}-。
c0bp76nvnmzcmbvw3rwx7q75sqwkkwf
Translations:Wikifunctions:Introduction/82/zh-hans
1198
10401
199934
37098
2025-07-03T09:14:50Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:Introduction/82/zh]] to [[Translations:Wikifunctions:Introduction/82/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
37098
wikitext
text/x-wiki
'''组合''':
5aki6dq4mlcjxnnoa8bmb666addoj1y
Translations:Wikifunctions:Introduction/83/zh-hans
1198
10402
199936
37100
2025-07-03T09:15:05Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:Introduction/83/zh]] to [[Translations:Wikifunctions:Introduction/83/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
37100
wikitext
text/x-wiki
使用现有函数创建一个组合。
jz5nxe1bcu5qr0k96647o6a0zscnlrn
Translations:Wikifunctions:Introduction/84/zh-hans
1198
10403
199938
150117
2025-07-03T09:15:16Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:Introduction/84/zh]] to [[Translations:Wikifunctions:Introduction/84/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
150117
wikitext
text/x-wiki
在运行测试(点击$tests框右侧的圆形箭头)后,发佈你的更新。
49yld0q37aruvlxxhnh364fp4ckb1s6
Translations:Wikifunctions:Introduction/85/zh-hans
1198
10404
199940
37104
2025-07-03T09:15:27Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:Introduction/85/zh]] to [[Translations:Wikifunctions:Introduction/85/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
37104
wikitext
text/x-wiki
'''结果:'''
6t7kkcmfvxbe12nv7wcg26pgem25jp0
Translations:Wikifunctions:Introduction/86/zh-hans
1198
10405
199942
152800
2025-07-03T09:15:41Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:Introduction/86/zh]] to [[Translations:Wikifunctions:Introduction/86/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
152800
wikitext
text/x-wiki
-{zh-cn:实现;zh-tw:實作}-是否已發佈成功?
lv9o5otra7pv77zg8rqmvtu9dd6o3gd
Translations:Wikifunctions:Introduction/87/zh-hans
1198
10406
199944
37108
2025-07-03T09:15:54Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:Introduction/87/zh]] to [[Translations:Wikifunctions:Introduction/87/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
37108
wikitext
text/x-wiki
你是否有任何更正或反馈想要[[$1|提交]]?
r57wi4ewfbks83wsmmlrp4ruc04blx0
Translations:Wikifunctions:Introduction/104/zh-hans
1198
10407
199974
39883
2025-07-03T09:19:28Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:Introduction/104/zh]] to [[Translations:Wikifunctions:Introduction/104/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
39883
wikitext
text/x-wiki
== 将-{zh-cn:实现;zh-tw:實作}-或测试与函数相连接 ==
ldiilipsgdy9xwglcu7uwg8ynb3wfc3
Translations:Wikifunctions:Introduction/90/zh-hans
1198
10409
199946
37114
2025-07-03T09:16:19Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:Introduction/90/zh]] to [[Translations:Wikifunctions:Introduction/90/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
37114
wikitext
text/x-wiki
将测试或实现与你的函数相连接,使其得以发挥作用。
03n2k2ncgjhu5y84qrgwz4hbm3h6idx
Translations:Wikifunctions:Introduction/91/zh-hans
1198
10410
199948
37116
2025-07-03T09:16:33Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:Introduction/91/zh]] to [[Translations:Wikifunctions:Introduction/91/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
37116
wikitext
text/x-wiki
'''步骤:'''
1r0qz3npc0fqc1r143grbjtzc4wk3za
Translations:Wikifunctions:Introduction/92/zh-hans
1198
10411
199950
37118
2025-07-03T09:16:44Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:Introduction/92/zh]] to [[Translations:Wikifunctions:Introduction/92/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
37118
wikitext
text/x-wiki
在[[$1|首页]]上挑选一个函数。
oso3kzucuvn0sfw0bczcle2pjniafo5
Translations:Wikifunctions:Introduction/93/zh-hans
1198
10412
199952
150109
2025-07-03T09:16:54Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:Introduction/93/zh]] to [[Translations:Wikifunctions:Introduction/93/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
150109
wikitext
text/x-wiki
瀏覽函数的页面。
tnghen0rdmt7eko06chlswoceocdv1i
Translations:Wikifunctions:Introduction/94/zh-hans
1198
10413
199954
37464
2025-07-03T09:17:05Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:Introduction/94/zh]] to [[Translations:Wikifunctions:Introduction/94/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
37464
wikitext
text/x-wiki
选择一个或多个测试,或者选择一个或多个-{zh-cn:实现;zh-tw:實作}-。
n7bcs0h6h1kne9fnlh2i1o4ieczrayu
Translations:Wikifunctions:Introduction/95/zh-hans
1198
10414
199956
68937
2025-07-03T09:17:24Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:Introduction/95/zh]] to [[Translations:Wikifunctions:Introduction/95/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
68937
wikitext
text/x-wiki
点击“$1”按钮。
88bkfo2k1y1rgcnlxwqczx5rd5mps2k
Translations:Wikifunctions:Introduction/96/zh-hans
1198
10415
199958
37126
2025-07-03T09:17:37Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:Introduction/96/zh]] to [[Translations:Wikifunctions:Introduction/96/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
37126
wikitext
text/x-wiki
'''结果:'''
6t7kkcmfvxbe12nv7wcg26pgem25jp0
Translations:Wikifunctions:Introduction/97/zh-hans
1198
10416
199960
152802
2025-07-03T09:17:53Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:Introduction/97/zh]] to [[Translations:Wikifunctions:Introduction/97/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
152802
wikitext
text/x-wiki
$connected或$disconnected是否更改成功?
falb1cg9uu21qsljcjlfu7ius1n9qbv
Translations:Wikifunctions:Introduction/98/zh-hans
1198
10417
199962
37130
2025-07-03T09:18:06Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:Introduction/98/zh]] to [[Translations:Wikifunctions:Introduction/98/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
37130
wikitext
text/x-wiki
你是否有任何更正或反馈想要[[$1|提交]]?
r57wi4ewfbks83wsmmlrp4ruc04blx0
Translations:Wikifunctions:Introduction/105/zh-hans
1198
19977
199976
69454
2025-07-03T09:19:41Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:Introduction/105/zh]] to [[Translations:Wikifunctions:Introduction/105/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
69454
wikitext
text/x-wiki
''注意:此功能仅限于 [[Special:MyLanguage/Wikifunctions:Functioneers|函数员]]使用。''
7amfo9uc2w60pmwpoum8drrxy9hyiy2
Translations:Wikifunctions:How to create implementations/Page display title/zh-hans
1198
21599
199781
152806
2025-07-03T08:53:07Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:How to create implementations/Page display title/zh]] to [[Translations:Wikifunctions:How to create implementations/Page display title/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
152806
wikitext
text/x-wiki
维基函数:如何创建函数的-{zh:实现;zh-hans:实现;zh-hant:實作;}-
b7jua141ma0ulk6f597doh2jgu0tfiv
199979
199781
2025-07-03T09:27:40Z
Winston Sung
2672
199979
wikitext
text/x-wiki
Wikifunctions:如何创建函数的实现
ppjjrjic56gi0i843610eg6ca5jgyyc
199991
199979
2025-07-03T09:29:10Z
Winston Sung
2672
199991
wikitext
text/x-wiki
Wikifunctions:如何创建函数实现
6d93lhxyp9j4mrczak3n7qdwxrstkpj
Translations:Wikifunctions:How to create implementations/1/zh-hans
1198
21601
199782
152809
2025-07-03T08:53:20Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:How to create implementations/1/zh]] to [[Translations:Wikifunctions:How to create implementations/1/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
152809
wikitext
text/x-wiki
本页面,超越了在$1中的概述,提供了更加细节性的指导去创建函式的-{A|zh:实现;zh-hans:实现;zh-hant:實作;}-。
3dbf0lgg6uej0fn9iiilh3hwx63uf47
199981
199782
2025-07-03T09:27:52Z
Winston Sung
2672
199981
wikitext
text/x-wiki
本页面,超越了在$1中的概述,提供了更加细节性的指导去创建函式的实现。
c3jlpsit433ylw3iruu59pj36jdl34x
Translations:Wikifunctions:How to create implementations/2/zh-hans
1198
21602
199784
152811
2025-07-03T08:53:32Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:How to create implementations/2/zh]] to [[Translations:Wikifunctions:How to create implementations/2/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
152811
wikitext
text/x-wiki
== Python-{A|zh-cn:代码;zh-tw:程式碼}- ==
t5vgjztf3ukby36v2lcnydj4vou69re
199983
199784
2025-07-03T09:27:59Z
Winston Sung
2672
199983
wikitext
text/x-wiki
== Python代码 ==
spcxw120tdrd8ia6vypcvrhfxb8m2k3
Translations:Wikifunctions:How to create implementations/3/zh-hans
1198
21603
199786
152813
2025-07-03T08:53:44Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:How to create implementations/3/zh]] to [[Translations:Wikifunctions:How to create implementations/3/zh-hans]] without leaving a redirect: Request at [[WF:AN]]
152813
wikitext
text/x-wiki
在本小節中,我们会有一个例子去说明如何用python代码创建一个实现。我们要创建的函数的实现,它的输入数据包含两个字符串,返回的结果是将两个字符串中间加入一个空格。我們假設該函式的ZID是Z11057。
c5qqgv1u8sfjcqdx1oo4mbyw9vraaf1
199985
199786
2025-07-03T09:28:12Z
Winston Sung
2672
199985
wikitext
text/x-wiki
在本小節中,我们会有一个例子去说明如何用Python代码创建实现。我们要创建的函数的实现,它的输入数据包含两个字符串,返回的结果是将两个字符串中间加入一个空格。我們假設該函式的ZID是Z11057。
563jpe7hzw0qo0dj8m65v355j59kx2s
Z6821
0
40375
199778
195098
2025-07-03T01:55:28Z
DMartin (WMF)
24
Added Z23747 to the approved list of test cases
199778
zobject
text/plain
{
"Z1K1": "Z2",
"Z2K1": {
"Z1K1": "Z6",
"Z6K1": "Z6821"
},
"Z2K2": {
"Z1K1": "Z8",
"Z8K1": [
"Z17",
{
"Z1K1": "Z17",
"Z17K1": "Z6091",
"Z17K2": "Z6821K1",
"Z17K3": {
"Z1K1": "Z12",
"Z12K1": [
"Z11",
{
"Z1K1": "Z11",
"Z11K1": "Z1002",
"Z11K2": "Wikidata item reference"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1430",
"Z11K2": "Wikidata-Datenobjekt-Referenz"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1004",
"Z11K2": "référence de l'élément Wikidata"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1787",
"Z11K2": "riferimento a elemento Wikidata"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1011",
"Z11K2": "উইকিউপাত্ত আইটেম"
}
]
}
}
],
"Z8K2": "Z6001",
"Z8K3": [
"Z20",
"Z23747"
],
"Z8K4": [
"Z14",
"Z6921"
],
"Z8K5": "Z6821"
},
"Z2K3": {
"Z1K1": "Z12",
"Z12K1": [
"Z11",
{
"Z1K1": "Z11",
"Z11K1": "Z1002",
"Z11K2": "Fetch Wikidata item"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1430",
"Z11K2": "erhalte Wikidata-Datenobjekt"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1004",
"Z11K2": "récupérer l'élément Wikidata"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1672",
"Z11K2": "擷取維基數據項目"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1787",
"Z11K2": "ottieni elemento Wikidata"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1011",
"Z11K2": "উইকিউপাত্ত আইটেম আনয়ন"
}
]
},
"Z2K4": {
"Z1K1": "Z32",
"Z32K1": [
"Z31",
{
"Z1K1": "Z31",
"Z31K1": "Z1002",
"Z31K2": [
"Z6",
"Resolve Wikidata item reference",
"Get Wikidata item"
]
},
{
"Z1K1": "Z31",
"Z31K1": "Z1787",
"Z31K2": [
"Z6",
"accedi a riferimento di elemento Wikidata",
"segui riferimento di elemento Wikidata",
"ottieni elemento di Wikidata"
]
}
]
},
"Z2K5": {
"Z1K1": "Z12",
"Z12K1": [
"Z11"
]
}
}
8gn7aa0kdsj765ijuaeiujn1fzyz1za
Z6825
0
40378
199779
193293
2025-07-03T01:59:34Z
DMartin (WMF)
24
Added Z23749 to the approved list of test cases
199779
zobject
text/plain
{
"Z1K1": "Z2",
"Z2K1": {
"Z1K1": "Z6",
"Z6K1": "Z6825"
},
"Z2K2": {
"Z1K1": "Z8",
"Z8K1": [
"Z17",
{
"Z1K1": "Z17",
"Z17K1": "Z6095",
"Z17K2": "Z6825K1",
"Z17K3": {
"Z1K1": "Z12",
"Z12K1": [
"Z11",
{
"Z1K1": "Z11",
"Z11K1": "Z1002",
"Z11K2": "Wikidata lexeme reference"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1430",
"Z11K2": "Wikidata-Lexem-Referenz"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1592",
"Z11K2": "Wikidata lexem id"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1004",
"Z11K2": "référence du lexème Wikidata"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1011",
"Z11K2": "লেক্সিম উল্লেখ"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1787",
"Z11K2": "riferimento a lessema Wikidata"
}
]
}
}
],
"Z8K2": "Z6005",
"Z8K3": [
"Z20",
"Z23749"
],
"Z8K4": [
"Z14",
"Z6925"
],
"Z8K5": "Z6825"
},
"Z2K3": {
"Z1K1": "Z12",
"Z12K1": [
"Z11",
{
"Z1K1": "Z11",
"Z11K1": "Z1002",
"Z11K2": "fetch Wikidata lexeme"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1430",
"Z11K2": "erhalte Wikidata-Lexem"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1592",
"Z11K2": "Hämta Wikidata lexem"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1004",
"Z11K2": "récupérer le lexème Wikidata"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1672",
"Z11K2": "擷取維基數據詞位"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1011",
"Z11K2": "উইকিউপাত্ত লেক্সিম আনয়ন করা"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1787",
"Z11K2": "ottieni lessema Wikidata"
}
]
},
"Z2K4": {
"Z1K1": "Z32",
"Z32K1": [
"Z31",
{
"Z1K1": "Z31",
"Z31K1": "Z1002",
"Z31K2": [
"Z6",
"Resolve Wikidata lexeme reference",
"Get Wikidata lexeme",
"lexeme from lexeme reference",
"lexeme reference to lexeme"
]
},
{
"Z1K1": "Z31",
"Z31K1": "Z1592",
"Z31K2": [
"Z6",
"hämta lexem"
]
},
{
"Z1K1": "Z31",
"Z31K1": "Z1011",
"Z31K2": [
"Z6",
"উইকিউপাত্ত লেক্সিম আনয়ন",
"উইকিউপাত্ত লেক্সিম ফেচ"
]
},
{
"Z1K1": "Z31",
"Z31K1": "Z1787",
"Z31K2": [
"Z6",
"riferimento a lessema",
"riferimento in lessema",
"lessema da riferimento a lessema"
]
}
]
},
"Z2K5": {
"Z1K1": "Z12",
"Z12K1": [
"Z11"
]
}
}
3j70jakfkvd0rwqziuexmjy2lcwmr85
Translations:Wikifunctions:How to create implementations/4/zh-hant
1198
46668
199788
152815
2025-07-03T08:53:55Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:How to create implementations/4/zh]] to [[Translations:Wikifunctions:How to create implementations/4/zh-hant]] without leaving a redirect: Request at [[WF:AN]]
152815
wikitext
text/x-wiki
本說明僅在實作使用Strings和Booleans作為輸入或輸出類型時有效。如果使用的是其他類型,請參閱指定類型的說明文件,瞭解如何轉換值使其能在Python中使用。我們計劃在未來讓這變得更容易。
3j700xkzjqadu3vc7fp9qq827d6sfvg
199996
199788
2025-07-03T09:30:14Z
Winston Sung
2672
199996
wikitext
text/x-wiki
本說明僅在實作使用String和Boolean作為輸入或輸出類型時有效。如果使用的是其他類型,請參閱指定類型的說明文件,瞭解如何轉換值使其能在Python中使用。我們計劃在未來讓這變得更容易。
5zpk62rfvol8zbq8c6hg00oop8xzmz9
Translations:Wikifunctions:How to create implementations/5/zh-hant
1198
46669
199790
152817
2025-07-03T08:54:07Z
Ameisenigel
44
Ameisenigel moved page [[Translations:Wikifunctions:How to create implementations/5/zh]] to [[Translations:Wikifunctions:How to create implementations/5/zh-hant]] without leaving a redirect: Request at [[WF:AN]]
152817
wikitext
text/x-wiki
實作是使用函式的ZID來定義的,函式的參數也是如此。因此,下列以包含兩個參數的函數Z11057為例,第一行應該是這樣的:
i6iyo3k6vki8i1kck3icuy2uw7eoo49
Z21587
0
47686
199774
156865
2025-07-02T13:05:17Z
DSmit-WMF
6797
Added Z25928 to the approved list of test cases
199774
zobject
text/plain
{
"Z1K1": "Z2",
"Z2K1": {
"Z1K1": "Z6",
"Z6K1": "Z21587"
},
"Z2K2": {
"Z1K1": "Z8",
"Z8K1": [
"Z17",
{
"Z1K1": "Z17",
"Z17K1": "Z6",
"Z17K2": "Z21587K1",
"Z17K3": {
"Z1K1": "Z12",
"Z12K1": [
"Z11"
]
}
}
],
"Z8K2": "Z6",
"Z8K3": [
"Z20",
"Z21589",
"Z21590",
"Z25928"
],
"Z8K4": [
"Z14",
"Z21588"
],
"Z8K5": "Z21587"
},
"Z2K3": {
"Z1K1": "Z12",
"Z12K1": [
"Z11",
{
"Z1K1": "Z11",
"Z11K1": "Z1002",
"Z11K2": "Test function, for T383502"
}
]
},
"Z2K4": {
"Z1K1": "Z32",
"Z32K1": [
"Z31"
]
},
"Z2K5": {
"Z1K1": "Z12",
"Z12K1": [
"Z11"
]
}
}
5qrix93pbfhvfkrzzqjiwi9553rwfc9
199775
199774
2025-07-02T13:12:17Z
WikiLambda system
3
Remove reference to deleted tester Z25928
199775
zobject
text/plain
{
"Z1K1": "Z2",
"Z2K1": {
"Z1K1": "Z6",
"Z6K1": "Z21587"
},
"Z2K2": {
"Z1K1": "Z8",
"Z8K1": [
"Z17",
{
"Z1K1": "Z17",
"Z17K1": "Z6",
"Z17K2": "Z21587K1",
"Z17K3": {
"Z1K1": "Z12",
"Z12K1": [
"Z11"
]
}
}
],
"Z8K2": "Z6",
"Z8K3": [
"Z20",
"Z21589",
"Z21590"
],
"Z8K4": [
"Z14",
"Z21588"
],
"Z8K5": "Z21587"
},
"Z2K3": {
"Z1K1": "Z12",
"Z12K1": [
"Z11",
{
"Z1K1": "Z11",
"Z11K1": "Z1002",
"Z11K2": "Test function, for T383502"
}
]
},
"Z2K4": {
"Z1K1": "Z32",
"Z32K1": [
"Z31"
]
},
"Z2K5": {
"Z1K1": "Z12",
"Z12K1": [
"Z11"
]
}
}
68fp8m0jrutw2tfpzlgdt8x4ibzbk7c
Translations:Wikifunctions:Status updates/16/zh-hans
1198
53276
200102
197678
2025-07-03T10:05:20Z
Winston Sung
2672
200102
wikitext
text/x-wiki
$1:关于识别对象
crx07xyphfyslcm9m8oqz61vsp8hh4m
Z25341
0
58880
199777
195161
2025-07-02T15:59:23Z
DMartin (WMF)
24
Added Z25343 to the approved list of implementations
199777
zobject
text/plain
{
"Z1K1": "Z2",
"Z2K1": {
"Z1K1": "Z6",
"Z6K1": "Z25341"
},
"Z2K2": {
"Z1K1": "Z8",
"Z8K1": [
"Z17",
{
"Z1K1": "Z17",
"Z17K1": "Z6005",
"Z17K2": "Z25341K1",
"Z17K3": {
"Z1K1": "Z12",
"Z12K1": [
"Z11",
{
"Z1K1": "Z11",
"Z11K1": "Z1002",
"Z11K2": "lexeme"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1787",
"Z11K2": "lessema"
}
]
}
},
{
"Z1K1": "Z17",
"Z17K1": "Z25501",
"Z17K2": "Z25341K2",
"Z17K3": {
"Z1K1": "Z12",
"Z12K1": [
"Z11",
{
"Z1K1": "Z11",
"Z11K1": "Z1002",
"Z11K2": "gender"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1787",
"Z11K2": "genere"
}
]
}
}
],
"Z8K2": "Z6",
"Z8K3": [
"Z20"
],
"Z8K4": [
"Z14",
"Z25343"
],
"Z8K5": "Z25341"
},
"Z2K3": {
"Z1K1": "Z12",
"Z12K1": [
"Z11",
{
"Z1K1": "Z11",
"Z11K1": "Z1002",
"Z11K2": "First gender-matching word from lexeme"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1787",
"Z11K2": "prima forma da lessema con genere (m/f)"
}
]
},
"Z2K4": {
"Z1K1": "Z32",
"Z32K1": [
"Z31"
]
},
"Z2K5": {
"Z1K1": "Z12",
"Z12K1": [
"Z11",
{
"Z1K1": "Z11",
"Z11K1": "Z1002",
"Z11K2": "Return the representation string from the first lexeme form having the given gender as one of its grammatical features."
},
{
"Z1K1": "Z11",
"Z11K1": "Z1787",
"Z11K2": "Restituisce la prima stringa di rappresentazione con il genere dato come caratteristica grammaticale."
}
]
}
}
tn3dqlqzm04gwc82thgq4ut57afcejl
Wikifunctions:Status updates/zh-hans
4
59871
200103
198616
2025-07-03T10:05:21Z
Winston Sung
2672
200103
wikitext
text/x-wiki
<languages/>
{{shortcut|WF:SU}}{{notice|1='''[[:m:Global message delivery/Targets/Wikifunctions & Abstract Wikipedia|订阅]]'''以接收有关每个新内容的简短wiki内群发消息提醒}}
{{Wikifunctions updates
| prevlabel = 先前更新
| prev = 2024-02-01
| nextlabel = 最近更新
| next = 2025-06-21
}}
围绕Wikifunctions和抽象维基百科有很多事情发生。本页发布我们的更新,包括[[Special:MyLanguage/WF:function of the Week|每周功能]]。
您也可以订阅[[:m:Global message delivery/Targets/Wikifunctions & Abstract Wikipedia|wiki内新闻通讯]],将它们发送到您的讨论页或您项目的互助客栈。
<span id="Newsletters"></span>
=== 电子报 ===
<!--<nowiki> Newsletter entry template:
* <translate><tvar name="1"><bdi dir="ltr">[[Special:MyLanguage/Wikifunctions:Status updates/2025-??-??|2025-??-??]]</bdi></tvar>: Title</translate>
NOTE: Remember to also update the "next =" date at the top of this page.
</nowiki>-->
=== 2025 ===
* <span lang="en" dir="ltr" class="mw-content-ltr"><bdi dir="ltr">[[Special:MyLanguage/Wikifunctions:Status updates/2025-06-27|2025-06-27]]</bdi>: How many people are needed to write an encyclopedia?</span>
* <span lang="en" dir="ltr" class="mw-content-ltr"><bdi dir="ltr">[[Special:MyLanguage/Wikifunctions:Status updates/2025-06-21|2025-06-21]]</bdi>: Quarterly Planning for July–September 2025</span>
* <span lang="en" dir="ltr" class="mw-content-ltr"><bdi dir="ltr">[[Special:MyLanguage/Wikifunctions:Status updates/2025-06-15|2025-06-15]]</bdi>: Closing the consultation about the location of Abstract Content</span>
* <span lang="en" dir="ltr" class="mw-content-ltr"><bdi dir="ltr">[[Special:MyLanguage/Wikifunctions:Status updates/2025-06-06|2025-06-06]]</bdi>: Where will Abstract Content go?</span>
* <span lang="en" dir="ltr" class="mw-content-ltr"><bdi dir="ltr">[[Special:MyLanguage/Wikifunctions:Status updates/2025-05-29|2025-05-29]]</bdi>: Rolling out to five Wiktionaries; Calculating with today's date</span>
* <span lang="en" dir="ltr" class="mw-content-ltr"><bdi dir="ltr">[[Special:MyLanguage/Wikifunctions:Status updates/2025-05-23|2025-05-23]]</bdi>: Ongoing consultation about the Location for Abstract Content</span>
* <span lang="en" dir="ltr" class="mw-content-ltr"><bdi dir="ltr">[[Special:MyLanguage/Wikifunctions:Status updates/2025-05-15|2025-05-15]]</bdi>: Location of Abstract Content</span>
* <span lang="en" dir="ltr" class="mw-content-ltr"><bdi dir="ltr">[[Special:MyLanguage/Wikifunctions:Status updates/2025-05-09|2025-05-09]]</bdi>: Abstract Wikipedia and the Wikimedia AI Strategy</span>
* <span lang="en" dir="ltr" class="mw-content-ltr"><bdi dir="ltr">[[Special:MyLanguage/Wikifunctions:Status updates/2025-04-30|2025-04-30]]</bdi>: Abstract Wikipedia is a MacArthur 100&Change finalist</span>
* <span lang="en" dir="ltr" class="mw-content-ltr"><bdi dir="ltr">[[Special:MyLanguage/Wikifunctions:Status updates/2025-04-25|2025-04-25]]</bdi>: Welcome, Gregory!</span>
* <span lang="en" dir="ltr" class="mw-content-ltr"><bdi dir="ltr">[[Special:MyLanguage/Wikifunctions:Status updates/2025-04-16|2025-04-16]]</bdi>: Wikifunctions integrated in Dagbani - and Wikifunctions; and the date of Easter</span>
* <span lang="en" dir="ltr" class="mw-content-ltr"><bdi dir="ltr">[[Special:MyLanguage/Wikifunctions:Status updates/2025-04-11|2025-04-11]]</bdi>: Quarter in review</span>
* <span lang="en" dir="ltr" class="mw-content-ltr"><bdi dir="ltr">[[Special:MyLanguage/Wikifunctions:Status updates/2025-04-05|2025-04-05]]</bdi>: Quarterly Planning for April–June 2025; We are looking for a Senior Product Manager</span>
* <span lang="en" dir="ltr" class="mw-content-ltr"><bdi dir="ltr">[[Special:MyLanguage/Wikifunctions:Status updates/2025-03-28|2025-03-28]]</bdi>: It's about time</span>
* <bdi dir="ltr">[[Special:MyLanguage/Wikifunctions:Status updates/2025-03-20|2025-03-20]]</bdi>:基于维基数据的简单枚举
* <bdi dir="ltr">[[Special:MyLanguage/Wikifunctions:Status updates/2025-03-15|2025-03-15]]</bdi>:即将举行的自然语言生成会议,软件的近期更改
* <bdi dir="ltr">[[Special:MyLanguage/Wikifunctions:Status updates/2025-03-07|2025-03-07]]</bdi>:软件的近期更改,志愿者角记录,以及伦敦谈话
* <bdi dir="ltr">[[Special:MyLanguage/Wikifunctions:Status updates/2025-02-26|2025-02-26]]</bdi>:从事物到词语
* <bdi dir="ltr">[[Special:MyLanguage/Wikifunctions:Status updates/2025-02-19|2025-02-19]]</bdi>:一个按语言和语篇划分类型的建议
* <bdi dir="ltr">[[Special:MyLanguage/Wikifunctions:Status updates/2025-02-13|2025-02-13]]</bdi>:限制世界,再版
* <bdi dir="ltr">[[Special:MyLanguage/Wikifunctions:Status updates/2025-02-06|2025-02-06]]</bdi>:邀请加入自然语言生成特别兴趣小组
* <bdi dir="ltr">[[Special:MyLanguage/Wikifunctions:Status updates/2025-01-29|2025-01-29]]</bdi>:伴随2000个功能进入新的一年:统计时间
* <bdi dir="ltr">[[Special:MyLanguage/Wikifunctions:Status updates/2025-01-22|2025-01-22]]</bdi>:欢迎,大卫!命名规范建议
* <bdi dir="ltr">[[Special:MyLanguage/Wikifunctions:Status updates/2025-01-15|2025-01-15]]</bdi>:维基百科日快乐!季度规划
=== 2024 ===
* <bdi dir="ltr">[[Special:MyLanguage/Wikifunctions:Status updates/2024-12-19|2024-12-19]]</bdi>:每周功能:年龄;年份条目的介绍;新类型:浮点数
* <bdi dir="ltr">[[Special:MyLanguage/Wikifunctions:Status updates/2024-12-12|2024-12-12]]</bdi>:勾画通往抽象維基百科的路径;在里斯本的团队异地工作;新类型:公历日期
* <bdi dir="ltr">[[Special:MyLanguage/Wikifunctions:Status updates/2024-11-27|2024-11-27]]</bdi>:WordGraph 发布;新的特殊页面:按测试列出功能;新的年月日类型
* <bdi dir="ltr">[[Special:MyLanguage/Wikifunctions:Status updates/2024-11-21|2024-11-21]]</bdi>:新增遗失标签的特殊页面、新的公元年份类型,以及更多內容
* <bdi dir="ltr">[[Special:MyLanguage/Wikifunctions:Status updates/2024-11-13|2024-11-13]]</bdi>:新类型:有理数;关于基于维基数据类型的文档;诸此之类
* <bdi dir="ltr">[[Special:MyLanguage/Wikifunctions:Status updates/2024-11-07|2024-11-07]]</bdi>:通用语言之梦
* <bdi dir="ltr">[[Special:MyLanguage/Wikifunctions:Status updates/2024-11-01|2024-11-01]]</bdi>:重写后端
* <bdi dir="ltr">[[Special:MyLanguage/Wikifunctions:Status updates/2024-10-25|2024-10-25]]</bdi>:我们本季度的目标:协议
* <bdi dir="ltr">[[Special:MyLanguage/Wikifunctions:Status updates/2024-10-17|2024-10-17]]</bdi>:抽象内容可以是什么样子?
* <bdi dir="ltr">[[Special:MyLanguage/Wikifunctions:Status updates/2024-10-11|2024-10-11]]</bdi>:维基功能中的维基数据词条即将推出
* <bdi dir="ltr">[[Special:MyLanguage/Wikifunctions:Status updates/2024-10-02|2024-10-02]]</bdi>:重点议题:食物
* <bdi dir="ltr">[[Special:MyLanguage/Wikifunctions:Status updates/2024-09-26|2024-09-26]]</bdi>:2024年10月-12月的季度规划;明在凯尔特之结发表演讲
* <bdi dir="ltr">[[Special:MyLanguage/Wikifunctions:Status updates/2024-09-20|2024-09-20]]</bdi>:介绍重点专题领域
* <bdi dir="ltr">[[Special:MyLanguage/Wikifunctions:Status updates/2024-09-13|2024-09-13]]</bdi>:达格巴尼维基百科将是我们第一个整合维基功能的维基百科
* <bdi dir="ltr">[[Special:MyLanguage/Wikifunctions:Status updates/2024-09-06|2024-09-06]]</bdi>:志愿者之角及其它最新信息
* <bdi dir="ltr">[[Special:MyLanguage/Wikifunctions:Status updates/2024-08-29|2024-08-29]]</bdi>:名称和描述长度限制
* <bdi dir="ltr">[[Special:MyLanguage/Wikifunctions:Status updates/2024-08-23|2024-08-23]]</bdi>: WasmEdge,现减少300毫秒延迟
* <bdi dir="ltr">[[Special:MyLanguage/Wikifunctions:Status updates/2024-08-16|2024-08-16]]</bdi>:2024年维基媒体国际会议
* <bdi dir="ltr">[[Special:MyLanguage/Wikifunctions:Status updates/2024-08-02|2024-08-02]]</bdi>:改造我们的“关于 ”小部件
* <bdi dir="ltr">[[Special:MyLanguage/Wikifunctions:Status updates/2024-07-26|2024-07-26]]</bdi>:2024年维基媒体大会即将召开!
* <bdi dir="ltr">[[Special:MyLanguage/Wikifunctions:Status updates/2024-07-18|2024-07-18]]</bdi>:关于从维基百科整合维基功能的研究报告
* <bdi dir="ltr">[[Special:MyLanguage/Wikifunctions:Status updates/2024-07-10|2024-07-10]]</bdi>:访问词库的类型建议
* <bdi dir="ltr">[[Special:MyLanguage/Wikifunctions:Status updates/2024-07-03|2024-07-03]]</bdi>:季度规划
* <bdi dir="ltr">[[Special:MyLanguage/Wikifunctions:Status updates/2024-06-26|2024-06-26]]</bdi>:欢迎,达芙妮!
* <bdi dir="ltr">[[Special:MyLanguage/Wikifunctions:Status updates/2024-06-20|2024-06-20]]</bdi>:新类型:整数
* <bdi dir="ltr">[[Special:MyLanguage/Wikifunctions:Status updates/2024-06-13|2024-06-13]]</bdi>:新类型:伊格博日历月
* <bdi dir="ltr">[[Special:MyLanguage/Wikifunctions:Status updates/2024-06-06|2024-06-06]]</bdi>:新类型:带符号
* <bdi dir="ltr">[[Special:MyLanguage/Wikifunctions:Status updates/2024-05-30|2024-05-30]]</bdi>:单数形式的唯一性还是复数形式的多样性?
* <bdi dir="ltr">[[Special:MyLanguage/Wikifunctions:Status updates/2024-05-22|2024-05-22]]</bdi>:新类型:公历月份
* <bdi dir="ltr">[[Special:MyLanguage/Wikifunctions:Status updates/2024-05-15|2024-05-15]]</bdi>:征集功能:拼读数字!
* <bdi dir="ltr">[[Special:MyLanguage/Wikifunctions:Status updates/2024-05-10|2024-05-10]]</bdi>:枚举的旗舰类型:公历月份
* <bdi dir="ltr">[[Special:MyLanguage/Wikifunctions:Status updates/2024-05-03|2024-05-03]]</bdi>:团队会议和季度计划
* <bdi dir="ltr">[[Special:MyLanguage/Wikifunctions:Status updates/2024-04-19|2024-04-19]]</bdi>:欢迎,沙瓦妮!
* <bdi dir="ltr">[[Special:MyLanguage/Wikifunctions:Status updates/2024-04-11|2024-04-11]]</bdi>:用于调用维基函数和庆祝1000个函数的新API
* <bdi dir="ltr">[[Special:MyLanguage/Wikifunctions:Status updates/2024-04-03|2024-04-03]]</bdi>:关于差分和即将推出的 API 改进的产品更新
* <bdi dir="ltr">[[Special:MyLanguage/Wikifunctions:Status updates/2024-03-28|2024-03-28]]</bdi>:创建测试现已更容易!
* <bdi dir="ltr">[[Special:MyLanguage/Wikifunctions:Status updates/2024-03-21|2024-03-21]]</bdi>:在号码国际化的道路上
* <bdi dir="ltr">[[Special:MyLanguage/Wikifunctions:Status updates/2024-03-13|2024-03-13]]</bdi>:关于识别对象
* <bdi dir="ltr">[[Special:MyLanguage/Wikifunctions:Status updates/2024-03-07|2024-03-07]]</bdi>:介绍我们的第二个新类型:自然数
* <bdi dir="ltr">[[Special:MyLanguage/Wikifunctions:Status updates/2024-02-28|2024-02-28]]</bdi>:自然数类型提案
* <bdi dir="ltr">[[Special:MyLanguage/Wikifunctions:Status updates/2024-02-22|2024-02-22]]</bdi>:更新功能模型
* <bdi dir="ltr">[[Special:MyLanguage/Wikifunctions:Status updates/2024-02-14|2024-02-14]]</bdi>:修——缮周
* <bdi dir="ltr">[[Special:MyLanguage/Wikifunctions:Status updates/2024-02-07|2024-02-07]]</bdi>:季度规划。谢谢你,尼克!本周功能:是置换
* <bdi dir="ltr">[[Special:MyLanguage/Wikifunctions:Status updates/2024-02-01|2024-02-01]]</bdi>:伊格博人的要务!
<span id="Before_February_2024"></span>
=== 2024年2月之前 ===
这一时期的所有更新都[[:m:Special:MyLanguage/Abstract Wikipedia/Updates|在 Meta-Wiki 上可用]]。
[[Category:Status updates{{#translation:}}| ]]
9wsdo409ey1y2r46js72dsk7qnovxae
Wikifunctions:Glossary/zh-hant
4
60250
200105
199588
2025-07-03T10:06:07Z
Winston Sung
2672
Created page with "識別物件"
200105
wikitext
text/x-wiki
<noinclude><languages/>
<!--<nowiki>(nowiki tags are so that the translate extension doesn't try to translate the TERM and DEFINITION in this boilerplate).
Use this boilerplate for a new term:
; {{anchor|term|Term}} <translate>term</translate> {{English term|term}}
: ''Definition verification needed''
: <translate>definition</translate>
Notes:
1. Omit the "Definition verification" if you're sure that your definition is correct.
2. You can add several values for anchor, if it has spelling or capitalization variants; see the documentation for Template:Anchor and examples in other terms.
</nowiki>--></noinclude>
<span lang="en" dir="ltr" class="mw-content-ltr">Feel free to ask for terms on the [[Wikifunctions talk:Glossary|talk page]], or to add more terms and improve the definitions.</span>
{|class="toccolours" style="margin:.2em auto;padding:.2em .5em;text-align:center" dir="ltr" lang="en"
|-
|style="padding:0;width:100%"|{{CompactTOC}}
|}
== A ==
; {{anchor|abstract|Abstract}} 抽象 {{English term|abstract}}
: <span lang="en" dir="ltr" class="mw-content-ltr">not in a specific [[#natural_language|natural language]] but abstracting from it; aiming to provide a notation for the meaning behind natural language texts, sentences, or phrases. The opposite of [[#concrete|concrete]].</span>
; {{anchor|abstracttext|AbstractText}} <span lang="en" dir="ltr" class="mw-content-ltr">AbstractText</span> {{English term|AbstractText}}
: <span lang="en" dir="ltr" class="mw-content-ltr">prototype [https://github.com/google/abstracttext implementation] of the [[#Wikifunctions|Wikifunctions]] idea.</span>
; {{anchor|abstract_content}} 抽象內容 {{English term|abstract content}}
: <span lang="en" dir="ltr" class="mw-content-ltr">see [[#Content|content]].</span>
; {{anchor|abstract_Wikipedia|Abstract_Wikipedia}} <span lang="en" dir="ltr" class="mw-content-ltr">Abstract Wikipedia</span> {{English term|Abstract Wikipedia}}
: <span lang="en" dir="ltr" class="mw-content-ltr">preliminary name of all the [[#Content|Content]] that can be used by [[#local_Wikipedia|local Wikipedias]] to [[#Renderer|render]] an [[#article|article]] in [[#natural_language|natural language]]; currently proposed to live in [[#Wikidata|Wikidata]] next to the corresponding [[#Item|Item]], but that will be discussed before [[#Part_P2|Part P2]] of the [[#development_project|development project]].</span>
; {{anchor|alias}} 別名 {{English term|alias}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an alternative label for an object, used foremost to find the object.</span>
; {{anchor|argument}} <span lang="en" dir="ltr" class="mw-content-ltr">argument</span> {{English term|argument}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an input given to a [[#function call|function call]].</span>
; {{anchor|argument reference}} <span lang="en" dir="ltr" class="mw-content-ltr">argument reference</span> {{English term|argument reference}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#reference|reference]] to one of the supplied arguments within a [[#composition|composition]].</span>
; {{anchor|array}} 陣列 {{English term|array}}
: <span lang="en" dir="ltr" class="mw-content-ltr">Many programming languages have an "array" type. The counterparts in Wikifunctions are [[#list|list]] and [[#typed list|typed list]]. See also [[#Benjamin array|Benjamin array]].</span>
; {{anchor|article|Article}} 條目 {{English term|article}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a page in the main namespace of [[#Wikipedia|Wikipedia]], usually representing one entry in Wikipedia.</span>
== B ==
; {{anchor|Benjamin array}} <span lang="en" dir="ltr" class="mw-content-ltr">Benjamin array</span> {{English term|Benjamin array}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a way to denote [[#typed list|typed list]] proposed by Benjamin Degenhart, where a typed list is stored as a JSON list whose first element denotes the type. This is in contrast with the previous proposed schema, which uses LISP-style singly-linked lists, in which the type must be stored once in each node.</span>
; {{anchor|boolean|Boolean}} 布林值 {{English term|boolean}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a value that can have 2 states, usually denoted true and false.</span>
; {{anchor|built-in|builtin}} 內建 {{English term|built-in}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a native implementation of a function that is provided by the evaluator and that is not editable through the wiki interface.</span>
== C ==
; {{anchor|call}} <span lang="en" dir="ltr" class="mw-content-ltr">call</span> {{English term|call}}
: <span lang="en" dir="ltr" class="mw-content-ltr">see [[#function call|function call]]. In English, the term [[#invoke|invoke or invocation]] may also be used.</span>
; {{anchor|canonical|canonicalized|canonicalised}} <span lang="en" dir="ltr" class="mw-content-ltr">canonical, canonicalized, canonicalised</span> {{English term|canonical, canonicalized, canonicalised}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a specific, less verbose and thus more readable way to represent [[#ZObject|ZObjects]] in [[#JSON|JSON]]; it is the usual representation ZObjects are stored in [[#Wikifunctions|Wikifunctions]]. This is opposed to [[#normal|normal]].</span>
; {{anchor|character}} 字元 {{English term|character}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a character as defined by Unicode, a constituent of a String; a character can consist of several bytes (or octets).</span>
; {{anchor|composition}} 組成 {{English term|composition}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a form of implementation of a function, where the implementation is given by the combination of other functions; see [[Special:MyLanguage/Wikifunctions:Function model#Composition|Function model]].</span>
; {{anchor|composition notation}} <span lang="en" dir="ltr" class="mw-content-ltr">composition notation</span> {{English term|composition notation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an easy-to-read notation for compositions; see [[Special:MyLanguage/Wikifunctions:Function model#Composition|Function model]].</span>
; {{anchor|concrete|Concrete}} <span lang="en" dir="ltr" class="mw-content-ltr">concrete</span> {{English term|concrete}}
: <span lang="en" dir="ltr" class="mw-content-ltr">in a specific [[#natural_language|natural language]]. The opposite of [[#abstract|abstract]].</span>
; {{anchor|cons}} <span lang="en" dir="ltr" class="mw-content-ltr">cons</span> {{English term|cons}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a function to create a new list by adding an element at the top of it; see [[phab:T261474]].</span> <span lang="en" dir="ltr" class="mw-content-ltr">See [[w:cons|cons]] in Wikipedia.</span>
; {{anchor|constructor|Constructor}} <span lang="en" dir="ltr" class="mw-content-ltr">constructor</span> {{English term|constructor}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an [[#abstract|abstract]] building block of [[#Content|content]]. A constructor aims to capture the meaning of a single phrase or sentence structure. It often has slots that can take other constructors, and can itself be used as a value to fill the slots of other constructors.</span>
; {{anchor|Content}}<!--do not add |content to the anchor, it is used by MediaWiki--> <span lang="en" dir="ltr" class="mw-content-ltr">content, abstract content</span> {{English term|content, abstract content}}
: <span lang="en" dir="ltr" class="mw-content-ltr">abstract representation of a text or text fragment, assembled from [[#Constructor|constructors]]. Technically, an instance of a constructor. The top level constructor is used to represent a whole [[#article|article]] and stored in [[#Abstract_Wikipedia|Abstract Wikipedia]], but content can be also for just a sentence or phrase. Sometimes called abstract content.</span>
; {{anchor|curry}} <span lang="en" dir="ltr" class="mw-content-ltr">curried, curry, currying</span> {{English term|curried, curry, currying}}
: <span lang="en" dir="ltr" class="mw-content-ltr">A curried function is a function that was translated from taking multiple arguments into a sequence of functions, each with a single argument. This technique is named after the American mathematician [[:w:en:Haskell Curry|Haskell Curry]]. See [[:w:en:Currying|Currying]] in Wikipedia.</span>
== D ==
; {{anchor|deserialization|Deserialization|deserialisation|Deserialisation}} <span lang="en" dir="ltr" class="mw-content-ltr">deserialization</span> {{English term|deserialization}}
: <span lang="en" dir="ltr" class="mw-content-ltr">Opposite of [[#serialization|serialization]].</span>
; {{anchor|development_project|Development_project}} <span lang="en" dir="ltr" class="mw-content-ltr">development project</span> {{English term|development project}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a project to develop [[#Wikifunctions|Wikifunctions]] and [[#Abstract_Wikipedia|Abstract Wikipedia]]; see [[:m:Special:MyLanguage/Abstract Wikipedia/Plan|Abstract Wikipedia plan]].</span>
; {{anchor|display function}} 顯示函式 {{English term|display function}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a synonym of [[#renderer|renderer]]. For example, a function that converts a [[#type|type]] into a string that users can understand, such as converting a Number 123456 to "123,456" in (International) English, "1,23,456" in Indian English, "123.456" in French, etc., or converting the Date '2024','03','12' to '2024-03-12', and so on.</span>
; {{anchor|documentation}} 說明文件 {{English term|documentation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">human-readable text explaining an object.</span>
== E ==
; {{anchor|eney|eneyjj}} <span lang="en" dir="ltr" class="mw-content-ltr">eneyj</span> {{English term|eneyj}}
:# <span lang="en" dir="ltr" class="mw-content-ltr">prototype model of [[#Wikifunctions|Wikifunctions]];</span>
:# <span lang="en" dir="ltr" class="mw-content-ltr">a JavaScript implementation of an [[#evaluator|evaluator]] of that model provided in [[#abstracttext|abstracttext]].</span>
; {{anchor|error|Error}} 錯誤 {{English term|error}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a type whose instances indicate problems in [[#evaluation|evaluation]] or [[#validation|validation]]; see [[Special:MyLanguage/Wikifunctions:Function model#Z5/Errors|Function model]].</span>
; {{anchor|evaluation|Evaluation}} <span lang="en" dir="ltr" class="mw-content-ltr">evaluation</span> {{English term|evaluation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">The action performed by the [[#evaluator|evaluator]].</span>
; {{anchor|evaluator|Evaluator}} <span lang="en" dir="ltr" class="mw-content-ltr">evaluator</span> {{English term|evaluator}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a piece of software that takes a [[#ZObject|ZObject]] and evaluates it, that is executes a [[#Function|Function]] and returns the result. We envision the development of several evaluators. Evaluators may be implemented and run in the browser, on the server of the [[#Wikimedia_Foundation|Wikimedia Foundation]], in the cloud, in an app on a mobile device, or other places. Compare to [[#executor|executor]] and [[#orchestrator|orchestrator]].</span>
; {{anchor|execution|Execution}} 執行 {{English term|execution}}
: <span lang="en" dir="ltr" class="mw-content-ltr">The action performed by the [[#executor|executor]].</span>
; {{anchor|executor|Executor|executors|Executors}} <span lang="en" dir="ltr" class="mw-content-ltr">executor</span> {{English term|executor}}
: <span lang="en" dir="ltr" class="mw-content-ltr">one of a set of internal services which are not exposed to the public. They can be only called by the [[#Orchestrator|orchestrator]]. They run native code in a specific programming language. There would be one executor for Lua, one for JavaScript, one for Python, etc. See [https://gitlab.wikimedia.org/repos/abstract-wiki/wikifunctions/function-evaluator#executors the service documentation]. Compare to [[#evaluator|evaluator]] and [[#orchestrator|orchestrator]].</span>
== F ==
; {{anchor|function|Function}} 函式 {{English term|function}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the specification of a computation that takes some input and returns output; see [[w:en:Function (computer science)|Function (computer science)]] in Wikipedia.</span>
; {{anchor|function call|Function call}} <span lang="en" dir="ltr" class="mw-content-ltr">function call</span> {{English term|function call}}
: <span lang="en" dir="ltr" class="mw-content-ltr">A function call is a ZObject consisting of a function and the required arguments for the function, and can be evaluated to another ZObject. In English, the term "invoke" may also be used.</span>
; {{anchor|function evaluator}} <span lang="en" dir="ltr" class="mw-content-ltr">function evaluator</span> {{English term|function evaluator}}
: <span lang="en" dir="ltr" class="mw-content-ltr">See [[#evaluator|evaluator]].</span>
; {{anchor|function executor}} <span lang="en" dir="ltr" class="mw-content-ltr">function executor</span> {{English term|function executor}}
: <span lang="en" dir="ltr" class="mw-content-ltr">See [[#executor|executor]].</span>
; {{anchor|function model}} <span lang="en" dir="ltr" class="mw-content-ltr">function model</span> {{English term|function model}}
: <span lang="en" dir="ltr" class="mw-content-ltr">see [[Special:MyLanguage/Wikifunctions:Function model|Function model]].</span>
; {{anchor|function orchestrator}} <span lang="en" dir="ltr" class="mw-content-ltr">function orchestrator</span> {{English term|function orchestrator}}
: <span lang="en" dir="ltr" class="mw-content-ltr">See [[#orchestrator|orchestrator]].</span>
; {{anchor|function schemata}} <span lang="en" dir="ltr" class="mw-content-ltr">function schemata</span> {{English term|function schemata}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a set of pre-defined ZObjects used in [[#orchestrator|orchestrator]] and [[#evaluator|evaluator]]. The [[#WikiLambda system|WikiLambda system account]] also populates pre-defined ZObjects on-wiki from function schemata.</span>
; {{anchor|functional}} <span lang="en" dir="ltr" class="mw-content-ltr">functional</span> {{English term|functional}}
: <span lang="en" dir="ltr" class="mw-content-ltr">short for "purely functional", meaning that the [[#evaluation|evaluation]] of such a function has no side-effects and is deterministic, that is always the same; see [[w:en:Purely functional programming|Purely functional programming]] in Wikipedia; see [[Special:MyLanguage/Wikifunctions:Function model#non-functional|Function model]].</span>
== G ==
; {{anchor|generic type}} <span lang="en" dir="ltr" class="mw-content-ltr">generic type</span> {{English term|generic type}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a type generated by [[#evaluation|evaluation]] of a function call.</span>
== I ==
; {{anchor|identity|Identity}} 識別物件 {{English term|identity}}
: <span lang="en" dir="ltr" class="mw-content-ltr">The identity of a type is an instance of (specific) function that evaluates to the type. For a simple type, it is a reference to the type itself.</span>
; {{anchor|implementation|Implementation}} 實作 {{English term|implementation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a particular way to execute a [[#function|function]]. An implementation may be a piece of code in a certain programming language, refer to functionality “built into” the [[#evaluator|evaluator]], or [[#composition|compose]] calls to other functions. A function may have many implementations, which should all be equivalent. Short for "[[#ZFunction|ZFunction]] implementation".</span>
; {{anchor|instance}} 實例 {{English term|instance}}
: <span lang="en" dir="ltr" class="mw-content-ltr">Every ZObject is an instance of its type.</span>
; {{anchor|invoke}} <span lang="en" dir="ltr" class="mw-content-ltr">invoke</span> {{English term|invoke}}
: <span lang="en" dir="ltr" class="mw-content-ltr">synonym for [[#call|call]] in English. See [[#function call|function call]].</span>
; {{anchor|item|Item}} 項目 {{English term|item}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an entry in [[#Wikidata|Wikidata]]'s knowledge base; see [[:d:Wikidata:Glossary#Item|Item]] in the Wikidata glossary.</span>
== J ==
; {{anchor|JSON}} JSON {{English term|JSON}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a widely used data transfer format; see [[w:en:JSON|JSON]] in Wikipedia.</span>
== K ==
; {{anchor|key|Key}} 鍵 {{English term|key}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a string which ends with the letter K followed by a natural number, and is optionally preceded by a [[#ZID|ZID]]. Keys are defined in [[#Wikifunctions|Wikifunctions]] usually on [[#Type|Types]] or [[#Function|Functions]], and are used to build up [[#ZObject|ZObjects]].</span>
== L ==
; {{anchor|label}} <span lang="en" dir="ltr" class="mw-content-ltr">label</span> {{English term|label}}
: <span lang="en" dir="ltr" class="mw-content-ltr">main name given to identify a ZObject. May only be plain text.</span>
; {{anchor|lexeme|Lexeme}} <span lang="en" dir="ltr" class="mw-content-ltr">lexeme</span> {{English term|lexeme}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an entry in [[#Wikidata|Wikidata]] storing lexicographic knowledge about, roughly, a word; see [[d:Wikidata:Glossary#Lexeme|Lexeme]] in the Wikidata glossary.</span>
; {{anchor|linearizer|Linearizer}} <span lang="en" dir="ltr" class="mw-content-ltr">linearizer</span> {{English term|linearizer}}
: <span lang="en" dir="ltr" class="mw-content-ltr">(this term is no longer used in current terminology, but can still be found in older documents) synonym of [[#renderer|renderer]] (1).</span>
; {{anchor|list|List}} <span lang="en" dir="ltr" class="mw-content-ltr">list</span> {{English term|list}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a data type that groups an arbitrary number of instances in an ordered entity; see [[w:en:List (abstract data type)|List (abstract data type)]] in Wikipedia.</span>
; {{anchor|literal}} <span lang="en" dir="ltr" class="mw-content-ltr">literal</span> {{English term|literal}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a value that is not a ZObject. Currently the only accepted literal is string.</span>
; {{anchor|local_Wikipedia|Local_Wikipedia}} <span lang="en" dir="ltr" class="mw-content-ltr">local Wikipedia</span> {{English term|local Wikipedia}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#Wikipedia|Wikipedia]] in a specific language, such as Hebrew Wikipedia, Japanese Wikipedia, or Italian Wikipedia.</span>
== M ==
; {{anchor|Multlingual_Wikipedia|multilingual_Wikipedia}} <span lang="en" dir="ltr" class="mw-content-ltr">multilingual Wikipedia</span> {{English term|multilingual Wikipedia}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the architecture that allows [[#local_Wikipedia|local Wikipedias]] to enrich themselves by [[#Renderer|rendering]] the [[#Content|Content]] from [[#Abstract_Wikipedia|Abstract Wikipedia]] and thus have a more comprehensive, current, and correct Wikipedia in their language; see [[:m:Special:MyLanguage/Abstract Wikipedia/Architecture|Abstract Wikipedia architecture]].</span>
== N ==
; {{anchor|natural_language|Natural_language}} <span lang="en" dir="ltr" class="mw-content-ltr">natural language</span> {{English term|natural language}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a specific natural language in the wider sense, such as English, Tagalog, or Swahili; see [[w:en:Natural language|Natural language]] in Wikipedia.</span>
; {{anchor|normal|Normal|normalized|Normalized|normalised}} <span lang="en" dir="ltr" class="mw-content-ltr">normal</span> {{English term|normal}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an extended, easily processable and very uniform way to represent [[#ZObject|ZObjects]] in [[#JSON|JSON]]. This is opposed to [[#canonical|canonical]].</span>
; {{anchor|nothing|Nothing}} <span lang="en" dir="ltr" class="mw-content-ltr">nothing</span> {{English term|nothing}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a data type that can have no instances; see [[w:en:Bottom type|Bottom type]] in Wikipedia.</span>
== O ==
; {{anchor|object|Object}} 物件 {{English term|object}}
:# <span lang="en" dir="ltr" class="mw-content-ltr">In JavaScript or JSON, an object is basically an associative array; see [[w:en:Associative array|Associative array]] in Wikipedia.</span>
:# <span lang="en" dir="ltr" class="mw-content-ltr">In Wikifunctions, synonym of [[#ZObject|ZObject]].</span>
; {{anchor|orchestration|Orchestration}} <span lang="en" dir="ltr" class="mw-content-ltr">orchestration</span> {{English term|orchestration}}
:<span lang="en" dir="ltr" class="mw-content-ltr">The action performed by the [[#orchestrator|orchestrator]].</span>
; {{anchor|orchestrator|Orchestrator}} <span lang="en" dir="ltr" class="mw-content-ltr">orchestrator</span> {{English term|orchestrator}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a service that takes a [[#ZObject|ZObject]] and returns an [[#Evaluator|evaluated]] version of it. To do this, it will make calls to the wiki for other ZObjects it needs, to the [[#Executor|executor]] to evaluate some function calls, and other services such as [[#Wikidata|Wikidata]]. See [https://gitlab.wikimedia.org/repos/abstract-wiki/wikifunctions/function-orchestrator#wikifunctions-function-orchestrator the service documentation]. Compare to [[#evaluator|evaluator]] and [[#executor|executor]].</span>
== P ==
; {{anchor|page|Page}} 頁面 {{English term|page}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a part of a wiki. A [[#wiki|wiki]] consists of a number of individual pages, which can be edited independently, have internal links to each other, etc.</span>
; {{anchor|parser|Parser}} 解析器 {{English term|parser}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a function to convert a string to a ZObject. The opposite of [[#renderer|renderer]].</span>
; {{anchor|pair|Pair}} <span lang="en" dir="ltr" class="mw-content-ltr">pair</span> {{English term|pair}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a compound ZObject that contains two ZObjects of specific (but arbitrary) type.</span>
; {{anchor|part_P1|Part_P1}} <span lang="en" dir="ltr" class="mw-content-ltr">Part P1</span> {{English term|Part P1}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the part of the [[#development_project|development project]] that deals with creating [[#Wikifunctions|Wikifunctions]]. It starts at the beginning of the project and goes on throughout its whole lifetime; see [[:m:Special:MyLanguage/Abstract Wikipedia/Tasks#Part P1: Wikifunctions|Part P1: Wikifunctions]].</span>
; {{anchor|part_P2|Part_P2}} <span lang="en" dir="ltr" class="mw-content-ltr">Part P2</span> {{English term|Part P2}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the part of the [[#development_project|development project]] that deals with creating [[#Abstract_Wikipedia|Abstract Wikipedia]]. It starts after about a year in the project and goes on throughout the second half of its lifetime; see [[:m:Special:MyLanguage/Abstract Wikipedia/Tasks#Part P2: Abstract Wikipedia|Part P2: Abstract Wikipedia]].</span>
; {{anchor|persistent|Persistent}} <span lang="en" dir="ltr" class="mw-content-ltr">persistent</span> {{English term|persistent}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#ZObject|ZObject]] with a [[#ZID|ZID]] and with its own page in the wiki. Most persistent ZObjects will include [[#value|values]] that are ZObjects with no ZID, and are therefore not persistent.</span>
; {{anchor|property|Property}} 屬性 {{English term|property}}
: <span lang="en" dir="ltr" class="mw-content-ltr">used to make a [[#Statement|statement]] about an [[#Item|Item]] in [[#Wikidata|Wikidata]]'s knowledge base; see [[:d:Wikidata:Glossary#Property|Property]] in the Wikidata glossary.</span>
== Q ==
; {{anchor|quote|Quote}} <span lang="en" dir="ltr" class="mw-content-ltr">quote</span> {{English term|quote}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a data structure that is not to be evaluated but kept verbatim.</span>
; {{anchor|QID}} QID {{English term|QID}}
: <span lang="en" dir="ltr" class="mw-content-ltr">identifier for an item in [[#Wikidata|Wikidata]], comprising the letter "Q" followed by an integer.</span>
== R ==
; {{anchor|reading function}} <span lang="en" dir="ltr" class="mw-content-ltr">reading function</span> {{English term|reading function}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a synonym of [[#parser|parser]]. A function that converts user text input from a string into a given Type. For example, converting the String "123456" to the Number '123456', or the string "2024-03-12" to the Date '2024', '03', '12'.</span>
; {{anchor|reference|Reference}} 參照 {{English term|reference}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an ID denoting the underlying object. For example, the string "Z11" refers to the Type Z11/Monolingual text.</span>
: {{TakeNote}}<span lang="en" dir="ltr" class="mw-content-ltr">This term has a completely different meaning than on Wikidata; see [[w:en:Reference (computer science)|Reference (computer science)]] in Wikipedia.</span>
; {{anchor|renderer|Renderer}} 轉譯器 {{English term|renderer}} (1)
: <span lang="en" dir="ltr" class="mw-content-ltr">a function to convert a ZObject to a string. The opposite of [[#parser|parser]]. (formerly called "linearizer")</span>
; <span lang="en" dir="ltr" class="mw-content-ltr">renderer</span> {{English term|renderer}} (2)
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#Function|function]] that gets a [[#Content|content]] and an identifier for a [[#natural_language|natural language]] as an input and returns text in that natural language as output, representing the content as concrete text, using knowledge from [[#Lexeme|lexemes]].</span>
: {{TakeNote}}<span lang="en" dir="ltr" class="mw-content-ltr">This is a future feature, and the meaning of the term "renderer" in the {{Pg|:m:Abstract Wikipedia/Historic proposal|original proposal}}; this term collides with the current usage of "renderer", so it may be renamed in the future.</span>
; {{anchor|reify}} <span lang="en" dir="ltr" class="mw-content-ltr">reify</span> {{English term|reify}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a function that deconstructs an object into its constituent parts so that the parts can be individually accessed; see [[w:en:Reification (computer science)|Reification]] in Wikipedia; see [[phab:T261474]].</span>
; {{anchor|REPL}} <span lang="en" dir="ltr" class="mw-content-ltr">REPL</span> {{English term|REPL}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a Read / Eval / Print - Loop, a command line interface that takes some input, evaluates it, and displays the result; see [[w:en:REPL|REPL]] in Wikipedia; see [[Special:MyLanguage/Wikifunctions:Function model#REPL|Function model]].</span>
== S ==
; {{anchor|schemata}} <span lang="en" dir="ltr" class="mw-content-ltr">schemata</span> {{English term|schemata}}
: <span lang="en" dir="ltr" class="mw-content-ltr">See [[#function schemata|function schemata]].</span>
; {{anchor|serialization|Serialization|serialisation|Serialisation}} <span lang="en" dir="ltr" class="mw-content-ltr">serialization</span> {{English term|serialization}}
: <span lang="en" dir="ltr" class="mw-content-ltr">Ways to represent [[#ZObject|ZObjects]] in [[#JSON|JSON]]; see also [[#canonical|canonical]], [[#normal|normal]].</span>
; {{anchor|statement|Statement}} <span lang="en" dir="ltr" class="mw-content-ltr">statement</span> {{English term|statement}}
: <span lang="en" dir="ltr" class="mw-content-ltr">used to provide knowledge about an [[#Item|Item]] in [[#Wikidata|Wikidata]]'s knowledge base; see [[:d:Wikidata:Glossary#Statement|Statement]] in the Wikidata glossary.</span>
; {{anchor|string}} 字串 {{English term|string}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a sequence of characters.</span>
; {{anchor|sum type|Sum type}} <span lang="en" dir="ltr" class="mw-content-ltr">sum type</span> {{English term|sum type}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a type that can have instances of any of its constituent types; see [[w:en:Sum type|Sum type]] in Wikipedia; see [[Special:MyLanguage/Wikifunctions:Function model#Zx/Sum_types|Function model]].</span>
== T ==
; {{anchor|template}} <span lang="en" dir="ltr" class="mw-content-ltr">template</span> {{English term|template}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a way to specify a [[#renderer|renderer]] as text interspersed with place-holders, or ''slots'', which can be filled with data from [[#constructor|constructors]], function calculation, or content from another template. See the document [[:m:Special:MyLanguage/Abstract Wikipedia/Template Language for Wikifunctions|Template Language for Wikifunctions]] for a detailed discussion of the template syntax.</span>
; {{anchor|tester|Tester}} <span lang="en" dir="ltr" class="mw-content-ltr">tester</span> {{English term|tester}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a way to automatically determine if a given [[#ZFunction|ZFunction]] is doing the right thing. A [[#function|function]] will typically have multiple testers, each specifying some input to the function and conditions the output for the given input must fulfil. For example, testers for a “title case” function might include: “abc” should become “Abc”; “war and peace” should become “War and Peace”; “война и мир” should become “Война и мир”; and “123” should remain “123”.</span>
; {{anchor|transient|Transient}} <span lang="en" dir="ltr" class="mw-content-ltr">transient</span> {{English term|transient}}
: <span lang="en" dir="ltr" class="mw-content-ltr">Opposite of [[#persistent|persistent]].</span>
; {{anchor|type|Type}} <span lang="en" dir="ltr" class="mw-content-ltr">type</span> {{English term|type}}
: <span lang="en" dir="ltr" class="mw-content-ltr">The type of an object tells us how to interpret and understand the given object, and what can be done with the object. For example, if we have an object with the value “2023”, depending on whether its type is integer, or year, or string, we understand that object differently. Every object refers to “a thing in the real world”. The integer 2023 is different from the year 2023. The type tells us how to interpret a given object, so that we know which thing in the real world it refers to. Technically, it defines how objects of that type are structured and what conditions they need to fulfill to be a valid object of that type.</span> <span lang="en" dir="ltr" class="mw-content-ltr">A type defines the conditions for a [[#ZObject|ZObject]] to be a valid instance of this type, by providing a [[#Function|function]] that validates a ZObject. Types are ZObjects themselves, so that contributors of [[#Wikifunctions|Wikifunctions]] can create new types.</span>
; {{anchor|type converter}} <span lang="en" dir="ltr" class="mw-content-ltr">type converter</span> {{English term|type converter}}
: <span lang="en" dir="ltr" class="mw-content-ltr">A script written in some programming language (such as JavaScript), taking a native object (such as BigInt), and returning a JSON object representing the corresponding ZObject; or ''vice versa''.</span>
; {{anchor|typed list|Typed List}} <span lang="en" dir="ltr" class="mw-content-ltr">typed list</span> {{English term|typed list}}
: <span lang="en" dir="ltr" class="mw-content-ltr">A typed list is a [[#list|list]] in which all members of the list are of a specific, predefined [[#type|type]]. For example, a typed list of [[#string|strings]] is a list in which all members of the list are strings. A typed list takes one argument: the type that all the members of the list have to be an instance of. Typed lists are probably the most widely used [[#generic type|generic type]].</span>
== V ==
; {{anchor|value}} 值 {{English term|value}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the string or [[#ZObject|ZObject]] associated with a [[#key|key]] in another ZObject.</span>
; {{anchor|validation|Validation}} <span lang="en" dir="ltr" class="mw-content-ltr">validation</span> {{English term|validation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">The action performed by the [[#validator|validator]].</span>
; {{anchor|validator|Validator}} <span lang="en" dir="ltr" class="mw-content-ltr">validator</span> {{English term|validator}}
: <span lang="en" dir="ltr" class="mw-content-ltr">A function taking a ZObject as argument and return a list of errors found.</span>
== W ==
; {{anchor|wiki|Wiki}} wiki {{English term|wiki}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a web site that allows for the easy and collaborative editing of its [[#page|pages]].</span>
; {{anchor|Wikidata}} 維基數據 {{English term|Wikidata}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a project of the [[#Wikimedia_Foundation|Wikimedia Foundation]], a free, collaboratively edited knowledge base; see [[:m:Special:MyLanguage/Wikidata|Wikidata]].</span>
; {{anchor|Wikifunctions}}{{anchor|Wikilambda}} 維基函式庫 {{English term|Wikifunctions}}
: <span lang="en" dir="ltr" class="mw-content-ltr">new project of the [[#Wikimedia_Foundation|Wikimedia Foundation]]; a free, collaboratively developed and maintained catalog of [[#Function|functions]]. It was initially known as '''Wikilambda''' in the {{Pg|:m:Abstract Wikipedia/Historic proposal|original proposal}} (that name is now used for the [[#WikiLambda|WikiLambda extension]]).</span>
; {{anchor|WikiLambda}} <span lang="en" dir="ltr" class="mw-content-ltr">WikiLambda</span> {{English term|WikiLambda}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the software used to power the project, [[mw:Special:MyLanguage/Extension:WikiLambda|Extension:WikiLambda]].</span>
; {{anchor|WikiLambda system}} <span lang="en" dir="ltr" class="mw-content-ltr">WikiLambda system</span> {{English term|WikiLambda system}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an automated system account that is a key part of the WikiLambda extension. See [[User:WikiLambda system]] for its current function.</span>
; {{anchor|WMF|Wikimedia_Foundation}} 維基媒體基金會 {{English term|Wikimedia Foundation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">organization that supports the Wikimedia movement; see [[:m:Special:MyLanguage/Wikimedia Foundation|Wikimedia Foundation]].</span>
; {{anchor|Wikipedia}} <span lang="en" dir="ltr" class="mw-content-ltr">Wikipedia</span> {{English term|Wikipedia}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a project of the [[#Wikimedia_Foundation|Wikimedia Foundation]], a free, collaboratively edited encyclopedia; see [[:m:Special:MyLanguage/Wikipedia|Wikipedia]].</span>
; <span lang="en" dir="ltr" class="mw-content-ltr">Wikipedia, Abstract</span> {{English term|Wikipedia, Abstract}}
: <span lang="en" dir="ltr" class="mw-content-ltr">see [[#Abstract_Wikipedia|Abstract Wikipedia]].</span>
; <span lang="en" dir="ltr" class="mw-content-ltr">Wikipedia, multilingual</span> {{English term|Wikipedia, multilingual}}
: <span lang="en" dir="ltr" class="mw-content-ltr">see [[#multilingual_Wikipedia|multilingual Wikipedia]].</span>
== Z ==
; {{anchor|ZID|ZIDs}} ZID {{English term|ZID}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an ID starting with the letter Z and followed by a natural number. Used to identify [[#persistent|persistent]] [[#ZObject|ZObjects]].</span>
; {{anchor|zfunction|ZFunction}} <span lang="en" dir="ltr" class="mw-content-ltr">ZFunction</span> {{English term|ZFunction}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a wiki page on [[#Wikifunctions|Wikifunctions]] that describes a particular [[#function|function]] that can be used through the [[#evaluator|evaluator]]. Each ZFunction can be realised in code by one or more [[#implementation|Implementations]], and said implementations can be verified as correct by one or more [[#tester|Tester]] ZFunctions.</span>
; {{anchor|ZKey}} <span lang="en" dir="ltr" class="mw-content-ltr">ZKey</span> {{English term|ZKey}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#ZObject|ZObject]] defining a [[#key|key]] for a particular [[#type|type]].</span>
; {{anchor|ZList}} <span lang="en" dir="ltr" class="mw-content-ltr">ZList</span> {{English term|ZList}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#ZObject|ZObject]] for an ordered sequence of other ZObjects.</span>
; {{anchor|ZObject}} <span lang="en" dir="ltr" class="mw-content-ltr">ZObject</span> {{English term|ZObject}}
: <span lang="en" dir="ltr" class="mw-content-ltr">every entry in [[#Wikifunctions|Wikifunctions]] is a ZObject. ZObjects stored in Wikifunctions have [[#ZID|ZIDs]] and can be of numerous types, such as [[#Constructor|Constructors]], [[#Function|Functions]], [[#Type|Types]], etc. A ZObject consists of a set of [[#Key|Key]]/[[#Value|Value]] pairs, with each Key appearing only once per ZObject and Values being ZObjects.</span>
; {{anchor|ZUnit}} <span lang="en" dir="ltr" class="mw-content-ltr">ZUnit</span> {{English term|ZUnit}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#ZObject|ZObject]] that represents a [[:w:en:Unit type|Unit type]].</span>
[[Category:Glossary| {{#translation:}}]]
ijsqh7c5z1oayh0pddw3ros8ywh1px2
200107
200105
2025-07-03T10:06:49Z
Winston Sung
2672
Created page with "抽象維基百科"
200107
wikitext
text/x-wiki
<noinclude><languages/>
<!--<nowiki>(nowiki tags are so that the translate extension doesn't try to translate the TERM and DEFINITION in this boilerplate).
Use this boilerplate for a new term:
; {{anchor|term|Term}} <translate>term</translate> {{English term|term}}
: ''Definition verification needed''
: <translate>definition</translate>
Notes:
1. Omit the "Definition verification" if you're sure that your definition is correct.
2. You can add several values for anchor, if it has spelling or capitalization variants; see the documentation for Template:Anchor and examples in other terms.
</nowiki>--></noinclude>
<span lang="en" dir="ltr" class="mw-content-ltr">Feel free to ask for terms on the [[Wikifunctions talk:Glossary|talk page]], or to add more terms and improve the definitions.</span>
{|class="toccolours" style="margin:.2em auto;padding:.2em .5em;text-align:center" dir="ltr" lang="en"
|-
|style="padding:0;width:100%"|{{CompactTOC}}
|}
== A ==
; {{anchor|abstract|Abstract}} 抽象 {{English term|abstract}}
: <span lang="en" dir="ltr" class="mw-content-ltr">not in a specific [[#natural_language|natural language]] but abstracting from it; aiming to provide a notation for the meaning behind natural language texts, sentences, or phrases. The opposite of [[#concrete|concrete]].</span>
; {{anchor|abstracttext|AbstractText}} <span lang="en" dir="ltr" class="mw-content-ltr">AbstractText</span> {{English term|AbstractText}}
: <span lang="en" dir="ltr" class="mw-content-ltr">prototype [https://github.com/google/abstracttext implementation] of the [[#Wikifunctions|Wikifunctions]] idea.</span>
; {{anchor|abstract_content}} 抽象內容 {{English term|abstract content}}
: <span lang="en" dir="ltr" class="mw-content-ltr">see [[#Content|content]].</span>
; {{anchor|abstract_Wikipedia|Abstract_Wikipedia}} 抽象維基百科 {{English term|Abstract Wikipedia}}
: <span lang="en" dir="ltr" class="mw-content-ltr">preliminary name of all the [[#Content|Content]] that can be used by [[#local_Wikipedia|local Wikipedias]] to [[#Renderer|render]] an [[#article|article]] in [[#natural_language|natural language]]; currently proposed to live in [[#Wikidata|Wikidata]] next to the corresponding [[#Item|Item]], but that will be discussed before [[#Part_P2|Part P2]] of the [[#development_project|development project]].</span>
; {{anchor|alias}} 別名 {{English term|alias}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an alternative label for an object, used foremost to find the object.</span>
; {{anchor|argument}} <span lang="en" dir="ltr" class="mw-content-ltr">argument</span> {{English term|argument}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an input given to a [[#function call|function call]].</span>
; {{anchor|argument reference}} <span lang="en" dir="ltr" class="mw-content-ltr">argument reference</span> {{English term|argument reference}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#reference|reference]] to one of the supplied arguments within a [[#composition|composition]].</span>
; {{anchor|array}} 陣列 {{English term|array}}
: <span lang="en" dir="ltr" class="mw-content-ltr">Many programming languages have an "array" type. The counterparts in Wikifunctions are [[#list|list]] and [[#typed list|typed list]]. See also [[#Benjamin array|Benjamin array]].</span>
; {{anchor|article|Article}} 條目 {{English term|article}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a page in the main namespace of [[#Wikipedia|Wikipedia]], usually representing one entry in Wikipedia.</span>
== B ==
; {{anchor|Benjamin array}} <span lang="en" dir="ltr" class="mw-content-ltr">Benjamin array</span> {{English term|Benjamin array}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a way to denote [[#typed list|typed list]] proposed by Benjamin Degenhart, where a typed list is stored as a JSON list whose first element denotes the type. This is in contrast with the previous proposed schema, which uses LISP-style singly-linked lists, in which the type must be stored once in each node.</span>
; {{anchor|boolean|Boolean}} 布林值 {{English term|boolean}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a value that can have 2 states, usually denoted true and false.</span>
; {{anchor|built-in|builtin}} 內建 {{English term|built-in}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a native implementation of a function that is provided by the evaluator and that is not editable through the wiki interface.</span>
== C ==
; {{anchor|call}} <span lang="en" dir="ltr" class="mw-content-ltr">call</span> {{English term|call}}
: <span lang="en" dir="ltr" class="mw-content-ltr">see [[#function call|function call]]. In English, the term [[#invoke|invoke or invocation]] may also be used.</span>
; {{anchor|canonical|canonicalized|canonicalised}} <span lang="en" dir="ltr" class="mw-content-ltr">canonical, canonicalized, canonicalised</span> {{English term|canonical, canonicalized, canonicalised}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a specific, less verbose and thus more readable way to represent [[#ZObject|ZObjects]] in [[#JSON|JSON]]; it is the usual representation ZObjects are stored in [[#Wikifunctions|Wikifunctions]]. This is opposed to [[#normal|normal]].</span>
; {{anchor|character}} 字元 {{English term|character}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a character as defined by Unicode, a constituent of a String; a character can consist of several bytes (or octets).</span>
; {{anchor|composition}} 組成 {{English term|composition}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a form of implementation of a function, where the implementation is given by the combination of other functions; see [[Special:MyLanguage/Wikifunctions:Function model#Composition|Function model]].</span>
; {{anchor|composition notation}} <span lang="en" dir="ltr" class="mw-content-ltr">composition notation</span> {{English term|composition notation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an easy-to-read notation for compositions; see [[Special:MyLanguage/Wikifunctions:Function model#Composition|Function model]].</span>
; {{anchor|concrete|Concrete}} <span lang="en" dir="ltr" class="mw-content-ltr">concrete</span> {{English term|concrete}}
: <span lang="en" dir="ltr" class="mw-content-ltr">in a specific [[#natural_language|natural language]]. The opposite of [[#abstract|abstract]].</span>
; {{anchor|cons}} <span lang="en" dir="ltr" class="mw-content-ltr">cons</span> {{English term|cons}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a function to create a new list by adding an element at the top of it; see [[phab:T261474]].</span> <span lang="en" dir="ltr" class="mw-content-ltr">See [[w:cons|cons]] in Wikipedia.</span>
; {{anchor|constructor|Constructor}} <span lang="en" dir="ltr" class="mw-content-ltr">constructor</span> {{English term|constructor}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an [[#abstract|abstract]] building block of [[#Content|content]]. A constructor aims to capture the meaning of a single phrase or sentence structure. It often has slots that can take other constructors, and can itself be used as a value to fill the slots of other constructors.</span>
; {{anchor|Content}}<!--do not add |content to the anchor, it is used by MediaWiki--> <span lang="en" dir="ltr" class="mw-content-ltr">content, abstract content</span> {{English term|content, abstract content}}
: <span lang="en" dir="ltr" class="mw-content-ltr">abstract representation of a text or text fragment, assembled from [[#Constructor|constructors]]. Technically, an instance of a constructor. The top level constructor is used to represent a whole [[#article|article]] and stored in [[#Abstract_Wikipedia|Abstract Wikipedia]], but content can be also for just a sentence or phrase. Sometimes called abstract content.</span>
; {{anchor|curry}} <span lang="en" dir="ltr" class="mw-content-ltr">curried, curry, currying</span> {{English term|curried, curry, currying}}
: <span lang="en" dir="ltr" class="mw-content-ltr">A curried function is a function that was translated from taking multiple arguments into a sequence of functions, each with a single argument. This technique is named after the American mathematician [[:w:en:Haskell Curry|Haskell Curry]]. See [[:w:en:Currying|Currying]] in Wikipedia.</span>
== D ==
; {{anchor|deserialization|Deserialization|deserialisation|Deserialisation}} <span lang="en" dir="ltr" class="mw-content-ltr">deserialization</span> {{English term|deserialization}}
: <span lang="en" dir="ltr" class="mw-content-ltr">Opposite of [[#serialization|serialization]].</span>
; {{anchor|development_project|Development_project}} <span lang="en" dir="ltr" class="mw-content-ltr">development project</span> {{English term|development project}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a project to develop [[#Wikifunctions|Wikifunctions]] and [[#Abstract_Wikipedia|Abstract Wikipedia]]; see [[:m:Special:MyLanguage/Abstract Wikipedia/Plan|Abstract Wikipedia plan]].</span>
; {{anchor|display function}} 顯示函式 {{English term|display function}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a synonym of [[#renderer|renderer]]. For example, a function that converts a [[#type|type]] into a string that users can understand, such as converting a Number 123456 to "123,456" in (International) English, "1,23,456" in Indian English, "123.456" in French, etc., or converting the Date '2024','03','12' to '2024-03-12', and so on.</span>
; {{anchor|documentation}} 說明文件 {{English term|documentation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">human-readable text explaining an object.</span>
== E ==
; {{anchor|eney|eneyjj}} <span lang="en" dir="ltr" class="mw-content-ltr">eneyj</span> {{English term|eneyj}}
:# <span lang="en" dir="ltr" class="mw-content-ltr">prototype model of [[#Wikifunctions|Wikifunctions]];</span>
:# <span lang="en" dir="ltr" class="mw-content-ltr">a JavaScript implementation of an [[#evaluator|evaluator]] of that model provided in [[#abstracttext|abstracttext]].</span>
; {{anchor|error|Error}} 錯誤 {{English term|error}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a type whose instances indicate problems in [[#evaluation|evaluation]] or [[#validation|validation]]; see [[Special:MyLanguage/Wikifunctions:Function model#Z5/Errors|Function model]].</span>
; {{anchor|evaluation|Evaluation}} <span lang="en" dir="ltr" class="mw-content-ltr">evaluation</span> {{English term|evaluation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">The action performed by the [[#evaluator|evaluator]].</span>
; {{anchor|evaluator|Evaluator}} <span lang="en" dir="ltr" class="mw-content-ltr">evaluator</span> {{English term|evaluator}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a piece of software that takes a [[#ZObject|ZObject]] and evaluates it, that is executes a [[#Function|Function]] and returns the result. We envision the development of several evaluators. Evaluators may be implemented and run in the browser, on the server of the [[#Wikimedia_Foundation|Wikimedia Foundation]], in the cloud, in an app on a mobile device, or other places. Compare to [[#executor|executor]] and [[#orchestrator|orchestrator]].</span>
; {{anchor|execution|Execution}} 執行 {{English term|execution}}
: <span lang="en" dir="ltr" class="mw-content-ltr">The action performed by the [[#executor|executor]].</span>
; {{anchor|executor|Executor|executors|Executors}} <span lang="en" dir="ltr" class="mw-content-ltr">executor</span> {{English term|executor}}
: <span lang="en" dir="ltr" class="mw-content-ltr">one of a set of internal services which are not exposed to the public. They can be only called by the [[#Orchestrator|orchestrator]]. They run native code in a specific programming language. There would be one executor for Lua, one for JavaScript, one for Python, etc. See [https://gitlab.wikimedia.org/repos/abstract-wiki/wikifunctions/function-evaluator#executors the service documentation]. Compare to [[#evaluator|evaluator]] and [[#orchestrator|orchestrator]].</span>
== F ==
; {{anchor|function|Function}} 函式 {{English term|function}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the specification of a computation that takes some input and returns output; see [[w:en:Function (computer science)|Function (computer science)]] in Wikipedia.</span>
; {{anchor|function call|Function call}} <span lang="en" dir="ltr" class="mw-content-ltr">function call</span> {{English term|function call}}
: <span lang="en" dir="ltr" class="mw-content-ltr">A function call is a ZObject consisting of a function and the required arguments for the function, and can be evaluated to another ZObject. In English, the term "invoke" may also be used.</span>
; {{anchor|function evaluator}} <span lang="en" dir="ltr" class="mw-content-ltr">function evaluator</span> {{English term|function evaluator}}
: <span lang="en" dir="ltr" class="mw-content-ltr">See [[#evaluator|evaluator]].</span>
; {{anchor|function executor}} <span lang="en" dir="ltr" class="mw-content-ltr">function executor</span> {{English term|function executor}}
: <span lang="en" dir="ltr" class="mw-content-ltr">See [[#executor|executor]].</span>
; {{anchor|function model}} <span lang="en" dir="ltr" class="mw-content-ltr">function model</span> {{English term|function model}}
: <span lang="en" dir="ltr" class="mw-content-ltr">see [[Special:MyLanguage/Wikifunctions:Function model|Function model]].</span>
; {{anchor|function orchestrator}} <span lang="en" dir="ltr" class="mw-content-ltr">function orchestrator</span> {{English term|function orchestrator}}
: <span lang="en" dir="ltr" class="mw-content-ltr">See [[#orchestrator|orchestrator]].</span>
; {{anchor|function schemata}} <span lang="en" dir="ltr" class="mw-content-ltr">function schemata</span> {{English term|function schemata}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a set of pre-defined ZObjects used in [[#orchestrator|orchestrator]] and [[#evaluator|evaluator]]. The [[#WikiLambda system|WikiLambda system account]] also populates pre-defined ZObjects on-wiki from function schemata.</span>
; {{anchor|functional}} <span lang="en" dir="ltr" class="mw-content-ltr">functional</span> {{English term|functional}}
: <span lang="en" dir="ltr" class="mw-content-ltr">short for "purely functional", meaning that the [[#evaluation|evaluation]] of such a function has no side-effects and is deterministic, that is always the same; see [[w:en:Purely functional programming|Purely functional programming]] in Wikipedia; see [[Special:MyLanguage/Wikifunctions:Function model#non-functional|Function model]].</span>
== G ==
; {{anchor|generic type}} <span lang="en" dir="ltr" class="mw-content-ltr">generic type</span> {{English term|generic type}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a type generated by [[#evaluation|evaluation]] of a function call.</span>
== I ==
; {{anchor|identity|Identity}} 識別物件 {{English term|identity}}
: <span lang="en" dir="ltr" class="mw-content-ltr">The identity of a type is an instance of (specific) function that evaluates to the type. For a simple type, it is a reference to the type itself.</span>
; {{anchor|implementation|Implementation}} 實作 {{English term|implementation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a particular way to execute a [[#function|function]]. An implementation may be a piece of code in a certain programming language, refer to functionality “built into” the [[#evaluator|evaluator]], or [[#composition|compose]] calls to other functions. A function may have many implementations, which should all be equivalent. Short for "[[#ZFunction|ZFunction]] implementation".</span>
; {{anchor|instance}} 實例 {{English term|instance}}
: <span lang="en" dir="ltr" class="mw-content-ltr">Every ZObject is an instance of its type.</span>
; {{anchor|invoke}} <span lang="en" dir="ltr" class="mw-content-ltr">invoke</span> {{English term|invoke}}
: <span lang="en" dir="ltr" class="mw-content-ltr">synonym for [[#call|call]] in English. See [[#function call|function call]].</span>
; {{anchor|item|Item}} 項目 {{English term|item}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an entry in [[#Wikidata|Wikidata]]'s knowledge base; see [[:d:Wikidata:Glossary#Item|Item]] in the Wikidata glossary.</span>
== J ==
; {{anchor|JSON}} JSON {{English term|JSON}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a widely used data transfer format; see [[w:en:JSON|JSON]] in Wikipedia.</span>
== K ==
; {{anchor|key|Key}} 鍵 {{English term|key}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a string which ends with the letter K followed by a natural number, and is optionally preceded by a [[#ZID|ZID]]. Keys are defined in [[#Wikifunctions|Wikifunctions]] usually on [[#Type|Types]] or [[#Function|Functions]], and are used to build up [[#ZObject|ZObjects]].</span>
== L ==
; {{anchor|label}} <span lang="en" dir="ltr" class="mw-content-ltr">label</span> {{English term|label}}
: <span lang="en" dir="ltr" class="mw-content-ltr">main name given to identify a ZObject. May only be plain text.</span>
; {{anchor|lexeme|Lexeme}} <span lang="en" dir="ltr" class="mw-content-ltr">lexeme</span> {{English term|lexeme}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an entry in [[#Wikidata|Wikidata]] storing lexicographic knowledge about, roughly, a word; see [[d:Wikidata:Glossary#Lexeme|Lexeme]] in the Wikidata glossary.</span>
; {{anchor|linearizer|Linearizer}} <span lang="en" dir="ltr" class="mw-content-ltr">linearizer</span> {{English term|linearizer}}
: <span lang="en" dir="ltr" class="mw-content-ltr">(this term is no longer used in current terminology, but can still be found in older documents) synonym of [[#renderer|renderer]] (1).</span>
; {{anchor|list|List}} <span lang="en" dir="ltr" class="mw-content-ltr">list</span> {{English term|list}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a data type that groups an arbitrary number of instances in an ordered entity; see [[w:en:List (abstract data type)|List (abstract data type)]] in Wikipedia.</span>
; {{anchor|literal}} <span lang="en" dir="ltr" class="mw-content-ltr">literal</span> {{English term|literal}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a value that is not a ZObject. Currently the only accepted literal is string.</span>
; {{anchor|local_Wikipedia|Local_Wikipedia}} <span lang="en" dir="ltr" class="mw-content-ltr">local Wikipedia</span> {{English term|local Wikipedia}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#Wikipedia|Wikipedia]] in a specific language, such as Hebrew Wikipedia, Japanese Wikipedia, or Italian Wikipedia.</span>
== M ==
; {{anchor|Multlingual_Wikipedia|multilingual_Wikipedia}} <span lang="en" dir="ltr" class="mw-content-ltr">multilingual Wikipedia</span> {{English term|multilingual Wikipedia}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the architecture that allows [[#local_Wikipedia|local Wikipedias]] to enrich themselves by [[#Renderer|rendering]] the [[#Content|Content]] from [[#Abstract_Wikipedia|Abstract Wikipedia]] and thus have a more comprehensive, current, and correct Wikipedia in their language; see [[:m:Special:MyLanguage/Abstract Wikipedia/Architecture|Abstract Wikipedia architecture]].</span>
== N ==
; {{anchor|natural_language|Natural_language}} <span lang="en" dir="ltr" class="mw-content-ltr">natural language</span> {{English term|natural language}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a specific natural language in the wider sense, such as English, Tagalog, or Swahili; see [[w:en:Natural language|Natural language]] in Wikipedia.</span>
; {{anchor|normal|Normal|normalized|Normalized|normalised}} <span lang="en" dir="ltr" class="mw-content-ltr">normal</span> {{English term|normal}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an extended, easily processable and very uniform way to represent [[#ZObject|ZObjects]] in [[#JSON|JSON]]. This is opposed to [[#canonical|canonical]].</span>
; {{anchor|nothing|Nothing}} <span lang="en" dir="ltr" class="mw-content-ltr">nothing</span> {{English term|nothing}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a data type that can have no instances; see [[w:en:Bottom type|Bottom type]] in Wikipedia.</span>
== O ==
; {{anchor|object|Object}} 物件 {{English term|object}}
:# <span lang="en" dir="ltr" class="mw-content-ltr">In JavaScript or JSON, an object is basically an associative array; see [[w:en:Associative array|Associative array]] in Wikipedia.</span>
:# <span lang="en" dir="ltr" class="mw-content-ltr">In Wikifunctions, synonym of [[#ZObject|ZObject]].</span>
; {{anchor|orchestration|Orchestration}} <span lang="en" dir="ltr" class="mw-content-ltr">orchestration</span> {{English term|orchestration}}
:<span lang="en" dir="ltr" class="mw-content-ltr">The action performed by the [[#orchestrator|orchestrator]].</span>
; {{anchor|orchestrator|Orchestrator}} <span lang="en" dir="ltr" class="mw-content-ltr">orchestrator</span> {{English term|orchestrator}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a service that takes a [[#ZObject|ZObject]] and returns an [[#Evaluator|evaluated]] version of it. To do this, it will make calls to the wiki for other ZObjects it needs, to the [[#Executor|executor]] to evaluate some function calls, and other services such as [[#Wikidata|Wikidata]]. See [https://gitlab.wikimedia.org/repos/abstract-wiki/wikifunctions/function-orchestrator#wikifunctions-function-orchestrator the service documentation]. Compare to [[#evaluator|evaluator]] and [[#executor|executor]].</span>
== P ==
; {{anchor|page|Page}} 頁面 {{English term|page}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a part of a wiki. A [[#wiki|wiki]] consists of a number of individual pages, which can be edited independently, have internal links to each other, etc.</span>
; {{anchor|parser|Parser}} 解析器 {{English term|parser}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a function to convert a string to a ZObject. The opposite of [[#renderer|renderer]].</span>
; {{anchor|pair|Pair}} <span lang="en" dir="ltr" class="mw-content-ltr">pair</span> {{English term|pair}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a compound ZObject that contains two ZObjects of specific (but arbitrary) type.</span>
; {{anchor|part_P1|Part_P1}} <span lang="en" dir="ltr" class="mw-content-ltr">Part P1</span> {{English term|Part P1}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the part of the [[#development_project|development project]] that deals with creating [[#Wikifunctions|Wikifunctions]]. It starts at the beginning of the project and goes on throughout its whole lifetime; see [[:m:Special:MyLanguage/Abstract Wikipedia/Tasks#Part P1: Wikifunctions|Part P1: Wikifunctions]].</span>
; {{anchor|part_P2|Part_P2}} <span lang="en" dir="ltr" class="mw-content-ltr">Part P2</span> {{English term|Part P2}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the part of the [[#development_project|development project]] that deals with creating [[#Abstract_Wikipedia|Abstract Wikipedia]]. It starts after about a year in the project and goes on throughout the second half of its lifetime; see [[:m:Special:MyLanguage/Abstract Wikipedia/Tasks#Part P2: Abstract Wikipedia|Part P2: Abstract Wikipedia]].</span>
; {{anchor|persistent|Persistent}} <span lang="en" dir="ltr" class="mw-content-ltr">persistent</span> {{English term|persistent}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#ZObject|ZObject]] with a [[#ZID|ZID]] and with its own page in the wiki. Most persistent ZObjects will include [[#value|values]] that are ZObjects with no ZID, and are therefore not persistent.</span>
; {{anchor|property|Property}} 屬性 {{English term|property}}
: <span lang="en" dir="ltr" class="mw-content-ltr">used to make a [[#Statement|statement]] about an [[#Item|Item]] in [[#Wikidata|Wikidata]]'s knowledge base; see [[:d:Wikidata:Glossary#Property|Property]] in the Wikidata glossary.</span>
== Q ==
; {{anchor|quote|Quote}} <span lang="en" dir="ltr" class="mw-content-ltr">quote</span> {{English term|quote}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a data structure that is not to be evaluated but kept verbatim.</span>
; {{anchor|QID}} QID {{English term|QID}}
: <span lang="en" dir="ltr" class="mw-content-ltr">identifier for an item in [[#Wikidata|Wikidata]], comprising the letter "Q" followed by an integer.</span>
== R ==
; {{anchor|reading function}} <span lang="en" dir="ltr" class="mw-content-ltr">reading function</span> {{English term|reading function}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a synonym of [[#parser|parser]]. A function that converts user text input from a string into a given Type. For example, converting the String "123456" to the Number '123456', or the string "2024-03-12" to the Date '2024', '03', '12'.</span>
; {{anchor|reference|Reference}} 參照 {{English term|reference}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an ID denoting the underlying object. For example, the string "Z11" refers to the Type Z11/Monolingual text.</span>
: {{TakeNote}}<span lang="en" dir="ltr" class="mw-content-ltr">This term has a completely different meaning than on Wikidata; see [[w:en:Reference (computer science)|Reference (computer science)]] in Wikipedia.</span>
; {{anchor|renderer|Renderer}} 轉譯器 {{English term|renderer}} (1)
: <span lang="en" dir="ltr" class="mw-content-ltr">a function to convert a ZObject to a string. The opposite of [[#parser|parser]]. (formerly called "linearizer")</span>
; <span lang="en" dir="ltr" class="mw-content-ltr">renderer</span> {{English term|renderer}} (2)
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#Function|function]] that gets a [[#Content|content]] and an identifier for a [[#natural_language|natural language]] as an input and returns text in that natural language as output, representing the content as concrete text, using knowledge from [[#Lexeme|lexemes]].</span>
: {{TakeNote}}<span lang="en" dir="ltr" class="mw-content-ltr">This is a future feature, and the meaning of the term "renderer" in the {{Pg|:m:Abstract Wikipedia/Historic proposal|original proposal}}; this term collides with the current usage of "renderer", so it may be renamed in the future.</span>
; {{anchor|reify}} <span lang="en" dir="ltr" class="mw-content-ltr">reify</span> {{English term|reify}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a function that deconstructs an object into its constituent parts so that the parts can be individually accessed; see [[w:en:Reification (computer science)|Reification]] in Wikipedia; see [[phab:T261474]].</span>
; {{anchor|REPL}} <span lang="en" dir="ltr" class="mw-content-ltr">REPL</span> {{English term|REPL}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a Read / Eval / Print - Loop, a command line interface that takes some input, evaluates it, and displays the result; see [[w:en:REPL|REPL]] in Wikipedia; see [[Special:MyLanguage/Wikifunctions:Function model#REPL|Function model]].</span>
== S ==
; {{anchor|schemata}} <span lang="en" dir="ltr" class="mw-content-ltr">schemata</span> {{English term|schemata}}
: <span lang="en" dir="ltr" class="mw-content-ltr">See [[#function schemata|function schemata]].</span>
; {{anchor|serialization|Serialization|serialisation|Serialisation}} <span lang="en" dir="ltr" class="mw-content-ltr">serialization</span> {{English term|serialization}}
: <span lang="en" dir="ltr" class="mw-content-ltr">Ways to represent [[#ZObject|ZObjects]] in [[#JSON|JSON]]; see also [[#canonical|canonical]], [[#normal|normal]].</span>
; {{anchor|statement|Statement}} <span lang="en" dir="ltr" class="mw-content-ltr">statement</span> {{English term|statement}}
: <span lang="en" dir="ltr" class="mw-content-ltr">used to provide knowledge about an [[#Item|Item]] in [[#Wikidata|Wikidata]]'s knowledge base; see [[:d:Wikidata:Glossary#Statement|Statement]] in the Wikidata glossary.</span>
; {{anchor|string}} 字串 {{English term|string}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a sequence of characters.</span>
; {{anchor|sum type|Sum type}} <span lang="en" dir="ltr" class="mw-content-ltr">sum type</span> {{English term|sum type}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a type that can have instances of any of its constituent types; see [[w:en:Sum type|Sum type]] in Wikipedia; see [[Special:MyLanguage/Wikifunctions:Function model#Zx/Sum_types|Function model]].</span>
== T ==
; {{anchor|template}} <span lang="en" dir="ltr" class="mw-content-ltr">template</span> {{English term|template}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a way to specify a [[#renderer|renderer]] as text interspersed with place-holders, or ''slots'', which can be filled with data from [[#constructor|constructors]], function calculation, or content from another template. See the document [[:m:Special:MyLanguage/Abstract Wikipedia/Template Language for Wikifunctions|Template Language for Wikifunctions]] for a detailed discussion of the template syntax.</span>
; {{anchor|tester|Tester}} <span lang="en" dir="ltr" class="mw-content-ltr">tester</span> {{English term|tester}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a way to automatically determine if a given [[#ZFunction|ZFunction]] is doing the right thing. A [[#function|function]] will typically have multiple testers, each specifying some input to the function and conditions the output for the given input must fulfil. For example, testers for a “title case” function might include: “abc” should become “Abc”; “war and peace” should become “War and Peace”; “война и мир” should become “Война и мир”; and “123” should remain “123”.</span>
; {{anchor|transient|Transient}} <span lang="en" dir="ltr" class="mw-content-ltr">transient</span> {{English term|transient}}
: <span lang="en" dir="ltr" class="mw-content-ltr">Opposite of [[#persistent|persistent]].</span>
; {{anchor|type|Type}} <span lang="en" dir="ltr" class="mw-content-ltr">type</span> {{English term|type}}
: <span lang="en" dir="ltr" class="mw-content-ltr">The type of an object tells us how to interpret and understand the given object, and what can be done with the object. For example, if we have an object with the value “2023”, depending on whether its type is integer, or year, or string, we understand that object differently. Every object refers to “a thing in the real world”. The integer 2023 is different from the year 2023. The type tells us how to interpret a given object, so that we know which thing in the real world it refers to. Technically, it defines how objects of that type are structured and what conditions they need to fulfill to be a valid object of that type.</span> <span lang="en" dir="ltr" class="mw-content-ltr">A type defines the conditions for a [[#ZObject|ZObject]] to be a valid instance of this type, by providing a [[#Function|function]] that validates a ZObject. Types are ZObjects themselves, so that contributors of [[#Wikifunctions|Wikifunctions]] can create new types.</span>
; {{anchor|type converter}} <span lang="en" dir="ltr" class="mw-content-ltr">type converter</span> {{English term|type converter}}
: <span lang="en" dir="ltr" class="mw-content-ltr">A script written in some programming language (such as JavaScript), taking a native object (such as BigInt), and returning a JSON object representing the corresponding ZObject; or ''vice versa''.</span>
; {{anchor|typed list|Typed List}} <span lang="en" dir="ltr" class="mw-content-ltr">typed list</span> {{English term|typed list}}
: <span lang="en" dir="ltr" class="mw-content-ltr">A typed list is a [[#list|list]] in which all members of the list are of a specific, predefined [[#type|type]]. For example, a typed list of [[#string|strings]] is a list in which all members of the list are strings. A typed list takes one argument: the type that all the members of the list have to be an instance of. Typed lists are probably the most widely used [[#generic type|generic type]].</span>
== V ==
; {{anchor|value}} 值 {{English term|value}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the string or [[#ZObject|ZObject]] associated with a [[#key|key]] in another ZObject.</span>
; {{anchor|validation|Validation}} <span lang="en" dir="ltr" class="mw-content-ltr">validation</span> {{English term|validation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">The action performed by the [[#validator|validator]].</span>
; {{anchor|validator|Validator}} <span lang="en" dir="ltr" class="mw-content-ltr">validator</span> {{English term|validator}}
: <span lang="en" dir="ltr" class="mw-content-ltr">A function taking a ZObject as argument and return a list of errors found.</span>
== W ==
; {{anchor|wiki|Wiki}} wiki {{English term|wiki}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a web site that allows for the easy and collaborative editing of its [[#page|pages]].</span>
; {{anchor|Wikidata}} 維基數據 {{English term|Wikidata}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a project of the [[#Wikimedia_Foundation|Wikimedia Foundation]], a free, collaboratively edited knowledge base; see [[:m:Special:MyLanguage/Wikidata|Wikidata]].</span>
; {{anchor|Wikifunctions}}{{anchor|Wikilambda}} 維基函式庫 {{English term|Wikifunctions}}
: <span lang="en" dir="ltr" class="mw-content-ltr">new project of the [[#Wikimedia_Foundation|Wikimedia Foundation]]; a free, collaboratively developed and maintained catalog of [[#Function|functions]]. It was initially known as '''Wikilambda''' in the {{Pg|:m:Abstract Wikipedia/Historic proposal|original proposal}} (that name is now used for the [[#WikiLambda|WikiLambda extension]]).</span>
; {{anchor|WikiLambda}} <span lang="en" dir="ltr" class="mw-content-ltr">WikiLambda</span> {{English term|WikiLambda}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the software used to power the project, [[mw:Special:MyLanguage/Extension:WikiLambda|Extension:WikiLambda]].</span>
; {{anchor|WikiLambda system}} <span lang="en" dir="ltr" class="mw-content-ltr">WikiLambda system</span> {{English term|WikiLambda system}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an automated system account that is a key part of the WikiLambda extension. See [[User:WikiLambda system]] for its current function.</span>
; {{anchor|WMF|Wikimedia_Foundation}} 維基媒體基金會 {{English term|Wikimedia Foundation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">organization that supports the Wikimedia movement; see [[:m:Special:MyLanguage/Wikimedia Foundation|Wikimedia Foundation]].</span>
; {{anchor|Wikipedia}} <span lang="en" dir="ltr" class="mw-content-ltr">Wikipedia</span> {{English term|Wikipedia}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a project of the [[#Wikimedia_Foundation|Wikimedia Foundation]], a free, collaboratively edited encyclopedia; see [[:m:Special:MyLanguage/Wikipedia|Wikipedia]].</span>
; <span lang="en" dir="ltr" class="mw-content-ltr">Wikipedia, Abstract</span> {{English term|Wikipedia, Abstract}}
: <span lang="en" dir="ltr" class="mw-content-ltr">see [[#Abstract_Wikipedia|Abstract Wikipedia]].</span>
; <span lang="en" dir="ltr" class="mw-content-ltr">Wikipedia, multilingual</span> {{English term|Wikipedia, multilingual}}
: <span lang="en" dir="ltr" class="mw-content-ltr">see [[#multilingual_Wikipedia|multilingual Wikipedia]].</span>
== Z ==
; {{anchor|ZID|ZIDs}} ZID {{English term|ZID}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an ID starting with the letter Z and followed by a natural number. Used to identify [[#persistent|persistent]] [[#ZObject|ZObjects]].</span>
; {{anchor|zfunction|ZFunction}} <span lang="en" dir="ltr" class="mw-content-ltr">ZFunction</span> {{English term|ZFunction}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a wiki page on [[#Wikifunctions|Wikifunctions]] that describes a particular [[#function|function]] that can be used through the [[#evaluator|evaluator]]. Each ZFunction can be realised in code by one or more [[#implementation|Implementations]], and said implementations can be verified as correct by one or more [[#tester|Tester]] ZFunctions.</span>
; {{anchor|ZKey}} <span lang="en" dir="ltr" class="mw-content-ltr">ZKey</span> {{English term|ZKey}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#ZObject|ZObject]] defining a [[#key|key]] for a particular [[#type|type]].</span>
; {{anchor|ZList}} <span lang="en" dir="ltr" class="mw-content-ltr">ZList</span> {{English term|ZList}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#ZObject|ZObject]] for an ordered sequence of other ZObjects.</span>
; {{anchor|ZObject}} <span lang="en" dir="ltr" class="mw-content-ltr">ZObject</span> {{English term|ZObject}}
: <span lang="en" dir="ltr" class="mw-content-ltr">every entry in [[#Wikifunctions|Wikifunctions]] is a ZObject. ZObjects stored in Wikifunctions have [[#ZID|ZIDs]] and can be of numerous types, such as [[#Constructor|Constructors]], [[#Function|Functions]], [[#Type|Types]], etc. A ZObject consists of a set of [[#Key|Key]]/[[#Value|Value]] pairs, with each Key appearing only once per ZObject and Values being ZObjects.</span>
; {{anchor|ZUnit}} <span lang="en" dir="ltr" class="mw-content-ltr">ZUnit</span> {{English term|ZUnit}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#ZObject|ZObject]] that represents a [[:w:en:Unit type|Unit type]].</span>
[[Category:Glossary| {{#translation:}}]]
65s61nod3b33zo9g1xo253comb4f4bg
200109
200107
2025-07-03T10:07:03Z
Winston Sung
2672
Created page with "引數"
200109
wikitext
text/x-wiki
<noinclude><languages/>
<!--<nowiki>(nowiki tags are so that the translate extension doesn't try to translate the TERM and DEFINITION in this boilerplate).
Use this boilerplate for a new term:
; {{anchor|term|Term}} <translate>term</translate> {{English term|term}}
: ''Definition verification needed''
: <translate>definition</translate>
Notes:
1. Omit the "Definition verification" if you're sure that your definition is correct.
2. You can add several values for anchor, if it has spelling or capitalization variants; see the documentation for Template:Anchor and examples in other terms.
</nowiki>--></noinclude>
<span lang="en" dir="ltr" class="mw-content-ltr">Feel free to ask for terms on the [[Wikifunctions talk:Glossary|talk page]], or to add more terms and improve the definitions.</span>
{|class="toccolours" style="margin:.2em auto;padding:.2em .5em;text-align:center" dir="ltr" lang="en"
|-
|style="padding:0;width:100%"|{{CompactTOC}}
|}
== A ==
; {{anchor|abstract|Abstract}} 抽象 {{English term|abstract}}
: <span lang="en" dir="ltr" class="mw-content-ltr">not in a specific [[#natural_language|natural language]] but abstracting from it; aiming to provide a notation for the meaning behind natural language texts, sentences, or phrases. The opposite of [[#concrete|concrete]].</span>
; {{anchor|abstracttext|AbstractText}} <span lang="en" dir="ltr" class="mw-content-ltr">AbstractText</span> {{English term|AbstractText}}
: <span lang="en" dir="ltr" class="mw-content-ltr">prototype [https://github.com/google/abstracttext implementation] of the [[#Wikifunctions|Wikifunctions]] idea.</span>
; {{anchor|abstract_content}} 抽象內容 {{English term|abstract content}}
: <span lang="en" dir="ltr" class="mw-content-ltr">see [[#Content|content]].</span>
; {{anchor|abstract_Wikipedia|Abstract_Wikipedia}} 抽象維基百科 {{English term|Abstract Wikipedia}}
: <span lang="en" dir="ltr" class="mw-content-ltr">preliminary name of all the [[#Content|Content]] that can be used by [[#local_Wikipedia|local Wikipedias]] to [[#Renderer|render]] an [[#article|article]] in [[#natural_language|natural language]]; currently proposed to live in [[#Wikidata|Wikidata]] next to the corresponding [[#Item|Item]], but that will be discussed before [[#Part_P2|Part P2]] of the [[#development_project|development project]].</span>
; {{anchor|alias}} 別名 {{English term|alias}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an alternative label for an object, used foremost to find the object.</span>
; {{anchor|argument}} 引數 {{English term|argument}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an input given to a [[#function call|function call]].</span>
; {{anchor|argument reference}} <span lang="en" dir="ltr" class="mw-content-ltr">argument reference</span> {{English term|argument reference}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#reference|reference]] to one of the supplied arguments within a [[#composition|composition]].</span>
; {{anchor|array}} 陣列 {{English term|array}}
: <span lang="en" dir="ltr" class="mw-content-ltr">Many programming languages have an "array" type. The counterparts in Wikifunctions are [[#list|list]] and [[#typed list|typed list]]. See also [[#Benjamin array|Benjamin array]].</span>
; {{anchor|article|Article}} 條目 {{English term|article}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a page in the main namespace of [[#Wikipedia|Wikipedia]], usually representing one entry in Wikipedia.</span>
== B ==
; {{anchor|Benjamin array}} <span lang="en" dir="ltr" class="mw-content-ltr">Benjamin array</span> {{English term|Benjamin array}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a way to denote [[#typed list|typed list]] proposed by Benjamin Degenhart, where a typed list is stored as a JSON list whose first element denotes the type. This is in contrast with the previous proposed schema, which uses LISP-style singly-linked lists, in which the type must be stored once in each node.</span>
; {{anchor|boolean|Boolean}} 布林值 {{English term|boolean}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a value that can have 2 states, usually denoted true and false.</span>
; {{anchor|built-in|builtin}} 內建 {{English term|built-in}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a native implementation of a function that is provided by the evaluator and that is not editable through the wiki interface.</span>
== C ==
; {{anchor|call}} <span lang="en" dir="ltr" class="mw-content-ltr">call</span> {{English term|call}}
: <span lang="en" dir="ltr" class="mw-content-ltr">see [[#function call|function call]]. In English, the term [[#invoke|invoke or invocation]] may also be used.</span>
; {{anchor|canonical|canonicalized|canonicalised}} <span lang="en" dir="ltr" class="mw-content-ltr">canonical, canonicalized, canonicalised</span> {{English term|canonical, canonicalized, canonicalised}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a specific, less verbose and thus more readable way to represent [[#ZObject|ZObjects]] in [[#JSON|JSON]]; it is the usual representation ZObjects are stored in [[#Wikifunctions|Wikifunctions]]. This is opposed to [[#normal|normal]].</span>
; {{anchor|character}} 字元 {{English term|character}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a character as defined by Unicode, a constituent of a String; a character can consist of several bytes (or octets).</span>
; {{anchor|composition}} 組成 {{English term|composition}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a form of implementation of a function, where the implementation is given by the combination of other functions; see [[Special:MyLanguage/Wikifunctions:Function model#Composition|Function model]].</span>
; {{anchor|composition notation}} <span lang="en" dir="ltr" class="mw-content-ltr">composition notation</span> {{English term|composition notation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an easy-to-read notation for compositions; see [[Special:MyLanguage/Wikifunctions:Function model#Composition|Function model]].</span>
; {{anchor|concrete|Concrete}} <span lang="en" dir="ltr" class="mw-content-ltr">concrete</span> {{English term|concrete}}
: <span lang="en" dir="ltr" class="mw-content-ltr">in a specific [[#natural_language|natural language]]. The opposite of [[#abstract|abstract]].</span>
; {{anchor|cons}} <span lang="en" dir="ltr" class="mw-content-ltr">cons</span> {{English term|cons}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a function to create a new list by adding an element at the top of it; see [[phab:T261474]].</span> <span lang="en" dir="ltr" class="mw-content-ltr">See [[w:cons|cons]] in Wikipedia.</span>
; {{anchor|constructor|Constructor}} <span lang="en" dir="ltr" class="mw-content-ltr">constructor</span> {{English term|constructor}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an [[#abstract|abstract]] building block of [[#Content|content]]. A constructor aims to capture the meaning of a single phrase or sentence structure. It often has slots that can take other constructors, and can itself be used as a value to fill the slots of other constructors.</span>
; {{anchor|Content}}<!--do not add |content to the anchor, it is used by MediaWiki--> <span lang="en" dir="ltr" class="mw-content-ltr">content, abstract content</span> {{English term|content, abstract content}}
: <span lang="en" dir="ltr" class="mw-content-ltr">abstract representation of a text or text fragment, assembled from [[#Constructor|constructors]]. Technically, an instance of a constructor. The top level constructor is used to represent a whole [[#article|article]] and stored in [[#Abstract_Wikipedia|Abstract Wikipedia]], but content can be also for just a sentence or phrase. Sometimes called abstract content.</span>
; {{anchor|curry}} <span lang="en" dir="ltr" class="mw-content-ltr">curried, curry, currying</span> {{English term|curried, curry, currying}}
: <span lang="en" dir="ltr" class="mw-content-ltr">A curried function is a function that was translated from taking multiple arguments into a sequence of functions, each with a single argument. This technique is named after the American mathematician [[:w:en:Haskell Curry|Haskell Curry]]. See [[:w:en:Currying|Currying]] in Wikipedia.</span>
== D ==
; {{anchor|deserialization|Deserialization|deserialisation|Deserialisation}} <span lang="en" dir="ltr" class="mw-content-ltr">deserialization</span> {{English term|deserialization}}
: <span lang="en" dir="ltr" class="mw-content-ltr">Opposite of [[#serialization|serialization]].</span>
; {{anchor|development_project|Development_project}} <span lang="en" dir="ltr" class="mw-content-ltr">development project</span> {{English term|development project}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a project to develop [[#Wikifunctions|Wikifunctions]] and [[#Abstract_Wikipedia|Abstract Wikipedia]]; see [[:m:Special:MyLanguage/Abstract Wikipedia/Plan|Abstract Wikipedia plan]].</span>
; {{anchor|display function}} 顯示函式 {{English term|display function}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a synonym of [[#renderer|renderer]]. For example, a function that converts a [[#type|type]] into a string that users can understand, such as converting a Number 123456 to "123,456" in (International) English, "1,23,456" in Indian English, "123.456" in French, etc., or converting the Date '2024','03','12' to '2024-03-12', and so on.</span>
; {{anchor|documentation}} 說明文件 {{English term|documentation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">human-readable text explaining an object.</span>
== E ==
; {{anchor|eney|eneyjj}} <span lang="en" dir="ltr" class="mw-content-ltr">eneyj</span> {{English term|eneyj}}
:# <span lang="en" dir="ltr" class="mw-content-ltr">prototype model of [[#Wikifunctions|Wikifunctions]];</span>
:# <span lang="en" dir="ltr" class="mw-content-ltr">a JavaScript implementation of an [[#evaluator|evaluator]] of that model provided in [[#abstracttext|abstracttext]].</span>
; {{anchor|error|Error}} 錯誤 {{English term|error}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a type whose instances indicate problems in [[#evaluation|evaluation]] or [[#validation|validation]]; see [[Special:MyLanguage/Wikifunctions:Function model#Z5/Errors|Function model]].</span>
; {{anchor|evaluation|Evaluation}} <span lang="en" dir="ltr" class="mw-content-ltr">evaluation</span> {{English term|evaluation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">The action performed by the [[#evaluator|evaluator]].</span>
; {{anchor|evaluator|Evaluator}} <span lang="en" dir="ltr" class="mw-content-ltr">evaluator</span> {{English term|evaluator}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a piece of software that takes a [[#ZObject|ZObject]] and evaluates it, that is executes a [[#Function|Function]] and returns the result. We envision the development of several evaluators. Evaluators may be implemented and run in the browser, on the server of the [[#Wikimedia_Foundation|Wikimedia Foundation]], in the cloud, in an app on a mobile device, or other places. Compare to [[#executor|executor]] and [[#orchestrator|orchestrator]].</span>
; {{anchor|execution|Execution}} 執行 {{English term|execution}}
: <span lang="en" dir="ltr" class="mw-content-ltr">The action performed by the [[#executor|executor]].</span>
; {{anchor|executor|Executor|executors|Executors}} <span lang="en" dir="ltr" class="mw-content-ltr">executor</span> {{English term|executor}}
: <span lang="en" dir="ltr" class="mw-content-ltr">one of a set of internal services which are not exposed to the public. They can be only called by the [[#Orchestrator|orchestrator]]. They run native code in a specific programming language. There would be one executor for Lua, one for JavaScript, one for Python, etc. See [https://gitlab.wikimedia.org/repos/abstract-wiki/wikifunctions/function-evaluator#executors the service documentation]. Compare to [[#evaluator|evaluator]] and [[#orchestrator|orchestrator]].</span>
== F ==
; {{anchor|function|Function}} 函式 {{English term|function}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the specification of a computation that takes some input and returns output; see [[w:en:Function (computer science)|Function (computer science)]] in Wikipedia.</span>
; {{anchor|function call|Function call}} <span lang="en" dir="ltr" class="mw-content-ltr">function call</span> {{English term|function call}}
: <span lang="en" dir="ltr" class="mw-content-ltr">A function call is a ZObject consisting of a function and the required arguments for the function, and can be evaluated to another ZObject. In English, the term "invoke" may also be used.</span>
; {{anchor|function evaluator}} <span lang="en" dir="ltr" class="mw-content-ltr">function evaluator</span> {{English term|function evaluator}}
: <span lang="en" dir="ltr" class="mw-content-ltr">See [[#evaluator|evaluator]].</span>
; {{anchor|function executor}} <span lang="en" dir="ltr" class="mw-content-ltr">function executor</span> {{English term|function executor}}
: <span lang="en" dir="ltr" class="mw-content-ltr">See [[#executor|executor]].</span>
; {{anchor|function model}} <span lang="en" dir="ltr" class="mw-content-ltr">function model</span> {{English term|function model}}
: <span lang="en" dir="ltr" class="mw-content-ltr">see [[Special:MyLanguage/Wikifunctions:Function model|Function model]].</span>
; {{anchor|function orchestrator}} <span lang="en" dir="ltr" class="mw-content-ltr">function orchestrator</span> {{English term|function orchestrator}}
: <span lang="en" dir="ltr" class="mw-content-ltr">See [[#orchestrator|orchestrator]].</span>
; {{anchor|function schemata}} <span lang="en" dir="ltr" class="mw-content-ltr">function schemata</span> {{English term|function schemata}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a set of pre-defined ZObjects used in [[#orchestrator|orchestrator]] and [[#evaluator|evaluator]]. The [[#WikiLambda system|WikiLambda system account]] also populates pre-defined ZObjects on-wiki from function schemata.</span>
; {{anchor|functional}} <span lang="en" dir="ltr" class="mw-content-ltr">functional</span> {{English term|functional}}
: <span lang="en" dir="ltr" class="mw-content-ltr">short for "purely functional", meaning that the [[#evaluation|evaluation]] of such a function has no side-effects and is deterministic, that is always the same; see [[w:en:Purely functional programming|Purely functional programming]] in Wikipedia; see [[Special:MyLanguage/Wikifunctions:Function model#non-functional|Function model]].</span>
== G ==
; {{anchor|generic type}} <span lang="en" dir="ltr" class="mw-content-ltr">generic type</span> {{English term|generic type}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a type generated by [[#evaluation|evaluation]] of a function call.</span>
== I ==
; {{anchor|identity|Identity}} 識別物件 {{English term|identity}}
: <span lang="en" dir="ltr" class="mw-content-ltr">The identity of a type is an instance of (specific) function that evaluates to the type. For a simple type, it is a reference to the type itself.</span>
; {{anchor|implementation|Implementation}} 實作 {{English term|implementation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a particular way to execute a [[#function|function]]. An implementation may be a piece of code in a certain programming language, refer to functionality “built into” the [[#evaluator|evaluator]], or [[#composition|compose]] calls to other functions. A function may have many implementations, which should all be equivalent. Short for "[[#ZFunction|ZFunction]] implementation".</span>
; {{anchor|instance}} 實例 {{English term|instance}}
: <span lang="en" dir="ltr" class="mw-content-ltr">Every ZObject is an instance of its type.</span>
; {{anchor|invoke}} <span lang="en" dir="ltr" class="mw-content-ltr">invoke</span> {{English term|invoke}}
: <span lang="en" dir="ltr" class="mw-content-ltr">synonym for [[#call|call]] in English. See [[#function call|function call]].</span>
; {{anchor|item|Item}} 項目 {{English term|item}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an entry in [[#Wikidata|Wikidata]]'s knowledge base; see [[:d:Wikidata:Glossary#Item|Item]] in the Wikidata glossary.</span>
== J ==
; {{anchor|JSON}} JSON {{English term|JSON}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a widely used data transfer format; see [[w:en:JSON|JSON]] in Wikipedia.</span>
== K ==
; {{anchor|key|Key}} 鍵 {{English term|key}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a string which ends with the letter K followed by a natural number, and is optionally preceded by a [[#ZID|ZID]]. Keys are defined in [[#Wikifunctions|Wikifunctions]] usually on [[#Type|Types]] or [[#Function|Functions]], and are used to build up [[#ZObject|ZObjects]].</span>
== L ==
; {{anchor|label}} <span lang="en" dir="ltr" class="mw-content-ltr">label</span> {{English term|label}}
: <span lang="en" dir="ltr" class="mw-content-ltr">main name given to identify a ZObject. May only be plain text.</span>
; {{anchor|lexeme|Lexeme}} <span lang="en" dir="ltr" class="mw-content-ltr">lexeme</span> {{English term|lexeme}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an entry in [[#Wikidata|Wikidata]] storing lexicographic knowledge about, roughly, a word; see [[d:Wikidata:Glossary#Lexeme|Lexeme]] in the Wikidata glossary.</span>
; {{anchor|linearizer|Linearizer}} <span lang="en" dir="ltr" class="mw-content-ltr">linearizer</span> {{English term|linearizer}}
: <span lang="en" dir="ltr" class="mw-content-ltr">(this term is no longer used in current terminology, but can still be found in older documents) synonym of [[#renderer|renderer]] (1).</span>
; {{anchor|list|List}} <span lang="en" dir="ltr" class="mw-content-ltr">list</span> {{English term|list}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a data type that groups an arbitrary number of instances in an ordered entity; see [[w:en:List (abstract data type)|List (abstract data type)]] in Wikipedia.</span>
; {{anchor|literal}} <span lang="en" dir="ltr" class="mw-content-ltr">literal</span> {{English term|literal}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a value that is not a ZObject. Currently the only accepted literal is string.</span>
; {{anchor|local_Wikipedia|Local_Wikipedia}} <span lang="en" dir="ltr" class="mw-content-ltr">local Wikipedia</span> {{English term|local Wikipedia}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#Wikipedia|Wikipedia]] in a specific language, such as Hebrew Wikipedia, Japanese Wikipedia, or Italian Wikipedia.</span>
== M ==
; {{anchor|Multlingual_Wikipedia|multilingual_Wikipedia}} <span lang="en" dir="ltr" class="mw-content-ltr">multilingual Wikipedia</span> {{English term|multilingual Wikipedia}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the architecture that allows [[#local_Wikipedia|local Wikipedias]] to enrich themselves by [[#Renderer|rendering]] the [[#Content|Content]] from [[#Abstract_Wikipedia|Abstract Wikipedia]] and thus have a more comprehensive, current, and correct Wikipedia in their language; see [[:m:Special:MyLanguage/Abstract Wikipedia/Architecture|Abstract Wikipedia architecture]].</span>
== N ==
; {{anchor|natural_language|Natural_language}} <span lang="en" dir="ltr" class="mw-content-ltr">natural language</span> {{English term|natural language}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a specific natural language in the wider sense, such as English, Tagalog, or Swahili; see [[w:en:Natural language|Natural language]] in Wikipedia.</span>
; {{anchor|normal|Normal|normalized|Normalized|normalised}} <span lang="en" dir="ltr" class="mw-content-ltr">normal</span> {{English term|normal}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an extended, easily processable and very uniform way to represent [[#ZObject|ZObjects]] in [[#JSON|JSON]]. This is opposed to [[#canonical|canonical]].</span>
; {{anchor|nothing|Nothing}} <span lang="en" dir="ltr" class="mw-content-ltr">nothing</span> {{English term|nothing}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a data type that can have no instances; see [[w:en:Bottom type|Bottom type]] in Wikipedia.</span>
== O ==
; {{anchor|object|Object}} 物件 {{English term|object}}
:# <span lang="en" dir="ltr" class="mw-content-ltr">In JavaScript or JSON, an object is basically an associative array; see [[w:en:Associative array|Associative array]] in Wikipedia.</span>
:# <span lang="en" dir="ltr" class="mw-content-ltr">In Wikifunctions, synonym of [[#ZObject|ZObject]].</span>
; {{anchor|orchestration|Orchestration}} <span lang="en" dir="ltr" class="mw-content-ltr">orchestration</span> {{English term|orchestration}}
:<span lang="en" dir="ltr" class="mw-content-ltr">The action performed by the [[#orchestrator|orchestrator]].</span>
; {{anchor|orchestrator|Orchestrator}} <span lang="en" dir="ltr" class="mw-content-ltr">orchestrator</span> {{English term|orchestrator}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a service that takes a [[#ZObject|ZObject]] and returns an [[#Evaluator|evaluated]] version of it. To do this, it will make calls to the wiki for other ZObjects it needs, to the [[#Executor|executor]] to evaluate some function calls, and other services such as [[#Wikidata|Wikidata]]. See [https://gitlab.wikimedia.org/repos/abstract-wiki/wikifunctions/function-orchestrator#wikifunctions-function-orchestrator the service documentation]. Compare to [[#evaluator|evaluator]] and [[#executor|executor]].</span>
== P ==
; {{anchor|page|Page}} 頁面 {{English term|page}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a part of a wiki. A [[#wiki|wiki]] consists of a number of individual pages, which can be edited independently, have internal links to each other, etc.</span>
; {{anchor|parser|Parser}} 解析器 {{English term|parser}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a function to convert a string to a ZObject. The opposite of [[#renderer|renderer]].</span>
; {{anchor|pair|Pair}} <span lang="en" dir="ltr" class="mw-content-ltr">pair</span> {{English term|pair}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a compound ZObject that contains two ZObjects of specific (but arbitrary) type.</span>
; {{anchor|part_P1|Part_P1}} <span lang="en" dir="ltr" class="mw-content-ltr">Part P1</span> {{English term|Part P1}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the part of the [[#development_project|development project]] that deals with creating [[#Wikifunctions|Wikifunctions]]. It starts at the beginning of the project and goes on throughout its whole lifetime; see [[:m:Special:MyLanguage/Abstract Wikipedia/Tasks#Part P1: Wikifunctions|Part P1: Wikifunctions]].</span>
; {{anchor|part_P2|Part_P2}} <span lang="en" dir="ltr" class="mw-content-ltr">Part P2</span> {{English term|Part P2}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the part of the [[#development_project|development project]] that deals with creating [[#Abstract_Wikipedia|Abstract Wikipedia]]. It starts after about a year in the project and goes on throughout the second half of its lifetime; see [[:m:Special:MyLanguage/Abstract Wikipedia/Tasks#Part P2: Abstract Wikipedia|Part P2: Abstract Wikipedia]].</span>
; {{anchor|persistent|Persistent}} <span lang="en" dir="ltr" class="mw-content-ltr">persistent</span> {{English term|persistent}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#ZObject|ZObject]] with a [[#ZID|ZID]] and with its own page in the wiki. Most persistent ZObjects will include [[#value|values]] that are ZObjects with no ZID, and are therefore not persistent.</span>
; {{anchor|property|Property}} 屬性 {{English term|property}}
: <span lang="en" dir="ltr" class="mw-content-ltr">used to make a [[#Statement|statement]] about an [[#Item|Item]] in [[#Wikidata|Wikidata]]'s knowledge base; see [[:d:Wikidata:Glossary#Property|Property]] in the Wikidata glossary.</span>
== Q ==
; {{anchor|quote|Quote}} <span lang="en" dir="ltr" class="mw-content-ltr">quote</span> {{English term|quote}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a data structure that is not to be evaluated but kept verbatim.</span>
; {{anchor|QID}} QID {{English term|QID}}
: <span lang="en" dir="ltr" class="mw-content-ltr">identifier for an item in [[#Wikidata|Wikidata]], comprising the letter "Q" followed by an integer.</span>
== R ==
; {{anchor|reading function}} <span lang="en" dir="ltr" class="mw-content-ltr">reading function</span> {{English term|reading function}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a synonym of [[#parser|parser]]. A function that converts user text input from a string into a given Type. For example, converting the String "123456" to the Number '123456', or the string "2024-03-12" to the Date '2024', '03', '12'.</span>
; {{anchor|reference|Reference}} 參照 {{English term|reference}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an ID denoting the underlying object. For example, the string "Z11" refers to the Type Z11/Monolingual text.</span>
: {{TakeNote}}<span lang="en" dir="ltr" class="mw-content-ltr">This term has a completely different meaning than on Wikidata; see [[w:en:Reference (computer science)|Reference (computer science)]] in Wikipedia.</span>
; {{anchor|renderer|Renderer}} 轉譯器 {{English term|renderer}} (1)
: <span lang="en" dir="ltr" class="mw-content-ltr">a function to convert a ZObject to a string. The opposite of [[#parser|parser]]. (formerly called "linearizer")</span>
; <span lang="en" dir="ltr" class="mw-content-ltr">renderer</span> {{English term|renderer}} (2)
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#Function|function]] that gets a [[#Content|content]] and an identifier for a [[#natural_language|natural language]] as an input and returns text in that natural language as output, representing the content as concrete text, using knowledge from [[#Lexeme|lexemes]].</span>
: {{TakeNote}}<span lang="en" dir="ltr" class="mw-content-ltr">This is a future feature, and the meaning of the term "renderer" in the {{Pg|:m:Abstract Wikipedia/Historic proposal|original proposal}}; this term collides with the current usage of "renderer", so it may be renamed in the future.</span>
; {{anchor|reify}} <span lang="en" dir="ltr" class="mw-content-ltr">reify</span> {{English term|reify}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a function that deconstructs an object into its constituent parts so that the parts can be individually accessed; see [[w:en:Reification (computer science)|Reification]] in Wikipedia; see [[phab:T261474]].</span>
; {{anchor|REPL}} <span lang="en" dir="ltr" class="mw-content-ltr">REPL</span> {{English term|REPL}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a Read / Eval / Print - Loop, a command line interface that takes some input, evaluates it, and displays the result; see [[w:en:REPL|REPL]] in Wikipedia; see [[Special:MyLanguage/Wikifunctions:Function model#REPL|Function model]].</span>
== S ==
; {{anchor|schemata}} <span lang="en" dir="ltr" class="mw-content-ltr">schemata</span> {{English term|schemata}}
: <span lang="en" dir="ltr" class="mw-content-ltr">See [[#function schemata|function schemata]].</span>
; {{anchor|serialization|Serialization|serialisation|Serialisation}} <span lang="en" dir="ltr" class="mw-content-ltr">serialization</span> {{English term|serialization}}
: <span lang="en" dir="ltr" class="mw-content-ltr">Ways to represent [[#ZObject|ZObjects]] in [[#JSON|JSON]]; see also [[#canonical|canonical]], [[#normal|normal]].</span>
; {{anchor|statement|Statement}} <span lang="en" dir="ltr" class="mw-content-ltr">statement</span> {{English term|statement}}
: <span lang="en" dir="ltr" class="mw-content-ltr">used to provide knowledge about an [[#Item|Item]] in [[#Wikidata|Wikidata]]'s knowledge base; see [[:d:Wikidata:Glossary#Statement|Statement]] in the Wikidata glossary.</span>
; {{anchor|string}} 字串 {{English term|string}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a sequence of characters.</span>
; {{anchor|sum type|Sum type}} <span lang="en" dir="ltr" class="mw-content-ltr">sum type</span> {{English term|sum type}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a type that can have instances of any of its constituent types; see [[w:en:Sum type|Sum type]] in Wikipedia; see [[Special:MyLanguage/Wikifunctions:Function model#Zx/Sum_types|Function model]].</span>
== T ==
; {{anchor|template}} <span lang="en" dir="ltr" class="mw-content-ltr">template</span> {{English term|template}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a way to specify a [[#renderer|renderer]] as text interspersed with place-holders, or ''slots'', which can be filled with data from [[#constructor|constructors]], function calculation, or content from another template. See the document [[:m:Special:MyLanguage/Abstract Wikipedia/Template Language for Wikifunctions|Template Language for Wikifunctions]] for a detailed discussion of the template syntax.</span>
; {{anchor|tester|Tester}} <span lang="en" dir="ltr" class="mw-content-ltr">tester</span> {{English term|tester}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a way to automatically determine if a given [[#ZFunction|ZFunction]] is doing the right thing. A [[#function|function]] will typically have multiple testers, each specifying some input to the function and conditions the output for the given input must fulfil. For example, testers for a “title case” function might include: “abc” should become “Abc”; “war and peace” should become “War and Peace”; “война и мир” should become “Война и мир”; and “123” should remain “123”.</span>
; {{anchor|transient|Transient}} <span lang="en" dir="ltr" class="mw-content-ltr">transient</span> {{English term|transient}}
: <span lang="en" dir="ltr" class="mw-content-ltr">Opposite of [[#persistent|persistent]].</span>
; {{anchor|type|Type}} <span lang="en" dir="ltr" class="mw-content-ltr">type</span> {{English term|type}}
: <span lang="en" dir="ltr" class="mw-content-ltr">The type of an object tells us how to interpret and understand the given object, and what can be done with the object. For example, if we have an object with the value “2023”, depending on whether its type is integer, or year, or string, we understand that object differently. Every object refers to “a thing in the real world”. The integer 2023 is different from the year 2023. The type tells us how to interpret a given object, so that we know which thing in the real world it refers to. Technically, it defines how objects of that type are structured and what conditions they need to fulfill to be a valid object of that type.</span> <span lang="en" dir="ltr" class="mw-content-ltr">A type defines the conditions for a [[#ZObject|ZObject]] to be a valid instance of this type, by providing a [[#Function|function]] that validates a ZObject. Types are ZObjects themselves, so that contributors of [[#Wikifunctions|Wikifunctions]] can create new types.</span>
; {{anchor|type converter}} <span lang="en" dir="ltr" class="mw-content-ltr">type converter</span> {{English term|type converter}}
: <span lang="en" dir="ltr" class="mw-content-ltr">A script written in some programming language (such as JavaScript), taking a native object (such as BigInt), and returning a JSON object representing the corresponding ZObject; or ''vice versa''.</span>
; {{anchor|typed list|Typed List}} <span lang="en" dir="ltr" class="mw-content-ltr">typed list</span> {{English term|typed list}}
: <span lang="en" dir="ltr" class="mw-content-ltr">A typed list is a [[#list|list]] in which all members of the list are of a specific, predefined [[#type|type]]. For example, a typed list of [[#string|strings]] is a list in which all members of the list are strings. A typed list takes one argument: the type that all the members of the list have to be an instance of. Typed lists are probably the most widely used [[#generic type|generic type]].</span>
== V ==
; {{anchor|value}} 值 {{English term|value}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the string or [[#ZObject|ZObject]] associated with a [[#key|key]] in another ZObject.</span>
; {{anchor|validation|Validation}} <span lang="en" dir="ltr" class="mw-content-ltr">validation</span> {{English term|validation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">The action performed by the [[#validator|validator]].</span>
; {{anchor|validator|Validator}} <span lang="en" dir="ltr" class="mw-content-ltr">validator</span> {{English term|validator}}
: <span lang="en" dir="ltr" class="mw-content-ltr">A function taking a ZObject as argument and return a list of errors found.</span>
== W ==
; {{anchor|wiki|Wiki}} wiki {{English term|wiki}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a web site that allows for the easy and collaborative editing of its [[#page|pages]].</span>
; {{anchor|Wikidata}} 維基數據 {{English term|Wikidata}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a project of the [[#Wikimedia_Foundation|Wikimedia Foundation]], a free, collaboratively edited knowledge base; see [[:m:Special:MyLanguage/Wikidata|Wikidata]].</span>
; {{anchor|Wikifunctions}}{{anchor|Wikilambda}} 維基函式庫 {{English term|Wikifunctions}}
: <span lang="en" dir="ltr" class="mw-content-ltr">new project of the [[#Wikimedia_Foundation|Wikimedia Foundation]]; a free, collaboratively developed and maintained catalog of [[#Function|functions]]. It was initially known as '''Wikilambda''' in the {{Pg|:m:Abstract Wikipedia/Historic proposal|original proposal}} (that name is now used for the [[#WikiLambda|WikiLambda extension]]).</span>
; {{anchor|WikiLambda}} <span lang="en" dir="ltr" class="mw-content-ltr">WikiLambda</span> {{English term|WikiLambda}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the software used to power the project, [[mw:Special:MyLanguage/Extension:WikiLambda|Extension:WikiLambda]].</span>
; {{anchor|WikiLambda system}} <span lang="en" dir="ltr" class="mw-content-ltr">WikiLambda system</span> {{English term|WikiLambda system}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an automated system account that is a key part of the WikiLambda extension. See [[User:WikiLambda system]] for its current function.</span>
; {{anchor|WMF|Wikimedia_Foundation}} 維基媒體基金會 {{English term|Wikimedia Foundation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">organization that supports the Wikimedia movement; see [[:m:Special:MyLanguage/Wikimedia Foundation|Wikimedia Foundation]].</span>
; {{anchor|Wikipedia}} <span lang="en" dir="ltr" class="mw-content-ltr">Wikipedia</span> {{English term|Wikipedia}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a project of the [[#Wikimedia_Foundation|Wikimedia Foundation]], a free, collaboratively edited encyclopedia; see [[:m:Special:MyLanguage/Wikipedia|Wikipedia]].</span>
; <span lang="en" dir="ltr" class="mw-content-ltr">Wikipedia, Abstract</span> {{English term|Wikipedia, Abstract}}
: <span lang="en" dir="ltr" class="mw-content-ltr">see [[#Abstract_Wikipedia|Abstract Wikipedia]].</span>
; <span lang="en" dir="ltr" class="mw-content-ltr">Wikipedia, multilingual</span> {{English term|Wikipedia, multilingual}}
: <span lang="en" dir="ltr" class="mw-content-ltr">see [[#multilingual_Wikipedia|multilingual Wikipedia]].</span>
== Z ==
; {{anchor|ZID|ZIDs}} ZID {{English term|ZID}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an ID starting with the letter Z and followed by a natural number. Used to identify [[#persistent|persistent]] [[#ZObject|ZObjects]].</span>
; {{anchor|zfunction|ZFunction}} <span lang="en" dir="ltr" class="mw-content-ltr">ZFunction</span> {{English term|ZFunction}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a wiki page on [[#Wikifunctions|Wikifunctions]] that describes a particular [[#function|function]] that can be used through the [[#evaluator|evaluator]]. Each ZFunction can be realised in code by one or more [[#implementation|Implementations]], and said implementations can be verified as correct by one or more [[#tester|Tester]] ZFunctions.</span>
; {{anchor|ZKey}} <span lang="en" dir="ltr" class="mw-content-ltr">ZKey</span> {{English term|ZKey}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#ZObject|ZObject]] defining a [[#key|key]] for a particular [[#type|type]].</span>
; {{anchor|ZList}} <span lang="en" dir="ltr" class="mw-content-ltr">ZList</span> {{English term|ZList}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#ZObject|ZObject]] for an ordered sequence of other ZObjects.</span>
; {{anchor|ZObject}} <span lang="en" dir="ltr" class="mw-content-ltr">ZObject</span> {{English term|ZObject}}
: <span lang="en" dir="ltr" class="mw-content-ltr">every entry in [[#Wikifunctions|Wikifunctions]] is a ZObject. ZObjects stored in Wikifunctions have [[#ZID|ZIDs]] and can be of numerous types, such as [[#Constructor|Constructors]], [[#Function|Functions]], [[#Type|Types]], etc. A ZObject consists of a set of [[#Key|Key]]/[[#Value|Value]] pairs, with each Key appearing only once per ZObject and Values being ZObjects.</span>
; {{anchor|ZUnit}} <span lang="en" dir="ltr" class="mw-content-ltr">ZUnit</span> {{English term|ZUnit}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#ZObject|ZObject]] that represents a [[:w:en:Unit type|Unit type]].</span>
[[Category:Glossary| {{#translation:}}]]
9ehpwdnjzk2a5brf430e69u065u1vmh
200111
200109
2025-07-03T10:07:15Z
Winston Sung
2672
Created page with "引數參照"
200111
wikitext
text/x-wiki
<noinclude><languages/>
<!--<nowiki>(nowiki tags are so that the translate extension doesn't try to translate the TERM and DEFINITION in this boilerplate).
Use this boilerplate for a new term:
; {{anchor|term|Term}} <translate>term</translate> {{English term|term}}
: ''Definition verification needed''
: <translate>definition</translate>
Notes:
1. Omit the "Definition verification" if you're sure that your definition is correct.
2. You can add several values for anchor, if it has spelling or capitalization variants; see the documentation for Template:Anchor and examples in other terms.
</nowiki>--></noinclude>
<span lang="en" dir="ltr" class="mw-content-ltr">Feel free to ask for terms on the [[Wikifunctions talk:Glossary|talk page]], or to add more terms and improve the definitions.</span>
{|class="toccolours" style="margin:.2em auto;padding:.2em .5em;text-align:center" dir="ltr" lang="en"
|-
|style="padding:0;width:100%"|{{CompactTOC}}
|}
== A ==
; {{anchor|abstract|Abstract}} 抽象 {{English term|abstract}}
: <span lang="en" dir="ltr" class="mw-content-ltr">not in a specific [[#natural_language|natural language]] but abstracting from it; aiming to provide a notation for the meaning behind natural language texts, sentences, or phrases. The opposite of [[#concrete|concrete]].</span>
; {{anchor|abstracttext|AbstractText}} <span lang="en" dir="ltr" class="mw-content-ltr">AbstractText</span> {{English term|AbstractText}}
: <span lang="en" dir="ltr" class="mw-content-ltr">prototype [https://github.com/google/abstracttext implementation] of the [[#Wikifunctions|Wikifunctions]] idea.</span>
; {{anchor|abstract_content}} 抽象內容 {{English term|abstract content}}
: <span lang="en" dir="ltr" class="mw-content-ltr">see [[#Content|content]].</span>
; {{anchor|abstract_Wikipedia|Abstract_Wikipedia}} 抽象維基百科 {{English term|Abstract Wikipedia}}
: <span lang="en" dir="ltr" class="mw-content-ltr">preliminary name of all the [[#Content|Content]] that can be used by [[#local_Wikipedia|local Wikipedias]] to [[#Renderer|render]] an [[#article|article]] in [[#natural_language|natural language]]; currently proposed to live in [[#Wikidata|Wikidata]] next to the corresponding [[#Item|Item]], but that will be discussed before [[#Part_P2|Part P2]] of the [[#development_project|development project]].</span>
; {{anchor|alias}} 別名 {{English term|alias}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an alternative label for an object, used foremost to find the object.</span>
; {{anchor|argument}} 引數 {{English term|argument}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an input given to a [[#function call|function call]].</span>
; {{anchor|argument reference}} 引數參照 {{English term|argument reference}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#reference|reference]] to one of the supplied arguments within a [[#composition|composition]].</span>
; {{anchor|array}} 陣列 {{English term|array}}
: <span lang="en" dir="ltr" class="mw-content-ltr">Many programming languages have an "array" type. The counterparts in Wikifunctions are [[#list|list]] and [[#typed list|typed list]]. See also [[#Benjamin array|Benjamin array]].</span>
; {{anchor|article|Article}} 條目 {{English term|article}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a page in the main namespace of [[#Wikipedia|Wikipedia]], usually representing one entry in Wikipedia.</span>
== B ==
; {{anchor|Benjamin array}} <span lang="en" dir="ltr" class="mw-content-ltr">Benjamin array</span> {{English term|Benjamin array}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a way to denote [[#typed list|typed list]] proposed by Benjamin Degenhart, where a typed list is stored as a JSON list whose first element denotes the type. This is in contrast with the previous proposed schema, which uses LISP-style singly-linked lists, in which the type must be stored once in each node.</span>
; {{anchor|boolean|Boolean}} 布林值 {{English term|boolean}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a value that can have 2 states, usually denoted true and false.</span>
; {{anchor|built-in|builtin}} 內建 {{English term|built-in}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a native implementation of a function that is provided by the evaluator and that is not editable through the wiki interface.</span>
== C ==
; {{anchor|call}} <span lang="en" dir="ltr" class="mw-content-ltr">call</span> {{English term|call}}
: <span lang="en" dir="ltr" class="mw-content-ltr">see [[#function call|function call]]. In English, the term [[#invoke|invoke or invocation]] may also be used.</span>
; {{anchor|canonical|canonicalized|canonicalised}} <span lang="en" dir="ltr" class="mw-content-ltr">canonical, canonicalized, canonicalised</span> {{English term|canonical, canonicalized, canonicalised}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a specific, less verbose and thus more readable way to represent [[#ZObject|ZObjects]] in [[#JSON|JSON]]; it is the usual representation ZObjects are stored in [[#Wikifunctions|Wikifunctions]]. This is opposed to [[#normal|normal]].</span>
; {{anchor|character}} 字元 {{English term|character}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a character as defined by Unicode, a constituent of a String; a character can consist of several bytes (or octets).</span>
; {{anchor|composition}} 組成 {{English term|composition}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a form of implementation of a function, where the implementation is given by the combination of other functions; see [[Special:MyLanguage/Wikifunctions:Function model#Composition|Function model]].</span>
; {{anchor|composition notation}} <span lang="en" dir="ltr" class="mw-content-ltr">composition notation</span> {{English term|composition notation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an easy-to-read notation for compositions; see [[Special:MyLanguage/Wikifunctions:Function model#Composition|Function model]].</span>
; {{anchor|concrete|Concrete}} <span lang="en" dir="ltr" class="mw-content-ltr">concrete</span> {{English term|concrete}}
: <span lang="en" dir="ltr" class="mw-content-ltr">in a specific [[#natural_language|natural language]]. The opposite of [[#abstract|abstract]].</span>
; {{anchor|cons}} <span lang="en" dir="ltr" class="mw-content-ltr">cons</span> {{English term|cons}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a function to create a new list by adding an element at the top of it; see [[phab:T261474]].</span> <span lang="en" dir="ltr" class="mw-content-ltr">See [[w:cons|cons]] in Wikipedia.</span>
; {{anchor|constructor|Constructor}} <span lang="en" dir="ltr" class="mw-content-ltr">constructor</span> {{English term|constructor}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an [[#abstract|abstract]] building block of [[#Content|content]]. A constructor aims to capture the meaning of a single phrase or sentence structure. It often has slots that can take other constructors, and can itself be used as a value to fill the slots of other constructors.</span>
; {{anchor|Content}}<!--do not add |content to the anchor, it is used by MediaWiki--> <span lang="en" dir="ltr" class="mw-content-ltr">content, abstract content</span> {{English term|content, abstract content}}
: <span lang="en" dir="ltr" class="mw-content-ltr">abstract representation of a text or text fragment, assembled from [[#Constructor|constructors]]. Technically, an instance of a constructor. The top level constructor is used to represent a whole [[#article|article]] and stored in [[#Abstract_Wikipedia|Abstract Wikipedia]], but content can be also for just a sentence or phrase. Sometimes called abstract content.</span>
; {{anchor|curry}} <span lang="en" dir="ltr" class="mw-content-ltr">curried, curry, currying</span> {{English term|curried, curry, currying}}
: <span lang="en" dir="ltr" class="mw-content-ltr">A curried function is a function that was translated from taking multiple arguments into a sequence of functions, each with a single argument. This technique is named after the American mathematician [[:w:en:Haskell Curry|Haskell Curry]]. See [[:w:en:Currying|Currying]] in Wikipedia.</span>
== D ==
; {{anchor|deserialization|Deserialization|deserialisation|Deserialisation}} <span lang="en" dir="ltr" class="mw-content-ltr">deserialization</span> {{English term|deserialization}}
: <span lang="en" dir="ltr" class="mw-content-ltr">Opposite of [[#serialization|serialization]].</span>
; {{anchor|development_project|Development_project}} <span lang="en" dir="ltr" class="mw-content-ltr">development project</span> {{English term|development project}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a project to develop [[#Wikifunctions|Wikifunctions]] and [[#Abstract_Wikipedia|Abstract Wikipedia]]; see [[:m:Special:MyLanguage/Abstract Wikipedia/Plan|Abstract Wikipedia plan]].</span>
; {{anchor|display function}} 顯示函式 {{English term|display function}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a synonym of [[#renderer|renderer]]. For example, a function that converts a [[#type|type]] into a string that users can understand, such as converting a Number 123456 to "123,456" in (International) English, "1,23,456" in Indian English, "123.456" in French, etc., or converting the Date '2024','03','12' to '2024-03-12', and so on.</span>
; {{anchor|documentation}} 說明文件 {{English term|documentation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">human-readable text explaining an object.</span>
== E ==
; {{anchor|eney|eneyjj}} <span lang="en" dir="ltr" class="mw-content-ltr">eneyj</span> {{English term|eneyj}}
:# <span lang="en" dir="ltr" class="mw-content-ltr">prototype model of [[#Wikifunctions|Wikifunctions]];</span>
:# <span lang="en" dir="ltr" class="mw-content-ltr">a JavaScript implementation of an [[#evaluator|evaluator]] of that model provided in [[#abstracttext|abstracttext]].</span>
; {{anchor|error|Error}} 錯誤 {{English term|error}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a type whose instances indicate problems in [[#evaluation|evaluation]] or [[#validation|validation]]; see [[Special:MyLanguage/Wikifunctions:Function model#Z5/Errors|Function model]].</span>
; {{anchor|evaluation|Evaluation}} <span lang="en" dir="ltr" class="mw-content-ltr">evaluation</span> {{English term|evaluation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">The action performed by the [[#evaluator|evaluator]].</span>
; {{anchor|evaluator|Evaluator}} <span lang="en" dir="ltr" class="mw-content-ltr">evaluator</span> {{English term|evaluator}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a piece of software that takes a [[#ZObject|ZObject]] and evaluates it, that is executes a [[#Function|Function]] and returns the result. We envision the development of several evaluators. Evaluators may be implemented and run in the browser, on the server of the [[#Wikimedia_Foundation|Wikimedia Foundation]], in the cloud, in an app on a mobile device, or other places. Compare to [[#executor|executor]] and [[#orchestrator|orchestrator]].</span>
; {{anchor|execution|Execution}} 執行 {{English term|execution}}
: <span lang="en" dir="ltr" class="mw-content-ltr">The action performed by the [[#executor|executor]].</span>
; {{anchor|executor|Executor|executors|Executors}} <span lang="en" dir="ltr" class="mw-content-ltr">executor</span> {{English term|executor}}
: <span lang="en" dir="ltr" class="mw-content-ltr">one of a set of internal services which are not exposed to the public. They can be only called by the [[#Orchestrator|orchestrator]]. They run native code in a specific programming language. There would be one executor for Lua, one for JavaScript, one for Python, etc. See [https://gitlab.wikimedia.org/repos/abstract-wiki/wikifunctions/function-evaluator#executors the service documentation]. Compare to [[#evaluator|evaluator]] and [[#orchestrator|orchestrator]].</span>
== F ==
; {{anchor|function|Function}} 函式 {{English term|function}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the specification of a computation that takes some input and returns output; see [[w:en:Function (computer science)|Function (computer science)]] in Wikipedia.</span>
; {{anchor|function call|Function call}} <span lang="en" dir="ltr" class="mw-content-ltr">function call</span> {{English term|function call}}
: <span lang="en" dir="ltr" class="mw-content-ltr">A function call is a ZObject consisting of a function and the required arguments for the function, and can be evaluated to another ZObject. In English, the term "invoke" may also be used.</span>
; {{anchor|function evaluator}} <span lang="en" dir="ltr" class="mw-content-ltr">function evaluator</span> {{English term|function evaluator}}
: <span lang="en" dir="ltr" class="mw-content-ltr">See [[#evaluator|evaluator]].</span>
; {{anchor|function executor}} <span lang="en" dir="ltr" class="mw-content-ltr">function executor</span> {{English term|function executor}}
: <span lang="en" dir="ltr" class="mw-content-ltr">See [[#executor|executor]].</span>
; {{anchor|function model}} <span lang="en" dir="ltr" class="mw-content-ltr">function model</span> {{English term|function model}}
: <span lang="en" dir="ltr" class="mw-content-ltr">see [[Special:MyLanguage/Wikifunctions:Function model|Function model]].</span>
; {{anchor|function orchestrator}} <span lang="en" dir="ltr" class="mw-content-ltr">function orchestrator</span> {{English term|function orchestrator}}
: <span lang="en" dir="ltr" class="mw-content-ltr">See [[#orchestrator|orchestrator]].</span>
; {{anchor|function schemata}} <span lang="en" dir="ltr" class="mw-content-ltr">function schemata</span> {{English term|function schemata}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a set of pre-defined ZObjects used in [[#orchestrator|orchestrator]] and [[#evaluator|evaluator]]. The [[#WikiLambda system|WikiLambda system account]] also populates pre-defined ZObjects on-wiki from function schemata.</span>
; {{anchor|functional}} <span lang="en" dir="ltr" class="mw-content-ltr">functional</span> {{English term|functional}}
: <span lang="en" dir="ltr" class="mw-content-ltr">short for "purely functional", meaning that the [[#evaluation|evaluation]] of such a function has no side-effects and is deterministic, that is always the same; see [[w:en:Purely functional programming|Purely functional programming]] in Wikipedia; see [[Special:MyLanguage/Wikifunctions:Function model#non-functional|Function model]].</span>
== G ==
; {{anchor|generic type}} <span lang="en" dir="ltr" class="mw-content-ltr">generic type</span> {{English term|generic type}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a type generated by [[#evaluation|evaluation]] of a function call.</span>
== I ==
; {{anchor|identity|Identity}} 識別物件 {{English term|identity}}
: <span lang="en" dir="ltr" class="mw-content-ltr">The identity of a type is an instance of (specific) function that evaluates to the type. For a simple type, it is a reference to the type itself.</span>
; {{anchor|implementation|Implementation}} 實作 {{English term|implementation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a particular way to execute a [[#function|function]]. An implementation may be a piece of code in a certain programming language, refer to functionality “built into” the [[#evaluator|evaluator]], or [[#composition|compose]] calls to other functions. A function may have many implementations, which should all be equivalent. Short for "[[#ZFunction|ZFunction]] implementation".</span>
; {{anchor|instance}} 實例 {{English term|instance}}
: <span lang="en" dir="ltr" class="mw-content-ltr">Every ZObject is an instance of its type.</span>
; {{anchor|invoke}} <span lang="en" dir="ltr" class="mw-content-ltr">invoke</span> {{English term|invoke}}
: <span lang="en" dir="ltr" class="mw-content-ltr">synonym for [[#call|call]] in English. See [[#function call|function call]].</span>
; {{anchor|item|Item}} 項目 {{English term|item}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an entry in [[#Wikidata|Wikidata]]'s knowledge base; see [[:d:Wikidata:Glossary#Item|Item]] in the Wikidata glossary.</span>
== J ==
; {{anchor|JSON}} JSON {{English term|JSON}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a widely used data transfer format; see [[w:en:JSON|JSON]] in Wikipedia.</span>
== K ==
; {{anchor|key|Key}} 鍵 {{English term|key}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a string which ends with the letter K followed by a natural number, and is optionally preceded by a [[#ZID|ZID]]. Keys are defined in [[#Wikifunctions|Wikifunctions]] usually on [[#Type|Types]] or [[#Function|Functions]], and are used to build up [[#ZObject|ZObjects]].</span>
== L ==
; {{anchor|label}} <span lang="en" dir="ltr" class="mw-content-ltr">label</span> {{English term|label}}
: <span lang="en" dir="ltr" class="mw-content-ltr">main name given to identify a ZObject. May only be plain text.</span>
; {{anchor|lexeme|Lexeme}} <span lang="en" dir="ltr" class="mw-content-ltr">lexeme</span> {{English term|lexeme}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an entry in [[#Wikidata|Wikidata]] storing lexicographic knowledge about, roughly, a word; see [[d:Wikidata:Glossary#Lexeme|Lexeme]] in the Wikidata glossary.</span>
; {{anchor|linearizer|Linearizer}} <span lang="en" dir="ltr" class="mw-content-ltr">linearizer</span> {{English term|linearizer}}
: <span lang="en" dir="ltr" class="mw-content-ltr">(this term is no longer used in current terminology, but can still be found in older documents) synonym of [[#renderer|renderer]] (1).</span>
; {{anchor|list|List}} <span lang="en" dir="ltr" class="mw-content-ltr">list</span> {{English term|list}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a data type that groups an arbitrary number of instances in an ordered entity; see [[w:en:List (abstract data type)|List (abstract data type)]] in Wikipedia.</span>
; {{anchor|literal}} <span lang="en" dir="ltr" class="mw-content-ltr">literal</span> {{English term|literal}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a value that is not a ZObject. Currently the only accepted literal is string.</span>
; {{anchor|local_Wikipedia|Local_Wikipedia}} <span lang="en" dir="ltr" class="mw-content-ltr">local Wikipedia</span> {{English term|local Wikipedia}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#Wikipedia|Wikipedia]] in a specific language, such as Hebrew Wikipedia, Japanese Wikipedia, or Italian Wikipedia.</span>
== M ==
; {{anchor|Multlingual_Wikipedia|multilingual_Wikipedia}} <span lang="en" dir="ltr" class="mw-content-ltr">multilingual Wikipedia</span> {{English term|multilingual Wikipedia}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the architecture that allows [[#local_Wikipedia|local Wikipedias]] to enrich themselves by [[#Renderer|rendering]] the [[#Content|Content]] from [[#Abstract_Wikipedia|Abstract Wikipedia]] and thus have a more comprehensive, current, and correct Wikipedia in their language; see [[:m:Special:MyLanguage/Abstract Wikipedia/Architecture|Abstract Wikipedia architecture]].</span>
== N ==
; {{anchor|natural_language|Natural_language}} <span lang="en" dir="ltr" class="mw-content-ltr">natural language</span> {{English term|natural language}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a specific natural language in the wider sense, such as English, Tagalog, or Swahili; see [[w:en:Natural language|Natural language]] in Wikipedia.</span>
; {{anchor|normal|Normal|normalized|Normalized|normalised}} <span lang="en" dir="ltr" class="mw-content-ltr">normal</span> {{English term|normal}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an extended, easily processable and very uniform way to represent [[#ZObject|ZObjects]] in [[#JSON|JSON]]. This is opposed to [[#canonical|canonical]].</span>
; {{anchor|nothing|Nothing}} <span lang="en" dir="ltr" class="mw-content-ltr">nothing</span> {{English term|nothing}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a data type that can have no instances; see [[w:en:Bottom type|Bottom type]] in Wikipedia.</span>
== O ==
; {{anchor|object|Object}} 物件 {{English term|object}}
:# <span lang="en" dir="ltr" class="mw-content-ltr">In JavaScript or JSON, an object is basically an associative array; see [[w:en:Associative array|Associative array]] in Wikipedia.</span>
:# <span lang="en" dir="ltr" class="mw-content-ltr">In Wikifunctions, synonym of [[#ZObject|ZObject]].</span>
; {{anchor|orchestration|Orchestration}} <span lang="en" dir="ltr" class="mw-content-ltr">orchestration</span> {{English term|orchestration}}
:<span lang="en" dir="ltr" class="mw-content-ltr">The action performed by the [[#orchestrator|orchestrator]].</span>
; {{anchor|orchestrator|Orchestrator}} <span lang="en" dir="ltr" class="mw-content-ltr">orchestrator</span> {{English term|orchestrator}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a service that takes a [[#ZObject|ZObject]] and returns an [[#Evaluator|evaluated]] version of it. To do this, it will make calls to the wiki for other ZObjects it needs, to the [[#Executor|executor]] to evaluate some function calls, and other services such as [[#Wikidata|Wikidata]]. See [https://gitlab.wikimedia.org/repos/abstract-wiki/wikifunctions/function-orchestrator#wikifunctions-function-orchestrator the service documentation]. Compare to [[#evaluator|evaluator]] and [[#executor|executor]].</span>
== P ==
; {{anchor|page|Page}} 頁面 {{English term|page}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a part of a wiki. A [[#wiki|wiki]] consists of a number of individual pages, which can be edited independently, have internal links to each other, etc.</span>
; {{anchor|parser|Parser}} 解析器 {{English term|parser}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a function to convert a string to a ZObject. The opposite of [[#renderer|renderer]].</span>
; {{anchor|pair|Pair}} <span lang="en" dir="ltr" class="mw-content-ltr">pair</span> {{English term|pair}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a compound ZObject that contains two ZObjects of specific (but arbitrary) type.</span>
; {{anchor|part_P1|Part_P1}} <span lang="en" dir="ltr" class="mw-content-ltr">Part P1</span> {{English term|Part P1}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the part of the [[#development_project|development project]] that deals with creating [[#Wikifunctions|Wikifunctions]]. It starts at the beginning of the project and goes on throughout its whole lifetime; see [[:m:Special:MyLanguage/Abstract Wikipedia/Tasks#Part P1: Wikifunctions|Part P1: Wikifunctions]].</span>
; {{anchor|part_P2|Part_P2}} <span lang="en" dir="ltr" class="mw-content-ltr">Part P2</span> {{English term|Part P2}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the part of the [[#development_project|development project]] that deals with creating [[#Abstract_Wikipedia|Abstract Wikipedia]]. It starts after about a year in the project and goes on throughout the second half of its lifetime; see [[:m:Special:MyLanguage/Abstract Wikipedia/Tasks#Part P2: Abstract Wikipedia|Part P2: Abstract Wikipedia]].</span>
; {{anchor|persistent|Persistent}} <span lang="en" dir="ltr" class="mw-content-ltr">persistent</span> {{English term|persistent}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#ZObject|ZObject]] with a [[#ZID|ZID]] and with its own page in the wiki. Most persistent ZObjects will include [[#value|values]] that are ZObjects with no ZID, and are therefore not persistent.</span>
; {{anchor|property|Property}} 屬性 {{English term|property}}
: <span lang="en" dir="ltr" class="mw-content-ltr">used to make a [[#Statement|statement]] about an [[#Item|Item]] in [[#Wikidata|Wikidata]]'s knowledge base; see [[:d:Wikidata:Glossary#Property|Property]] in the Wikidata glossary.</span>
== Q ==
; {{anchor|quote|Quote}} <span lang="en" dir="ltr" class="mw-content-ltr">quote</span> {{English term|quote}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a data structure that is not to be evaluated but kept verbatim.</span>
; {{anchor|QID}} QID {{English term|QID}}
: <span lang="en" dir="ltr" class="mw-content-ltr">identifier for an item in [[#Wikidata|Wikidata]], comprising the letter "Q" followed by an integer.</span>
== R ==
; {{anchor|reading function}} <span lang="en" dir="ltr" class="mw-content-ltr">reading function</span> {{English term|reading function}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a synonym of [[#parser|parser]]. A function that converts user text input from a string into a given Type. For example, converting the String "123456" to the Number '123456', or the string "2024-03-12" to the Date '2024', '03', '12'.</span>
; {{anchor|reference|Reference}} 參照 {{English term|reference}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an ID denoting the underlying object. For example, the string "Z11" refers to the Type Z11/Monolingual text.</span>
: {{TakeNote}}<span lang="en" dir="ltr" class="mw-content-ltr">This term has a completely different meaning than on Wikidata; see [[w:en:Reference (computer science)|Reference (computer science)]] in Wikipedia.</span>
; {{anchor|renderer|Renderer}} 轉譯器 {{English term|renderer}} (1)
: <span lang="en" dir="ltr" class="mw-content-ltr">a function to convert a ZObject to a string. The opposite of [[#parser|parser]]. (formerly called "linearizer")</span>
; <span lang="en" dir="ltr" class="mw-content-ltr">renderer</span> {{English term|renderer}} (2)
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#Function|function]] that gets a [[#Content|content]] and an identifier for a [[#natural_language|natural language]] as an input and returns text in that natural language as output, representing the content as concrete text, using knowledge from [[#Lexeme|lexemes]].</span>
: {{TakeNote}}<span lang="en" dir="ltr" class="mw-content-ltr">This is a future feature, and the meaning of the term "renderer" in the {{Pg|:m:Abstract Wikipedia/Historic proposal|original proposal}}; this term collides with the current usage of "renderer", so it may be renamed in the future.</span>
; {{anchor|reify}} <span lang="en" dir="ltr" class="mw-content-ltr">reify</span> {{English term|reify}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a function that deconstructs an object into its constituent parts so that the parts can be individually accessed; see [[w:en:Reification (computer science)|Reification]] in Wikipedia; see [[phab:T261474]].</span>
; {{anchor|REPL}} <span lang="en" dir="ltr" class="mw-content-ltr">REPL</span> {{English term|REPL}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a Read / Eval / Print - Loop, a command line interface that takes some input, evaluates it, and displays the result; see [[w:en:REPL|REPL]] in Wikipedia; see [[Special:MyLanguage/Wikifunctions:Function model#REPL|Function model]].</span>
== S ==
; {{anchor|schemata}} <span lang="en" dir="ltr" class="mw-content-ltr">schemata</span> {{English term|schemata}}
: <span lang="en" dir="ltr" class="mw-content-ltr">See [[#function schemata|function schemata]].</span>
; {{anchor|serialization|Serialization|serialisation|Serialisation}} <span lang="en" dir="ltr" class="mw-content-ltr">serialization</span> {{English term|serialization}}
: <span lang="en" dir="ltr" class="mw-content-ltr">Ways to represent [[#ZObject|ZObjects]] in [[#JSON|JSON]]; see also [[#canonical|canonical]], [[#normal|normal]].</span>
; {{anchor|statement|Statement}} <span lang="en" dir="ltr" class="mw-content-ltr">statement</span> {{English term|statement}}
: <span lang="en" dir="ltr" class="mw-content-ltr">used to provide knowledge about an [[#Item|Item]] in [[#Wikidata|Wikidata]]'s knowledge base; see [[:d:Wikidata:Glossary#Statement|Statement]] in the Wikidata glossary.</span>
; {{anchor|string}} 字串 {{English term|string}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a sequence of characters.</span>
; {{anchor|sum type|Sum type}} <span lang="en" dir="ltr" class="mw-content-ltr">sum type</span> {{English term|sum type}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a type that can have instances of any of its constituent types; see [[w:en:Sum type|Sum type]] in Wikipedia; see [[Special:MyLanguage/Wikifunctions:Function model#Zx/Sum_types|Function model]].</span>
== T ==
; {{anchor|template}} <span lang="en" dir="ltr" class="mw-content-ltr">template</span> {{English term|template}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a way to specify a [[#renderer|renderer]] as text interspersed with place-holders, or ''slots'', which can be filled with data from [[#constructor|constructors]], function calculation, or content from another template. See the document [[:m:Special:MyLanguage/Abstract Wikipedia/Template Language for Wikifunctions|Template Language for Wikifunctions]] for a detailed discussion of the template syntax.</span>
; {{anchor|tester|Tester}} <span lang="en" dir="ltr" class="mw-content-ltr">tester</span> {{English term|tester}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a way to automatically determine if a given [[#ZFunction|ZFunction]] is doing the right thing. A [[#function|function]] will typically have multiple testers, each specifying some input to the function and conditions the output for the given input must fulfil. For example, testers for a “title case” function might include: “abc” should become “Abc”; “war and peace” should become “War and Peace”; “война и мир” should become “Война и мир”; and “123” should remain “123”.</span>
; {{anchor|transient|Transient}} <span lang="en" dir="ltr" class="mw-content-ltr">transient</span> {{English term|transient}}
: <span lang="en" dir="ltr" class="mw-content-ltr">Opposite of [[#persistent|persistent]].</span>
; {{anchor|type|Type}} <span lang="en" dir="ltr" class="mw-content-ltr">type</span> {{English term|type}}
: <span lang="en" dir="ltr" class="mw-content-ltr">The type of an object tells us how to interpret and understand the given object, and what can be done with the object. For example, if we have an object with the value “2023”, depending on whether its type is integer, or year, or string, we understand that object differently. Every object refers to “a thing in the real world”. The integer 2023 is different from the year 2023. The type tells us how to interpret a given object, so that we know which thing in the real world it refers to. Technically, it defines how objects of that type are structured and what conditions they need to fulfill to be a valid object of that type.</span> <span lang="en" dir="ltr" class="mw-content-ltr">A type defines the conditions for a [[#ZObject|ZObject]] to be a valid instance of this type, by providing a [[#Function|function]] that validates a ZObject. Types are ZObjects themselves, so that contributors of [[#Wikifunctions|Wikifunctions]] can create new types.</span>
; {{anchor|type converter}} <span lang="en" dir="ltr" class="mw-content-ltr">type converter</span> {{English term|type converter}}
: <span lang="en" dir="ltr" class="mw-content-ltr">A script written in some programming language (such as JavaScript), taking a native object (such as BigInt), and returning a JSON object representing the corresponding ZObject; or ''vice versa''.</span>
; {{anchor|typed list|Typed List}} <span lang="en" dir="ltr" class="mw-content-ltr">typed list</span> {{English term|typed list}}
: <span lang="en" dir="ltr" class="mw-content-ltr">A typed list is a [[#list|list]] in which all members of the list are of a specific, predefined [[#type|type]]. For example, a typed list of [[#string|strings]] is a list in which all members of the list are strings. A typed list takes one argument: the type that all the members of the list have to be an instance of. Typed lists are probably the most widely used [[#generic type|generic type]].</span>
== V ==
; {{anchor|value}} 值 {{English term|value}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the string or [[#ZObject|ZObject]] associated with a [[#key|key]] in another ZObject.</span>
; {{anchor|validation|Validation}} <span lang="en" dir="ltr" class="mw-content-ltr">validation</span> {{English term|validation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">The action performed by the [[#validator|validator]].</span>
; {{anchor|validator|Validator}} <span lang="en" dir="ltr" class="mw-content-ltr">validator</span> {{English term|validator}}
: <span lang="en" dir="ltr" class="mw-content-ltr">A function taking a ZObject as argument and return a list of errors found.</span>
== W ==
; {{anchor|wiki|Wiki}} wiki {{English term|wiki}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a web site that allows for the easy and collaborative editing of its [[#page|pages]].</span>
; {{anchor|Wikidata}} 維基數據 {{English term|Wikidata}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a project of the [[#Wikimedia_Foundation|Wikimedia Foundation]], a free, collaboratively edited knowledge base; see [[:m:Special:MyLanguage/Wikidata|Wikidata]].</span>
; {{anchor|Wikifunctions}}{{anchor|Wikilambda}} 維基函式庫 {{English term|Wikifunctions}}
: <span lang="en" dir="ltr" class="mw-content-ltr">new project of the [[#Wikimedia_Foundation|Wikimedia Foundation]]; a free, collaboratively developed and maintained catalog of [[#Function|functions]]. It was initially known as '''Wikilambda''' in the {{Pg|:m:Abstract Wikipedia/Historic proposal|original proposal}} (that name is now used for the [[#WikiLambda|WikiLambda extension]]).</span>
; {{anchor|WikiLambda}} <span lang="en" dir="ltr" class="mw-content-ltr">WikiLambda</span> {{English term|WikiLambda}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the software used to power the project, [[mw:Special:MyLanguage/Extension:WikiLambda|Extension:WikiLambda]].</span>
; {{anchor|WikiLambda system}} <span lang="en" dir="ltr" class="mw-content-ltr">WikiLambda system</span> {{English term|WikiLambda system}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an automated system account that is a key part of the WikiLambda extension. See [[User:WikiLambda system]] for its current function.</span>
; {{anchor|WMF|Wikimedia_Foundation}} 維基媒體基金會 {{English term|Wikimedia Foundation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">organization that supports the Wikimedia movement; see [[:m:Special:MyLanguage/Wikimedia Foundation|Wikimedia Foundation]].</span>
; {{anchor|Wikipedia}} <span lang="en" dir="ltr" class="mw-content-ltr">Wikipedia</span> {{English term|Wikipedia}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a project of the [[#Wikimedia_Foundation|Wikimedia Foundation]], a free, collaboratively edited encyclopedia; see [[:m:Special:MyLanguage/Wikipedia|Wikipedia]].</span>
; <span lang="en" dir="ltr" class="mw-content-ltr">Wikipedia, Abstract</span> {{English term|Wikipedia, Abstract}}
: <span lang="en" dir="ltr" class="mw-content-ltr">see [[#Abstract_Wikipedia|Abstract Wikipedia]].</span>
; <span lang="en" dir="ltr" class="mw-content-ltr">Wikipedia, multilingual</span> {{English term|Wikipedia, multilingual}}
: <span lang="en" dir="ltr" class="mw-content-ltr">see [[#multilingual_Wikipedia|multilingual Wikipedia]].</span>
== Z ==
; {{anchor|ZID|ZIDs}} ZID {{English term|ZID}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an ID starting with the letter Z and followed by a natural number. Used to identify [[#persistent|persistent]] [[#ZObject|ZObjects]].</span>
; {{anchor|zfunction|ZFunction}} <span lang="en" dir="ltr" class="mw-content-ltr">ZFunction</span> {{English term|ZFunction}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a wiki page on [[#Wikifunctions|Wikifunctions]] that describes a particular [[#function|function]] that can be used through the [[#evaluator|evaluator]]. Each ZFunction can be realised in code by one or more [[#implementation|Implementations]], and said implementations can be verified as correct by one or more [[#tester|Tester]] ZFunctions.</span>
; {{anchor|ZKey}} <span lang="en" dir="ltr" class="mw-content-ltr">ZKey</span> {{English term|ZKey}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#ZObject|ZObject]] defining a [[#key|key]] for a particular [[#type|type]].</span>
; {{anchor|ZList}} <span lang="en" dir="ltr" class="mw-content-ltr">ZList</span> {{English term|ZList}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#ZObject|ZObject]] for an ordered sequence of other ZObjects.</span>
; {{anchor|ZObject}} <span lang="en" dir="ltr" class="mw-content-ltr">ZObject</span> {{English term|ZObject}}
: <span lang="en" dir="ltr" class="mw-content-ltr">every entry in [[#Wikifunctions|Wikifunctions]] is a ZObject. ZObjects stored in Wikifunctions have [[#ZID|ZIDs]] and can be of numerous types, such as [[#Constructor|Constructors]], [[#Function|Functions]], [[#Type|Types]], etc. A ZObject consists of a set of [[#Key|Key]]/[[#Value|Value]] pairs, with each Key appearing only once per ZObject and Values being ZObjects.</span>
; {{anchor|ZUnit}} <span lang="en" dir="ltr" class="mw-content-ltr">ZUnit</span> {{English term|ZUnit}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#ZObject|ZObject]] that represents a [[:w:en:Unit type|Unit type]].</span>
[[Category:Glossary| {{#translation:}}]]
ff8edg12j0paxhi5hvyfs8yak4ejem0
200113
200111
2025-07-03T10:07:23Z
Winston Sung
2672
Created page with "呼叫"
200113
wikitext
text/x-wiki
<noinclude><languages/>
<!--<nowiki>(nowiki tags are so that the translate extension doesn't try to translate the TERM and DEFINITION in this boilerplate).
Use this boilerplate for a new term:
; {{anchor|term|Term}} <translate>term</translate> {{English term|term}}
: ''Definition verification needed''
: <translate>definition</translate>
Notes:
1. Omit the "Definition verification" if you're sure that your definition is correct.
2. You can add several values for anchor, if it has spelling or capitalization variants; see the documentation for Template:Anchor and examples in other terms.
</nowiki>--></noinclude>
<span lang="en" dir="ltr" class="mw-content-ltr">Feel free to ask for terms on the [[Wikifunctions talk:Glossary|talk page]], or to add more terms and improve the definitions.</span>
{|class="toccolours" style="margin:.2em auto;padding:.2em .5em;text-align:center" dir="ltr" lang="en"
|-
|style="padding:0;width:100%"|{{CompactTOC}}
|}
== A ==
; {{anchor|abstract|Abstract}} 抽象 {{English term|abstract}}
: <span lang="en" dir="ltr" class="mw-content-ltr">not in a specific [[#natural_language|natural language]] but abstracting from it; aiming to provide a notation for the meaning behind natural language texts, sentences, or phrases. The opposite of [[#concrete|concrete]].</span>
; {{anchor|abstracttext|AbstractText}} <span lang="en" dir="ltr" class="mw-content-ltr">AbstractText</span> {{English term|AbstractText}}
: <span lang="en" dir="ltr" class="mw-content-ltr">prototype [https://github.com/google/abstracttext implementation] of the [[#Wikifunctions|Wikifunctions]] idea.</span>
; {{anchor|abstract_content}} 抽象內容 {{English term|abstract content}}
: <span lang="en" dir="ltr" class="mw-content-ltr">see [[#Content|content]].</span>
; {{anchor|abstract_Wikipedia|Abstract_Wikipedia}} 抽象維基百科 {{English term|Abstract Wikipedia}}
: <span lang="en" dir="ltr" class="mw-content-ltr">preliminary name of all the [[#Content|Content]] that can be used by [[#local_Wikipedia|local Wikipedias]] to [[#Renderer|render]] an [[#article|article]] in [[#natural_language|natural language]]; currently proposed to live in [[#Wikidata|Wikidata]] next to the corresponding [[#Item|Item]], but that will be discussed before [[#Part_P2|Part P2]] of the [[#development_project|development project]].</span>
; {{anchor|alias}} 別名 {{English term|alias}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an alternative label for an object, used foremost to find the object.</span>
; {{anchor|argument}} 引數 {{English term|argument}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an input given to a [[#function call|function call]].</span>
; {{anchor|argument reference}} 引數參照 {{English term|argument reference}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#reference|reference]] to one of the supplied arguments within a [[#composition|composition]].</span>
; {{anchor|array}} 陣列 {{English term|array}}
: <span lang="en" dir="ltr" class="mw-content-ltr">Many programming languages have an "array" type. The counterparts in Wikifunctions are [[#list|list]] and [[#typed list|typed list]]. See also [[#Benjamin array|Benjamin array]].</span>
; {{anchor|article|Article}} 條目 {{English term|article}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a page in the main namespace of [[#Wikipedia|Wikipedia]], usually representing one entry in Wikipedia.</span>
== B ==
; {{anchor|Benjamin array}} <span lang="en" dir="ltr" class="mw-content-ltr">Benjamin array</span> {{English term|Benjamin array}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a way to denote [[#typed list|typed list]] proposed by Benjamin Degenhart, where a typed list is stored as a JSON list whose first element denotes the type. This is in contrast with the previous proposed schema, which uses LISP-style singly-linked lists, in which the type must be stored once in each node.</span>
; {{anchor|boolean|Boolean}} 布林值 {{English term|boolean}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a value that can have 2 states, usually denoted true and false.</span>
; {{anchor|built-in|builtin}} 內建 {{English term|built-in}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a native implementation of a function that is provided by the evaluator and that is not editable through the wiki interface.</span>
== C ==
; {{anchor|call}} 呼叫 {{English term|call}}
: <span lang="en" dir="ltr" class="mw-content-ltr">see [[#function call|function call]]. In English, the term [[#invoke|invoke or invocation]] may also be used.</span>
; {{anchor|canonical|canonicalized|canonicalised}} <span lang="en" dir="ltr" class="mw-content-ltr">canonical, canonicalized, canonicalised</span> {{English term|canonical, canonicalized, canonicalised}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a specific, less verbose and thus more readable way to represent [[#ZObject|ZObjects]] in [[#JSON|JSON]]; it is the usual representation ZObjects are stored in [[#Wikifunctions|Wikifunctions]]. This is opposed to [[#normal|normal]].</span>
; {{anchor|character}} 字元 {{English term|character}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a character as defined by Unicode, a constituent of a String; a character can consist of several bytes (or octets).</span>
; {{anchor|composition}} 組成 {{English term|composition}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a form of implementation of a function, where the implementation is given by the combination of other functions; see [[Special:MyLanguage/Wikifunctions:Function model#Composition|Function model]].</span>
; {{anchor|composition notation}} <span lang="en" dir="ltr" class="mw-content-ltr">composition notation</span> {{English term|composition notation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an easy-to-read notation for compositions; see [[Special:MyLanguage/Wikifunctions:Function model#Composition|Function model]].</span>
; {{anchor|concrete|Concrete}} <span lang="en" dir="ltr" class="mw-content-ltr">concrete</span> {{English term|concrete}}
: <span lang="en" dir="ltr" class="mw-content-ltr">in a specific [[#natural_language|natural language]]. The opposite of [[#abstract|abstract]].</span>
; {{anchor|cons}} <span lang="en" dir="ltr" class="mw-content-ltr">cons</span> {{English term|cons}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a function to create a new list by adding an element at the top of it; see [[phab:T261474]].</span> <span lang="en" dir="ltr" class="mw-content-ltr">See [[w:cons|cons]] in Wikipedia.</span>
; {{anchor|constructor|Constructor}} <span lang="en" dir="ltr" class="mw-content-ltr">constructor</span> {{English term|constructor}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an [[#abstract|abstract]] building block of [[#Content|content]]. A constructor aims to capture the meaning of a single phrase or sentence structure. It often has slots that can take other constructors, and can itself be used as a value to fill the slots of other constructors.</span>
; {{anchor|Content}}<!--do not add |content to the anchor, it is used by MediaWiki--> <span lang="en" dir="ltr" class="mw-content-ltr">content, abstract content</span> {{English term|content, abstract content}}
: <span lang="en" dir="ltr" class="mw-content-ltr">abstract representation of a text or text fragment, assembled from [[#Constructor|constructors]]. Technically, an instance of a constructor. The top level constructor is used to represent a whole [[#article|article]] and stored in [[#Abstract_Wikipedia|Abstract Wikipedia]], but content can be also for just a sentence or phrase. Sometimes called abstract content.</span>
; {{anchor|curry}} <span lang="en" dir="ltr" class="mw-content-ltr">curried, curry, currying</span> {{English term|curried, curry, currying}}
: <span lang="en" dir="ltr" class="mw-content-ltr">A curried function is a function that was translated from taking multiple arguments into a sequence of functions, each with a single argument. This technique is named after the American mathematician [[:w:en:Haskell Curry|Haskell Curry]]. See [[:w:en:Currying|Currying]] in Wikipedia.</span>
== D ==
; {{anchor|deserialization|Deserialization|deserialisation|Deserialisation}} <span lang="en" dir="ltr" class="mw-content-ltr">deserialization</span> {{English term|deserialization}}
: <span lang="en" dir="ltr" class="mw-content-ltr">Opposite of [[#serialization|serialization]].</span>
; {{anchor|development_project|Development_project}} <span lang="en" dir="ltr" class="mw-content-ltr">development project</span> {{English term|development project}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a project to develop [[#Wikifunctions|Wikifunctions]] and [[#Abstract_Wikipedia|Abstract Wikipedia]]; see [[:m:Special:MyLanguage/Abstract Wikipedia/Plan|Abstract Wikipedia plan]].</span>
; {{anchor|display function}} 顯示函式 {{English term|display function}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a synonym of [[#renderer|renderer]]. For example, a function that converts a [[#type|type]] into a string that users can understand, such as converting a Number 123456 to "123,456" in (International) English, "1,23,456" in Indian English, "123.456" in French, etc., or converting the Date '2024','03','12' to '2024-03-12', and so on.</span>
; {{anchor|documentation}} 說明文件 {{English term|documentation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">human-readable text explaining an object.</span>
== E ==
; {{anchor|eney|eneyjj}} <span lang="en" dir="ltr" class="mw-content-ltr">eneyj</span> {{English term|eneyj}}
:# <span lang="en" dir="ltr" class="mw-content-ltr">prototype model of [[#Wikifunctions|Wikifunctions]];</span>
:# <span lang="en" dir="ltr" class="mw-content-ltr">a JavaScript implementation of an [[#evaluator|evaluator]] of that model provided in [[#abstracttext|abstracttext]].</span>
; {{anchor|error|Error}} 錯誤 {{English term|error}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a type whose instances indicate problems in [[#evaluation|evaluation]] or [[#validation|validation]]; see [[Special:MyLanguage/Wikifunctions:Function model#Z5/Errors|Function model]].</span>
; {{anchor|evaluation|Evaluation}} <span lang="en" dir="ltr" class="mw-content-ltr">evaluation</span> {{English term|evaluation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">The action performed by the [[#evaluator|evaluator]].</span>
; {{anchor|evaluator|Evaluator}} <span lang="en" dir="ltr" class="mw-content-ltr">evaluator</span> {{English term|evaluator}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a piece of software that takes a [[#ZObject|ZObject]] and evaluates it, that is executes a [[#Function|Function]] and returns the result. We envision the development of several evaluators. Evaluators may be implemented and run in the browser, on the server of the [[#Wikimedia_Foundation|Wikimedia Foundation]], in the cloud, in an app on a mobile device, or other places. Compare to [[#executor|executor]] and [[#orchestrator|orchestrator]].</span>
; {{anchor|execution|Execution}} 執行 {{English term|execution}}
: <span lang="en" dir="ltr" class="mw-content-ltr">The action performed by the [[#executor|executor]].</span>
; {{anchor|executor|Executor|executors|Executors}} <span lang="en" dir="ltr" class="mw-content-ltr">executor</span> {{English term|executor}}
: <span lang="en" dir="ltr" class="mw-content-ltr">one of a set of internal services which are not exposed to the public. They can be only called by the [[#Orchestrator|orchestrator]]. They run native code in a specific programming language. There would be one executor for Lua, one for JavaScript, one for Python, etc. See [https://gitlab.wikimedia.org/repos/abstract-wiki/wikifunctions/function-evaluator#executors the service documentation]. Compare to [[#evaluator|evaluator]] and [[#orchestrator|orchestrator]].</span>
== F ==
; {{anchor|function|Function}} 函式 {{English term|function}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the specification of a computation that takes some input and returns output; see [[w:en:Function (computer science)|Function (computer science)]] in Wikipedia.</span>
; {{anchor|function call|Function call}} <span lang="en" dir="ltr" class="mw-content-ltr">function call</span> {{English term|function call}}
: <span lang="en" dir="ltr" class="mw-content-ltr">A function call is a ZObject consisting of a function and the required arguments for the function, and can be evaluated to another ZObject. In English, the term "invoke" may also be used.</span>
; {{anchor|function evaluator}} <span lang="en" dir="ltr" class="mw-content-ltr">function evaluator</span> {{English term|function evaluator}}
: <span lang="en" dir="ltr" class="mw-content-ltr">See [[#evaluator|evaluator]].</span>
; {{anchor|function executor}} <span lang="en" dir="ltr" class="mw-content-ltr">function executor</span> {{English term|function executor}}
: <span lang="en" dir="ltr" class="mw-content-ltr">See [[#executor|executor]].</span>
; {{anchor|function model}} <span lang="en" dir="ltr" class="mw-content-ltr">function model</span> {{English term|function model}}
: <span lang="en" dir="ltr" class="mw-content-ltr">see [[Special:MyLanguage/Wikifunctions:Function model|Function model]].</span>
; {{anchor|function orchestrator}} <span lang="en" dir="ltr" class="mw-content-ltr">function orchestrator</span> {{English term|function orchestrator}}
: <span lang="en" dir="ltr" class="mw-content-ltr">See [[#orchestrator|orchestrator]].</span>
; {{anchor|function schemata}} <span lang="en" dir="ltr" class="mw-content-ltr">function schemata</span> {{English term|function schemata}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a set of pre-defined ZObjects used in [[#orchestrator|orchestrator]] and [[#evaluator|evaluator]]. The [[#WikiLambda system|WikiLambda system account]] also populates pre-defined ZObjects on-wiki from function schemata.</span>
; {{anchor|functional}} <span lang="en" dir="ltr" class="mw-content-ltr">functional</span> {{English term|functional}}
: <span lang="en" dir="ltr" class="mw-content-ltr">short for "purely functional", meaning that the [[#evaluation|evaluation]] of such a function has no side-effects and is deterministic, that is always the same; see [[w:en:Purely functional programming|Purely functional programming]] in Wikipedia; see [[Special:MyLanguage/Wikifunctions:Function model#non-functional|Function model]].</span>
== G ==
; {{anchor|generic type}} <span lang="en" dir="ltr" class="mw-content-ltr">generic type</span> {{English term|generic type}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a type generated by [[#evaluation|evaluation]] of a function call.</span>
== I ==
; {{anchor|identity|Identity}} 識別物件 {{English term|identity}}
: <span lang="en" dir="ltr" class="mw-content-ltr">The identity of a type is an instance of (specific) function that evaluates to the type. For a simple type, it is a reference to the type itself.</span>
; {{anchor|implementation|Implementation}} 實作 {{English term|implementation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a particular way to execute a [[#function|function]]. An implementation may be a piece of code in a certain programming language, refer to functionality “built into” the [[#evaluator|evaluator]], or [[#composition|compose]] calls to other functions. A function may have many implementations, which should all be equivalent. Short for "[[#ZFunction|ZFunction]] implementation".</span>
; {{anchor|instance}} 實例 {{English term|instance}}
: <span lang="en" dir="ltr" class="mw-content-ltr">Every ZObject is an instance of its type.</span>
; {{anchor|invoke}} <span lang="en" dir="ltr" class="mw-content-ltr">invoke</span> {{English term|invoke}}
: <span lang="en" dir="ltr" class="mw-content-ltr">synonym for [[#call|call]] in English. See [[#function call|function call]].</span>
; {{anchor|item|Item}} 項目 {{English term|item}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an entry in [[#Wikidata|Wikidata]]'s knowledge base; see [[:d:Wikidata:Glossary#Item|Item]] in the Wikidata glossary.</span>
== J ==
; {{anchor|JSON}} JSON {{English term|JSON}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a widely used data transfer format; see [[w:en:JSON|JSON]] in Wikipedia.</span>
== K ==
; {{anchor|key|Key}} 鍵 {{English term|key}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a string which ends with the letter K followed by a natural number, and is optionally preceded by a [[#ZID|ZID]]. Keys are defined in [[#Wikifunctions|Wikifunctions]] usually on [[#Type|Types]] or [[#Function|Functions]], and are used to build up [[#ZObject|ZObjects]].</span>
== L ==
; {{anchor|label}} <span lang="en" dir="ltr" class="mw-content-ltr">label</span> {{English term|label}}
: <span lang="en" dir="ltr" class="mw-content-ltr">main name given to identify a ZObject. May only be plain text.</span>
; {{anchor|lexeme|Lexeme}} <span lang="en" dir="ltr" class="mw-content-ltr">lexeme</span> {{English term|lexeme}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an entry in [[#Wikidata|Wikidata]] storing lexicographic knowledge about, roughly, a word; see [[d:Wikidata:Glossary#Lexeme|Lexeme]] in the Wikidata glossary.</span>
; {{anchor|linearizer|Linearizer}} <span lang="en" dir="ltr" class="mw-content-ltr">linearizer</span> {{English term|linearizer}}
: <span lang="en" dir="ltr" class="mw-content-ltr">(this term is no longer used in current terminology, but can still be found in older documents) synonym of [[#renderer|renderer]] (1).</span>
; {{anchor|list|List}} <span lang="en" dir="ltr" class="mw-content-ltr">list</span> {{English term|list}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a data type that groups an arbitrary number of instances in an ordered entity; see [[w:en:List (abstract data type)|List (abstract data type)]] in Wikipedia.</span>
; {{anchor|literal}} <span lang="en" dir="ltr" class="mw-content-ltr">literal</span> {{English term|literal}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a value that is not a ZObject. Currently the only accepted literal is string.</span>
; {{anchor|local_Wikipedia|Local_Wikipedia}} <span lang="en" dir="ltr" class="mw-content-ltr">local Wikipedia</span> {{English term|local Wikipedia}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#Wikipedia|Wikipedia]] in a specific language, such as Hebrew Wikipedia, Japanese Wikipedia, or Italian Wikipedia.</span>
== M ==
; {{anchor|Multlingual_Wikipedia|multilingual_Wikipedia}} <span lang="en" dir="ltr" class="mw-content-ltr">multilingual Wikipedia</span> {{English term|multilingual Wikipedia}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the architecture that allows [[#local_Wikipedia|local Wikipedias]] to enrich themselves by [[#Renderer|rendering]] the [[#Content|Content]] from [[#Abstract_Wikipedia|Abstract Wikipedia]] and thus have a more comprehensive, current, and correct Wikipedia in their language; see [[:m:Special:MyLanguage/Abstract Wikipedia/Architecture|Abstract Wikipedia architecture]].</span>
== N ==
; {{anchor|natural_language|Natural_language}} <span lang="en" dir="ltr" class="mw-content-ltr">natural language</span> {{English term|natural language}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a specific natural language in the wider sense, such as English, Tagalog, or Swahili; see [[w:en:Natural language|Natural language]] in Wikipedia.</span>
; {{anchor|normal|Normal|normalized|Normalized|normalised}} <span lang="en" dir="ltr" class="mw-content-ltr">normal</span> {{English term|normal}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an extended, easily processable and very uniform way to represent [[#ZObject|ZObjects]] in [[#JSON|JSON]]. This is opposed to [[#canonical|canonical]].</span>
; {{anchor|nothing|Nothing}} <span lang="en" dir="ltr" class="mw-content-ltr">nothing</span> {{English term|nothing}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a data type that can have no instances; see [[w:en:Bottom type|Bottom type]] in Wikipedia.</span>
== O ==
; {{anchor|object|Object}} 物件 {{English term|object}}
:# <span lang="en" dir="ltr" class="mw-content-ltr">In JavaScript or JSON, an object is basically an associative array; see [[w:en:Associative array|Associative array]] in Wikipedia.</span>
:# <span lang="en" dir="ltr" class="mw-content-ltr">In Wikifunctions, synonym of [[#ZObject|ZObject]].</span>
; {{anchor|orchestration|Orchestration}} <span lang="en" dir="ltr" class="mw-content-ltr">orchestration</span> {{English term|orchestration}}
:<span lang="en" dir="ltr" class="mw-content-ltr">The action performed by the [[#orchestrator|orchestrator]].</span>
; {{anchor|orchestrator|Orchestrator}} <span lang="en" dir="ltr" class="mw-content-ltr">orchestrator</span> {{English term|orchestrator}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a service that takes a [[#ZObject|ZObject]] and returns an [[#Evaluator|evaluated]] version of it. To do this, it will make calls to the wiki for other ZObjects it needs, to the [[#Executor|executor]] to evaluate some function calls, and other services such as [[#Wikidata|Wikidata]]. See [https://gitlab.wikimedia.org/repos/abstract-wiki/wikifunctions/function-orchestrator#wikifunctions-function-orchestrator the service documentation]. Compare to [[#evaluator|evaluator]] and [[#executor|executor]].</span>
== P ==
; {{anchor|page|Page}} 頁面 {{English term|page}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a part of a wiki. A [[#wiki|wiki]] consists of a number of individual pages, which can be edited independently, have internal links to each other, etc.</span>
; {{anchor|parser|Parser}} 解析器 {{English term|parser}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a function to convert a string to a ZObject. The opposite of [[#renderer|renderer]].</span>
; {{anchor|pair|Pair}} <span lang="en" dir="ltr" class="mw-content-ltr">pair</span> {{English term|pair}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a compound ZObject that contains two ZObjects of specific (but arbitrary) type.</span>
; {{anchor|part_P1|Part_P1}} <span lang="en" dir="ltr" class="mw-content-ltr">Part P1</span> {{English term|Part P1}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the part of the [[#development_project|development project]] that deals with creating [[#Wikifunctions|Wikifunctions]]. It starts at the beginning of the project and goes on throughout its whole lifetime; see [[:m:Special:MyLanguage/Abstract Wikipedia/Tasks#Part P1: Wikifunctions|Part P1: Wikifunctions]].</span>
; {{anchor|part_P2|Part_P2}} <span lang="en" dir="ltr" class="mw-content-ltr">Part P2</span> {{English term|Part P2}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the part of the [[#development_project|development project]] that deals with creating [[#Abstract_Wikipedia|Abstract Wikipedia]]. It starts after about a year in the project and goes on throughout the second half of its lifetime; see [[:m:Special:MyLanguage/Abstract Wikipedia/Tasks#Part P2: Abstract Wikipedia|Part P2: Abstract Wikipedia]].</span>
; {{anchor|persistent|Persistent}} <span lang="en" dir="ltr" class="mw-content-ltr">persistent</span> {{English term|persistent}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#ZObject|ZObject]] with a [[#ZID|ZID]] and with its own page in the wiki. Most persistent ZObjects will include [[#value|values]] that are ZObjects with no ZID, and are therefore not persistent.</span>
; {{anchor|property|Property}} 屬性 {{English term|property}}
: <span lang="en" dir="ltr" class="mw-content-ltr">used to make a [[#Statement|statement]] about an [[#Item|Item]] in [[#Wikidata|Wikidata]]'s knowledge base; see [[:d:Wikidata:Glossary#Property|Property]] in the Wikidata glossary.</span>
== Q ==
; {{anchor|quote|Quote}} <span lang="en" dir="ltr" class="mw-content-ltr">quote</span> {{English term|quote}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a data structure that is not to be evaluated but kept verbatim.</span>
; {{anchor|QID}} QID {{English term|QID}}
: <span lang="en" dir="ltr" class="mw-content-ltr">identifier for an item in [[#Wikidata|Wikidata]], comprising the letter "Q" followed by an integer.</span>
== R ==
; {{anchor|reading function}} <span lang="en" dir="ltr" class="mw-content-ltr">reading function</span> {{English term|reading function}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a synonym of [[#parser|parser]]. A function that converts user text input from a string into a given Type. For example, converting the String "123456" to the Number '123456', or the string "2024-03-12" to the Date '2024', '03', '12'.</span>
; {{anchor|reference|Reference}} 參照 {{English term|reference}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an ID denoting the underlying object. For example, the string "Z11" refers to the Type Z11/Monolingual text.</span>
: {{TakeNote}}<span lang="en" dir="ltr" class="mw-content-ltr">This term has a completely different meaning than on Wikidata; see [[w:en:Reference (computer science)|Reference (computer science)]] in Wikipedia.</span>
; {{anchor|renderer|Renderer}} 轉譯器 {{English term|renderer}} (1)
: <span lang="en" dir="ltr" class="mw-content-ltr">a function to convert a ZObject to a string. The opposite of [[#parser|parser]]. (formerly called "linearizer")</span>
; <span lang="en" dir="ltr" class="mw-content-ltr">renderer</span> {{English term|renderer}} (2)
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#Function|function]] that gets a [[#Content|content]] and an identifier for a [[#natural_language|natural language]] as an input and returns text in that natural language as output, representing the content as concrete text, using knowledge from [[#Lexeme|lexemes]].</span>
: {{TakeNote}}<span lang="en" dir="ltr" class="mw-content-ltr">This is a future feature, and the meaning of the term "renderer" in the {{Pg|:m:Abstract Wikipedia/Historic proposal|original proposal}}; this term collides with the current usage of "renderer", so it may be renamed in the future.</span>
; {{anchor|reify}} <span lang="en" dir="ltr" class="mw-content-ltr">reify</span> {{English term|reify}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a function that deconstructs an object into its constituent parts so that the parts can be individually accessed; see [[w:en:Reification (computer science)|Reification]] in Wikipedia; see [[phab:T261474]].</span>
; {{anchor|REPL}} <span lang="en" dir="ltr" class="mw-content-ltr">REPL</span> {{English term|REPL}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a Read / Eval / Print - Loop, a command line interface that takes some input, evaluates it, and displays the result; see [[w:en:REPL|REPL]] in Wikipedia; see [[Special:MyLanguage/Wikifunctions:Function model#REPL|Function model]].</span>
== S ==
; {{anchor|schemata}} <span lang="en" dir="ltr" class="mw-content-ltr">schemata</span> {{English term|schemata}}
: <span lang="en" dir="ltr" class="mw-content-ltr">See [[#function schemata|function schemata]].</span>
; {{anchor|serialization|Serialization|serialisation|Serialisation}} <span lang="en" dir="ltr" class="mw-content-ltr">serialization</span> {{English term|serialization}}
: <span lang="en" dir="ltr" class="mw-content-ltr">Ways to represent [[#ZObject|ZObjects]] in [[#JSON|JSON]]; see also [[#canonical|canonical]], [[#normal|normal]].</span>
; {{anchor|statement|Statement}} <span lang="en" dir="ltr" class="mw-content-ltr">statement</span> {{English term|statement}}
: <span lang="en" dir="ltr" class="mw-content-ltr">used to provide knowledge about an [[#Item|Item]] in [[#Wikidata|Wikidata]]'s knowledge base; see [[:d:Wikidata:Glossary#Statement|Statement]] in the Wikidata glossary.</span>
; {{anchor|string}} 字串 {{English term|string}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a sequence of characters.</span>
; {{anchor|sum type|Sum type}} <span lang="en" dir="ltr" class="mw-content-ltr">sum type</span> {{English term|sum type}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a type that can have instances of any of its constituent types; see [[w:en:Sum type|Sum type]] in Wikipedia; see [[Special:MyLanguage/Wikifunctions:Function model#Zx/Sum_types|Function model]].</span>
== T ==
; {{anchor|template}} <span lang="en" dir="ltr" class="mw-content-ltr">template</span> {{English term|template}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a way to specify a [[#renderer|renderer]] as text interspersed with place-holders, or ''slots'', which can be filled with data from [[#constructor|constructors]], function calculation, or content from another template. See the document [[:m:Special:MyLanguage/Abstract Wikipedia/Template Language for Wikifunctions|Template Language for Wikifunctions]] for a detailed discussion of the template syntax.</span>
; {{anchor|tester|Tester}} <span lang="en" dir="ltr" class="mw-content-ltr">tester</span> {{English term|tester}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a way to automatically determine if a given [[#ZFunction|ZFunction]] is doing the right thing. A [[#function|function]] will typically have multiple testers, each specifying some input to the function and conditions the output for the given input must fulfil. For example, testers for a “title case” function might include: “abc” should become “Abc”; “war and peace” should become “War and Peace”; “война и мир” should become “Война и мир”; and “123” should remain “123”.</span>
; {{anchor|transient|Transient}} <span lang="en" dir="ltr" class="mw-content-ltr">transient</span> {{English term|transient}}
: <span lang="en" dir="ltr" class="mw-content-ltr">Opposite of [[#persistent|persistent]].</span>
; {{anchor|type|Type}} <span lang="en" dir="ltr" class="mw-content-ltr">type</span> {{English term|type}}
: <span lang="en" dir="ltr" class="mw-content-ltr">The type of an object tells us how to interpret and understand the given object, and what can be done with the object. For example, if we have an object with the value “2023”, depending on whether its type is integer, or year, or string, we understand that object differently. Every object refers to “a thing in the real world”. The integer 2023 is different from the year 2023. The type tells us how to interpret a given object, so that we know which thing in the real world it refers to. Technically, it defines how objects of that type are structured and what conditions they need to fulfill to be a valid object of that type.</span> <span lang="en" dir="ltr" class="mw-content-ltr">A type defines the conditions for a [[#ZObject|ZObject]] to be a valid instance of this type, by providing a [[#Function|function]] that validates a ZObject. Types are ZObjects themselves, so that contributors of [[#Wikifunctions|Wikifunctions]] can create new types.</span>
; {{anchor|type converter}} <span lang="en" dir="ltr" class="mw-content-ltr">type converter</span> {{English term|type converter}}
: <span lang="en" dir="ltr" class="mw-content-ltr">A script written in some programming language (such as JavaScript), taking a native object (such as BigInt), and returning a JSON object representing the corresponding ZObject; or ''vice versa''.</span>
; {{anchor|typed list|Typed List}} <span lang="en" dir="ltr" class="mw-content-ltr">typed list</span> {{English term|typed list}}
: <span lang="en" dir="ltr" class="mw-content-ltr">A typed list is a [[#list|list]] in which all members of the list are of a specific, predefined [[#type|type]]. For example, a typed list of [[#string|strings]] is a list in which all members of the list are strings. A typed list takes one argument: the type that all the members of the list have to be an instance of. Typed lists are probably the most widely used [[#generic type|generic type]].</span>
== V ==
; {{anchor|value}} 值 {{English term|value}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the string or [[#ZObject|ZObject]] associated with a [[#key|key]] in another ZObject.</span>
; {{anchor|validation|Validation}} <span lang="en" dir="ltr" class="mw-content-ltr">validation</span> {{English term|validation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">The action performed by the [[#validator|validator]].</span>
; {{anchor|validator|Validator}} <span lang="en" dir="ltr" class="mw-content-ltr">validator</span> {{English term|validator}}
: <span lang="en" dir="ltr" class="mw-content-ltr">A function taking a ZObject as argument and return a list of errors found.</span>
== W ==
; {{anchor|wiki|Wiki}} wiki {{English term|wiki}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a web site that allows for the easy and collaborative editing of its [[#page|pages]].</span>
; {{anchor|Wikidata}} 維基數據 {{English term|Wikidata}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a project of the [[#Wikimedia_Foundation|Wikimedia Foundation]], a free, collaboratively edited knowledge base; see [[:m:Special:MyLanguage/Wikidata|Wikidata]].</span>
; {{anchor|Wikifunctions}}{{anchor|Wikilambda}} 維基函式庫 {{English term|Wikifunctions}}
: <span lang="en" dir="ltr" class="mw-content-ltr">new project of the [[#Wikimedia_Foundation|Wikimedia Foundation]]; a free, collaboratively developed and maintained catalog of [[#Function|functions]]. It was initially known as '''Wikilambda''' in the {{Pg|:m:Abstract Wikipedia/Historic proposal|original proposal}} (that name is now used for the [[#WikiLambda|WikiLambda extension]]).</span>
; {{anchor|WikiLambda}} <span lang="en" dir="ltr" class="mw-content-ltr">WikiLambda</span> {{English term|WikiLambda}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the software used to power the project, [[mw:Special:MyLanguage/Extension:WikiLambda|Extension:WikiLambda]].</span>
; {{anchor|WikiLambda system}} <span lang="en" dir="ltr" class="mw-content-ltr">WikiLambda system</span> {{English term|WikiLambda system}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an automated system account that is a key part of the WikiLambda extension. See [[User:WikiLambda system]] for its current function.</span>
; {{anchor|WMF|Wikimedia_Foundation}} 維基媒體基金會 {{English term|Wikimedia Foundation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">organization that supports the Wikimedia movement; see [[:m:Special:MyLanguage/Wikimedia Foundation|Wikimedia Foundation]].</span>
; {{anchor|Wikipedia}} <span lang="en" dir="ltr" class="mw-content-ltr">Wikipedia</span> {{English term|Wikipedia}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a project of the [[#Wikimedia_Foundation|Wikimedia Foundation]], a free, collaboratively edited encyclopedia; see [[:m:Special:MyLanguage/Wikipedia|Wikipedia]].</span>
; <span lang="en" dir="ltr" class="mw-content-ltr">Wikipedia, Abstract</span> {{English term|Wikipedia, Abstract}}
: <span lang="en" dir="ltr" class="mw-content-ltr">see [[#Abstract_Wikipedia|Abstract Wikipedia]].</span>
; <span lang="en" dir="ltr" class="mw-content-ltr">Wikipedia, multilingual</span> {{English term|Wikipedia, multilingual}}
: <span lang="en" dir="ltr" class="mw-content-ltr">see [[#multilingual_Wikipedia|multilingual Wikipedia]].</span>
== Z ==
; {{anchor|ZID|ZIDs}} ZID {{English term|ZID}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an ID starting with the letter Z and followed by a natural number. Used to identify [[#persistent|persistent]] [[#ZObject|ZObjects]].</span>
; {{anchor|zfunction|ZFunction}} <span lang="en" dir="ltr" class="mw-content-ltr">ZFunction</span> {{English term|ZFunction}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a wiki page on [[#Wikifunctions|Wikifunctions]] that describes a particular [[#function|function]] that can be used through the [[#evaluator|evaluator]]. Each ZFunction can be realised in code by one or more [[#implementation|Implementations]], and said implementations can be verified as correct by one or more [[#tester|Tester]] ZFunctions.</span>
; {{anchor|ZKey}} <span lang="en" dir="ltr" class="mw-content-ltr">ZKey</span> {{English term|ZKey}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#ZObject|ZObject]] defining a [[#key|key]] for a particular [[#type|type]].</span>
; {{anchor|ZList}} <span lang="en" dir="ltr" class="mw-content-ltr">ZList</span> {{English term|ZList}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#ZObject|ZObject]] for an ordered sequence of other ZObjects.</span>
; {{anchor|ZObject}} <span lang="en" dir="ltr" class="mw-content-ltr">ZObject</span> {{English term|ZObject}}
: <span lang="en" dir="ltr" class="mw-content-ltr">every entry in [[#Wikifunctions|Wikifunctions]] is a ZObject. ZObjects stored in Wikifunctions have [[#ZID|ZIDs]] and can be of numerous types, such as [[#Constructor|Constructors]], [[#Function|Functions]], [[#Type|Types]], etc. A ZObject consists of a set of [[#Key|Key]]/[[#Value|Value]] pairs, with each Key appearing only once per ZObject and Values being ZObjects.</span>
; {{anchor|ZUnit}} <span lang="en" dir="ltr" class="mw-content-ltr">ZUnit</span> {{English term|ZUnit}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#ZObject|ZObject]] that represents a [[:w:en:Unit type|Unit type]].</span>
[[Category:Glossary| {{#translation:}}]]
iop1rlaq128dtviyvu1br55fd9tk65g
200115
200113
2025-07-03T10:08:00Z
Winston Sung
2672
Created page with "開發專案"
200115
wikitext
text/x-wiki
<noinclude><languages/>
<!--<nowiki>(nowiki tags are so that the translate extension doesn't try to translate the TERM and DEFINITION in this boilerplate).
Use this boilerplate for a new term:
; {{anchor|term|Term}} <translate>term</translate> {{English term|term}}
: ''Definition verification needed''
: <translate>definition</translate>
Notes:
1. Omit the "Definition verification" if you're sure that your definition is correct.
2. You can add several values for anchor, if it has spelling or capitalization variants; see the documentation for Template:Anchor and examples in other terms.
</nowiki>--></noinclude>
<span lang="en" dir="ltr" class="mw-content-ltr">Feel free to ask for terms on the [[Wikifunctions talk:Glossary|talk page]], or to add more terms and improve the definitions.</span>
{|class="toccolours" style="margin:.2em auto;padding:.2em .5em;text-align:center" dir="ltr" lang="en"
|-
|style="padding:0;width:100%"|{{CompactTOC}}
|}
== A ==
; {{anchor|abstract|Abstract}} 抽象 {{English term|abstract}}
: <span lang="en" dir="ltr" class="mw-content-ltr">not in a specific [[#natural_language|natural language]] but abstracting from it; aiming to provide a notation for the meaning behind natural language texts, sentences, or phrases. The opposite of [[#concrete|concrete]].</span>
; {{anchor|abstracttext|AbstractText}} <span lang="en" dir="ltr" class="mw-content-ltr">AbstractText</span> {{English term|AbstractText}}
: <span lang="en" dir="ltr" class="mw-content-ltr">prototype [https://github.com/google/abstracttext implementation] of the [[#Wikifunctions|Wikifunctions]] idea.</span>
; {{anchor|abstract_content}} 抽象內容 {{English term|abstract content}}
: <span lang="en" dir="ltr" class="mw-content-ltr">see [[#Content|content]].</span>
; {{anchor|abstract_Wikipedia|Abstract_Wikipedia}} 抽象維基百科 {{English term|Abstract Wikipedia}}
: <span lang="en" dir="ltr" class="mw-content-ltr">preliminary name of all the [[#Content|Content]] that can be used by [[#local_Wikipedia|local Wikipedias]] to [[#Renderer|render]] an [[#article|article]] in [[#natural_language|natural language]]; currently proposed to live in [[#Wikidata|Wikidata]] next to the corresponding [[#Item|Item]], but that will be discussed before [[#Part_P2|Part P2]] of the [[#development_project|development project]].</span>
; {{anchor|alias}} 別名 {{English term|alias}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an alternative label for an object, used foremost to find the object.</span>
; {{anchor|argument}} 引數 {{English term|argument}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an input given to a [[#function call|function call]].</span>
; {{anchor|argument reference}} 引數參照 {{English term|argument reference}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#reference|reference]] to one of the supplied arguments within a [[#composition|composition]].</span>
; {{anchor|array}} 陣列 {{English term|array}}
: <span lang="en" dir="ltr" class="mw-content-ltr">Many programming languages have an "array" type. The counterparts in Wikifunctions are [[#list|list]] and [[#typed list|typed list]]. See also [[#Benjamin array|Benjamin array]].</span>
; {{anchor|article|Article}} 條目 {{English term|article}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a page in the main namespace of [[#Wikipedia|Wikipedia]], usually representing one entry in Wikipedia.</span>
== B ==
; {{anchor|Benjamin array}} <span lang="en" dir="ltr" class="mw-content-ltr">Benjamin array</span> {{English term|Benjamin array}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a way to denote [[#typed list|typed list]] proposed by Benjamin Degenhart, where a typed list is stored as a JSON list whose first element denotes the type. This is in contrast with the previous proposed schema, which uses LISP-style singly-linked lists, in which the type must be stored once in each node.</span>
; {{anchor|boolean|Boolean}} 布林值 {{English term|boolean}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a value that can have 2 states, usually denoted true and false.</span>
; {{anchor|built-in|builtin}} 內建 {{English term|built-in}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a native implementation of a function that is provided by the evaluator and that is not editable through the wiki interface.</span>
== C ==
; {{anchor|call}} 呼叫 {{English term|call}}
: <span lang="en" dir="ltr" class="mw-content-ltr">see [[#function call|function call]]. In English, the term [[#invoke|invoke or invocation]] may also be used.</span>
; {{anchor|canonical|canonicalized|canonicalised}} <span lang="en" dir="ltr" class="mw-content-ltr">canonical, canonicalized, canonicalised</span> {{English term|canonical, canonicalized, canonicalised}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a specific, less verbose and thus more readable way to represent [[#ZObject|ZObjects]] in [[#JSON|JSON]]; it is the usual representation ZObjects are stored in [[#Wikifunctions|Wikifunctions]]. This is opposed to [[#normal|normal]].</span>
; {{anchor|character}} 字元 {{English term|character}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a character as defined by Unicode, a constituent of a String; a character can consist of several bytes (or octets).</span>
; {{anchor|composition}} 組成 {{English term|composition}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a form of implementation of a function, where the implementation is given by the combination of other functions; see [[Special:MyLanguage/Wikifunctions:Function model#Composition|Function model]].</span>
; {{anchor|composition notation}} <span lang="en" dir="ltr" class="mw-content-ltr">composition notation</span> {{English term|composition notation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an easy-to-read notation for compositions; see [[Special:MyLanguage/Wikifunctions:Function model#Composition|Function model]].</span>
; {{anchor|concrete|Concrete}} <span lang="en" dir="ltr" class="mw-content-ltr">concrete</span> {{English term|concrete}}
: <span lang="en" dir="ltr" class="mw-content-ltr">in a specific [[#natural_language|natural language]]. The opposite of [[#abstract|abstract]].</span>
; {{anchor|cons}} <span lang="en" dir="ltr" class="mw-content-ltr">cons</span> {{English term|cons}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a function to create a new list by adding an element at the top of it; see [[phab:T261474]].</span> <span lang="en" dir="ltr" class="mw-content-ltr">See [[w:cons|cons]] in Wikipedia.</span>
; {{anchor|constructor|Constructor}} <span lang="en" dir="ltr" class="mw-content-ltr">constructor</span> {{English term|constructor}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an [[#abstract|abstract]] building block of [[#Content|content]]. A constructor aims to capture the meaning of a single phrase or sentence structure. It often has slots that can take other constructors, and can itself be used as a value to fill the slots of other constructors.</span>
; {{anchor|Content}}<!--do not add |content to the anchor, it is used by MediaWiki--> <span lang="en" dir="ltr" class="mw-content-ltr">content, abstract content</span> {{English term|content, abstract content}}
: <span lang="en" dir="ltr" class="mw-content-ltr">abstract representation of a text or text fragment, assembled from [[#Constructor|constructors]]. Technically, an instance of a constructor. The top level constructor is used to represent a whole [[#article|article]] and stored in [[#Abstract_Wikipedia|Abstract Wikipedia]], but content can be also for just a sentence or phrase. Sometimes called abstract content.</span>
; {{anchor|curry}} <span lang="en" dir="ltr" class="mw-content-ltr">curried, curry, currying</span> {{English term|curried, curry, currying}}
: <span lang="en" dir="ltr" class="mw-content-ltr">A curried function is a function that was translated from taking multiple arguments into a sequence of functions, each with a single argument. This technique is named after the American mathematician [[:w:en:Haskell Curry|Haskell Curry]]. See [[:w:en:Currying|Currying]] in Wikipedia.</span>
== D ==
; {{anchor|deserialization|Deserialization|deserialisation|Deserialisation}} <span lang="en" dir="ltr" class="mw-content-ltr">deserialization</span> {{English term|deserialization}}
: <span lang="en" dir="ltr" class="mw-content-ltr">Opposite of [[#serialization|serialization]].</span>
; {{anchor|development_project|Development_project}} 開發專案 {{English term|development project}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a project to develop [[#Wikifunctions|Wikifunctions]] and [[#Abstract_Wikipedia|Abstract Wikipedia]]; see [[:m:Special:MyLanguage/Abstract Wikipedia/Plan|Abstract Wikipedia plan]].</span>
; {{anchor|display function}} 顯示函式 {{English term|display function}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a synonym of [[#renderer|renderer]]. For example, a function that converts a [[#type|type]] into a string that users can understand, such as converting a Number 123456 to "123,456" in (International) English, "1,23,456" in Indian English, "123.456" in French, etc., or converting the Date '2024','03','12' to '2024-03-12', and so on.</span>
; {{anchor|documentation}} 說明文件 {{English term|documentation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">human-readable text explaining an object.</span>
== E ==
; {{anchor|eney|eneyjj}} <span lang="en" dir="ltr" class="mw-content-ltr">eneyj</span> {{English term|eneyj}}
:# <span lang="en" dir="ltr" class="mw-content-ltr">prototype model of [[#Wikifunctions|Wikifunctions]];</span>
:# <span lang="en" dir="ltr" class="mw-content-ltr">a JavaScript implementation of an [[#evaluator|evaluator]] of that model provided in [[#abstracttext|abstracttext]].</span>
; {{anchor|error|Error}} 錯誤 {{English term|error}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a type whose instances indicate problems in [[#evaluation|evaluation]] or [[#validation|validation]]; see [[Special:MyLanguage/Wikifunctions:Function model#Z5/Errors|Function model]].</span>
; {{anchor|evaluation|Evaluation}} <span lang="en" dir="ltr" class="mw-content-ltr">evaluation</span> {{English term|evaluation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">The action performed by the [[#evaluator|evaluator]].</span>
; {{anchor|evaluator|Evaluator}} <span lang="en" dir="ltr" class="mw-content-ltr">evaluator</span> {{English term|evaluator}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a piece of software that takes a [[#ZObject|ZObject]] and evaluates it, that is executes a [[#Function|Function]] and returns the result. We envision the development of several evaluators. Evaluators may be implemented and run in the browser, on the server of the [[#Wikimedia_Foundation|Wikimedia Foundation]], in the cloud, in an app on a mobile device, or other places. Compare to [[#executor|executor]] and [[#orchestrator|orchestrator]].</span>
; {{anchor|execution|Execution}} 執行 {{English term|execution}}
: <span lang="en" dir="ltr" class="mw-content-ltr">The action performed by the [[#executor|executor]].</span>
; {{anchor|executor|Executor|executors|Executors}} <span lang="en" dir="ltr" class="mw-content-ltr">executor</span> {{English term|executor}}
: <span lang="en" dir="ltr" class="mw-content-ltr">one of a set of internal services which are not exposed to the public. They can be only called by the [[#Orchestrator|orchestrator]]. They run native code in a specific programming language. There would be one executor for Lua, one for JavaScript, one for Python, etc. See [https://gitlab.wikimedia.org/repos/abstract-wiki/wikifunctions/function-evaluator#executors the service documentation]. Compare to [[#evaluator|evaluator]] and [[#orchestrator|orchestrator]].</span>
== F ==
; {{anchor|function|Function}} 函式 {{English term|function}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the specification of a computation that takes some input and returns output; see [[w:en:Function (computer science)|Function (computer science)]] in Wikipedia.</span>
; {{anchor|function call|Function call}} <span lang="en" dir="ltr" class="mw-content-ltr">function call</span> {{English term|function call}}
: <span lang="en" dir="ltr" class="mw-content-ltr">A function call is a ZObject consisting of a function and the required arguments for the function, and can be evaluated to another ZObject. In English, the term "invoke" may also be used.</span>
; {{anchor|function evaluator}} <span lang="en" dir="ltr" class="mw-content-ltr">function evaluator</span> {{English term|function evaluator}}
: <span lang="en" dir="ltr" class="mw-content-ltr">See [[#evaluator|evaluator]].</span>
; {{anchor|function executor}} <span lang="en" dir="ltr" class="mw-content-ltr">function executor</span> {{English term|function executor}}
: <span lang="en" dir="ltr" class="mw-content-ltr">See [[#executor|executor]].</span>
; {{anchor|function model}} <span lang="en" dir="ltr" class="mw-content-ltr">function model</span> {{English term|function model}}
: <span lang="en" dir="ltr" class="mw-content-ltr">see [[Special:MyLanguage/Wikifunctions:Function model|Function model]].</span>
; {{anchor|function orchestrator}} <span lang="en" dir="ltr" class="mw-content-ltr">function orchestrator</span> {{English term|function orchestrator}}
: <span lang="en" dir="ltr" class="mw-content-ltr">See [[#orchestrator|orchestrator]].</span>
; {{anchor|function schemata}} <span lang="en" dir="ltr" class="mw-content-ltr">function schemata</span> {{English term|function schemata}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a set of pre-defined ZObjects used in [[#orchestrator|orchestrator]] and [[#evaluator|evaluator]]. The [[#WikiLambda system|WikiLambda system account]] also populates pre-defined ZObjects on-wiki from function schemata.</span>
; {{anchor|functional}} <span lang="en" dir="ltr" class="mw-content-ltr">functional</span> {{English term|functional}}
: <span lang="en" dir="ltr" class="mw-content-ltr">short for "purely functional", meaning that the [[#evaluation|evaluation]] of such a function has no side-effects and is deterministic, that is always the same; see [[w:en:Purely functional programming|Purely functional programming]] in Wikipedia; see [[Special:MyLanguage/Wikifunctions:Function model#non-functional|Function model]].</span>
== G ==
; {{anchor|generic type}} <span lang="en" dir="ltr" class="mw-content-ltr">generic type</span> {{English term|generic type}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a type generated by [[#evaluation|evaluation]] of a function call.</span>
== I ==
; {{anchor|identity|Identity}} 識別物件 {{English term|identity}}
: <span lang="en" dir="ltr" class="mw-content-ltr">The identity of a type is an instance of (specific) function that evaluates to the type. For a simple type, it is a reference to the type itself.</span>
; {{anchor|implementation|Implementation}} 實作 {{English term|implementation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a particular way to execute a [[#function|function]]. An implementation may be a piece of code in a certain programming language, refer to functionality “built into” the [[#evaluator|evaluator]], or [[#composition|compose]] calls to other functions. A function may have many implementations, which should all be equivalent. Short for "[[#ZFunction|ZFunction]] implementation".</span>
; {{anchor|instance}} 實例 {{English term|instance}}
: <span lang="en" dir="ltr" class="mw-content-ltr">Every ZObject is an instance of its type.</span>
; {{anchor|invoke}} <span lang="en" dir="ltr" class="mw-content-ltr">invoke</span> {{English term|invoke}}
: <span lang="en" dir="ltr" class="mw-content-ltr">synonym for [[#call|call]] in English. See [[#function call|function call]].</span>
; {{anchor|item|Item}} 項目 {{English term|item}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an entry in [[#Wikidata|Wikidata]]'s knowledge base; see [[:d:Wikidata:Glossary#Item|Item]] in the Wikidata glossary.</span>
== J ==
; {{anchor|JSON}} JSON {{English term|JSON}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a widely used data transfer format; see [[w:en:JSON|JSON]] in Wikipedia.</span>
== K ==
; {{anchor|key|Key}} 鍵 {{English term|key}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a string which ends with the letter K followed by a natural number, and is optionally preceded by a [[#ZID|ZID]]. Keys are defined in [[#Wikifunctions|Wikifunctions]] usually on [[#Type|Types]] or [[#Function|Functions]], and are used to build up [[#ZObject|ZObjects]].</span>
== L ==
; {{anchor|label}} <span lang="en" dir="ltr" class="mw-content-ltr">label</span> {{English term|label}}
: <span lang="en" dir="ltr" class="mw-content-ltr">main name given to identify a ZObject. May only be plain text.</span>
; {{anchor|lexeme|Lexeme}} <span lang="en" dir="ltr" class="mw-content-ltr">lexeme</span> {{English term|lexeme}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an entry in [[#Wikidata|Wikidata]] storing lexicographic knowledge about, roughly, a word; see [[d:Wikidata:Glossary#Lexeme|Lexeme]] in the Wikidata glossary.</span>
; {{anchor|linearizer|Linearizer}} <span lang="en" dir="ltr" class="mw-content-ltr">linearizer</span> {{English term|linearizer}}
: <span lang="en" dir="ltr" class="mw-content-ltr">(this term is no longer used in current terminology, but can still be found in older documents) synonym of [[#renderer|renderer]] (1).</span>
; {{anchor|list|List}} <span lang="en" dir="ltr" class="mw-content-ltr">list</span> {{English term|list}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a data type that groups an arbitrary number of instances in an ordered entity; see [[w:en:List (abstract data type)|List (abstract data type)]] in Wikipedia.</span>
; {{anchor|literal}} <span lang="en" dir="ltr" class="mw-content-ltr">literal</span> {{English term|literal}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a value that is not a ZObject. Currently the only accepted literal is string.</span>
; {{anchor|local_Wikipedia|Local_Wikipedia}} <span lang="en" dir="ltr" class="mw-content-ltr">local Wikipedia</span> {{English term|local Wikipedia}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#Wikipedia|Wikipedia]] in a specific language, such as Hebrew Wikipedia, Japanese Wikipedia, or Italian Wikipedia.</span>
== M ==
; {{anchor|Multlingual_Wikipedia|multilingual_Wikipedia}} <span lang="en" dir="ltr" class="mw-content-ltr">multilingual Wikipedia</span> {{English term|multilingual Wikipedia}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the architecture that allows [[#local_Wikipedia|local Wikipedias]] to enrich themselves by [[#Renderer|rendering]] the [[#Content|Content]] from [[#Abstract_Wikipedia|Abstract Wikipedia]] and thus have a more comprehensive, current, and correct Wikipedia in their language; see [[:m:Special:MyLanguage/Abstract Wikipedia/Architecture|Abstract Wikipedia architecture]].</span>
== N ==
; {{anchor|natural_language|Natural_language}} <span lang="en" dir="ltr" class="mw-content-ltr">natural language</span> {{English term|natural language}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a specific natural language in the wider sense, such as English, Tagalog, or Swahili; see [[w:en:Natural language|Natural language]] in Wikipedia.</span>
; {{anchor|normal|Normal|normalized|Normalized|normalised}} <span lang="en" dir="ltr" class="mw-content-ltr">normal</span> {{English term|normal}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an extended, easily processable and very uniform way to represent [[#ZObject|ZObjects]] in [[#JSON|JSON]]. This is opposed to [[#canonical|canonical]].</span>
; {{anchor|nothing|Nothing}} <span lang="en" dir="ltr" class="mw-content-ltr">nothing</span> {{English term|nothing}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a data type that can have no instances; see [[w:en:Bottom type|Bottom type]] in Wikipedia.</span>
== O ==
; {{anchor|object|Object}} 物件 {{English term|object}}
:# <span lang="en" dir="ltr" class="mw-content-ltr">In JavaScript or JSON, an object is basically an associative array; see [[w:en:Associative array|Associative array]] in Wikipedia.</span>
:# <span lang="en" dir="ltr" class="mw-content-ltr">In Wikifunctions, synonym of [[#ZObject|ZObject]].</span>
; {{anchor|orchestration|Orchestration}} <span lang="en" dir="ltr" class="mw-content-ltr">orchestration</span> {{English term|orchestration}}
:<span lang="en" dir="ltr" class="mw-content-ltr">The action performed by the [[#orchestrator|orchestrator]].</span>
; {{anchor|orchestrator|Orchestrator}} <span lang="en" dir="ltr" class="mw-content-ltr">orchestrator</span> {{English term|orchestrator}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a service that takes a [[#ZObject|ZObject]] and returns an [[#Evaluator|evaluated]] version of it. To do this, it will make calls to the wiki for other ZObjects it needs, to the [[#Executor|executor]] to evaluate some function calls, and other services such as [[#Wikidata|Wikidata]]. See [https://gitlab.wikimedia.org/repos/abstract-wiki/wikifunctions/function-orchestrator#wikifunctions-function-orchestrator the service documentation]. Compare to [[#evaluator|evaluator]] and [[#executor|executor]].</span>
== P ==
; {{anchor|page|Page}} 頁面 {{English term|page}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a part of a wiki. A [[#wiki|wiki]] consists of a number of individual pages, which can be edited independently, have internal links to each other, etc.</span>
; {{anchor|parser|Parser}} 解析器 {{English term|parser}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a function to convert a string to a ZObject. The opposite of [[#renderer|renderer]].</span>
; {{anchor|pair|Pair}} <span lang="en" dir="ltr" class="mw-content-ltr">pair</span> {{English term|pair}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a compound ZObject that contains two ZObjects of specific (but arbitrary) type.</span>
; {{anchor|part_P1|Part_P1}} <span lang="en" dir="ltr" class="mw-content-ltr">Part P1</span> {{English term|Part P1}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the part of the [[#development_project|development project]] that deals with creating [[#Wikifunctions|Wikifunctions]]. It starts at the beginning of the project and goes on throughout its whole lifetime; see [[:m:Special:MyLanguage/Abstract Wikipedia/Tasks#Part P1: Wikifunctions|Part P1: Wikifunctions]].</span>
; {{anchor|part_P2|Part_P2}} <span lang="en" dir="ltr" class="mw-content-ltr">Part P2</span> {{English term|Part P2}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the part of the [[#development_project|development project]] that deals with creating [[#Abstract_Wikipedia|Abstract Wikipedia]]. It starts after about a year in the project and goes on throughout the second half of its lifetime; see [[:m:Special:MyLanguage/Abstract Wikipedia/Tasks#Part P2: Abstract Wikipedia|Part P2: Abstract Wikipedia]].</span>
; {{anchor|persistent|Persistent}} <span lang="en" dir="ltr" class="mw-content-ltr">persistent</span> {{English term|persistent}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#ZObject|ZObject]] with a [[#ZID|ZID]] and with its own page in the wiki. Most persistent ZObjects will include [[#value|values]] that are ZObjects with no ZID, and are therefore not persistent.</span>
; {{anchor|property|Property}} 屬性 {{English term|property}}
: <span lang="en" dir="ltr" class="mw-content-ltr">used to make a [[#Statement|statement]] about an [[#Item|Item]] in [[#Wikidata|Wikidata]]'s knowledge base; see [[:d:Wikidata:Glossary#Property|Property]] in the Wikidata glossary.</span>
== Q ==
; {{anchor|quote|Quote}} <span lang="en" dir="ltr" class="mw-content-ltr">quote</span> {{English term|quote}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a data structure that is not to be evaluated but kept verbatim.</span>
; {{anchor|QID}} QID {{English term|QID}}
: <span lang="en" dir="ltr" class="mw-content-ltr">identifier for an item in [[#Wikidata|Wikidata]], comprising the letter "Q" followed by an integer.</span>
== R ==
; {{anchor|reading function}} <span lang="en" dir="ltr" class="mw-content-ltr">reading function</span> {{English term|reading function}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a synonym of [[#parser|parser]]. A function that converts user text input from a string into a given Type. For example, converting the String "123456" to the Number '123456', or the string "2024-03-12" to the Date '2024', '03', '12'.</span>
; {{anchor|reference|Reference}} 參照 {{English term|reference}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an ID denoting the underlying object. For example, the string "Z11" refers to the Type Z11/Monolingual text.</span>
: {{TakeNote}}<span lang="en" dir="ltr" class="mw-content-ltr">This term has a completely different meaning than on Wikidata; see [[w:en:Reference (computer science)|Reference (computer science)]] in Wikipedia.</span>
; {{anchor|renderer|Renderer}} 轉譯器 {{English term|renderer}} (1)
: <span lang="en" dir="ltr" class="mw-content-ltr">a function to convert a ZObject to a string. The opposite of [[#parser|parser]]. (formerly called "linearizer")</span>
; <span lang="en" dir="ltr" class="mw-content-ltr">renderer</span> {{English term|renderer}} (2)
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#Function|function]] that gets a [[#Content|content]] and an identifier for a [[#natural_language|natural language]] as an input and returns text in that natural language as output, representing the content as concrete text, using knowledge from [[#Lexeme|lexemes]].</span>
: {{TakeNote}}<span lang="en" dir="ltr" class="mw-content-ltr">This is a future feature, and the meaning of the term "renderer" in the {{Pg|:m:Abstract Wikipedia/Historic proposal|original proposal}}; this term collides with the current usage of "renderer", so it may be renamed in the future.</span>
; {{anchor|reify}} <span lang="en" dir="ltr" class="mw-content-ltr">reify</span> {{English term|reify}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a function that deconstructs an object into its constituent parts so that the parts can be individually accessed; see [[w:en:Reification (computer science)|Reification]] in Wikipedia; see [[phab:T261474]].</span>
; {{anchor|REPL}} <span lang="en" dir="ltr" class="mw-content-ltr">REPL</span> {{English term|REPL}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a Read / Eval / Print - Loop, a command line interface that takes some input, evaluates it, and displays the result; see [[w:en:REPL|REPL]] in Wikipedia; see [[Special:MyLanguage/Wikifunctions:Function model#REPL|Function model]].</span>
== S ==
; {{anchor|schemata}} <span lang="en" dir="ltr" class="mw-content-ltr">schemata</span> {{English term|schemata}}
: <span lang="en" dir="ltr" class="mw-content-ltr">See [[#function schemata|function schemata]].</span>
; {{anchor|serialization|Serialization|serialisation|Serialisation}} <span lang="en" dir="ltr" class="mw-content-ltr">serialization</span> {{English term|serialization}}
: <span lang="en" dir="ltr" class="mw-content-ltr">Ways to represent [[#ZObject|ZObjects]] in [[#JSON|JSON]]; see also [[#canonical|canonical]], [[#normal|normal]].</span>
; {{anchor|statement|Statement}} <span lang="en" dir="ltr" class="mw-content-ltr">statement</span> {{English term|statement}}
: <span lang="en" dir="ltr" class="mw-content-ltr">used to provide knowledge about an [[#Item|Item]] in [[#Wikidata|Wikidata]]'s knowledge base; see [[:d:Wikidata:Glossary#Statement|Statement]] in the Wikidata glossary.</span>
; {{anchor|string}} 字串 {{English term|string}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a sequence of characters.</span>
; {{anchor|sum type|Sum type}} <span lang="en" dir="ltr" class="mw-content-ltr">sum type</span> {{English term|sum type}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a type that can have instances of any of its constituent types; see [[w:en:Sum type|Sum type]] in Wikipedia; see [[Special:MyLanguage/Wikifunctions:Function model#Zx/Sum_types|Function model]].</span>
== T ==
; {{anchor|template}} <span lang="en" dir="ltr" class="mw-content-ltr">template</span> {{English term|template}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a way to specify a [[#renderer|renderer]] as text interspersed with place-holders, or ''slots'', which can be filled with data from [[#constructor|constructors]], function calculation, or content from another template. See the document [[:m:Special:MyLanguage/Abstract Wikipedia/Template Language for Wikifunctions|Template Language for Wikifunctions]] for a detailed discussion of the template syntax.</span>
; {{anchor|tester|Tester}} <span lang="en" dir="ltr" class="mw-content-ltr">tester</span> {{English term|tester}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a way to automatically determine if a given [[#ZFunction|ZFunction]] is doing the right thing. A [[#function|function]] will typically have multiple testers, each specifying some input to the function and conditions the output for the given input must fulfil. For example, testers for a “title case” function might include: “abc” should become “Abc”; “war and peace” should become “War and Peace”; “война и мир” should become “Война и мир”; and “123” should remain “123”.</span>
; {{anchor|transient|Transient}} <span lang="en" dir="ltr" class="mw-content-ltr">transient</span> {{English term|transient}}
: <span lang="en" dir="ltr" class="mw-content-ltr">Opposite of [[#persistent|persistent]].</span>
; {{anchor|type|Type}} <span lang="en" dir="ltr" class="mw-content-ltr">type</span> {{English term|type}}
: <span lang="en" dir="ltr" class="mw-content-ltr">The type of an object tells us how to interpret and understand the given object, and what can be done with the object. For example, if we have an object with the value “2023”, depending on whether its type is integer, or year, or string, we understand that object differently. Every object refers to “a thing in the real world”. The integer 2023 is different from the year 2023. The type tells us how to interpret a given object, so that we know which thing in the real world it refers to. Technically, it defines how objects of that type are structured and what conditions they need to fulfill to be a valid object of that type.</span> <span lang="en" dir="ltr" class="mw-content-ltr">A type defines the conditions for a [[#ZObject|ZObject]] to be a valid instance of this type, by providing a [[#Function|function]] that validates a ZObject. Types are ZObjects themselves, so that contributors of [[#Wikifunctions|Wikifunctions]] can create new types.</span>
; {{anchor|type converter}} <span lang="en" dir="ltr" class="mw-content-ltr">type converter</span> {{English term|type converter}}
: <span lang="en" dir="ltr" class="mw-content-ltr">A script written in some programming language (such as JavaScript), taking a native object (such as BigInt), and returning a JSON object representing the corresponding ZObject; or ''vice versa''.</span>
; {{anchor|typed list|Typed List}} <span lang="en" dir="ltr" class="mw-content-ltr">typed list</span> {{English term|typed list}}
: <span lang="en" dir="ltr" class="mw-content-ltr">A typed list is a [[#list|list]] in which all members of the list are of a specific, predefined [[#type|type]]. For example, a typed list of [[#string|strings]] is a list in which all members of the list are strings. A typed list takes one argument: the type that all the members of the list have to be an instance of. Typed lists are probably the most widely used [[#generic type|generic type]].</span>
== V ==
; {{anchor|value}} 值 {{English term|value}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the string or [[#ZObject|ZObject]] associated with a [[#key|key]] in another ZObject.</span>
; {{anchor|validation|Validation}} <span lang="en" dir="ltr" class="mw-content-ltr">validation</span> {{English term|validation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">The action performed by the [[#validator|validator]].</span>
; {{anchor|validator|Validator}} <span lang="en" dir="ltr" class="mw-content-ltr">validator</span> {{English term|validator}}
: <span lang="en" dir="ltr" class="mw-content-ltr">A function taking a ZObject as argument and return a list of errors found.</span>
== W ==
; {{anchor|wiki|Wiki}} wiki {{English term|wiki}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a web site that allows for the easy and collaborative editing of its [[#page|pages]].</span>
; {{anchor|Wikidata}} 維基數據 {{English term|Wikidata}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a project of the [[#Wikimedia_Foundation|Wikimedia Foundation]], a free, collaboratively edited knowledge base; see [[:m:Special:MyLanguage/Wikidata|Wikidata]].</span>
; {{anchor|Wikifunctions}}{{anchor|Wikilambda}} 維基函式庫 {{English term|Wikifunctions}}
: <span lang="en" dir="ltr" class="mw-content-ltr">new project of the [[#Wikimedia_Foundation|Wikimedia Foundation]]; a free, collaboratively developed and maintained catalog of [[#Function|functions]]. It was initially known as '''Wikilambda''' in the {{Pg|:m:Abstract Wikipedia/Historic proposal|original proposal}} (that name is now used for the [[#WikiLambda|WikiLambda extension]]).</span>
; {{anchor|WikiLambda}} <span lang="en" dir="ltr" class="mw-content-ltr">WikiLambda</span> {{English term|WikiLambda}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the software used to power the project, [[mw:Special:MyLanguage/Extension:WikiLambda|Extension:WikiLambda]].</span>
; {{anchor|WikiLambda system}} <span lang="en" dir="ltr" class="mw-content-ltr">WikiLambda system</span> {{English term|WikiLambda system}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an automated system account that is a key part of the WikiLambda extension. See [[User:WikiLambda system]] for its current function.</span>
; {{anchor|WMF|Wikimedia_Foundation}} 維基媒體基金會 {{English term|Wikimedia Foundation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">organization that supports the Wikimedia movement; see [[:m:Special:MyLanguage/Wikimedia Foundation|Wikimedia Foundation]].</span>
; {{anchor|Wikipedia}} <span lang="en" dir="ltr" class="mw-content-ltr">Wikipedia</span> {{English term|Wikipedia}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a project of the [[#Wikimedia_Foundation|Wikimedia Foundation]], a free, collaboratively edited encyclopedia; see [[:m:Special:MyLanguage/Wikipedia|Wikipedia]].</span>
; <span lang="en" dir="ltr" class="mw-content-ltr">Wikipedia, Abstract</span> {{English term|Wikipedia, Abstract}}
: <span lang="en" dir="ltr" class="mw-content-ltr">see [[#Abstract_Wikipedia|Abstract Wikipedia]].</span>
; <span lang="en" dir="ltr" class="mw-content-ltr">Wikipedia, multilingual</span> {{English term|Wikipedia, multilingual}}
: <span lang="en" dir="ltr" class="mw-content-ltr">see [[#multilingual_Wikipedia|multilingual Wikipedia]].</span>
== Z ==
; {{anchor|ZID|ZIDs}} ZID {{English term|ZID}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an ID starting with the letter Z and followed by a natural number. Used to identify [[#persistent|persistent]] [[#ZObject|ZObjects]].</span>
; {{anchor|zfunction|ZFunction}} <span lang="en" dir="ltr" class="mw-content-ltr">ZFunction</span> {{English term|ZFunction}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a wiki page on [[#Wikifunctions|Wikifunctions]] that describes a particular [[#function|function]] that can be used through the [[#evaluator|evaluator]]. Each ZFunction can be realised in code by one or more [[#implementation|Implementations]], and said implementations can be verified as correct by one or more [[#tester|Tester]] ZFunctions.</span>
; {{anchor|ZKey}} <span lang="en" dir="ltr" class="mw-content-ltr">ZKey</span> {{English term|ZKey}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#ZObject|ZObject]] defining a [[#key|key]] for a particular [[#type|type]].</span>
; {{anchor|ZList}} <span lang="en" dir="ltr" class="mw-content-ltr">ZList</span> {{English term|ZList}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#ZObject|ZObject]] for an ordered sequence of other ZObjects.</span>
; {{anchor|ZObject}} <span lang="en" dir="ltr" class="mw-content-ltr">ZObject</span> {{English term|ZObject}}
: <span lang="en" dir="ltr" class="mw-content-ltr">every entry in [[#Wikifunctions|Wikifunctions]] is a ZObject. ZObjects stored in Wikifunctions have [[#ZID|ZIDs]] and can be of numerous types, such as [[#Constructor|Constructors]], [[#Function|Functions]], [[#Type|Types]], etc. A ZObject consists of a set of [[#Key|Key]]/[[#Value|Value]] pairs, with each Key appearing only once per ZObject and Values being ZObjects.</span>
; {{anchor|ZUnit}} <span lang="en" dir="ltr" class="mw-content-ltr">ZUnit</span> {{English term|ZUnit}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#ZObject|ZObject]] that represents a [[:w:en:Unit type|Unit type]].</span>
[[Category:Glossary| {{#translation:}}]]
0yv112qha4bs5m7imryaf43ybl1ctzo
200117
200115
2025-07-03T10:08:31Z
Winston Sung
2672
Created page with "函式呼叫"
200117
wikitext
text/x-wiki
<noinclude><languages/>
<!--<nowiki>(nowiki tags are so that the translate extension doesn't try to translate the TERM and DEFINITION in this boilerplate).
Use this boilerplate for a new term:
; {{anchor|term|Term}} <translate>term</translate> {{English term|term}}
: ''Definition verification needed''
: <translate>definition</translate>
Notes:
1. Omit the "Definition verification" if you're sure that your definition is correct.
2. You can add several values for anchor, if it has spelling or capitalization variants; see the documentation for Template:Anchor and examples in other terms.
</nowiki>--></noinclude>
<span lang="en" dir="ltr" class="mw-content-ltr">Feel free to ask for terms on the [[Wikifunctions talk:Glossary|talk page]], or to add more terms and improve the definitions.</span>
{|class="toccolours" style="margin:.2em auto;padding:.2em .5em;text-align:center" dir="ltr" lang="en"
|-
|style="padding:0;width:100%"|{{CompactTOC}}
|}
== A ==
; {{anchor|abstract|Abstract}} 抽象 {{English term|abstract}}
: <span lang="en" dir="ltr" class="mw-content-ltr">not in a specific [[#natural_language|natural language]] but abstracting from it; aiming to provide a notation for the meaning behind natural language texts, sentences, or phrases. The opposite of [[#concrete|concrete]].</span>
; {{anchor|abstracttext|AbstractText}} <span lang="en" dir="ltr" class="mw-content-ltr">AbstractText</span> {{English term|AbstractText}}
: <span lang="en" dir="ltr" class="mw-content-ltr">prototype [https://github.com/google/abstracttext implementation] of the [[#Wikifunctions|Wikifunctions]] idea.</span>
; {{anchor|abstract_content}} 抽象內容 {{English term|abstract content}}
: <span lang="en" dir="ltr" class="mw-content-ltr">see [[#Content|content]].</span>
; {{anchor|abstract_Wikipedia|Abstract_Wikipedia}} 抽象維基百科 {{English term|Abstract Wikipedia}}
: <span lang="en" dir="ltr" class="mw-content-ltr">preliminary name of all the [[#Content|Content]] that can be used by [[#local_Wikipedia|local Wikipedias]] to [[#Renderer|render]] an [[#article|article]] in [[#natural_language|natural language]]; currently proposed to live in [[#Wikidata|Wikidata]] next to the corresponding [[#Item|Item]], but that will be discussed before [[#Part_P2|Part P2]] of the [[#development_project|development project]].</span>
; {{anchor|alias}} 別名 {{English term|alias}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an alternative label for an object, used foremost to find the object.</span>
; {{anchor|argument}} 引數 {{English term|argument}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an input given to a [[#function call|function call]].</span>
; {{anchor|argument reference}} 引數參照 {{English term|argument reference}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#reference|reference]] to one of the supplied arguments within a [[#composition|composition]].</span>
; {{anchor|array}} 陣列 {{English term|array}}
: <span lang="en" dir="ltr" class="mw-content-ltr">Many programming languages have an "array" type. The counterparts in Wikifunctions are [[#list|list]] and [[#typed list|typed list]]. See also [[#Benjamin array|Benjamin array]].</span>
; {{anchor|article|Article}} 條目 {{English term|article}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a page in the main namespace of [[#Wikipedia|Wikipedia]], usually representing one entry in Wikipedia.</span>
== B ==
; {{anchor|Benjamin array}} <span lang="en" dir="ltr" class="mw-content-ltr">Benjamin array</span> {{English term|Benjamin array}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a way to denote [[#typed list|typed list]] proposed by Benjamin Degenhart, where a typed list is stored as a JSON list whose first element denotes the type. This is in contrast with the previous proposed schema, which uses LISP-style singly-linked lists, in which the type must be stored once in each node.</span>
; {{anchor|boolean|Boolean}} 布林值 {{English term|boolean}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a value that can have 2 states, usually denoted true and false.</span>
; {{anchor|built-in|builtin}} 內建 {{English term|built-in}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a native implementation of a function that is provided by the evaluator and that is not editable through the wiki interface.</span>
== C ==
; {{anchor|call}} 呼叫 {{English term|call}}
: <span lang="en" dir="ltr" class="mw-content-ltr">see [[#function call|function call]]. In English, the term [[#invoke|invoke or invocation]] may also be used.</span>
; {{anchor|canonical|canonicalized|canonicalised}} <span lang="en" dir="ltr" class="mw-content-ltr">canonical, canonicalized, canonicalised</span> {{English term|canonical, canonicalized, canonicalised}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a specific, less verbose and thus more readable way to represent [[#ZObject|ZObjects]] in [[#JSON|JSON]]; it is the usual representation ZObjects are stored in [[#Wikifunctions|Wikifunctions]]. This is opposed to [[#normal|normal]].</span>
; {{anchor|character}} 字元 {{English term|character}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a character as defined by Unicode, a constituent of a String; a character can consist of several bytes (or octets).</span>
; {{anchor|composition}} 組成 {{English term|composition}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a form of implementation of a function, where the implementation is given by the combination of other functions; see [[Special:MyLanguage/Wikifunctions:Function model#Composition|Function model]].</span>
; {{anchor|composition notation}} <span lang="en" dir="ltr" class="mw-content-ltr">composition notation</span> {{English term|composition notation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an easy-to-read notation for compositions; see [[Special:MyLanguage/Wikifunctions:Function model#Composition|Function model]].</span>
; {{anchor|concrete|Concrete}} <span lang="en" dir="ltr" class="mw-content-ltr">concrete</span> {{English term|concrete}}
: <span lang="en" dir="ltr" class="mw-content-ltr">in a specific [[#natural_language|natural language]]. The opposite of [[#abstract|abstract]].</span>
; {{anchor|cons}} <span lang="en" dir="ltr" class="mw-content-ltr">cons</span> {{English term|cons}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a function to create a new list by adding an element at the top of it; see [[phab:T261474]].</span> <span lang="en" dir="ltr" class="mw-content-ltr">See [[w:cons|cons]] in Wikipedia.</span>
; {{anchor|constructor|Constructor}} <span lang="en" dir="ltr" class="mw-content-ltr">constructor</span> {{English term|constructor}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an [[#abstract|abstract]] building block of [[#Content|content]]. A constructor aims to capture the meaning of a single phrase or sentence structure. It often has slots that can take other constructors, and can itself be used as a value to fill the slots of other constructors.</span>
; {{anchor|Content}}<!--do not add |content to the anchor, it is used by MediaWiki--> <span lang="en" dir="ltr" class="mw-content-ltr">content, abstract content</span> {{English term|content, abstract content}}
: <span lang="en" dir="ltr" class="mw-content-ltr">abstract representation of a text or text fragment, assembled from [[#Constructor|constructors]]. Technically, an instance of a constructor. The top level constructor is used to represent a whole [[#article|article]] and stored in [[#Abstract_Wikipedia|Abstract Wikipedia]], but content can be also for just a sentence or phrase. Sometimes called abstract content.</span>
; {{anchor|curry}} <span lang="en" dir="ltr" class="mw-content-ltr">curried, curry, currying</span> {{English term|curried, curry, currying}}
: <span lang="en" dir="ltr" class="mw-content-ltr">A curried function is a function that was translated from taking multiple arguments into a sequence of functions, each with a single argument. This technique is named after the American mathematician [[:w:en:Haskell Curry|Haskell Curry]]. See [[:w:en:Currying|Currying]] in Wikipedia.</span>
== D ==
; {{anchor|deserialization|Deserialization|deserialisation|Deserialisation}} <span lang="en" dir="ltr" class="mw-content-ltr">deserialization</span> {{English term|deserialization}}
: <span lang="en" dir="ltr" class="mw-content-ltr">Opposite of [[#serialization|serialization]].</span>
; {{anchor|development_project|Development_project}} 開發專案 {{English term|development project}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a project to develop [[#Wikifunctions|Wikifunctions]] and [[#Abstract_Wikipedia|Abstract Wikipedia]]; see [[:m:Special:MyLanguage/Abstract Wikipedia/Plan|Abstract Wikipedia plan]].</span>
; {{anchor|display function}} 顯示函式 {{English term|display function}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a synonym of [[#renderer|renderer]]. For example, a function that converts a [[#type|type]] into a string that users can understand, such as converting a Number 123456 to "123,456" in (International) English, "1,23,456" in Indian English, "123.456" in French, etc., or converting the Date '2024','03','12' to '2024-03-12', and so on.</span>
; {{anchor|documentation}} 說明文件 {{English term|documentation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">human-readable text explaining an object.</span>
== E ==
; {{anchor|eney|eneyjj}} <span lang="en" dir="ltr" class="mw-content-ltr">eneyj</span> {{English term|eneyj}}
:# <span lang="en" dir="ltr" class="mw-content-ltr">prototype model of [[#Wikifunctions|Wikifunctions]];</span>
:# <span lang="en" dir="ltr" class="mw-content-ltr">a JavaScript implementation of an [[#evaluator|evaluator]] of that model provided in [[#abstracttext|abstracttext]].</span>
; {{anchor|error|Error}} 錯誤 {{English term|error}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a type whose instances indicate problems in [[#evaluation|evaluation]] or [[#validation|validation]]; see [[Special:MyLanguage/Wikifunctions:Function model#Z5/Errors|Function model]].</span>
; {{anchor|evaluation|Evaluation}} <span lang="en" dir="ltr" class="mw-content-ltr">evaluation</span> {{English term|evaluation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">The action performed by the [[#evaluator|evaluator]].</span>
; {{anchor|evaluator|Evaluator}} <span lang="en" dir="ltr" class="mw-content-ltr">evaluator</span> {{English term|evaluator}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a piece of software that takes a [[#ZObject|ZObject]] and evaluates it, that is executes a [[#Function|Function]] and returns the result. We envision the development of several evaluators. Evaluators may be implemented and run in the browser, on the server of the [[#Wikimedia_Foundation|Wikimedia Foundation]], in the cloud, in an app on a mobile device, or other places. Compare to [[#executor|executor]] and [[#orchestrator|orchestrator]].</span>
; {{anchor|execution|Execution}} 執行 {{English term|execution}}
: <span lang="en" dir="ltr" class="mw-content-ltr">The action performed by the [[#executor|executor]].</span>
; {{anchor|executor|Executor|executors|Executors}} <span lang="en" dir="ltr" class="mw-content-ltr">executor</span> {{English term|executor}}
: <span lang="en" dir="ltr" class="mw-content-ltr">one of a set of internal services which are not exposed to the public. They can be only called by the [[#Orchestrator|orchestrator]]. They run native code in a specific programming language. There would be one executor for Lua, one for JavaScript, one for Python, etc. See [https://gitlab.wikimedia.org/repos/abstract-wiki/wikifunctions/function-evaluator#executors the service documentation]. Compare to [[#evaluator|evaluator]] and [[#orchestrator|orchestrator]].</span>
== F ==
; {{anchor|function|Function}} 函式 {{English term|function}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the specification of a computation that takes some input and returns output; see [[w:en:Function (computer science)|Function (computer science)]] in Wikipedia.</span>
; {{anchor|function call|Function call}} 函式呼叫 {{English term|function call}}
: <span lang="en" dir="ltr" class="mw-content-ltr">A function call is a ZObject consisting of a function and the required arguments for the function, and can be evaluated to another ZObject. In English, the term "invoke" may also be used.</span>
; {{anchor|function evaluator}} <span lang="en" dir="ltr" class="mw-content-ltr">function evaluator</span> {{English term|function evaluator}}
: <span lang="en" dir="ltr" class="mw-content-ltr">See [[#evaluator|evaluator]].</span>
; {{anchor|function executor}} <span lang="en" dir="ltr" class="mw-content-ltr">function executor</span> {{English term|function executor}}
: <span lang="en" dir="ltr" class="mw-content-ltr">See [[#executor|executor]].</span>
; {{anchor|function model}} <span lang="en" dir="ltr" class="mw-content-ltr">function model</span> {{English term|function model}}
: <span lang="en" dir="ltr" class="mw-content-ltr">see [[Special:MyLanguage/Wikifunctions:Function model|Function model]].</span>
; {{anchor|function orchestrator}} <span lang="en" dir="ltr" class="mw-content-ltr">function orchestrator</span> {{English term|function orchestrator}}
: <span lang="en" dir="ltr" class="mw-content-ltr">See [[#orchestrator|orchestrator]].</span>
; {{anchor|function schemata}} <span lang="en" dir="ltr" class="mw-content-ltr">function schemata</span> {{English term|function schemata}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a set of pre-defined ZObjects used in [[#orchestrator|orchestrator]] and [[#evaluator|evaluator]]. The [[#WikiLambda system|WikiLambda system account]] also populates pre-defined ZObjects on-wiki from function schemata.</span>
; {{anchor|functional}} <span lang="en" dir="ltr" class="mw-content-ltr">functional</span> {{English term|functional}}
: <span lang="en" dir="ltr" class="mw-content-ltr">short for "purely functional", meaning that the [[#evaluation|evaluation]] of such a function has no side-effects and is deterministic, that is always the same; see [[w:en:Purely functional programming|Purely functional programming]] in Wikipedia; see [[Special:MyLanguage/Wikifunctions:Function model#non-functional|Function model]].</span>
== G ==
; {{anchor|generic type}} <span lang="en" dir="ltr" class="mw-content-ltr">generic type</span> {{English term|generic type}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a type generated by [[#evaluation|evaluation]] of a function call.</span>
== I ==
; {{anchor|identity|Identity}} 識別物件 {{English term|identity}}
: <span lang="en" dir="ltr" class="mw-content-ltr">The identity of a type is an instance of (specific) function that evaluates to the type. For a simple type, it is a reference to the type itself.</span>
; {{anchor|implementation|Implementation}} 實作 {{English term|implementation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a particular way to execute a [[#function|function]]. An implementation may be a piece of code in a certain programming language, refer to functionality “built into” the [[#evaluator|evaluator]], or [[#composition|compose]] calls to other functions. A function may have many implementations, which should all be equivalent. Short for "[[#ZFunction|ZFunction]] implementation".</span>
; {{anchor|instance}} 實例 {{English term|instance}}
: <span lang="en" dir="ltr" class="mw-content-ltr">Every ZObject is an instance of its type.</span>
; {{anchor|invoke}} <span lang="en" dir="ltr" class="mw-content-ltr">invoke</span> {{English term|invoke}}
: <span lang="en" dir="ltr" class="mw-content-ltr">synonym for [[#call|call]] in English. See [[#function call|function call]].</span>
; {{anchor|item|Item}} 項目 {{English term|item}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an entry in [[#Wikidata|Wikidata]]'s knowledge base; see [[:d:Wikidata:Glossary#Item|Item]] in the Wikidata glossary.</span>
== J ==
; {{anchor|JSON}} JSON {{English term|JSON}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a widely used data transfer format; see [[w:en:JSON|JSON]] in Wikipedia.</span>
== K ==
; {{anchor|key|Key}} 鍵 {{English term|key}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a string which ends with the letter K followed by a natural number, and is optionally preceded by a [[#ZID|ZID]]. Keys are defined in [[#Wikifunctions|Wikifunctions]] usually on [[#Type|Types]] or [[#Function|Functions]], and are used to build up [[#ZObject|ZObjects]].</span>
== L ==
; {{anchor|label}} <span lang="en" dir="ltr" class="mw-content-ltr">label</span> {{English term|label}}
: <span lang="en" dir="ltr" class="mw-content-ltr">main name given to identify a ZObject. May only be plain text.</span>
; {{anchor|lexeme|Lexeme}} <span lang="en" dir="ltr" class="mw-content-ltr">lexeme</span> {{English term|lexeme}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an entry in [[#Wikidata|Wikidata]] storing lexicographic knowledge about, roughly, a word; see [[d:Wikidata:Glossary#Lexeme|Lexeme]] in the Wikidata glossary.</span>
; {{anchor|linearizer|Linearizer}} <span lang="en" dir="ltr" class="mw-content-ltr">linearizer</span> {{English term|linearizer}}
: <span lang="en" dir="ltr" class="mw-content-ltr">(this term is no longer used in current terminology, but can still be found in older documents) synonym of [[#renderer|renderer]] (1).</span>
; {{anchor|list|List}} <span lang="en" dir="ltr" class="mw-content-ltr">list</span> {{English term|list}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a data type that groups an arbitrary number of instances in an ordered entity; see [[w:en:List (abstract data type)|List (abstract data type)]] in Wikipedia.</span>
; {{anchor|literal}} <span lang="en" dir="ltr" class="mw-content-ltr">literal</span> {{English term|literal}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a value that is not a ZObject. Currently the only accepted literal is string.</span>
; {{anchor|local_Wikipedia|Local_Wikipedia}} <span lang="en" dir="ltr" class="mw-content-ltr">local Wikipedia</span> {{English term|local Wikipedia}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#Wikipedia|Wikipedia]] in a specific language, such as Hebrew Wikipedia, Japanese Wikipedia, or Italian Wikipedia.</span>
== M ==
; {{anchor|Multlingual_Wikipedia|multilingual_Wikipedia}} <span lang="en" dir="ltr" class="mw-content-ltr">multilingual Wikipedia</span> {{English term|multilingual Wikipedia}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the architecture that allows [[#local_Wikipedia|local Wikipedias]] to enrich themselves by [[#Renderer|rendering]] the [[#Content|Content]] from [[#Abstract_Wikipedia|Abstract Wikipedia]] and thus have a more comprehensive, current, and correct Wikipedia in their language; see [[:m:Special:MyLanguage/Abstract Wikipedia/Architecture|Abstract Wikipedia architecture]].</span>
== N ==
; {{anchor|natural_language|Natural_language}} <span lang="en" dir="ltr" class="mw-content-ltr">natural language</span> {{English term|natural language}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a specific natural language in the wider sense, such as English, Tagalog, or Swahili; see [[w:en:Natural language|Natural language]] in Wikipedia.</span>
; {{anchor|normal|Normal|normalized|Normalized|normalised}} <span lang="en" dir="ltr" class="mw-content-ltr">normal</span> {{English term|normal}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an extended, easily processable and very uniform way to represent [[#ZObject|ZObjects]] in [[#JSON|JSON]]. This is opposed to [[#canonical|canonical]].</span>
; {{anchor|nothing|Nothing}} <span lang="en" dir="ltr" class="mw-content-ltr">nothing</span> {{English term|nothing}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a data type that can have no instances; see [[w:en:Bottom type|Bottom type]] in Wikipedia.</span>
== O ==
; {{anchor|object|Object}} 物件 {{English term|object}}
:# <span lang="en" dir="ltr" class="mw-content-ltr">In JavaScript or JSON, an object is basically an associative array; see [[w:en:Associative array|Associative array]] in Wikipedia.</span>
:# <span lang="en" dir="ltr" class="mw-content-ltr">In Wikifunctions, synonym of [[#ZObject|ZObject]].</span>
; {{anchor|orchestration|Orchestration}} <span lang="en" dir="ltr" class="mw-content-ltr">orchestration</span> {{English term|orchestration}}
:<span lang="en" dir="ltr" class="mw-content-ltr">The action performed by the [[#orchestrator|orchestrator]].</span>
; {{anchor|orchestrator|Orchestrator}} <span lang="en" dir="ltr" class="mw-content-ltr">orchestrator</span> {{English term|orchestrator}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a service that takes a [[#ZObject|ZObject]] and returns an [[#Evaluator|evaluated]] version of it. To do this, it will make calls to the wiki for other ZObjects it needs, to the [[#Executor|executor]] to evaluate some function calls, and other services such as [[#Wikidata|Wikidata]]. See [https://gitlab.wikimedia.org/repos/abstract-wiki/wikifunctions/function-orchestrator#wikifunctions-function-orchestrator the service documentation]. Compare to [[#evaluator|evaluator]] and [[#executor|executor]].</span>
== P ==
; {{anchor|page|Page}} 頁面 {{English term|page}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a part of a wiki. A [[#wiki|wiki]] consists of a number of individual pages, which can be edited independently, have internal links to each other, etc.</span>
; {{anchor|parser|Parser}} 解析器 {{English term|parser}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a function to convert a string to a ZObject. The opposite of [[#renderer|renderer]].</span>
; {{anchor|pair|Pair}} <span lang="en" dir="ltr" class="mw-content-ltr">pair</span> {{English term|pair}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a compound ZObject that contains two ZObjects of specific (but arbitrary) type.</span>
; {{anchor|part_P1|Part_P1}} <span lang="en" dir="ltr" class="mw-content-ltr">Part P1</span> {{English term|Part P1}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the part of the [[#development_project|development project]] that deals with creating [[#Wikifunctions|Wikifunctions]]. It starts at the beginning of the project and goes on throughout its whole lifetime; see [[:m:Special:MyLanguage/Abstract Wikipedia/Tasks#Part P1: Wikifunctions|Part P1: Wikifunctions]].</span>
; {{anchor|part_P2|Part_P2}} <span lang="en" dir="ltr" class="mw-content-ltr">Part P2</span> {{English term|Part P2}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the part of the [[#development_project|development project]] that deals with creating [[#Abstract_Wikipedia|Abstract Wikipedia]]. It starts after about a year in the project and goes on throughout the second half of its lifetime; see [[:m:Special:MyLanguage/Abstract Wikipedia/Tasks#Part P2: Abstract Wikipedia|Part P2: Abstract Wikipedia]].</span>
; {{anchor|persistent|Persistent}} <span lang="en" dir="ltr" class="mw-content-ltr">persistent</span> {{English term|persistent}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#ZObject|ZObject]] with a [[#ZID|ZID]] and with its own page in the wiki. Most persistent ZObjects will include [[#value|values]] that are ZObjects with no ZID, and are therefore not persistent.</span>
; {{anchor|property|Property}} 屬性 {{English term|property}}
: <span lang="en" dir="ltr" class="mw-content-ltr">used to make a [[#Statement|statement]] about an [[#Item|Item]] in [[#Wikidata|Wikidata]]'s knowledge base; see [[:d:Wikidata:Glossary#Property|Property]] in the Wikidata glossary.</span>
== Q ==
; {{anchor|quote|Quote}} <span lang="en" dir="ltr" class="mw-content-ltr">quote</span> {{English term|quote}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a data structure that is not to be evaluated but kept verbatim.</span>
; {{anchor|QID}} QID {{English term|QID}}
: <span lang="en" dir="ltr" class="mw-content-ltr">identifier for an item in [[#Wikidata|Wikidata]], comprising the letter "Q" followed by an integer.</span>
== R ==
; {{anchor|reading function}} <span lang="en" dir="ltr" class="mw-content-ltr">reading function</span> {{English term|reading function}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a synonym of [[#parser|parser]]. A function that converts user text input from a string into a given Type. For example, converting the String "123456" to the Number '123456', or the string "2024-03-12" to the Date '2024', '03', '12'.</span>
; {{anchor|reference|Reference}} 參照 {{English term|reference}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an ID denoting the underlying object. For example, the string "Z11" refers to the Type Z11/Monolingual text.</span>
: {{TakeNote}}<span lang="en" dir="ltr" class="mw-content-ltr">This term has a completely different meaning than on Wikidata; see [[w:en:Reference (computer science)|Reference (computer science)]] in Wikipedia.</span>
; {{anchor|renderer|Renderer}} 轉譯器 {{English term|renderer}} (1)
: <span lang="en" dir="ltr" class="mw-content-ltr">a function to convert a ZObject to a string. The opposite of [[#parser|parser]]. (formerly called "linearizer")</span>
; <span lang="en" dir="ltr" class="mw-content-ltr">renderer</span> {{English term|renderer}} (2)
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#Function|function]] that gets a [[#Content|content]] and an identifier for a [[#natural_language|natural language]] as an input and returns text in that natural language as output, representing the content as concrete text, using knowledge from [[#Lexeme|lexemes]].</span>
: {{TakeNote}}<span lang="en" dir="ltr" class="mw-content-ltr">This is a future feature, and the meaning of the term "renderer" in the {{Pg|:m:Abstract Wikipedia/Historic proposal|original proposal}}; this term collides with the current usage of "renderer", so it may be renamed in the future.</span>
; {{anchor|reify}} <span lang="en" dir="ltr" class="mw-content-ltr">reify</span> {{English term|reify}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a function that deconstructs an object into its constituent parts so that the parts can be individually accessed; see [[w:en:Reification (computer science)|Reification]] in Wikipedia; see [[phab:T261474]].</span>
; {{anchor|REPL}} <span lang="en" dir="ltr" class="mw-content-ltr">REPL</span> {{English term|REPL}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a Read / Eval / Print - Loop, a command line interface that takes some input, evaluates it, and displays the result; see [[w:en:REPL|REPL]] in Wikipedia; see [[Special:MyLanguage/Wikifunctions:Function model#REPL|Function model]].</span>
== S ==
; {{anchor|schemata}} <span lang="en" dir="ltr" class="mw-content-ltr">schemata</span> {{English term|schemata}}
: <span lang="en" dir="ltr" class="mw-content-ltr">See [[#function schemata|function schemata]].</span>
; {{anchor|serialization|Serialization|serialisation|Serialisation}} <span lang="en" dir="ltr" class="mw-content-ltr">serialization</span> {{English term|serialization}}
: <span lang="en" dir="ltr" class="mw-content-ltr">Ways to represent [[#ZObject|ZObjects]] in [[#JSON|JSON]]; see also [[#canonical|canonical]], [[#normal|normal]].</span>
; {{anchor|statement|Statement}} <span lang="en" dir="ltr" class="mw-content-ltr">statement</span> {{English term|statement}}
: <span lang="en" dir="ltr" class="mw-content-ltr">used to provide knowledge about an [[#Item|Item]] in [[#Wikidata|Wikidata]]'s knowledge base; see [[:d:Wikidata:Glossary#Statement|Statement]] in the Wikidata glossary.</span>
; {{anchor|string}} 字串 {{English term|string}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a sequence of characters.</span>
; {{anchor|sum type|Sum type}} <span lang="en" dir="ltr" class="mw-content-ltr">sum type</span> {{English term|sum type}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a type that can have instances of any of its constituent types; see [[w:en:Sum type|Sum type]] in Wikipedia; see [[Special:MyLanguage/Wikifunctions:Function model#Zx/Sum_types|Function model]].</span>
== T ==
; {{anchor|template}} <span lang="en" dir="ltr" class="mw-content-ltr">template</span> {{English term|template}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a way to specify a [[#renderer|renderer]] as text interspersed with place-holders, or ''slots'', which can be filled with data from [[#constructor|constructors]], function calculation, or content from another template. See the document [[:m:Special:MyLanguage/Abstract Wikipedia/Template Language for Wikifunctions|Template Language for Wikifunctions]] for a detailed discussion of the template syntax.</span>
; {{anchor|tester|Tester}} <span lang="en" dir="ltr" class="mw-content-ltr">tester</span> {{English term|tester}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a way to automatically determine if a given [[#ZFunction|ZFunction]] is doing the right thing. A [[#function|function]] will typically have multiple testers, each specifying some input to the function and conditions the output for the given input must fulfil. For example, testers for a “title case” function might include: “abc” should become “Abc”; “war and peace” should become “War and Peace”; “война и мир” should become “Война и мир”; and “123” should remain “123”.</span>
; {{anchor|transient|Transient}} <span lang="en" dir="ltr" class="mw-content-ltr">transient</span> {{English term|transient}}
: <span lang="en" dir="ltr" class="mw-content-ltr">Opposite of [[#persistent|persistent]].</span>
; {{anchor|type|Type}} <span lang="en" dir="ltr" class="mw-content-ltr">type</span> {{English term|type}}
: <span lang="en" dir="ltr" class="mw-content-ltr">The type of an object tells us how to interpret and understand the given object, and what can be done with the object. For example, if we have an object with the value “2023”, depending on whether its type is integer, or year, or string, we understand that object differently. Every object refers to “a thing in the real world”. The integer 2023 is different from the year 2023. The type tells us how to interpret a given object, so that we know which thing in the real world it refers to. Technically, it defines how objects of that type are structured and what conditions they need to fulfill to be a valid object of that type.</span> <span lang="en" dir="ltr" class="mw-content-ltr">A type defines the conditions for a [[#ZObject|ZObject]] to be a valid instance of this type, by providing a [[#Function|function]] that validates a ZObject. Types are ZObjects themselves, so that contributors of [[#Wikifunctions|Wikifunctions]] can create new types.</span>
; {{anchor|type converter}} <span lang="en" dir="ltr" class="mw-content-ltr">type converter</span> {{English term|type converter}}
: <span lang="en" dir="ltr" class="mw-content-ltr">A script written in some programming language (such as JavaScript), taking a native object (such as BigInt), and returning a JSON object representing the corresponding ZObject; or ''vice versa''.</span>
; {{anchor|typed list|Typed List}} <span lang="en" dir="ltr" class="mw-content-ltr">typed list</span> {{English term|typed list}}
: <span lang="en" dir="ltr" class="mw-content-ltr">A typed list is a [[#list|list]] in which all members of the list are of a specific, predefined [[#type|type]]. For example, a typed list of [[#string|strings]] is a list in which all members of the list are strings. A typed list takes one argument: the type that all the members of the list have to be an instance of. Typed lists are probably the most widely used [[#generic type|generic type]].</span>
== V ==
; {{anchor|value}} 值 {{English term|value}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the string or [[#ZObject|ZObject]] associated with a [[#key|key]] in another ZObject.</span>
; {{anchor|validation|Validation}} <span lang="en" dir="ltr" class="mw-content-ltr">validation</span> {{English term|validation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">The action performed by the [[#validator|validator]].</span>
; {{anchor|validator|Validator}} <span lang="en" dir="ltr" class="mw-content-ltr">validator</span> {{English term|validator}}
: <span lang="en" dir="ltr" class="mw-content-ltr">A function taking a ZObject as argument and return a list of errors found.</span>
== W ==
; {{anchor|wiki|Wiki}} wiki {{English term|wiki}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a web site that allows for the easy and collaborative editing of its [[#page|pages]].</span>
; {{anchor|Wikidata}} 維基數據 {{English term|Wikidata}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a project of the [[#Wikimedia_Foundation|Wikimedia Foundation]], a free, collaboratively edited knowledge base; see [[:m:Special:MyLanguage/Wikidata|Wikidata]].</span>
; {{anchor|Wikifunctions}}{{anchor|Wikilambda}} 維基函式庫 {{English term|Wikifunctions}}
: <span lang="en" dir="ltr" class="mw-content-ltr">new project of the [[#Wikimedia_Foundation|Wikimedia Foundation]]; a free, collaboratively developed and maintained catalog of [[#Function|functions]]. It was initially known as '''Wikilambda''' in the {{Pg|:m:Abstract Wikipedia/Historic proposal|original proposal}} (that name is now used for the [[#WikiLambda|WikiLambda extension]]).</span>
; {{anchor|WikiLambda}} <span lang="en" dir="ltr" class="mw-content-ltr">WikiLambda</span> {{English term|WikiLambda}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the software used to power the project, [[mw:Special:MyLanguage/Extension:WikiLambda|Extension:WikiLambda]].</span>
; {{anchor|WikiLambda system}} <span lang="en" dir="ltr" class="mw-content-ltr">WikiLambda system</span> {{English term|WikiLambda system}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an automated system account that is a key part of the WikiLambda extension. See [[User:WikiLambda system]] for its current function.</span>
; {{anchor|WMF|Wikimedia_Foundation}} 維基媒體基金會 {{English term|Wikimedia Foundation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">organization that supports the Wikimedia movement; see [[:m:Special:MyLanguage/Wikimedia Foundation|Wikimedia Foundation]].</span>
; {{anchor|Wikipedia}} <span lang="en" dir="ltr" class="mw-content-ltr">Wikipedia</span> {{English term|Wikipedia}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a project of the [[#Wikimedia_Foundation|Wikimedia Foundation]], a free, collaboratively edited encyclopedia; see [[:m:Special:MyLanguage/Wikipedia|Wikipedia]].</span>
; <span lang="en" dir="ltr" class="mw-content-ltr">Wikipedia, Abstract</span> {{English term|Wikipedia, Abstract}}
: <span lang="en" dir="ltr" class="mw-content-ltr">see [[#Abstract_Wikipedia|Abstract Wikipedia]].</span>
; <span lang="en" dir="ltr" class="mw-content-ltr">Wikipedia, multilingual</span> {{English term|Wikipedia, multilingual}}
: <span lang="en" dir="ltr" class="mw-content-ltr">see [[#multilingual_Wikipedia|multilingual Wikipedia]].</span>
== Z ==
; {{anchor|ZID|ZIDs}} ZID {{English term|ZID}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an ID starting with the letter Z and followed by a natural number. Used to identify [[#persistent|persistent]] [[#ZObject|ZObjects]].</span>
; {{anchor|zfunction|ZFunction}} <span lang="en" dir="ltr" class="mw-content-ltr">ZFunction</span> {{English term|ZFunction}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a wiki page on [[#Wikifunctions|Wikifunctions]] that describes a particular [[#function|function]] that can be used through the [[#evaluator|evaluator]]. Each ZFunction can be realised in code by one or more [[#implementation|Implementations]], and said implementations can be verified as correct by one or more [[#tester|Tester]] ZFunctions.</span>
; {{anchor|ZKey}} <span lang="en" dir="ltr" class="mw-content-ltr">ZKey</span> {{English term|ZKey}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#ZObject|ZObject]] defining a [[#key|key]] for a particular [[#type|type]].</span>
; {{anchor|ZList}} <span lang="en" dir="ltr" class="mw-content-ltr">ZList</span> {{English term|ZList}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#ZObject|ZObject]] for an ordered sequence of other ZObjects.</span>
; {{anchor|ZObject}} <span lang="en" dir="ltr" class="mw-content-ltr">ZObject</span> {{English term|ZObject}}
: <span lang="en" dir="ltr" class="mw-content-ltr">every entry in [[#Wikifunctions|Wikifunctions]] is a ZObject. ZObjects stored in Wikifunctions have [[#ZID|ZIDs]] and can be of numerous types, such as [[#Constructor|Constructors]], [[#Function|Functions]], [[#Type|Types]], etc. A ZObject consists of a set of [[#Key|Key]]/[[#Value|Value]] pairs, with each Key appearing only once per ZObject and Values being ZObjects.</span>
; {{anchor|ZUnit}} <span lang="en" dir="ltr" class="mw-content-ltr">ZUnit</span> {{English term|ZUnit}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#ZObject|ZObject]] that represents a [[:w:en:Unit type|Unit type]].</span>
[[Category:Glossary| {{#translation:}}]]
7smp36brhue0iziwmd671b8fw617vzq
200119
200117
2025-07-03T10:08:44Z
Winston Sung
2672
Created page with "函式模型"
200119
wikitext
text/x-wiki
<noinclude><languages/>
<!--<nowiki>(nowiki tags are so that the translate extension doesn't try to translate the TERM and DEFINITION in this boilerplate).
Use this boilerplate for a new term:
; {{anchor|term|Term}} <translate>term</translate> {{English term|term}}
: ''Definition verification needed''
: <translate>definition</translate>
Notes:
1. Omit the "Definition verification" if you're sure that your definition is correct.
2. You can add several values for anchor, if it has spelling or capitalization variants; see the documentation for Template:Anchor and examples in other terms.
</nowiki>--></noinclude>
<span lang="en" dir="ltr" class="mw-content-ltr">Feel free to ask for terms on the [[Wikifunctions talk:Glossary|talk page]], or to add more terms and improve the definitions.</span>
{|class="toccolours" style="margin:.2em auto;padding:.2em .5em;text-align:center" dir="ltr" lang="en"
|-
|style="padding:0;width:100%"|{{CompactTOC}}
|}
== A ==
; {{anchor|abstract|Abstract}} 抽象 {{English term|abstract}}
: <span lang="en" dir="ltr" class="mw-content-ltr">not in a specific [[#natural_language|natural language]] but abstracting from it; aiming to provide a notation for the meaning behind natural language texts, sentences, or phrases. The opposite of [[#concrete|concrete]].</span>
; {{anchor|abstracttext|AbstractText}} <span lang="en" dir="ltr" class="mw-content-ltr">AbstractText</span> {{English term|AbstractText}}
: <span lang="en" dir="ltr" class="mw-content-ltr">prototype [https://github.com/google/abstracttext implementation] of the [[#Wikifunctions|Wikifunctions]] idea.</span>
; {{anchor|abstract_content}} 抽象內容 {{English term|abstract content}}
: <span lang="en" dir="ltr" class="mw-content-ltr">see [[#Content|content]].</span>
; {{anchor|abstract_Wikipedia|Abstract_Wikipedia}} 抽象維基百科 {{English term|Abstract Wikipedia}}
: <span lang="en" dir="ltr" class="mw-content-ltr">preliminary name of all the [[#Content|Content]] that can be used by [[#local_Wikipedia|local Wikipedias]] to [[#Renderer|render]] an [[#article|article]] in [[#natural_language|natural language]]; currently proposed to live in [[#Wikidata|Wikidata]] next to the corresponding [[#Item|Item]], but that will be discussed before [[#Part_P2|Part P2]] of the [[#development_project|development project]].</span>
; {{anchor|alias}} 別名 {{English term|alias}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an alternative label for an object, used foremost to find the object.</span>
; {{anchor|argument}} 引數 {{English term|argument}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an input given to a [[#function call|function call]].</span>
; {{anchor|argument reference}} 引數參照 {{English term|argument reference}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#reference|reference]] to one of the supplied arguments within a [[#composition|composition]].</span>
; {{anchor|array}} 陣列 {{English term|array}}
: <span lang="en" dir="ltr" class="mw-content-ltr">Many programming languages have an "array" type. The counterparts in Wikifunctions are [[#list|list]] and [[#typed list|typed list]]. See also [[#Benjamin array|Benjamin array]].</span>
; {{anchor|article|Article}} 條目 {{English term|article}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a page in the main namespace of [[#Wikipedia|Wikipedia]], usually representing one entry in Wikipedia.</span>
== B ==
; {{anchor|Benjamin array}} <span lang="en" dir="ltr" class="mw-content-ltr">Benjamin array</span> {{English term|Benjamin array}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a way to denote [[#typed list|typed list]] proposed by Benjamin Degenhart, where a typed list is stored as a JSON list whose first element denotes the type. This is in contrast with the previous proposed schema, which uses LISP-style singly-linked lists, in which the type must be stored once in each node.</span>
; {{anchor|boolean|Boolean}} 布林值 {{English term|boolean}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a value that can have 2 states, usually denoted true and false.</span>
; {{anchor|built-in|builtin}} 內建 {{English term|built-in}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a native implementation of a function that is provided by the evaluator and that is not editable through the wiki interface.</span>
== C ==
; {{anchor|call}} 呼叫 {{English term|call}}
: <span lang="en" dir="ltr" class="mw-content-ltr">see [[#function call|function call]]. In English, the term [[#invoke|invoke or invocation]] may also be used.</span>
; {{anchor|canonical|canonicalized|canonicalised}} <span lang="en" dir="ltr" class="mw-content-ltr">canonical, canonicalized, canonicalised</span> {{English term|canonical, canonicalized, canonicalised}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a specific, less verbose and thus more readable way to represent [[#ZObject|ZObjects]] in [[#JSON|JSON]]; it is the usual representation ZObjects are stored in [[#Wikifunctions|Wikifunctions]]. This is opposed to [[#normal|normal]].</span>
; {{anchor|character}} 字元 {{English term|character}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a character as defined by Unicode, a constituent of a String; a character can consist of several bytes (or octets).</span>
; {{anchor|composition}} 組成 {{English term|composition}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a form of implementation of a function, where the implementation is given by the combination of other functions; see [[Special:MyLanguage/Wikifunctions:Function model#Composition|Function model]].</span>
; {{anchor|composition notation}} <span lang="en" dir="ltr" class="mw-content-ltr">composition notation</span> {{English term|composition notation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an easy-to-read notation for compositions; see [[Special:MyLanguage/Wikifunctions:Function model#Composition|Function model]].</span>
; {{anchor|concrete|Concrete}} <span lang="en" dir="ltr" class="mw-content-ltr">concrete</span> {{English term|concrete}}
: <span lang="en" dir="ltr" class="mw-content-ltr">in a specific [[#natural_language|natural language]]. The opposite of [[#abstract|abstract]].</span>
; {{anchor|cons}} <span lang="en" dir="ltr" class="mw-content-ltr">cons</span> {{English term|cons}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a function to create a new list by adding an element at the top of it; see [[phab:T261474]].</span> <span lang="en" dir="ltr" class="mw-content-ltr">See [[w:cons|cons]] in Wikipedia.</span>
; {{anchor|constructor|Constructor}} <span lang="en" dir="ltr" class="mw-content-ltr">constructor</span> {{English term|constructor}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an [[#abstract|abstract]] building block of [[#Content|content]]. A constructor aims to capture the meaning of a single phrase or sentence structure. It often has slots that can take other constructors, and can itself be used as a value to fill the slots of other constructors.</span>
; {{anchor|Content}}<!--do not add |content to the anchor, it is used by MediaWiki--> <span lang="en" dir="ltr" class="mw-content-ltr">content, abstract content</span> {{English term|content, abstract content}}
: <span lang="en" dir="ltr" class="mw-content-ltr">abstract representation of a text or text fragment, assembled from [[#Constructor|constructors]]. Technically, an instance of a constructor. The top level constructor is used to represent a whole [[#article|article]] and stored in [[#Abstract_Wikipedia|Abstract Wikipedia]], but content can be also for just a sentence or phrase. Sometimes called abstract content.</span>
; {{anchor|curry}} <span lang="en" dir="ltr" class="mw-content-ltr">curried, curry, currying</span> {{English term|curried, curry, currying}}
: <span lang="en" dir="ltr" class="mw-content-ltr">A curried function is a function that was translated from taking multiple arguments into a sequence of functions, each with a single argument. This technique is named after the American mathematician [[:w:en:Haskell Curry|Haskell Curry]]. See [[:w:en:Currying|Currying]] in Wikipedia.</span>
== D ==
; {{anchor|deserialization|Deserialization|deserialisation|Deserialisation}} <span lang="en" dir="ltr" class="mw-content-ltr">deserialization</span> {{English term|deserialization}}
: <span lang="en" dir="ltr" class="mw-content-ltr">Opposite of [[#serialization|serialization]].</span>
; {{anchor|development_project|Development_project}} 開發專案 {{English term|development project}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a project to develop [[#Wikifunctions|Wikifunctions]] and [[#Abstract_Wikipedia|Abstract Wikipedia]]; see [[:m:Special:MyLanguage/Abstract Wikipedia/Plan|Abstract Wikipedia plan]].</span>
; {{anchor|display function}} 顯示函式 {{English term|display function}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a synonym of [[#renderer|renderer]]. For example, a function that converts a [[#type|type]] into a string that users can understand, such as converting a Number 123456 to "123,456" in (International) English, "1,23,456" in Indian English, "123.456" in French, etc., or converting the Date '2024','03','12' to '2024-03-12', and so on.</span>
; {{anchor|documentation}} 說明文件 {{English term|documentation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">human-readable text explaining an object.</span>
== E ==
; {{anchor|eney|eneyjj}} <span lang="en" dir="ltr" class="mw-content-ltr">eneyj</span> {{English term|eneyj}}
:# <span lang="en" dir="ltr" class="mw-content-ltr">prototype model of [[#Wikifunctions|Wikifunctions]];</span>
:# <span lang="en" dir="ltr" class="mw-content-ltr">a JavaScript implementation of an [[#evaluator|evaluator]] of that model provided in [[#abstracttext|abstracttext]].</span>
; {{anchor|error|Error}} 錯誤 {{English term|error}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a type whose instances indicate problems in [[#evaluation|evaluation]] or [[#validation|validation]]; see [[Special:MyLanguage/Wikifunctions:Function model#Z5/Errors|Function model]].</span>
; {{anchor|evaluation|Evaluation}} <span lang="en" dir="ltr" class="mw-content-ltr">evaluation</span> {{English term|evaluation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">The action performed by the [[#evaluator|evaluator]].</span>
; {{anchor|evaluator|Evaluator}} <span lang="en" dir="ltr" class="mw-content-ltr">evaluator</span> {{English term|evaluator}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a piece of software that takes a [[#ZObject|ZObject]] and evaluates it, that is executes a [[#Function|Function]] and returns the result. We envision the development of several evaluators. Evaluators may be implemented and run in the browser, on the server of the [[#Wikimedia_Foundation|Wikimedia Foundation]], in the cloud, in an app on a mobile device, or other places. Compare to [[#executor|executor]] and [[#orchestrator|orchestrator]].</span>
; {{anchor|execution|Execution}} 執行 {{English term|execution}}
: <span lang="en" dir="ltr" class="mw-content-ltr">The action performed by the [[#executor|executor]].</span>
; {{anchor|executor|Executor|executors|Executors}} <span lang="en" dir="ltr" class="mw-content-ltr">executor</span> {{English term|executor}}
: <span lang="en" dir="ltr" class="mw-content-ltr">one of a set of internal services which are not exposed to the public. They can be only called by the [[#Orchestrator|orchestrator]]. They run native code in a specific programming language. There would be one executor for Lua, one for JavaScript, one for Python, etc. See [https://gitlab.wikimedia.org/repos/abstract-wiki/wikifunctions/function-evaluator#executors the service documentation]. Compare to [[#evaluator|evaluator]] and [[#orchestrator|orchestrator]].</span>
== F ==
; {{anchor|function|Function}} 函式 {{English term|function}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the specification of a computation that takes some input and returns output; see [[w:en:Function (computer science)|Function (computer science)]] in Wikipedia.</span>
; {{anchor|function call|Function call}} 函式呼叫 {{English term|function call}}
: <span lang="en" dir="ltr" class="mw-content-ltr">A function call is a ZObject consisting of a function and the required arguments for the function, and can be evaluated to another ZObject. In English, the term "invoke" may also be used.</span>
; {{anchor|function evaluator}} <span lang="en" dir="ltr" class="mw-content-ltr">function evaluator</span> {{English term|function evaluator}}
: <span lang="en" dir="ltr" class="mw-content-ltr">See [[#evaluator|evaluator]].</span>
; {{anchor|function executor}} <span lang="en" dir="ltr" class="mw-content-ltr">function executor</span> {{English term|function executor}}
: <span lang="en" dir="ltr" class="mw-content-ltr">See [[#executor|executor]].</span>
; {{anchor|function model}} 函式模型 {{English term|function model}}
: <span lang="en" dir="ltr" class="mw-content-ltr">see [[Special:MyLanguage/Wikifunctions:Function model|Function model]].</span>
; {{anchor|function orchestrator}} <span lang="en" dir="ltr" class="mw-content-ltr">function orchestrator</span> {{English term|function orchestrator}}
: <span lang="en" dir="ltr" class="mw-content-ltr">See [[#orchestrator|orchestrator]].</span>
; {{anchor|function schemata}} <span lang="en" dir="ltr" class="mw-content-ltr">function schemata</span> {{English term|function schemata}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a set of pre-defined ZObjects used in [[#orchestrator|orchestrator]] and [[#evaluator|evaluator]]. The [[#WikiLambda system|WikiLambda system account]] also populates pre-defined ZObjects on-wiki from function schemata.</span>
; {{anchor|functional}} <span lang="en" dir="ltr" class="mw-content-ltr">functional</span> {{English term|functional}}
: <span lang="en" dir="ltr" class="mw-content-ltr">short for "purely functional", meaning that the [[#evaluation|evaluation]] of such a function has no side-effects and is deterministic, that is always the same; see [[w:en:Purely functional programming|Purely functional programming]] in Wikipedia; see [[Special:MyLanguage/Wikifunctions:Function model#non-functional|Function model]].</span>
== G ==
; {{anchor|generic type}} <span lang="en" dir="ltr" class="mw-content-ltr">generic type</span> {{English term|generic type}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a type generated by [[#evaluation|evaluation]] of a function call.</span>
== I ==
; {{anchor|identity|Identity}} 識別物件 {{English term|identity}}
: <span lang="en" dir="ltr" class="mw-content-ltr">The identity of a type is an instance of (specific) function that evaluates to the type. For a simple type, it is a reference to the type itself.</span>
; {{anchor|implementation|Implementation}} 實作 {{English term|implementation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a particular way to execute a [[#function|function]]. An implementation may be a piece of code in a certain programming language, refer to functionality “built into” the [[#evaluator|evaluator]], or [[#composition|compose]] calls to other functions. A function may have many implementations, which should all be equivalent. Short for "[[#ZFunction|ZFunction]] implementation".</span>
; {{anchor|instance}} 實例 {{English term|instance}}
: <span lang="en" dir="ltr" class="mw-content-ltr">Every ZObject is an instance of its type.</span>
; {{anchor|invoke}} <span lang="en" dir="ltr" class="mw-content-ltr">invoke</span> {{English term|invoke}}
: <span lang="en" dir="ltr" class="mw-content-ltr">synonym for [[#call|call]] in English. See [[#function call|function call]].</span>
; {{anchor|item|Item}} 項目 {{English term|item}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an entry in [[#Wikidata|Wikidata]]'s knowledge base; see [[:d:Wikidata:Glossary#Item|Item]] in the Wikidata glossary.</span>
== J ==
; {{anchor|JSON}} JSON {{English term|JSON}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a widely used data transfer format; see [[w:en:JSON|JSON]] in Wikipedia.</span>
== K ==
; {{anchor|key|Key}} 鍵 {{English term|key}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a string which ends with the letter K followed by a natural number, and is optionally preceded by a [[#ZID|ZID]]. Keys are defined in [[#Wikifunctions|Wikifunctions]] usually on [[#Type|Types]] or [[#Function|Functions]], and are used to build up [[#ZObject|ZObjects]].</span>
== L ==
; {{anchor|label}} <span lang="en" dir="ltr" class="mw-content-ltr">label</span> {{English term|label}}
: <span lang="en" dir="ltr" class="mw-content-ltr">main name given to identify a ZObject. May only be plain text.</span>
; {{anchor|lexeme|Lexeme}} <span lang="en" dir="ltr" class="mw-content-ltr">lexeme</span> {{English term|lexeme}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an entry in [[#Wikidata|Wikidata]] storing lexicographic knowledge about, roughly, a word; see [[d:Wikidata:Glossary#Lexeme|Lexeme]] in the Wikidata glossary.</span>
; {{anchor|linearizer|Linearizer}} <span lang="en" dir="ltr" class="mw-content-ltr">linearizer</span> {{English term|linearizer}}
: <span lang="en" dir="ltr" class="mw-content-ltr">(this term is no longer used in current terminology, but can still be found in older documents) synonym of [[#renderer|renderer]] (1).</span>
; {{anchor|list|List}} <span lang="en" dir="ltr" class="mw-content-ltr">list</span> {{English term|list}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a data type that groups an arbitrary number of instances in an ordered entity; see [[w:en:List (abstract data type)|List (abstract data type)]] in Wikipedia.</span>
; {{anchor|literal}} <span lang="en" dir="ltr" class="mw-content-ltr">literal</span> {{English term|literal}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a value that is not a ZObject. Currently the only accepted literal is string.</span>
; {{anchor|local_Wikipedia|Local_Wikipedia}} <span lang="en" dir="ltr" class="mw-content-ltr">local Wikipedia</span> {{English term|local Wikipedia}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#Wikipedia|Wikipedia]] in a specific language, such as Hebrew Wikipedia, Japanese Wikipedia, or Italian Wikipedia.</span>
== M ==
; {{anchor|Multlingual_Wikipedia|multilingual_Wikipedia}} <span lang="en" dir="ltr" class="mw-content-ltr">multilingual Wikipedia</span> {{English term|multilingual Wikipedia}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the architecture that allows [[#local_Wikipedia|local Wikipedias]] to enrich themselves by [[#Renderer|rendering]] the [[#Content|Content]] from [[#Abstract_Wikipedia|Abstract Wikipedia]] and thus have a more comprehensive, current, and correct Wikipedia in their language; see [[:m:Special:MyLanguage/Abstract Wikipedia/Architecture|Abstract Wikipedia architecture]].</span>
== N ==
; {{anchor|natural_language|Natural_language}} <span lang="en" dir="ltr" class="mw-content-ltr">natural language</span> {{English term|natural language}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a specific natural language in the wider sense, such as English, Tagalog, or Swahili; see [[w:en:Natural language|Natural language]] in Wikipedia.</span>
; {{anchor|normal|Normal|normalized|Normalized|normalised}} <span lang="en" dir="ltr" class="mw-content-ltr">normal</span> {{English term|normal}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an extended, easily processable and very uniform way to represent [[#ZObject|ZObjects]] in [[#JSON|JSON]]. This is opposed to [[#canonical|canonical]].</span>
; {{anchor|nothing|Nothing}} <span lang="en" dir="ltr" class="mw-content-ltr">nothing</span> {{English term|nothing}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a data type that can have no instances; see [[w:en:Bottom type|Bottom type]] in Wikipedia.</span>
== O ==
; {{anchor|object|Object}} 物件 {{English term|object}}
:# <span lang="en" dir="ltr" class="mw-content-ltr">In JavaScript or JSON, an object is basically an associative array; see [[w:en:Associative array|Associative array]] in Wikipedia.</span>
:# <span lang="en" dir="ltr" class="mw-content-ltr">In Wikifunctions, synonym of [[#ZObject|ZObject]].</span>
; {{anchor|orchestration|Orchestration}} <span lang="en" dir="ltr" class="mw-content-ltr">orchestration</span> {{English term|orchestration}}
:<span lang="en" dir="ltr" class="mw-content-ltr">The action performed by the [[#orchestrator|orchestrator]].</span>
; {{anchor|orchestrator|Orchestrator}} <span lang="en" dir="ltr" class="mw-content-ltr">orchestrator</span> {{English term|orchestrator}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a service that takes a [[#ZObject|ZObject]] and returns an [[#Evaluator|evaluated]] version of it. To do this, it will make calls to the wiki for other ZObjects it needs, to the [[#Executor|executor]] to evaluate some function calls, and other services such as [[#Wikidata|Wikidata]]. See [https://gitlab.wikimedia.org/repos/abstract-wiki/wikifunctions/function-orchestrator#wikifunctions-function-orchestrator the service documentation]. Compare to [[#evaluator|evaluator]] and [[#executor|executor]].</span>
== P ==
; {{anchor|page|Page}} 頁面 {{English term|page}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a part of a wiki. A [[#wiki|wiki]] consists of a number of individual pages, which can be edited independently, have internal links to each other, etc.</span>
; {{anchor|parser|Parser}} 解析器 {{English term|parser}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a function to convert a string to a ZObject. The opposite of [[#renderer|renderer]].</span>
; {{anchor|pair|Pair}} <span lang="en" dir="ltr" class="mw-content-ltr">pair</span> {{English term|pair}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a compound ZObject that contains two ZObjects of specific (but arbitrary) type.</span>
; {{anchor|part_P1|Part_P1}} <span lang="en" dir="ltr" class="mw-content-ltr">Part P1</span> {{English term|Part P1}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the part of the [[#development_project|development project]] that deals with creating [[#Wikifunctions|Wikifunctions]]. It starts at the beginning of the project and goes on throughout its whole lifetime; see [[:m:Special:MyLanguage/Abstract Wikipedia/Tasks#Part P1: Wikifunctions|Part P1: Wikifunctions]].</span>
; {{anchor|part_P2|Part_P2}} <span lang="en" dir="ltr" class="mw-content-ltr">Part P2</span> {{English term|Part P2}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the part of the [[#development_project|development project]] that deals with creating [[#Abstract_Wikipedia|Abstract Wikipedia]]. It starts after about a year in the project and goes on throughout the second half of its lifetime; see [[:m:Special:MyLanguage/Abstract Wikipedia/Tasks#Part P2: Abstract Wikipedia|Part P2: Abstract Wikipedia]].</span>
; {{anchor|persistent|Persistent}} <span lang="en" dir="ltr" class="mw-content-ltr">persistent</span> {{English term|persistent}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#ZObject|ZObject]] with a [[#ZID|ZID]] and with its own page in the wiki. Most persistent ZObjects will include [[#value|values]] that are ZObjects with no ZID, and are therefore not persistent.</span>
; {{anchor|property|Property}} 屬性 {{English term|property}}
: <span lang="en" dir="ltr" class="mw-content-ltr">used to make a [[#Statement|statement]] about an [[#Item|Item]] in [[#Wikidata|Wikidata]]'s knowledge base; see [[:d:Wikidata:Glossary#Property|Property]] in the Wikidata glossary.</span>
== Q ==
; {{anchor|quote|Quote}} <span lang="en" dir="ltr" class="mw-content-ltr">quote</span> {{English term|quote}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a data structure that is not to be evaluated but kept verbatim.</span>
; {{anchor|QID}} QID {{English term|QID}}
: <span lang="en" dir="ltr" class="mw-content-ltr">identifier for an item in [[#Wikidata|Wikidata]], comprising the letter "Q" followed by an integer.</span>
== R ==
; {{anchor|reading function}} <span lang="en" dir="ltr" class="mw-content-ltr">reading function</span> {{English term|reading function}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a synonym of [[#parser|parser]]. A function that converts user text input from a string into a given Type. For example, converting the String "123456" to the Number '123456', or the string "2024-03-12" to the Date '2024', '03', '12'.</span>
; {{anchor|reference|Reference}} 參照 {{English term|reference}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an ID denoting the underlying object. For example, the string "Z11" refers to the Type Z11/Monolingual text.</span>
: {{TakeNote}}<span lang="en" dir="ltr" class="mw-content-ltr">This term has a completely different meaning than on Wikidata; see [[w:en:Reference (computer science)|Reference (computer science)]] in Wikipedia.</span>
; {{anchor|renderer|Renderer}} 轉譯器 {{English term|renderer}} (1)
: <span lang="en" dir="ltr" class="mw-content-ltr">a function to convert a ZObject to a string. The opposite of [[#parser|parser]]. (formerly called "linearizer")</span>
; <span lang="en" dir="ltr" class="mw-content-ltr">renderer</span> {{English term|renderer}} (2)
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#Function|function]] that gets a [[#Content|content]] and an identifier for a [[#natural_language|natural language]] as an input and returns text in that natural language as output, representing the content as concrete text, using knowledge from [[#Lexeme|lexemes]].</span>
: {{TakeNote}}<span lang="en" dir="ltr" class="mw-content-ltr">This is a future feature, and the meaning of the term "renderer" in the {{Pg|:m:Abstract Wikipedia/Historic proposal|original proposal}}; this term collides with the current usage of "renderer", so it may be renamed in the future.</span>
; {{anchor|reify}} <span lang="en" dir="ltr" class="mw-content-ltr">reify</span> {{English term|reify}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a function that deconstructs an object into its constituent parts so that the parts can be individually accessed; see [[w:en:Reification (computer science)|Reification]] in Wikipedia; see [[phab:T261474]].</span>
; {{anchor|REPL}} <span lang="en" dir="ltr" class="mw-content-ltr">REPL</span> {{English term|REPL}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a Read / Eval / Print - Loop, a command line interface that takes some input, evaluates it, and displays the result; see [[w:en:REPL|REPL]] in Wikipedia; see [[Special:MyLanguage/Wikifunctions:Function model#REPL|Function model]].</span>
== S ==
; {{anchor|schemata}} <span lang="en" dir="ltr" class="mw-content-ltr">schemata</span> {{English term|schemata}}
: <span lang="en" dir="ltr" class="mw-content-ltr">See [[#function schemata|function schemata]].</span>
; {{anchor|serialization|Serialization|serialisation|Serialisation}} <span lang="en" dir="ltr" class="mw-content-ltr">serialization</span> {{English term|serialization}}
: <span lang="en" dir="ltr" class="mw-content-ltr">Ways to represent [[#ZObject|ZObjects]] in [[#JSON|JSON]]; see also [[#canonical|canonical]], [[#normal|normal]].</span>
; {{anchor|statement|Statement}} <span lang="en" dir="ltr" class="mw-content-ltr">statement</span> {{English term|statement}}
: <span lang="en" dir="ltr" class="mw-content-ltr">used to provide knowledge about an [[#Item|Item]] in [[#Wikidata|Wikidata]]'s knowledge base; see [[:d:Wikidata:Glossary#Statement|Statement]] in the Wikidata glossary.</span>
; {{anchor|string}} 字串 {{English term|string}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a sequence of characters.</span>
; {{anchor|sum type|Sum type}} <span lang="en" dir="ltr" class="mw-content-ltr">sum type</span> {{English term|sum type}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a type that can have instances of any of its constituent types; see [[w:en:Sum type|Sum type]] in Wikipedia; see [[Special:MyLanguage/Wikifunctions:Function model#Zx/Sum_types|Function model]].</span>
== T ==
; {{anchor|template}} <span lang="en" dir="ltr" class="mw-content-ltr">template</span> {{English term|template}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a way to specify a [[#renderer|renderer]] as text interspersed with place-holders, or ''slots'', which can be filled with data from [[#constructor|constructors]], function calculation, or content from another template. See the document [[:m:Special:MyLanguage/Abstract Wikipedia/Template Language for Wikifunctions|Template Language for Wikifunctions]] for a detailed discussion of the template syntax.</span>
; {{anchor|tester|Tester}} <span lang="en" dir="ltr" class="mw-content-ltr">tester</span> {{English term|tester}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a way to automatically determine if a given [[#ZFunction|ZFunction]] is doing the right thing. A [[#function|function]] will typically have multiple testers, each specifying some input to the function and conditions the output for the given input must fulfil. For example, testers for a “title case” function might include: “abc” should become “Abc”; “war and peace” should become “War and Peace”; “война и мир” should become “Война и мир”; and “123” should remain “123”.</span>
; {{anchor|transient|Transient}} <span lang="en" dir="ltr" class="mw-content-ltr">transient</span> {{English term|transient}}
: <span lang="en" dir="ltr" class="mw-content-ltr">Opposite of [[#persistent|persistent]].</span>
; {{anchor|type|Type}} <span lang="en" dir="ltr" class="mw-content-ltr">type</span> {{English term|type}}
: <span lang="en" dir="ltr" class="mw-content-ltr">The type of an object tells us how to interpret and understand the given object, and what can be done with the object. For example, if we have an object with the value “2023”, depending on whether its type is integer, or year, or string, we understand that object differently. Every object refers to “a thing in the real world”. The integer 2023 is different from the year 2023. The type tells us how to interpret a given object, so that we know which thing in the real world it refers to. Technically, it defines how objects of that type are structured and what conditions they need to fulfill to be a valid object of that type.</span> <span lang="en" dir="ltr" class="mw-content-ltr">A type defines the conditions for a [[#ZObject|ZObject]] to be a valid instance of this type, by providing a [[#Function|function]] that validates a ZObject. Types are ZObjects themselves, so that contributors of [[#Wikifunctions|Wikifunctions]] can create new types.</span>
; {{anchor|type converter}} <span lang="en" dir="ltr" class="mw-content-ltr">type converter</span> {{English term|type converter}}
: <span lang="en" dir="ltr" class="mw-content-ltr">A script written in some programming language (such as JavaScript), taking a native object (such as BigInt), and returning a JSON object representing the corresponding ZObject; or ''vice versa''.</span>
; {{anchor|typed list|Typed List}} <span lang="en" dir="ltr" class="mw-content-ltr">typed list</span> {{English term|typed list}}
: <span lang="en" dir="ltr" class="mw-content-ltr">A typed list is a [[#list|list]] in which all members of the list are of a specific, predefined [[#type|type]]. For example, a typed list of [[#string|strings]] is a list in which all members of the list are strings. A typed list takes one argument: the type that all the members of the list have to be an instance of. Typed lists are probably the most widely used [[#generic type|generic type]].</span>
== V ==
; {{anchor|value}} 值 {{English term|value}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the string or [[#ZObject|ZObject]] associated with a [[#key|key]] in another ZObject.</span>
; {{anchor|validation|Validation}} <span lang="en" dir="ltr" class="mw-content-ltr">validation</span> {{English term|validation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">The action performed by the [[#validator|validator]].</span>
; {{anchor|validator|Validator}} <span lang="en" dir="ltr" class="mw-content-ltr">validator</span> {{English term|validator}}
: <span lang="en" dir="ltr" class="mw-content-ltr">A function taking a ZObject as argument and return a list of errors found.</span>
== W ==
; {{anchor|wiki|Wiki}} wiki {{English term|wiki}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a web site that allows for the easy and collaborative editing of its [[#page|pages]].</span>
; {{anchor|Wikidata}} 維基數據 {{English term|Wikidata}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a project of the [[#Wikimedia_Foundation|Wikimedia Foundation]], a free, collaboratively edited knowledge base; see [[:m:Special:MyLanguage/Wikidata|Wikidata]].</span>
; {{anchor|Wikifunctions}}{{anchor|Wikilambda}} 維基函式庫 {{English term|Wikifunctions}}
: <span lang="en" dir="ltr" class="mw-content-ltr">new project of the [[#Wikimedia_Foundation|Wikimedia Foundation]]; a free, collaboratively developed and maintained catalog of [[#Function|functions]]. It was initially known as '''Wikilambda''' in the {{Pg|:m:Abstract Wikipedia/Historic proposal|original proposal}} (that name is now used for the [[#WikiLambda|WikiLambda extension]]).</span>
; {{anchor|WikiLambda}} <span lang="en" dir="ltr" class="mw-content-ltr">WikiLambda</span> {{English term|WikiLambda}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the software used to power the project, [[mw:Special:MyLanguage/Extension:WikiLambda|Extension:WikiLambda]].</span>
; {{anchor|WikiLambda system}} <span lang="en" dir="ltr" class="mw-content-ltr">WikiLambda system</span> {{English term|WikiLambda system}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an automated system account that is a key part of the WikiLambda extension. See [[User:WikiLambda system]] for its current function.</span>
; {{anchor|WMF|Wikimedia_Foundation}} 維基媒體基金會 {{English term|Wikimedia Foundation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">organization that supports the Wikimedia movement; see [[:m:Special:MyLanguage/Wikimedia Foundation|Wikimedia Foundation]].</span>
; {{anchor|Wikipedia}} <span lang="en" dir="ltr" class="mw-content-ltr">Wikipedia</span> {{English term|Wikipedia}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a project of the [[#Wikimedia_Foundation|Wikimedia Foundation]], a free, collaboratively edited encyclopedia; see [[:m:Special:MyLanguage/Wikipedia|Wikipedia]].</span>
; <span lang="en" dir="ltr" class="mw-content-ltr">Wikipedia, Abstract</span> {{English term|Wikipedia, Abstract}}
: <span lang="en" dir="ltr" class="mw-content-ltr">see [[#Abstract_Wikipedia|Abstract Wikipedia]].</span>
; <span lang="en" dir="ltr" class="mw-content-ltr">Wikipedia, multilingual</span> {{English term|Wikipedia, multilingual}}
: <span lang="en" dir="ltr" class="mw-content-ltr">see [[#multilingual_Wikipedia|multilingual Wikipedia]].</span>
== Z ==
; {{anchor|ZID|ZIDs}} ZID {{English term|ZID}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an ID starting with the letter Z and followed by a natural number. Used to identify [[#persistent|persistent]] [[#ZObject|ZObjects]].</span>
; {{anchor|zfunction|ZFunction}} <span lang="en" dir="ltr" class="mw-content-ltr">ZFunction</span> {{English term|ZFunction}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a wiki page on [[#Wikifunctions|Wikifunctions]] that describes a particular [[#function|function]] that can be used through the [[#evaluator|evaluator]]. Each ZFunction can be realised in code by one or more [[#implementation|Implementations]], and said implementations can be verified as correct by one or more [[#tester|Tester]] ZFunctions.</span>
; {{anchor|ZKey}} <span lang="en" dir="ltr" class="mw-content-ltr">ZKey</span> {{English term|ZKey}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#ZObject|ZObject]] defining a [[#key|key]] for a particular [[#type|type]].</span>
; {{anchor|ZList}} <span lang="en" dir="ltr" class="mw-content-ltr">ZList</span> {{English term|ZList}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#ZObject|ZObject]] for an ordered sequence of other ZObjects.</span>
; {{anchor|ZObject}} <span lang="en" dir="ltr" class="mw-content-ltr">ZObject</span> {{English term|ZObject}}
: <span lang="en" dir="ltr" class="mw-content-ltr">every entry in [[#Wikifunctions|Wikifunctions]] is a ZObject. ZObjects stored in Wikifunctions have [[#ZID|ZIDs]] and can be of numerous types, such as [[#Constructor|Constructors]], [[#Function|Functions]], [[#Type|Types]], etc. A ZObject consists of a set of [[#Key|Key]]/[[#Value|Value]] pairs, with each Key appearing only once per ZObject and Values being ZObjects.</span>
; {{anchor|ZUnit}} <span lang="en" dir="ltr" class="mw-content-ltr">ZUnit</span> {{English term|ZUnit}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#ZObject|ZObject]] that represents a [[:w:en:Unit type|Unit type]].</span>
[[Category:Glossary| {{#translation:}}]]
iyncky3gk1dwaf0qafshn3alywesvvm
200121
200119
2025-07-03T10:09:06Z
Winston Sung
2672
Created page with "請參閱[[$fm|函式模型]]。"
200121
wikitext
text/x-wiki
<noinclude><languages/>
<!--<nowiki>(nowiki tags are so that the translate extension doesn't try to translate the TERM and DEFINITION in this boilerplate).
Use this boilerplate for a new term:
; {{anchor|term|Term}} <translate>term</translate> {{English term|term}}
: ''Definition verification needed''
: <translate>definition</translate>
Notes:
1. Omit the "Definition verification" if you're sure that your definition is correct.
2. You can add several values for anchor, if it has spelling or capitalization variants; see the documentation for Template:Anchor and examples in other terms.
</nowiki>--></noinclude>
<span lang="en" dir="ltr" class="mw-content-ltr">Feel free to ask for terms on the [[Wikifunctions talk:Glossary|talk page]], or to add more terms and improve the definitions.</span>
{|class="toccolours" style="margin:.2em auto;padding:.2em .5em;text-align:center" dir="ltr" lang="en"
|-
|style="padding:0;width:100%"|{{CompactTOC}}
|}
== A ==
; {{anchor|abstract|Abstract}} 抽象 {{English term|abstract}}
: <span lang="en" dir="ltr" class="mw-content-ltr">not in a specific [[#natural_language|natural language]] but abstracting from it; aiming to provide a notation for the meaning behind natural language texts, sentences, or phrases. The opposite of [[#concrete|concrete]].</span>
; {{anchor|abstracttext|AbstractText}} <span lang="en" dir="ltr" class="mw-content-ltr">AbstractText</span> {{English term|AbstractText}}
: <span lang="en" dir="ltr" class="mw-content-ltr">prototype [https://github.com/google/abstracttext implementation] of the [[#Wikifunctions|Wikifunctions]] idea.</span>
; {{anchor|abstract_content}} 抽象內容 {{English term|abstract content}}
: <span lang="en" dir="ltr" class="mw-content-ltr">see [[#Content|content]].</span>
; {{anchor|abstract_Wikipedia|Abstract_Wikipedia}} 抽象維基百科 {{English term|Abstract Wikipedia}}
: <span lang="en" dir="ltr" class="mw-content-ltr">preliminary name of all the [[#Content|Content]] that can be used by [[#local_Wikipedia|local Wikipedias]] to [[#Renderer|render]] an [[#article|article]] in [[#natural_language|natural language]]; currently proposed to live in [[#Wikidata|Wikidata]] next to the corresponding [[#Item|Item]], but that will be discussed before [[#Part_P2|Part P2]] of the [[#development_project|development project]].</span>
; {{anchor|alias}} 別名 {{English term|alias}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an alternative label for an object, used foremost to find the object.</span>
; {{anchor|argument}} 引數 {{English term|argument}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an input given to a [[#function call|function call]].</span>
; {{anchor|argument reference}} 引數參照 {{English term|argument reference}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#reference|reference]] to one of the supplied arguments within a [[#composition|composition]].</span>
; {{anchor|array}} 陣列 {{English term|array}}
: <span lang="en" dir="ltr" class="mw-content-ltr">Many programming languages have an "array" type. The counterparts in Wikifunctions are [[#list|list]] and [[#typed list|typed list]]. See also [[#Benjamin array|Benjamin array]].</span>
; {{anchor|article|Article}} 條目 {{English term|article}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a page in the main namespace of [[#Wikipedia|Wikipedia]], usually representing one entry in Wikipedia.</span>
== B ==
; {{anchor|Benjamin array}} <span lang="en" dir="ltr" class="mw-content-ltr">Benjamin array</span> {{English term|Benjamin array}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a way to denote [[#typed list|typed list]] proposed by Benjamin Degenhart, where a typed list is stored as a JSON list whose first element denotes the type. This is in contrast with the previous proposed schema, which uses LISP-style singly-linked lists, in which the type must be stored once in each node.</span>
; {{anchor|boolean|Boolean}} 布林值 {{English term|boolean}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a value that can have 2 states, usually denoted true and false.</span>
; {{anchor|built-in|builtin}} 內建 {{English term|built-in}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a native implementation of a function that is provided by the evaluator and that is not editable through the wiki interface.</span>
== C ==
; {{anchor|call}} 呼叫 {{English term|call}}
: <span lang="en" dir="ltr" class="mw-content-ltr">see [[#function call|function call]]. In English, the term [[#invoke|invoke or invocation]] may also be used.</span>
; {{anchor|canonical|canonicalized|canonicalised}} <span lang="en" dir="ltr" class="mw-content-ltr">canonical, canonicalized, canonicalised</span> {{English term|canonical, canonicalized, canonicalised}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a specific, less verbose and thus more readable way to represent [[#ZObject|ZObjects]] in [[#JSON|JSON]]; it is the usual representation ZObjects are stored in [[#Wikifunctions|Wikifunctions]]. This is opposed to [[#normal|normal]].</span>
; {{anchor|character}} 字元 {{English term|character}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a character as defined by Unicode, a constituent of a String; a character can consist of several bytes (or octets).</span>
; {{anchor|composition}} 組成 {{English term|composition}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a form of implementation of a function, where the implementation is given by the combination of other functions; see [[Special:MyLanguage/Wikifunctions:Function model#Composition|Function model]].</span>
; {{anchor|composition notation}} <span lang="en" dir="ltr" class="mw-content-ltr">composition notation</span> {{English term|composition notation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an easy-to-read notation for compositions; see [[Special:MyLanguage/Wikifunctions:Function model#Composition|Function model]].</span>
; {{anchor|concrete|Concrete}} <span lang="en" dir="ltr" class="mw-content-ltr">concrete</span> {{English term|concrete}}
: <span lang="en" dir="ltr" class="mw-content-ltr">in a specific [[#natural_language|natural language]]. The opposite of [[#abstract|abstract]].</span>
; {{anchor|cons}} <span lang="en" dir="ltr" class="mw-content-ltr">cons</span> {{English term|cons}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a function to create a new list by adding an element at the top of it; see [[phab:T261474]].</span> <span lang="en" dir="ltr" class="mw-content-ltr">See [[w:cons|cons]] in Wikipedia.</span>
; {{anchor|constructor|Constructor}} <span lang="en" dir="ltr" class="mw-content-ltr">constructor</span> {{English term|constructor}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an [[#abstract|abstract]] building block of [[#Content|content]]. A constructor aims to capture the meaning of a single phrase or sentence structure. It often has slots that can take other constructors, and can itself be used as a value to fill the slots of other constructors.</span>
; {{anchor|Content}}<!--do not add |content to the anchor, it is used by MediaWiki--> <span lang="en" dir="ltr" class="mw-content-ltr">content, abstract content</span> {{English term|content, abstract content}}
: <span lang="en" dir="ltr" class="mw-content-ltr">abstract representation of a text or text fragment, assembled from [[#Constructor|constructors]]. Technically, an instance of a constructor. The top level constructor is used to represent a whole [[#article|article]] and stored in [[#Abstract_Wikipedia|Abstract Wikipedia]], but content can be also for just a sentence or phrase. Sometimes called abstract content.</span>
; {{anchor|curry}} <span lang="en" dir="ltr" class="mw-content-ltr">curried, curry, currying</span> {{English term|curried, curry, currying}}
: <span lang="en" dir="ltr" class="mw-content-ltr">A curried function is a function that was translated from taking multiple arguments into a sequence of functions, each with a single argument. This technique is named after the American mathematician [[:w:en:Haskell Curry|Haskell Curry]]. See [[:w:en:Currying|Currying]] in Wikipedia.</span>
== D ==
; {{anchor|deserialization|Deserialization|deserialisation|Deserialisation}} <span lang="en" dir="ltr" class="mw-content-ltr">deserialization</span> {{English term|deserialization}}
: <span lang="en" dir="ltr" class="mw-content-ltr">Opposite of [[#serialization|serialization]].</span>
; {{anchor|development_project|Development_project}} 開發專案 {{English term|development project}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a project to develop [[#Wikifunctions|Wikifunctions]] and [[#Abstract_Wikipedia|Abstract Wikipedia]]; see [[:m:Special:MyLanguage/Abstract Wikipedia/Plan|Abstract Wikipedia plan]].</span>
; {{anchor|display function}} 顯示函式 {{English term|display function}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a synonym of [[#renderer|renderer]]. For example, a function that converts a [[#type|type]] into a string that users can understand, such as converting a Number 123456 to "123,456" in (International) English, "1,23,456" in Indian English, "123.456" in French, etc., or converting the Date '2024','03','12' to '2024-03-12', and so on.</span>
; {{anchor|documentation}} 說明文件 {{English term|documentation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">human-readable text explaining an object.</span>
== E ==
; {{anchor|eney|eneyjj}} <span lang="en" dir="ltr" class="mw-content-ltr">eneyj</span> {{English term|eneyj}}
:# <span lang="en" dir="ltr" class="mw-content-ltr">prototype model of [[#Wikifunctions|Wikifunctions]];</span>
:# <span lang="en" dir="ltr" class="mw-content-ltr">a JavaScript implementation of an [[#evaluator|evaluator]] of that model provided in [[#abstracttext|abstracttext]].</span>
; {{anchor|error|Error}} 錯誤 {{English term|error}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a type whose instances indicate problems in [[#evaluation|evaluation]] or [[#validation|validation]]; see [[Special:MyLanguage/Wikifunctions:Function model#Z5/Errors|Function model]].</span>
; {{anchor|evaluation|Evaluation}} <span lang="en" dir="ltr" class="mw-content-ltr">evaluation</span> {{English term|evaluation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">The action performed by the [[#evaluator|evaluator]].</span>
; {{anchor|evaluator|Evaluator}} <span lang="en" dir="ltr" class="mw-content-ltr">evaluator</span> {{English term|evaluator}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a piece of software that takes a [[#ZObject|ZObject]] and evaluates it, that is executes a [[#Function|Function]] and returns the result. We envision the development of several evaluators. Evaluators may be implemented and run in the browser, on the server of the [[#Wikimedia_Foundation|Wikimedia Foundation]], in the cloud, in an app on a mobile device, or other places. Compare to [[#executor|executor]] and [[#orchestrator|orchestrator]].</span>
; {{anchor|execution|Execution}} 執行 {{English term|execution}}
: <span lang="en" dir="ltr" class="mw-content-ltr">The action performed by the [[#executor|executor]].</span>
; {{anchor|executor|Executor|executors|Executors}} <span lang="en" dir="ltr" class="mw-content-ltr">executor</span> {{English term|executor}}
: <span lang="en" dir="ltr" class="mw-content-ltr">one of a set of internal services which are not exposed to the public. They can be only called by the [[#Orchestrator|orchestrator]]. They run native code in a specific programming language. There would be one executor for Lua, one for JavaScript, one for Python, etc. See [https://gitlab.wikimedia.org/repos/abstract-wiki/wikifunctions/function-evaluator#executors the service documentation]. Compare to [[#evaluator|evaluator]] and [[#orchestrator|orchestrator]].</span>
== F ==
; {{anchor|function|Function}} 函式 {{English term|function}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the specification of a computation that takes some input and returns output; see [[w:en:Function (computer science)|Function (computer science)]] in Wikipedia.</span>
; {{anchor|function call|Function call}} 函式呼叫 {{English term|function call}}
: <span lang="en" dir="ltr" class="mw-content-ltr">A function call is a ZObject consisting of a function and the required arguments for the function, and can be evaluated to another ZObject. In English, the term "invoke" may also be used.</span>
; {{anchor|function evaluator}} <span lang="en" dir="ltr" class="mw-content-ltr">function evaluator</span> {{English term|function evaluator}}
: <span lang="en" dir="ltr" class="mw-content-ltr">See [[#evaluator|evaluator]].</span>
; {{anchor|function executor}} <span lang="en" dir="ltr" class="mw-content-ltr">function executor</span> {{English term|function executor}}
: <span lang="en" dir="ltr" class="mw-content-ltr">See [[#executor|executor]].</span>
; {{anchor|function model}} 函式模型 {{English term|function model}}
: 請參閱[[Special:MyLanguage/Wikifunctions:Function model|函式模型]]。
; {{anchor|function orchestrator}} <span lang="en" dir="ltr" class="mw-content-ltr">function orchestrator</span> {{English term|function orchestrator}}
: <span lang="en" dir="ltr" class="mw-content-ltr">See [[#orchestrator|orchestrator]].</span>
; {{anchor|function schemata}} <span lang="en" dir="ltr" class="mw-content-ltr">function schemata</span> {{English term|function schemata}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a set of pre-defined ZObjects used in [[#orchestrator|orchestrator]] and [[#evaluator|evaluator]]. The [[#WikiLambda system|WikiLambda system account]] also populates pre-defined ZObjects on-wiki from function schemata.</span>
; {{anchor|functional}} <span lang="en" dir="ltr" class="mw-content-ltr">functional</span> {{English term|functional}}
: <span lang="en" dir="ltr" class="mw-content-ltr">short for "purely functional", meaning that the [[#evaluation|evaluation]] of such a function has no side-effects and is deterministic, that is always the same; see [[w:en:Purely functional programming|Purely functional programming]] in Wikipedia; see [[Special:MyLanguage/Wikifunctions:Function model#non-functional|Function model]].</span>
== G ==
; {{anchor|generic type}} <span lang="en" dir="ltr" class="mw-content-ltr">generic type</span> {{English term|generic type}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a type generated by [[#evaluation|evaluation]] of a function call.</span>
== I ==
; {{anchor|identity|Identity}} 識別物件 {{English term|identity}}
: <span lang="en" dir="ltr" class="mw-content-ltr">The identity of a type is an instance of (specific) function that evaluates to the type. For a simple type, it is a reference to the type itself.</span>
; {{anchor|implementation|Implementation}} 實作 {{English term|implementation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a particular way to execute a [[#function|function]]. An implementation may be a piece of code in a certain programming language, refer to functionality “built into” the [[#evaluator|evaluator]], or [[#composition|compose]] calls to other functions. A function may have many implementations, which should all be equivalent. Short for "[[#ZFunction|ZFunction]] implementation".</span>
; {{anchor|instance}} 實例 {{English term|instance}}
: <span lang="en" dir="ltr" class="mw-content-ltr">Every ZObject is an instance of its type.</span>
; {{anchor|invoke}} <span lang="en" dir="ltr" class="mw-content-ltr">invoke</span> {{English term|invoke}}
: <span lang="en" dir="ltr" class="mw-content-ltr">synonym for [[#call|call]] in English. See [[#function call|function call]].</span>
; {{anchor|item|Item}} 項目 {{English term|item}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an entry in [[#Wikidata|Wikidata]]'s knowledge base; see [[:d:Wikidata:Glossary#Item|Item]] in the Wikidata glossary.</span>
== J ==
; {{anchor|JSON}} JSON {{English term|JSON}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a widely used data transfer format; see [[w:en:JSON|JSON]] in Wikipedia.</span>
== K ==
; {{anchor|key|Key}} 鍵 {{English term|key}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a string which ends with the letter K followed by a natural number, and is optionally preceded by a [[#ZID|ZID]]. Keys are defined in [[#Wikifunctions|Wikifunctions]] usually on [[#Type|Types]] or [[#Function|Functions]], and are used to build up [[#ZObject|ZObjects]].</span>
== L ==
; {{anchor|label}} <span lang="en" dir="ltr" class="mw-content-ltr">label</span> {{English term|label}}
: <span lang="en" dir="ltr" class="mw-content-ltr">main name given to identify a ZObject. May only be plain text.</span>
; {{anchor|lexeme|Lexeme}} <span lang="en" dir="ltr" class="mw-content-ltr">lexeme</span> {{English term|lexeme}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an entry in [[#Wikidata|Wikidata]] storing lexicographic knowledge about, roughly, a word; see [[d:Wikidata:Glossary#Lexeme|Lexeme]] in the Wikidata glossary.</span>
; {{anchor|linearizer|Linearizer}} <span lang="en" dir="ltr" class="mw-content-ltr">linearizer</span> {{English term|linearizer}}
: <span lang="en" dir="ltr" class="mw-content-ltr">(this term is no longer used in current terminology, but can still be found in older documents) synonym of [[#renderer|renderer]] (1).</span>
; {{anchor|list|List}} <span lang="en" dir="ltr" class="mw-content-ltr">list</span> {{English term|list}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a data type that groups an arbitrary number of instances in an ordered entity; see [[w:en:List (abstract data type)|List (abstract data type)]] in Wikipedia.</span>
; {{anchor|literal}} <span lang="en" dir="ltr" class="mw-content-ltr">literal</span> {{English term|literal}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a value that is not a ZObject. Currently the only accepted literal is string.</span>
; {{anchor|local_Wikipedia|Local_Wikipedia}} <span lang="en" dir="ltr" class="mw-content-ltr">local Wikipedia</span> {{English term|local Wikipedia}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#Wikipedia|Wikipedia]] in a specific language, such as Hebrew Wikipedia, Japanese Wikipedia, or Italian Wikipedia.</span>
== M ==
; {{anchor|Multlingual_Wikipedia|multilingual_Wikipedia}} <span lang="en" dir="ltr" class="mw-content-ltr">multilingual Wikipedia</span> {{English term|multilingual Wikipedia}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the architecture that allows [[#local_Wikipedia|local Wikipedias]] to enrich themselves by [[#Renderer|rendering]] the [[#Content|Content]] from [[#Abstract_Wikipedia|Abstract Wikipedia]] and thus have a more comprehensive, current, and correct Wikipedia in their language; see [[:m:Special:MyLanguage/Abstract Wikipedia/Architecture|Abstract Wikipedia architecture]].</span>
== N ==
; {{anchor|natural_language|Natural_language}} <span lang="en" dir="ltr" class="mw-content-ltr">natural language</span> {{English term|natural language}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a specific natural language in the wider sense, such as English, Tagalog, or Swahili; see [[w:en:Natural language|Natural language]] in Wikipedia.</span>
; {{anchor|normal|Normal|normalized|Normalized|normalised}} <span lang="en" dir="ltr" class="mw-content-ltr">normal</span> {{English term|normal}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an extended, easily processable and very uniform way to represent [[#ZObject|ZObjects]] in [[#JSON|JSON]]. This is opposed to [[#canonical|canonical]].</span>
; {{anchor|nothing|Nothing}} <span lang="en" dir="ltr" class="mw-content-ltr">nothing</span> {{English term|nothing}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a data type that can have no instances; see [[w:en:Bottom type|Bottom type]] in Wikipedia.</span>
== O ==
; {{anchor|object|Object}} 物件 {{English term|object}}
:# <span lang="en" dir="ltr" class="mw-content-ltr">In JavaScript or JSON, an object is basically an associative array; see [[w:en:Associative array|Associative array]] in Wikipedia.</span>
:# <span lang="en" dir="ltr" class="mw-content-ltr">In Wikifunctions, synonym of [[#ZObject|ZObject]].</span>
; {{anchor|orchestration|Orchestration}} <span lang="en" dir="ltr" class="mw-content-ltr">orchestration</span> {{English term|orchestration}}
:<span lang="en" dir="ltr" class="mw-content-ltr">The action performed by the [[#orchestrator|orchestrator]].</span>
; {{anchor|orchestrator|Orchestrator}} <span lang="en" dir="ltr" class="mw-content-ltr">orchestrator</span> {{English term|orchestrator}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a service that takes a [[#ZObject|ZObject]] and returns an [[#Evaluator|evaluated]] version of it. To do this, it will make calls to the wiki for other ZObjects it needs, to the [[#Executor|executor]] to evaluate some function calls, and other services such as [[#Wikidata|Wikidata]]. See [https://gitlab.wikimedia.org/repos/abstract-wiki/wikifunctions/function-orchestrator#wikifunctions-function-orchestrator the service documentation]. Compare to [[#evaluator|evaluator]] and [[#executor|executor]].</span>
== P ==
; {{anchor|page|Page}} 頁面 {{English term|page}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a part of a wiki. A [[#wiki|wiki]] consists of a number of individual pages, which can be edited independently, have internal links to each other, etc.</span>
; {{anchor|parser|Parser}} 解析器 {{English term|parser}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a function to convert a string to a ZObject. The opposite of [[#renderer|renderer]].</span>
; {{anchor|pair|Pair}} <span lang="en" dir="ltr" class="mw-content-ltr">pair</span> {{English term|pair}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a compound ZObject that contains two ZObjects of specific (but arbitrary) type.</span>
; {{anchor|part_P1|Part_P1}} <span lang="en" dir="ltr" class="mw-content-ltr">Part P1</span> {{English term|Part P1}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the part of the [[#development_project|development project]] that deals with creating [[#Wikifunctions|Wikifunctions]]. It starts at the beginning of the project and goes on throughout its whole lifetime; see [[:m:Special:MyLanguage/Abstract Wikipedia/Tasks#Part P1: Wikifunctions|Part P1: Wikifunctions]].</span>
; {{anchor|part_P2|Part_P2}} <span lang="en" dir="ltr" class="mw-content-ltr">Part P2</span> {{English term|Part P2}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the part of the [[#development_project|development project]] that deals with creating [[#Abstract_Wikipedia|Abstract Wikipedia]]. It starts after about a year in the project and goes on throughout the second half of its lifetime; see [[:m:Special:MyLanguage/Abstract Wikipedia/Tasks#Part P2: Abstract Wikipedia|Part P2: Abstract Wikipedia]].</span>
; {{anchor|persistent|Persistent}} <span lang="en" dir="ltr" class="mw-content-ltr">persistent</span> {{English term|persistent}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#ZObject|ZObject]] with a [[#ZID|ZID]] and with its own page in the wiki. Most persistent ZObjects will include [[#value|values]] that are ZObjects with no ZID, and are therefore not persistent.</span>
; {{anchor|property|Property}} 屬性 {{English term|property}}
: <span lang="en" dir="ltr" class="mw-content-ltr">used to make a [[#Statement|statement]] about an [[#Item|Item]] in [[#Wikidata|Wikidata]]'s knowledge base; see [[:d:Wikidata:Glossary#Property|Property]] in the Wikidata glossary.</span>
== Q ==
; {{anchor|quote|Quote}} <span lang="en" dir="ltr" class="mw-content-ltr">quote</span> {{English term|quote}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a data structure that is not to be evaluated but kept verbatim.</span>
; {{anchor|QID}} QID {{English term|QID}}
: <span lang="en" dir="ltr" class="mw-content-ltr">identifier for an item in [[#Wikidata|Wikidata]], comprising the letter "Q" followed by an integer.</span>
== R ==
; {{anchor|reading function}} <span lang="en" dir="ltr" class="mw-content-ltr">reading function</span> {{English term|reading function}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a synonym of [[#parser|parser]]. A function that converts user text input from a string into a given Type. For example, converting the String "123456" to the Number '123456', or the string "2024-03-12" to the Date '2024', '03', '12'.</span>
; {{anchor|reference|Reference}} 參照 {{English term|reference}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an ID denoting the underlying object. For example, the string "Z11" refers to the Type Z11/Monolingual text.</span>
: {{TakeNote}}<span lang="en" dir="ltr" class="mw-content-ltr">This term has a completely different meaning than on Wikidata; see [[w:en:Reference (computer science)|Reference (computer science)]] in Wikipedia.</span>
; {{anchor|renderer|Renderer}} 轉譯器 {{English term|renderer}} (1)
: <span lang="en" dir="ltr" class="mw-content-ltr">a function to convert a ZObject to a string. The opposite of [[#parser|parser]]. (formerly called "linearizer")</span>
; <span lang="en" dir="ltr" class="mw-content-ltr">renderer</span> {{English term|renderer}} (2)
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#Function|function]] that gets a [[#Content|content]] and an identifier for a [[#natural_language|natural language]] as an input and returns text in that natural language as output, representing the content as concrete text, using knowledge from [[#Lexeme|lexemes]].</span>
: {{TakeNote}}<span lang="en" dir="ltr" class="mw-content-ltr">This is a future feature, and the meaning of the term "renderer" in the {{Pg|:m:Abstract Wikipedia/Historic proposal|original proposal}}; this term collides with the current usage of "renderer", so it may be renamed in the future.</span>
; {{anchor|reify}} <span lang="en" dir="ltr" class="mw-content-ltr">reify</span> {{English term|reify}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a function that deconstructs an object into its constituent parts so that the parts can be individually accessed; see [[w:en:Reification (computer science)|Reification]] in Wikipedia; see [[phab:T261474]].</span>
; {{anchor|REPL}} <span lang="en" dir="ltr" class="mw-content-ltr">REPL</span> {{English term|REPL}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a Read / Eval / Print - Loop, a command line interface that takes some input, evaluates it, and displays the result; see [[w:en:REPL|REPL]] in Wikipedia; see [[Special:MyLanguage/Wikifunctions:Function model#REPL|Function model]].</span>
== S ==
; {{anchor|schemata}} <span lang="en" dir="ltr" class="mw-content-ltr">schemata</span> {{English term|schemata}}
: <span lang="en" dir="ltr" class="mw-content-ltr">See [[#function schemata|function schemata]].</span>
; {{anchor|serialization|Serialization|serialisation|Serialisation}} <span lang="en" dir="ltr" class="mw-content-ltr">serialization</span> {{English term|serialization}}
: <span lang="en" dir="ltr" class="mw-content-ltr">Ways to represent [[#ZObject|ZObjects]] in [[#JSON|JSON]]; see also [[#canonical|canonical]], [[#normal|normal]].</span>
; {{anchor|statement|Statement}} <span lang="en" dir="ltr" class="mw-content-ltr">statement</span> {{English term|statement}}
: <span lang="en" dir="ltr" class="mw-content-ltr">used to provide knowledge about an [[#Item|Item]] in [[#Wikidata|Wikidata]]'s knowledge base; see [[:d:Wikidata:Glossary#Statement|Statement]] in the Wikidata glossary.</span>
; {{anchor|string}} 字串 {{English term|string}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a sequence of characters.</span>
; {{anchor|sum type|Sum type}} <span lang="en" dir="ltr" class="mw-content-ltr">sum type</span> {{English term|sum type}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a type that can have instances of any of its constituent types; see [[w:en:Sum type|Sum type]] in Wikipedia; see [[Special:MyLanguage/Wikifunctions:Function model#Zx/Sum_types|Function model]].</span>
== T ==
; {{anchor|template}} <span lang="en" dir="ltr" class="mw-content-ltr">template</span> {{English term|template}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a way to specify a [[#renderer|renderer]] as text interspersed with place-holders, or ''slots'', which can be filled with data from [[#constructor|constructors]], function calculation, or content from another template. See the document [[:m:Special:MyLanguage/Abstract Wikipedia/Template Language for Wikifunctions|Template Language for Wikifunctions]] for a detailed discussion of the template syntax.</span>
; {{anchor|tester|Tester}} <span lang="en" dir="ltr" class="mw-content-ltr">tester</span> {{English term|tester}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a way to automatically determine if a given [[#ZFunction|ZFunction]] is doing the right thing. A [[#function|function]] will typically have multiple testers, each specifying some input to the function and conditions the output for the given input must fulfil. For example, testers for a “title case” function might include: “abc” should become “Abc”; “war and peace” should become “War and Peace”; “война и мир” should become “Война и мир”; and “123” should remain “123”.</span>
; {{anchor|transient|Transient}} <span lang="en" dir="ltr" class="mw-content-ltr">transient</span> {{English term|transient}}
: <span lang="en" dir="ltr" class="mw-content-ltr">Opposite of [[#persistent|persistent]].</span>
; {{anchor|type|Type}} <span lang="en" dir="ltr" class="mw-content-ltr">type</span> {{English term|type}}
: <span lang="en" dir="ltr" class="mw-content-ltr">The type of an object tells us how to interpret and understand the given object, and what can be done with the object. For example, if we have an object with the value “2023”, depending on whether its type is integer, or year, or string, we understand that object differently. Every object refers to “a thing in the real world”. The integer 2023 is different from the year 2023. The type tells us how to interpret a given object, so that we know which thing in the real world it refers to. Technically, it defines how objects of that type are structured and what conditions they need to fulfill to be a valid object of that type.</span> <span lang="en" dir="ltr" class="mw-content-ltr">A type defines the conditions for a [[#ZObject|ZObject]] to be a valid instance of this type, by providing a [[#Function|function]] that validates a ZObject. Types are ZObjects themselves, so that contributors of [[#Wikifunctions|Wikifunctions]] can create new types.</span>
; {{anchor|type converter}} <span lang="en" dir="ltr" class="mw-content-ltr">type converter</span> {{English term|type converter}}
: <span lang="en" dir="ltr" class="mw-content-ltr">A script written in some programming language (such as JavaScript), taking a native object (such as BigInt), and returning a JSON object representing the corresponding ZObject; or ''vice versa''.</span>
; {{anchor|typed list|Typed List}} <span lang="en" dir="ltr" class="mw-content-ltr">typed list</span> {{English term|typed list}}
: <span lang="en" dir="ltr" class="mw-content-ltr">A typed list is a [[#list|list]] in which all members of the list are of a specific, predefined [[#type|type]]. For example, a typed list of [[#string|strings]] is a list in which all members of the list are strings. A typed list takes one argument: the type that all the members of the list have to be an instance of. Typed lists are probably the most widely used [[#generic type|generic type]].</span>
== V ==
; {{anchor|value}} 值 {{English term|value}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the string or [[#ZObject|ZObject]] associated with a [[#key|key]] in another ZObject.</span>
; {{anchor|validation|Validation}} <span lang="en" dir="ltr" class="mw-content-ltr">validation</span> {{English term|validation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">The action performed by the [[#validator|validator]].</span>
; {{anchor|validator|Validator}} <span lang="en" dir="ltr" class="mw-content-ltr">validator</span> {{English term|validator}}
: <span lang="en" dir="ltr" class="mw-content-ltr">A function taking a ZObject as argument and return a list of errors found.</span>
== W ==
; {{anchor|wiki|Wiki}} wiki {{English term|wiki}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a web site that allows for the easy and collaborative editing of its [[#page|pages]].</span>
; {{anchor|Wikidata}} 維基數據 {{English term|Wikidata}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a project of the [[#Wikimedia_Foundation|Wikimedia Foundation]], a free, collaboratively edited knowledge base; see [[:m:Special:MyLanguage/Wikidata|Wikidata]].</span>
; {{anchor|Wikifunctions}}{{anchor|Wikilambda}} 維基函式庫 {{English term|Wikifunctions}}
: <span lang="en" dir="ltr" class="mw-content-ltr">new project of the [[#Wikimedia_Foundation|Wikimedia Foundation]]; a free, collaboratively developed and maintained catalog of [[#Function|functions]]. It was initially known as '''Wikilambda''' in the {{Pg|:m:Abstract Wikipedia/Historic proposal|original proposal}} (that name is now used for the [[#WikiLambda|WikiLambda extension]]).</span>
; {{anchor|WikiLambda}} <span lang="en" dir="ltr" class="mw-content-ltr">WikiLambda</span> {{English term|WikiLambda}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the software used to power the project, [[mw:Special:MyLanguage/Extension:WikiLambda|Extension:WikiLambda]].</span>
; {{anchor|WikiLambda system}} <span lang="en" dir="ltr" class="mw-content-ltr">WikiLambda system</span> {{English term|WikiLambda system}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an automated system account that is a key part of the WikiLambda extension. See [[User:WikiLambda system]] for its current function.</span>
; {{anchor|WMF|Wikimedia_Foundation}} 維基媒體基金會 {{English term|Wikimedia Foundation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">organization that supports the Wikimedia movement; see [[:m:Special:MyLanguage/Wikimedia Foundation|Wikimedia Foundation]].</span>
; {{anchor|Wikipedia}} <span lang="en" dir="ltr" class="mw-content-ltr">Wikipedia</span> {{English term|Wikipedia}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a project of the [[#Wikimedia_Foundation|Wikimedia Foundation]], a free, collaboratively edited encyclopedia; see [[:m:Special:MyLanguage/Wikipedia|Wikipedia]].</span>
; <span lang="en" dir="ltr" class="mw-content-ltr">Wikipedia, Abstract</span> {{English term|Wikipedia, Abstract}}
: <span lang="en" dir="ltr" class="mw-content-ltr">see [[#Abstract_Wikipedia|Abstract Wikipedia]].</span>
; <span lang="en" dir="ltr" class="mw-content-ltr">Wikipedia, multilingual</span> {{English term|Wikipedia, multilingual}}
: <span lang="en" dir="ltr" class="mw-content-ltr">see [[#multilingual_Wikipedia|multilingual Wikipedia]].</span>
== Z ==
; {{anchor|ZID|ZIDs}} ZID {{English term|ZID}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an ID starting with the letter Z and followed by a natural number. Used to identify [[#persistent|persistent]] [[#ZObject|ZObjects]].</span>
; {{anchor|zfunction|ZFunction}} <span lang="en" dir="ltr" class="mw-content-ltr">ZFunction</span> {{English term|ZFunction}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a wiki page on [[#Wikifunctions|Wikifunctions]] that describes a particular [[#function|function]] that can be used through the [[#evaluator|evaluator]]. Each ZFunction can be realised in code by one or more [[#implementation|Implementations]], and said implementations can be verified as correct by one or more [[#tester|Tester]] ZFunctions.</span>
; {{anchor|ZKey}} <span lang="en" dir="ltr" class="mw-content-ltr">ZKey</span> {{English term|ZKey}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#ZObject|ZObject]] defining a [[#key|key]] for a particular [[#type|type]].</span>
; {{anchor|ZList}} <span lang="en" dir="ltr" class="mw-content-ltr">ZList</span> {{English term|ZList}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#ZObject|ZObject]] for an ordered sequence of other ZObjects.</span>
; {{anchor|ZObject}} <span lang="en" dir="ltr" class="mw-content-ltr">ZObject</span> {{English term|ZObject}}
: <span lang="en" dir="ltr" class="mw-content-ltr">every entry in [[#Wikifunctions|Wikifunctions]] is a ZObject. ZObjects stored in Wikifunctions have [[#ZID|ZIDs]] and can be of numerous types, such as [[#Constructor|Constructors]], [[#Function|Functions]], [[#Type|Types]], etc. A ZObject consists of a set of [[#Key|Key]]/[[#Value|Value]] pairs, with each Key appearing only once per ZObject and Values being ZObjects.</span>
; {{anchor|ZUnit}} <span lang="en" dir="ltr" class="mw-content-ltr">ZUnit</span> {{English term|ZUnit}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#ZObject|ZObject]] that represents a [[:w:en:Unit type|Unit type]].</span>
[[Category:Glossary| {{#translation:}}]]
ruutpsjqokhaygf0w4bz18ooxuwue70
200123
200121
2025-07-03T10:09:45Z
Winston Sung
2672
Created page with "調用"
200123
wikitext
text/x-wiki
<noinclude><languages/>
<!--<nowiki>(nowiki tags are so that the translate extension doesn't try to translate the TERM and DEFINITION in this boilerplate).
Use this boilerplate for a new term:
; {{anchor|term|Term}} <translate>term</translate> {{English term|term}}
: ''Definition verification needed''
: <translate>definition</translate>
Notes:
1. Omit the "Definition verification" if you're sure that your definition is correct.
2. You can add several values for anchor, if it has spelling or capitalization variants; see the documentation for Template:Anchor and examples in other terms.
</nowiki>--></noinclude>
<span lang="en" dir="ltr" class="mw-content-ltr">Feel free to ask for terms on the [[Wikifunctions talk:Glossary|talk page]], or to add more terms and improve the definitions.</span>
{|class="toccolours" style="margin:.2em auto;padding:.2em .5em;text-align:center" dir="ltr" lang="en"
|-
|style="padding:0;width:100%"|{{CompactTOC}}
|}
== A ==
; {{anchor|abstract|Abstract}} 抽象 {{English term|abstract}}
: <span lang="en" dir="ltr" class="mw-content-ltr">not in a specific [[#natural_language|natural language]] but abstracting from it; aiming to provide a notation for the meaning behind natural language texts, sentences, or phrases. The opposite of [[#concrete|concrete]].</span>
; {{anchor|abstracttext|AbstractText}} <span lang="en" dir="ltr" class="mw-content-ltr">AbstractText</span> {{English term|AbstractText}}
: <span lang="en" dir="ltr" class="mw-content-ltr">prototype [https://github.com/google/abstracttext implementation] of the [[#Wikifunctions|Wikifunctions]] idea.</span>
; {{anchor|abstract_content}} 抽象內容 {{English term|abstract content}}
: <span lang="en" dir="ltr" class="mw-content-ltr">see [[#Content|content]].</span>
; {{anchor|abstract_Wikipedia|Abstract_Wikipedia}} 抽象維基百科 {{English term|Abstract Wikipedia}}
: <span lang="en" dir="ltr" class="mw-content-ltr">preliminary name of all the [[#Content|Content]] that can be used by [[#local_Wikipedia|local Wikipedias]] to [[#Renderer|render]] an [[#article|article]] in [[#natural_language|natural language]]; currently proposed to live in [[#Wikidata|Wikidata]] next to the corresponding [[#Item|Item]], but that will be discussed before [[#Part_P2|Part P2]] of the [[#development_project|development project]].</span>
; {{anchor|alias}} 別名 {{English term|alias}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an alternative label for an object, used foremost to find the object.</span>
; {{anchor|argument}} 引數 {{English term|argument}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an input given to a [[#function call|function call]].</span>
; {{anchor|argument reference}} 引數參照 {{English term|argument reference}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#reference|reference]] to one of the supplied arguments within a [[#composition|composition]].</span>
; {{anchor|array}} 陣列 {{English term|array}}
: <span lang="en" dir="ltr" class="mw-content-ltr">Many programming languages have an "array" type. The counterparts in Wikifunctions are [[#list|list]] and [[#typed list|typed list]]. See also [[#Benjamin array|Benjamin array]].</span>
; {{anchor|article|Article}} 條目 {{English term|article}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a page in the main namespace of [[#Wikipedia|Wikipedia]], usually representing one entry in Wikipedia.</span>
== B ==
; {{anchor|Benjamin array}} <span lang="en" dir="ltr" class="mw-content-ltr">Benjamin array</span> {{English term|Benjamin array}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a way to denote [[#typed list|typed list]] proposed by Benjamin Degenhart, where a typed list is stored as a JSON list whose first element denotes the type. This is in contrast with the previous proposed schema, which uses LISP-style singly-linked lists, in which the type must be stored once in each node.</span>
; {{anchor|boolean|Boolean}} 布林值 {{English term|boolean}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a value that can have 2 states, usually denoted true and false.</span>
; {{anchor|built-in|builtin}} 內建 {{English term|built-in}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a native implementation of a function that is provided by the evaluator and that is not editable through the wiki interface.</span>
== C ==
; {{anchor|call}} 呼叫 {{English term|call}}
: <span lang="en" dir="ltr" class="mw-content-ltr">see [[#function call|function call]]. In English, the term [[#invoke|invoke or invocation]] may also be used.</span>
; {{anchor|canonical|canonicalized|canonicalised}} <span lang="en" dir="ltr" class="mw-content-ltr">canonical, canonicalized, canonicalised</span> {{English term|canonical, canonicalized, canonicalised}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a specific, less verbose and thus more readable way to represent [[#ZObject|ZObjects]] in [[#JSON|JSON]]; it is the usual representation ZObjects are stored in [[#Wikifunctions|Wikifunctions]]. This is opposed to [[#normal|normal]].</span>
; {{anchor|character}} 字元 {{English term|character}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a character as defined by Unicode, a constituent of a String; a character can consist of several bytes (or octets).</span>
; {{anchor|composition}} 組成 {{English term|composition}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a form of implementation of a function, where the implementation is given by the combination of other functions; see [[Special:MyLanguage/Wikifunctions:Function model#Composition|Function model]].</span>
; {{anchor|composition notation}} <span lang="en" dir="ltr" class="mw-content-ltr">composition notation</span> {{English term|composition notation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an easy-to-read notation for compositions; see [[Special:MyLanguage/Wikifunctions:Function model#Composition|Function model]].</span>
; {{anchor|concrete|Concrete}} <span lang="en" dir="ltr" class="mw-content-ltr">concrete</span> {{English term|concrete}}
: <span lang="en" dir="ltr" class="mw-content-ltr">in a specific [[#natural_language|natural language]]. The opposite of [[#abstract|abstract]].</span>
; {{anchor|cons}} <span lang="en" dir="ltr" class="mw-content-ltr">cons</span> {{English term|cons}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a function to create a new list by adding an element at the top of it; see [[phab:T261474]].</span> <span lang="en" dir="ltr" class="mw-content-ltr">See [[w:cons|cons]] in Wikipedia.</span>
; {{anchor|constructor|Constructor}} <span lang="en" dir="ltr" class="mw-content-ltr">constructor</span> {{English term|constructor}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an [[#abstract|abstract]] building block of [[#Content|content]]. A constructor aims to capture the meaning of a single phrase or sentence structure. It often has slots that can take other constructors, and can itself be used as a value to fill the slots of other constructors.</span>
; {{anchor|Content}}<!--do not add |content to the anchor, it is used by MediaWiki--> <span lang="en" dir="ltr" class="mw-content-ltr">content, abstract content</span> {{English term|content, abstract content}}
: <span lang="en" dir="ltr" class="mw-content-ltr">abstract representation of a text or text fragment, assembled from [[#Constructor|constructors]]. Technically, an instance of a constructor. The top level constructor is used to represent a whole [[#article|article]] and stored in [[#Abstract_Wikipedia|Abstract Wikipedia]], but content can be also for just a sentence or phrase. Sometimes called abstract content.</span>
; {{anchor|curry}} <span lang="en" dir="ltr" class="mw-content-ltr">curried, curry, currying</span> {{English term|curried, curry, currying}}
: <span lang="en" dir="ltr" class="mw-content-ltr">A curried function is a function that was translated from taking multiple arguments into a sequence of functions, each with a single argument. This technique is named after the American mathematician [[:w:en:Haskell Curry|Haskell Curry]]. See [[:w:en:Currying|Currying]] in Wikipedia.</span>
== D ==
; {{anchor|deserialization|Deserialization|deserialisation|Deserialisation}} <span lang="en" dir="ltr" class="mw-content-ltr">deserialization</span> {{English term|deserialization}}
: <span lang="en" dir="ltr" class="mw-content-ltr">Opposite of [[#serialization|serialization]].</span>
; {{anchor|development_project|Development_project}} 開發專案 {{English term|development project}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a project to develop [[#Wikifunctions|Wikifunctions]] and [[#Abstract_Wikipedia|Abstract Wikipedia]]; see [[:m:Special:MyLanguage/Abstract Wikipedia/Plan|Abstract Wikipedia plan]].</span>
; {{anchor|display function}} 顯示函式 {{English term|display function}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a synonym of [[#renderer|renderer]]. For example, a function that converts a [[#type|type]] into a string that users can understand, such as converting a Number 123456 to "123,456" in (International) English, "1,23,456" in Indian English, "123.456" in French, etc., or converting the Date '2024','03','12' to '2024-03-12', and so on.</span>
; {{anchor|documentation}} 說明文件 {{English term|documentation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">human-readable text explaining an object.</span>
== E ==
; {{anchor|eney|eneyjj}} <span lang="en" dir="ltr" class="mw-content-ltr">eneyj</span> {{English term|eneyj}}
:# <span lang="en" dir="ltr" class="mw-content-ltr">prototype model of [[#Wikifunctions|Wikifunctions]];</span>
:# <span lang="en" dir="ltr" class="mw-content-ltr">a JavaScript implementation of an [[#evaluator|evaluator]] of that model provided in [[#abstracttext|abstracttext]].</span>
; {{anchor|error|Error}} 錯誤 {{English term|error}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a type whose instances indicate problems in [[#evaluation|evaluation]] or [[#validation|validation]]; see [[Special:MyLanguage/Wikifunctions:Function model#Z5/Errors|Function model]].</span>
; {{anchor|evaluation|Evaluation}} <span lang="en" dir="ltr" class="mw-content-ltr">evaluation</span> {{English term|evaluation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">The action performed by the [[#evaluator|evaluator]].</span>
; {{anchor|evaluator|Evaluator}} <span lang="en" dir="ltr" class="mw-content-ltr">evaluator</span> {{English term|evaluator}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a piece of software that takes a [[#ZObject|ZObject]] and evaluates it, that is executes a [[#Function|Function]] and returns the result. We envision the development of several evaluators. Evaluators may be implemented and run in the browser, on the server of the [[#Wikimedia_Foundation|Wikimedia Foundation]], in the cloud, in an app on a mobile device, or other places. Compare to [[#executor|executor]] and [[#orchestrator|orchestrator]].</span>
; {{anchor|execution|Execution}} 執行 {{English term|execution}}
: <span lang="en" dir="ltr" class="mw-content-ltr">The action performed by the [[#executor|executor]].</span>
; {{anchor|executor|Executor|executors|Executors}} <span lang="en" dir="ltr" class="mw-content-ltr">executor</span> {{English term|executor}}
: <span lang="en" dir="ltr" class="mw-content-ltr">one of a set of internal services which are not exposed to the public. They can be only called by the [[#Orchestrator|orchestrator]]. They run native code in a specific programming language. There would be one executor for Lua, one for JavaScript, one for Python, etc. See [https://gitlab.wikimedia.org/repos/abstract-wiki/wikifunctions/function-evaluator#executors the service documentation]. Compare to [[#evaluator|evaluator]] and [[#orchestrator|orchestrator]].</span>
== F ==
; {{anchor|function|Function}} 函式 {{English term|function}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the specification of a computation that takes some input and returns output; see [[w:en:Function (computer science)|Function (computer science)]] in Wikipedia.</span>
; {{anchor|function call|Function call}} 函式呼叫 {{English term|function call}}
: <span lang="en" dir="ltr" class="mw-content-ltr">A function call is a ZObject consisting of a function and the required arguments for the function, and can be evaluated to another ZObject. In English, the term "invoke" may also be used.</span>
; {{anchor|function evaluator}} <span lang="en" dir="ltr" class="mw-content-ltr">function evaluator</span> {{English term|function evaluator}}
: <span lang="en" dir="ltr" class="mw-content-ltr">See [[#evaluator|evaluator]].</span>
; {{anchor|function executor}} <span lang="en" dir="ltr" class="mw-content-ltr">function executor</span> {{English term|function executor}}
: <span lang="en" dir="ltr" class="mw-content-ltr">See [[#executor|executor]].</span>
; {{anchor|function model}} 函式模型 {{English term|function model}}
: 請參閱[[Special:MyLanguage/Wikifunctions:Function model|函式模型]]。
; {{anchor|function orchestrator}} <span lang="en" dir="ltr" class="mw-content-ltr">function orchestrator</span> {{English term|function orchestrator}}
: <span lang="en" dir="ltr" class="mw-content-ltr">See [[#orchestrator|orchestrator]].</span>
; {{anchor|function schemata}} <span lang="en" dir="ltr" class="mw-content-ltr">function schemata</span> {{English term|function schemata}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a set of pre-defined ZObjects used in [[#orchestrator|orchestrator]] and [[#evaluator|evaluator]]. The [[#WikiLambda system|WikiLambda system account]] also populates pre-defined ZObjects on-wiki from function schemata.</span>
; {{anchor|functional}} <span lang="en" dir="ltr" class="mw-content-ltr">functional</span> {{English term|functional}}
: <span lang="en" dir="ltr" class="mw-content-ltr">short for "purely functional", meaning that the [[#evaluation|evaluation]] of such a function has no side-effects and is deterministic, that is always the same; see [[w:en:Purely functional programming|Purely functional programming]] in Wikipedia; see [[Special:MyLanguage/Wikifunctions:Function model#non-functional|Function model]].</span>
== G ==
; {{anchor|generic type}} <span lang="en" dir="ltr" class="mw-content-ltr">generic type</span> {{English term|generic type}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a type generated by [[#evaluation|evaluation]] of a function call.</span>
== I ==
; {{anchor|identity|Identity}} 識別物件 {{English term|identity}}
: <span lang="en" dir="ltr" class="mw-content-ltr">The identity of a type is an instance of (specific) function that evaluates to the type. For a simple type, it is a reference to the type itself.</span>
; {{anchor|implementation|Implementation}} 實作 {{English term|implementation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a particular way to execute a [[#function|function]]. An implementation may be a piece of code in a certain programming language, refer to functionality “built into” the [[#evaluator|evaluator]], or [[#composition|compose]] calls to other functions. A function may have many implementations, which should all be equivalent. Short for "[[#ZFunction|ZFunction]] implementation".</span>
; {{anchor|instance}} 實例 {{English term|instance}}
: <span lang="en" dir="ltr" class="mw-content-ltr">Every ZObject is an instance of its type.</span>
; {{anchor|invoke}} 調用 {{English term|invoke}}
: <span lang="en" dir="ltr" class="mw-content-ltr">synonym for [[#call|call]] in English. See [[#function call|function call]].</span>
; {{anchor|item|Item}} 項目 {{English term|item}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an entry in [[#Wikidata|Wikidata]]'s knowledge base; see [[:d:Wikidata:Glossary#Item|Item]] in the Wikidata glossary.</span>
== J ==
; {{anchor|JSON}} JSON {{English term|JSON}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a widely used data transfer format; see [[w:en:JSON|JSON]] in Wikipedia.</span>
== K ==
; {{anchor|key|Key}} 鍵 {{English term|key}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a string which ends with the letter K followed by a natural number, and is optionally preceded by a [[#ZID|ZID]]. Keys are defined in [[#Wikifunctions|Wikifunctions]] usually on [[#Type|Types]] or [[#Function|Functions]], and are used to build up [[#ZObject|ZObjects]].</span>
== L ==
; {{anchor|label}} <span lang="en" dir="ltr" class="mw-content-ltr">label</span> {{English term|label}}
: <span lang="en" dir="ltr" class="mw-content-ltr">main name given to identify a ZObject. May only be plain text.</span>
; {{anchor|lexeme|Lexeme}} <span lang="en" dir="ltr" class="mw-content-ltr">lexeme</span> {{English term|lexeme}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an entry in [[#Wikidata|Wikidata]] storing lexicographic knowledge about, roughly, a word; see [[d:Wikidata:Glossary#Lexeme|Lexeme]] in the Wikidata glossary.</span>
; {{anchor|linearizer|Linearizer}} <span lang="en" dir="ltr" class="mw-content-ltr">linearizer</span> {{English term|linearizer}}
: <span lang="en" dir="ltr" class="mw-content-ltr">(this term is no longer used in current terminology, but can still be found in older documents) synonym of [[#renderer|renderer]] (1).</span>
; {{anchor|list|List}} <span lang="en" dir="ltr" class="mw-content-ltr">list</span> {{English term|list}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a data type that groups an arbitrary number of instances in an ordered entity; see [[w:en:List (abstract data type)|List (abstract data type)]] in Wikipedia.</span>
; {{anchor|literal}} <span lang="en" dir="ltr" class="mw-content-ltr">literal</span> {{English term|literal}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a value that is not a ZObject. Currently the only accepted literal is string.</span>
; {{anchor|local_Wikipedia|Local_Wikipedia}} <span lang="en" dir="ltr" class="mw-content-ltr">local Wikipedia</span> {{English term|local Wikipedia}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#Wikipedia|Wikipedia]] in a specific language, such as Hebrew Wikipedia, Japanese Wikipedia, or Italian Wikipedia.</span>
== M ==
; {{anchor|Multlingual_Wikipedia|multilingual_Wikipedia}} <span lang="en" dir="ltr" class="mw-content-ltr">multilingual Wikipedia</span> {{English term|multilingual Wikipedia}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the architecture that allows [[#local_Wikipedia|local Wikipedias]] to enrich themselves by [[#Renderer|rendering]] the [[#Content|Content]] from [[#Abstract_Wikipedia|Abstract Wikipedia]] and thus have a more comprehensive, current, and correct Wikipedia in their language; see [[:m:Special:MyLanguage/Abstract Wikipedia/Architecture|Abstract Wikipedia architecture]].</span>
== N ==
; {{anchor|natural_language|Natural_language}} <span lang="en" dir="ltr" class="mw-content-ltr">natural language</span> {{English term|natural language}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a specific natural language in the wider sense, such as English, Tagalog, or Swahili; see [[w:en:Natural language|Natural language]] in Wikipedia.</span>
; {{anchor|normal|Normal|normalized|Normalized|normalised}} <span lang="en" dir="ltr" class="mw-content-ltr">normal</span> {{English term|normal}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an extended, easily processable and very uniform way to represent [[#ZObject|ZObjects]] in [[#JSON|JSON]]. This is opposed to [[#canonical|canonical]].</span>
; {{anchor|nothing|Nothing}} <span lang="en" dir="ltr" class="mw-content-ltr">nothing</span> {{English term|nothing}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a data type that can have no instances; see [[w:en:Bottom type|Bottom type]] in Wikipedia.</span>
== O ==
; {{anchor|object|Object}} 物件 {{English term|object}}
:# <span lang="en" dir="ltr" class="mw-content-ltr">In JavaScript or JSON, an object is basically an associative array; see [[w:en:Associative array|Associative array]] in Wikipedia.</span>
:# <span lang="en" dir="ltr" class="mw-content-ltr">In Wikifunctions, synonym of [[#ZObject|ZObject]].</span>
; {{anchor|orchestration|Orchestration}} <span lang="en" dir="ltr" class="mw-content-ltr">orchestration</span> {{English term|orchestration}}
:<span lang="en" dir="ltr" class="mw-content-ltr">The action performed by the [[#orchestrator|orchestrator]].</span>
; {{anchor|orchestrator|Orchestrator}} <span lang="en" dir="ltr" class="mw-content-ltr">orchestrator</span> {{English term|orchestrator}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a service that takes a [[#ZObject|ZObject]] and returns an [[#Evaluator|evaluated]] version of it. To do this, it will make calls to the wiki for other ZObjects it needs, to the [[#Executor|executor]] to evaluate some function calls, and other services such as [[#Wikidata|Wikidata]]. See [https://gitlab.wikimedia.org/repos/abstract-wiki/wikifunctions/function-orchestrator#wikifunctions-function-orchestrator the service documentation]. Compare to [[#evaluator|evaluator]] and [[#executor|executor]].</span>
== P ==
; {{anchor|page|Page}} 頁面 {{English term|page}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a part of a wiki. A [[#wiki|wiki]] consists of a number of individual pages, which can be edited independently, have internal links to each other, etc.</span>
; {{anchor|parser|Parser}} 解析器 {{English term|parser}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a function to convert a string to a ZObject. The opposite of [[#renderer|renderer]].</span>
; {{anchor|pair|Pair}} <span lang="en" dir="ltr" class="mw-content-ltr">pair</span> {{English term|pair}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a compound ZObject that contains two ZObjects of specific (but arbitrary) type.</span>
; {{anchor|part_P1|Part_P1}} <span lang="en" dir="ltr" class="mw-content-ltr">Part P1</span> {{English term|Part P1}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the part of the [[#development_project|development project]] that deals with creating [[#Wikifunctions|Wikifunctions]]. It starts at the beginning of the project and goes on throughout its whole lifetime; see [[:m:Special:MyLanguage/Abstract Wikipedia/Tasks#Part P1: Wikifunctions|Part P1: Wikifunctions]].</span>
; {{anchor|part_P2|Part_P2}} <span lang="en" dir="ltr" class="mw-content-ltr">Part P2</span> {{English term|Part P2}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the part of the [[#development_project|development project]] that deals with creating [[#Abstract_Wikipedia|Abstract Wikipedia]]. It starts after about a year in the project and goes on throughout the second half of its lifetime; see [[:m:Special:MyLanguage/Abstract Wikipedia/Tasks#Part P2: Abstract Wikipedia|Part P2: Abstract Wikipedia]].</span>
; {{anchor|persistent|Persistent}} <span lang="en" dir="ltr" class="mw-content-ltr">persistent</span> {{English term|persistent}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#ZObject|ZObject]] with a [[#ZID|ZID]] and with its own page in the wiki. Most persistent ZObjects will include [[#value|values]] that are ZObjects with no ZID, and are therefore not persistent.</span>
; {{anchor|property|Property}} 屬性 {{English term|property}}
: <span lang="en" dir="ltr" class="mw-content-ltr">used to make a [[#Statement|statement]] about an [[#Item|Item]] in [[#Wikidata|Wikidata]]'s knowledge base; see [[:d:Wikidata:Glossary#Property|Property]] in the Wikidata glossary.</span>
== Q ==
; {{anchor|quote|Quote}} <span lang="en" dir="ltr" class="mw-content-ltr">quote</span> {{English term|quote}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a data structure that is not to be evaluated but kept verbatim.</span>
; {{anchor|QID}} QID {{English term|QID}}
: <span lang="en" dir="ltr" class="mw-content-ltr">identifier for an item in [[#Wikidata|Wikidata]], comprising the letter "Q" followed by an integer.</span>
== R ==
; {{anchor|reading function}} <span lang="en" dir="ltr" class="mw-content-ltr">reading function</span> {{English term|reading function}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a synonym of [[#parser|parser]]. A function that converts user text input from a string into a given Type. For example, converting the String "123456" to the Number '123456', or the string "2024-03-12" to the Date '2024', '03', '12'.</span>
; {{anchor|reference|Reference}} 參照 {{English term|reference}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an ID denoting the underlying object. For example, the string "Z11" refers to the Type Z11/Monolingual text.</span>
: {{TakeNote}}<span lang="en" dir="ltr" class="mw-content-ltr">This term has a completely different meaning than on Wikidata; see [[w:en:Reference (computer science)|Reference (computer science)]] in Wikipedia.</span>
; {{anchor|renderer|Renderer}} 轉譯器 {{English term|renderer}} (1)
: <span lang="en" dir="ltr" class="mw-content-ltr">a function to convert a ZObject to a string. The opposite of [[#parser|parser]]. (formerly called "linearizer")</span>
; <span lang="en" dir="ltr" class="mw-content-ltr">renderer</span> {{English term|renderer}} (2)
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#Function|function]] that gets a [[#Content|content]] and an identifier for a [[#natural_language|natural language]] as an input and returns text in that natural language as output, representing the content as concrete text, using knowledge from [[#Lexeme|lexemes]].</span>
: {{TakeNote}}<span lang="en" dir="ltr" class="mw-content-ltr">This is a future feature, and the meaning of the term "renderer" in the {{Pg|:m:Abstract Wikipedia/Historic proposal|original proposal}}; this term collides with the current usage of "renderer", so it may be renamed in the future.</span>
; {{anchor|reify}} <span lang="en" dir="ltr" class="mw-content-ltr">reify</span> {{English term|reify}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a function that deconstructs an object into its constituent parts so that the parts can be individually accessed; see [[w:en:Reification (computer science)|Reification]] in Wikipedia; see [[phab:T261474]].</span>
; {{anchor|REPL}} <span lang="en" dir="ltr" class="mw-content-ltr">REPL</span> {{English term|REPL}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a Read / Eval / Print - Loop, a command line interface that takes some input, evaluates it, and displays the result; see [[w:en:REPL|REPL]] in Wikipedia; see [[Special:MyLanguage/Wikifunctions:Function model#REPL|Function model]].</span>
== S ==
; {{anchor|schemata}} <span lang="en" dir="ltr" class="mw-content-ltr">schemata</span> {{English term|schemata}}
: <span lang="en" dir="ltr" class="mw-content-ltr">See [[#function schemata|function schemata]].</span>
; {{anchor|serialization|Serialization|serialisation|Serialisation}} <span lang="en" dir="ltr" class="mw-content-ltr">serialization</span> {{English term|serialization}}
: <span lang="en" dir="ltr" class="mw-content-ltr">Ways to represent [[#ZObject|ZObjects]] in [[#JSON|JSON]]; see also [[#canonical|canonical]], [[#normal|normal]].</span>
; {{anchor|statement|Statement}} <span lang="en" dir="ltr" class="mw-content-ltr">statement</span> {{English term|statement}}
: <span lang="en" dir="ltr" class="mw-content-ltr">used to provide knowledge about an [[#Item|Item]] in [[#Wikidata|Wikidata]]'s knowledge base; see [[:d:Wikidata:Glossary#Statement|Statement]] in the Wikidata glossary.</span>
; {{anchor|string}} 字串 {{English term|string}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a sequence of characters.</span>
; {{anchor|sum type|Sum type}} <span lang="en" dir="ltr" class="mw-content-ltr">sum type</span> {{English term|sum type}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a type that can have instances of any of its constituent types; see [[w:en:Sum type|Sum type]] in Wikipedia; see [[Special:MyLanguage/Wikifunctions:Function model#Zx/Sum_types|Function model]].</span>
== T ==
; {{anchor|template}} <span lang="en" dir="ltr" class="mw-content-ltr">template</span> {{English term|template}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a way to specify a [[#renderer|renderer]] as text interspersed with place-holders, or ''slots'', which can be filled with data from [[#constructor|constructors]], function calculation, or content from another template. See the document [[:m:Special:MyLanguage/Abstract Wikipedia/Template Language for Wikifunctions|Template Language for Wikifunctions]] for a detailed discussion of the template syntax.</span>
; {{anchor|tester|Tester}} <span lang="en" dir="ltr" class="mw-content-ltr">tester</span> {{English term|tester}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a way to automatically determine if a given [[#ZFunction|ZFunction]] is doing the right thing. A [[#function|function]] will typically have multiple testers, each specifying some input to the function and conditions the output for the given input must fulfil. For example, testers for a “title case” function might include: “abc” should become “Abc”; “war and peace” should become “War and Peace”; “война и мир” should become “Война и мир”; and “123” should remain “123”.</span>
; {{anchor|transient|Transient}} <span lang="en" dir="ltr" class="mw-content-ltr">transient</span> {{English term|transient}}
: <span lang="en" dir="ltr" class="mw-content-ltr">Opposite of [[#persistent|persistent]].</span>
; {{anchor|type|Type}} <span lang="en" dir="ltr" class="mw-content-ltr">type</span> {{English term|type}}
: <span lang="en" dir="ltr" class="mw-content-ltr">The type of an object tells us how to interpret and understand the given object, and what can be done with the object. For example, if we have an object with the value “2023”, depending on whether its type is integer, or year, or string, we understand that object differently. Every object refers to “a thing in the real world”. The integer 2023 is different from the year 2023. The type tells us how to interpret a given object, so that we know which thing in the real world it refers to. Technically, it defines how objects of that type are structured and what conditions they need to fulfill to be a valid object of that type.</span> <span lang="en" dir="ltr" class="mw-content-ltr">A type defines the conditions for a [[#ZObject|ZObject]] to be a valid instance of this type, by providing a [[#Function|function]] that validates a ZObject. Types are ZObjects themselves, so that contributors of [[#Wikifunctions|Wikifunctions]] can create new types.</span>
; {{anchor|type converter}} <span lang="en" dir="ltr" class="mw-content-ltr">type converter</span> {{English term|type converter}}
: <span lang="en" dir="ltr" class="mw-content-ltr">A script written in some programming language (such as JavaScript), taking a native object (such as BigInt), and returning a JSON object representing the corresponding ZObject; or ''vice versa''.</span>
; {{anchor|typed list|Typed List}} <span lang="en" dir="ltr" class="mw-content-ltr">typed list</span> {{English term|typed list}}
: <span lang="en" dir="ltr" class="mw-content-ltr">A typed list is a [[#list|list]] in which all members of the list are of a specific, predefined [[#type|type]]. For example, a typed list of [[#string|strings]] is a list in which all members of the list are strings. A typed list takes one argument: the type that all the members of the list have to be an instance of. Typed lists are probably the most widely used [[#generic type|generic type]].</span>
== V ==
; {{anchor|value}} 值 {{English term|value}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the string or [[#ZObject|ZObject]] associated with a [[#key|key]] in another ZObject.</span>
; {{anchor|validation|Validation}} <span lang="en" dir="ltr" class="mw-content-ltr">validation</span> {{English term|validation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">The action performed by the [[#validator|validator]].</span>
; {{anchor|validator|Validator}} <span lang="en" dir="ltr" class="mw-content-ltr">validator</span> {{English term|validator}}
: <span lang="en" dir="ltr" class="mw-content-ltr">A function taking a ZObject as argument and return a list of errors found.</span>
== W ==
; {{anchor|wiki|Wiki}} wiki {{English term|wiki}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a web site that allows for the easy and collaborative editing of its [[#page|pages]].</span>
; {{anchor|Wikidata}} 維基數據 {{English term|Wikidata}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a project of the [[#Wikimedia_Foundation|Wikimedia Foundation]], a free, collaboratively edited knowledge base; see [[:m:Special:MyLanguage/Wikidata|Wikidata]].</span>
; {{anchor|Wikifunctions}}{{anchor|Wikilambda}} 維基函式庫 {{English term|Wikifunctions}}
: <span lang="en" dir="ltr" class="mw-content-ltr">new project of the [[#Wikimedia_Foundation|Wikimedia Foundation]]; a free, collaboratively developed and maintained catalog of [[#Function|functions]]. It was initially known as '''Wikilambda''' in the {{Pg|:m:Abstract Wikipedia/Historic proposal|original proposal}} (that name is now used for the [[#WikiLambda|WikiLambda extension]]).</span>
; {{anchor|WikiLambda}} <span lang="en" dir="ltr" class="mw-content-ltr">WikiLambda</span> {{English term|WikiLambda}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the software used to power the project, [[mw:Special:MyLanguage/Extension:WikiLambda|Extension:WikiLambda]].</span>
; {{anchor|WikiLambda system}} <span lang="en" dir="ltr" class="mw-content-ltr">WikiLambda system</span> {{English term|WikiLambda system}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an automated system account that is a key part of the WikiLambda extension. See [[User:WikiLambda system]] for its current function.</span>
; {{anchor|WMF|Wikimedia_Foundation}} 維基媒體基金會 {{English term|Wikimedia Foundation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">organization that supports the Wikimedia movement; see [[:m:Special:MyLanguage/Wikimedia Foundation|Wikimedia Foundation]].</span>
; {{anchor|Wikipedia}} <span lang="en" dir="ltr" class="mw-content-ltr">Wikipedia</span> {{English term|Wikipedia}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a project of the [[#Wikimedia_Foundation|Wikimedia Foundation]], a free, collaboratively edited encyclopedia; see [[:m:Special:MyLanguage/Wikipedia|Wikipedia]].</span>
; <span lang="en" dir="ltr" class="mw-content-ltr">Wikipedia, Abstract</span> {{English term|Wikipedia, Abstract}}
: <span lang="en" dir="ltr" class="mw-content-ltr">see [[#Abstract_Wikipedia|Abstract Wikipedia]].</span>
; <span lang="en" dir="ltr" class="mw-content-ltr">Wikipedia, multilingual</span> {{English term|Wikipedia, multilingual}}
: <span lang="en" dir="ltr" class="mw-content-ltr">see [[#multilingual_Wikipedia|multilingual Wikipedia]].</span>
== Z ==
; {{anchor|ZID|ZIDs}} ZID {{English term|ZID}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an ID starting with the letter Z and followed by a natural number. Used to identify [[#persistent|persistent]] [[#ZObject|ZObjects]].</span>
; {{anchor|zfunction|ZFunction}} <span lang="en" dir="ltr" class="mw-content-ltr">ZFunction</span> {{English term|ZFunction}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a wiki page on [[#Wikifunctions|Wikifunctions]] that describes a particular [[#function|function]] that can be used through the [[#evaluator|evaluator]]. Each ZFunction can be realised in code by one or more [[#implementation|Implementations]], and said implementations can be verified as correct by one or more [[#tester|Tester]] ZFunctions.</span>
; {{anchor|ZKey}} <span lang="en" dir="ltr" class="mw-content-ltr">ZKey</span> {{English term|ZKey}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#ZObject|ZObject]] defining a [[#key|key]] for a particular [[#type|type]].</span>
; {{anchor|ZList}} <span lang="en" dir="ltr" class="mw-content-ltr">ZList</span> {{English term|ZList}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#ZObject|ZObject]] for an ordered sequence of other ZObjects.</span>
; {{anchor|ZObject}} <span lang="en" dir="ltr" class="mw-content-ltr">ZObject</span> {{English term|ZObject}}
: <span lang="en" dir="ltr" class="mw-content-ltr">every entry in [[#Wikifunctions|Wikifunctions]] is a ZObject. ZObjects stored in Wikifunctions have [[#ZID|ZIDs]] and can be of numerous types, such as [[#Constructor|Constructors]], [[#Function|Functions]], [[#Type|Types]], etc. A ZObject consists of a set of [[#Key|Key]]/[[#Value|Value]] pairs, with each Key appearing only once per ZObject and Values being ZObjects.</span>
; {{anchor|ZUnit}} <span lang="en" dir="ltr" class="mw-content-ltr">ZUnit</span> {{English term|ZUnit}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#ZObject|ZObject]] that represents a [[:w:en:Unit type|Unit type]].</span>
[[Category:Glossary| {{#translation:}}]]
90epp6ctbyqzhdx2i6igdhjvak8k0o6
200125
200123
2025-07-03T10:10:28Z
Winston Sung
2672
Created page with "串列"
200125
wikitext
text/x-wiki
<noinclude><languages/>
<!--<nowiki>(nowiki tags are so that the translate extension doesn't try to translate the TERM and DEFINITION in this boilerplate).
Use this boilerplate for a new term:
; {{anchor|term|Term}} <translate>term</translate> {{English term|term}}
: ''Definition verification needed''
: <translate>definition</translate>
Notes:
1. Omit the "Definition verification" if you're sure that your definition is correct.
2. You can add several values for anchor, if it has spelling or capitalization variants; see the documentation for Template:Anchor and examples in other terms.
</nowiki>--></noinclude>
<span lang="en" dir="ltr" class="mw-content-ltr">Feel free to ask for terms on the [[Wikifunctions talk:Glossary|talk page]], or to add more terms and improve the definitions.</span>
{|class="toccolours" style="margin:.2em auto;padding:.2em .5em;text-align:center" dir="ltr" lang="en"
|-
|style="padding:0;width:100%"|{{CompactTOC}}
|}
== A ==
; {{anchor|abstract|Abstract}} 抽象 {{English term|abstract}}
: <span lang="en" dir="ltr" class="mw-content-ltr">not in a specific [[#natural_language|natural language]] but abstracting from it; aiming to provide a notation for the meaning behind natural language texts, sentences, or phrases. The opposite of [[#concrete|concrete]].</span>
; {{anchor|abstracttext|AbstractText}} <span lang="en" dir="ltr" class="mw-content-ltr">AbstractText</span> {{English term|AbstractText}}
: <span lang="en" dir="ltr" class="mw-content-ltr">prototype [https://github.com/google/abstracttext implementation] of the [[#Wikifunctions|Wikifunctions]] idea.</span>
; {{anchor|abstract_content}} 抽象內容 {{English term|abstract content}}
: <span lang="en" dir="ltr" class="mw-content-ltr">see [[#Content|content]].</span>
; {{anchor|abstract_Wikipedia|Abstract_Wikipedia}} 抽象維基百科 {{English term|Abstract Wikipedia}}
: <span lang="en" dir="ltr" class="mw-content-ltr">preliminary name of all the [[#Content|Content]] that can be used by [[#local_Wikipedia|local Wikipedias]] to [[#Renderer|render]] an [[#article|article]] in [[#natural_language|natural language]]; currently proposed to live in [[#Wikidata|Wikidata]] next to the corresponding [[#Item|Item]], but that will be discussed before [[#Part_P2|Part P2]] of the [[#development_project|development project]].</span>
; {{anchor|alias}} 別名 {{English term|alias}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an alternative label for an object, used foremost to find the object.</span>
; {{anchor|argument}} 引數 {{English term|argument}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an input given to a [[#function call|function call]].</span>
; {{anchor|argument reference}} 引數參照 {{English term|argument reference}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#reference|reference]] to one of the supplied arguments within a [[#composition|composition]].</span>
; {{anchor|array}} 陣列 {{English term|array}}
: <span lang="en" dir="ltr" class="mw-content-ltr">Many programming languages have an "array" type. The counterparts in Wikifunctions are [[#list|list]] and [[#typed list|typed list]]. See also [[#Benjamin array|Benjamin array]].</span>
; {{anchor|article|Article}} 條目 {{English term|article}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a page in the main namespace of [[#Wikipedia|Wikipedia]], usually representing one entry in Wikipedia.</span>
== B ==
; {{anchor|Benjamin array}} <span lang="en" dir="ltr" class="mw-content-ltr">Benjamin array</span> {{English term|Benjamin array}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a way to denote [[#typed list|typed list]] proposed by Benjamin Degenhart, where a typed list is stored as a JSON list whose first element denotes the type. This is in contrast with the previous proposed schema, which uses LISP-style singly-linked lists, in which the type must be stored once in each node.</span>
; {{anchor|boolean|Boolean}} 布林值 {{English term|boolean}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a value that can have 2 states, usually denoted true and false.</span>
; {{anchor|built-in|builtin}} 內建 {{English term|built-in}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a native implementation of a function that is provided by the evaluator and that is not editable through the wiki interface.</span>
== C ==
; {{anchor|call}} 呼叫 {{English term|call}}
: <span lang="en" dir="ltr" class="mw-content-ltr">see [[#function call|function call]]. In English, the term [[#invoke|invoke or invocation]] may also be used.</span>
; {{anchor|canonical|canonicalized|canonicalised}} <span lang="en" dir="ltr" class="mw-content-ltr">canonical, canonicalized, canonicalised</span> {{English term|canonical, canonicalized, canonicalised}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a specific, less verbose and thus more readable way to represent [[#ZObject|ZObjects]] in [[#JSON|JSON]]; it is the usual representation ZObjects are stored in [[#Wikifunctions|Wikifunctions]]. This is opposed to [[#normal|normal]].</span>
; {{anchor|character}} 字元 {{English term|character}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a character as defined by Unicode, a constituent of a String; a character can consist of several bytes (or octets).</span>
; {{anchor|composition}} 組成 {{English term|composition}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a form of implementation of a function, where the implementation is given by the combination of other functions; see [[Special:MyLanguage/Wikifunctions:Function model#Composition|Function model]].</span>
; {{anchor|composition notation}} <span lang="en" dir="ltr" class="mw-content-ltr">composition notation</span> {{English term|composition notation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an easy-to-read notation for compositions; see [[Special:MyLanguage/Wikifunctions:Function model#Composition|Function model]].</span>
; {{anchor|concrete|Concrete}} <span lang="en" dir="ltr" class="mw-content-ltr">concrete</span> {{English term|concrete}}
: <span lang="en" dir="ltr" class="mw-content-ltr">in a specific [[#natural_language|natural language]]. The opposite of [[#abstract|abstract]].</span>
; {{anchor|cons}} <span lang="en" dir="ltr" class="mw-content-ltr">cons</span> {{English term|cons}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a function to create a new list by adding an element at the top of it; see [[phab:T261474]].</span> <span lang="en" dir="ltr" class="mw-content-ltr">See [[w:cons|cons]] in Wikipedia.</span>
; {{anchor|constructor|Constructor}} <span lang="en" dir="ltr" class="mw-content-ltr">constructor</span> {{English term|constructor}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an [[#abstract|abstract]] building block of [[#Content|content]]. A constructor aims to capture the meaning of a single phrase or sentence structure. It often has slots that can take other constructors, and can itself be used as a value to fill the slots of other constructors.</span>
; {{anchor|Content}}<!--do not add |content to the anchor, it is used by MediaWiki--> <span lang="en" dir="ltr" class="mw-content-ltr">content, abstract content</span> {{English term|content, abstract content}}
: <span lang="en" dir="ltr" class="mw-content-ltr">abstract representation of a text or text fragment, assembled from [[#Constructor|constructors]]. Technically, an instance of a constructor. The top level constructor is used to represent a whole [[#article|article]] and stored in [[#Abstract_Wikipedia|Abstract Wikipedia]], but content can be also for just a sentence or phrase. Sometimes called abstract content.</span>
; {{anchor|curry}} <span lang="en" dir="ltr" class="mw-content-ltr">curried, curry, currying</span> {{English term|curried, curry, currying}}
: <span lang="en" dir="ltr" class="mw-content-ltr">A curried function is a function that was translated from taking multiple arguments into a sequence of functions, each with a single argument. This technique is named after the American mathematician [[:w:en:Haskell Curry|Haskell Curry]]. See [[:w:en:Currying|Currying]] in Wikipedia.</span>
== D ==
; {{anchor|deserialization|Deserialization|deserialisation|Deserialisation}} <span lang="en" dir="ltr" class="mw-content-ltr">deserialization</span> {{English term|deserialization}}
: <span lang="en" dir="ltr" class="mw-content-ltr">Opposite of [[#serialization|serialization]].</span>
; {{anchor|development_project|Development_project}} 開發專案 {{English term|development project}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a project to develop [[#Wikifunctions|Wikifunctions]] and [[#Abstract_Wikipedia|Abstract Wikipedia]]; see [[:m:Special:MyLanguage/Abstract Wikipedia/Plan|Abstract Wikipedia plan]].</span>
; {{anchor|display function}} 顯示函式 {{English term|display function}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a synonym of [[#renderer|renderer]]. For example, a function that converts a [[#type|type]] into a string that users can understand, such as converting a Number 123456 to "123,456" in (International) English, "1,23,456" in Indian English, "123.456" in French, etc., or converting the Date '2024','03','12' to '2024-03-12', and so on.</span>
; {{anchor|documentation}} 說明文件 {{English term|documentation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">human-readable text explaining an object.</span>
== E ==
; {{anchor|eney|eneyjj}} <span lang="en" dir="ltr" class="mw-content-ltr">eneyj</span> {{English term|eneyj}}
:# <span lang="en" dir="ltr" class="mw-content-ltr">prototype model of [[#Wikifunctions|Wikifunctions]];</span>
:# <span lang="en" dir="ltr" class="mw-content-ltr">a JavaScript implementation of an [[#evaluator|evaluator]] of that model provided in [[#abstracttext|abstracttext]].</span>
; {{anchor|error|Error}} 錯誤 {{English term|error}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a type whose instances indicate problems in [[#evaluation|evaluation]] or [[#validation|validation]]; see [[Special:MyLanguage/Wikifunctions:Function model#Z5/Errors|Function model]].</span>
; {{anchor|evaluation|Evaluation}} <span lang="en" dir="ltr" class="mw-content-ltr">evaluation</span> {{English term|evaluation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">The action performed by the [[#evaluator|evaluator]].</span>
; {{anchor|evaluator|Evaluator}} <span lang="en" dir="ltr" class="mw-content-ltr">evaluator</span> {{English term|evaluator}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a piece of software that takes a [[#ZObject|ZObject]] and evaluates it, that is executes a [[#Function|Function]] and returns the result. We envision the development of several evaluators. Evaluators may be implemented and run in the browser, on the server of the [[#Wikimedia_Foundation|Wikimedia Foundation]], in the cloud, in an app on a mobile device, or other places. Compare to [[#executor|executor]] and [[#orchestrator|orchestrator]].</span>
; {{anchor|execution|Execution}} 執行 {{English term|execution}}
: <span lang="en" dir="ltr" class="mw-content-ltr">The action performed by the [[#executor|executor]].</span>
; {{anchor|executor|Executor|executors|Executors}} <span lang="en" dir="ltr" class="mw-content-ltr">executor</span> {{English term|executor}}
: <span lang="en" dir="ltr" class="mw-content-ltr">one of a set of internal services which are not exposed to the public. They can be only called by the [[#Orchestrator|orchestrator]]. They run native code in a specific programming language. There would be one executor for Lua, one for JavaScript, one for Python, etc. See [https://gitlab.wikimedia.org/repos/abstract-wiki/wikifunctions/function-evaluator#executors the service documentation]. Compare to [[#evaluator|evaluator]] and [[#orchestrator|orchestrator]].</span>
== F ==
; {{anchor|function|Function}} 函式 {{English term|function}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the specification of a computation that takes some input and returns output; see [[w:en:Function (computer science)|Function (computer science)]] in Wikipedia.</span>
; {{anchor|function call|Function call}} 函式呼叫 {{English term|function call}}
: <span lang="en" dir="ltr" class="mw-content-ltr">A function call is a ZObject consisting of a function and the required arguments for the function, and can be evaluated to another ZObject. In English, the term "invoke" may also be used.</span>
; {{anchor|function evaluator}} <span lang="en" dir="ltr" class="mw-content-ltr">function evaluator</span> {{English term|function evaluator}}
: <span lang="en" dir="ltr" class="mw-content-ltr">See [[#evaluator|evaluator]].</span>
; {{anchor|function executor}} <span lang="en" dir="ltr" class="mw-content-ltr">function executor</span> {{English term|function executor}}
: <span lang="en" dir="ltr" class="mw-content-ltr">See [[#executor|executor]].</span>
; {{anchor|function model}} 函式模型 {{English term|function model}}
: 請參閱[[Special:MyLanguage/Wikifunctions:Function model|函式模型]]。
; {{anchor|function orchestrator}} <span lang="en" dir="ltr" class="mw-content-ltr">function orchestrator</span> {{English term|function orchestrator}}
: <span lang="en" dir="ltr" class="mw-content-ltr">See [[#orchestrator|orchestrator]].</span>
; {{anchor|function schemata}} <span lang="en" dir="ltr" class="mw-content-ltr">function schemata</span> {{English term|function schemata}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a set of pre-defined ZObjects used in [[#orchestrator|orchestrator]] and [[#evaluator|evaluator]]. The [[#WikiLambda system|WikiLambda system account]] also populates pre-defined ZObjects on-wiki from function schemata.</span>
; {{anchor|functional}} <span lang="en" dir="ltr" class="mw-content-ltr">functional</span> {{English term|functional}}
: <span lang="en" dir="ltr" class="mw-content-ltr">short for "purely functional", meaning that the [[#evaluation|evaluation]] of such a function has no side-effects and is deterministic, that is always the same; see [[w:en:Purely functional programming|Purely functional programming]] in Wikipedia; see [[Special:MyLanguage/Wikifunctions:Function model#non-functional|Function model]].</span>
== G ==
; {{anchor|generic type}} <span lang="en" dir="ltr" class="mw-content-ltr">generic type</span> {{English term|generic type}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a type generated by [[#evaluation|evaluation]] of a function call.</span>
== I ==
; {{anchor|identity|Identity}} 識別物件 {{English term|identity}}
: <span lang="en" dir="ltr" class="mw-content-ltr">The identity of a type is an instance of (specific) function that evaluates to the type. For a simple type, it is a reference to the type itself.</span>
; {{anchor|implementation|Implementation}} 實作 {{English term|implementation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a particular way to execute a [[#function|function]]. An implementation may be a piece of code in a certain programming language, refer to functionality “built into” the [[#evaluator|evaluator]], or [[#composition|compose]] calls to other functions. A function may have many implementations, which should all be equivalent. Short for "[[#ZFunction|ZFunction]] implementation".</span>
; {{anchor|instance}} 實例 {{English term|instance}}
: <span lang="en" dir="ltr" class="mw-content-ltr">Every ZObject is an instance of its type.</span>
; {{anchor|invoke}} 調用 {{English term|invoke}}
: <span lang="en" dir="ltr" class="mw-content-ltr">synonym for [[#call|call]] in English. See [[#function call|function call]].</span>
; {{anchor|item|Item}} 項目 {{English term|item}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an entry in [[#Wikidata|Wikidata]]'s knowledge base; see [[:d:Wikidata:Glossary#Item|Item]] in the Wikidata glossary.</span>
== J ==
; {{anchor|JSON}} JSON {{English term|JSON}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a widely used data transfer format; see [[w:en:JSON|JSON]] in Wikipedia.</span>
== K ==
; {{anchor|key|Key}} 鍵 {{English term|key}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a string which ends with the letter K followed by a natural number, and is optionally preceded by a [[#ZID|ZID]]. Keys are defined in [[#Wikifunctions|Wikifunctions]] usually on [[#Type|Types]] or [[#Function|Functions]], and are used to build up [[#ZObject|ZObjects]].</span>
== L ==
; {{anchor|label}} <span lang="en" dir="ltr" class="mw-content-ltr">label</span> {{English term|label}}
: <span lang="en" dir="ltr" class="mw-content-ltr">main name given to identify a ZObject. May only be plain text.</span>
; {{anchor|lexeme|Lexeme}} <span lang="en" dir="ltr" class="mw-content-ltr">lexeme</span> {{English term|lexeme}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an entry in [[#Wikidata|Wikidata]] storing lexicographic knowledge about, roughly, a word; see [[d:Wikidata:Glossary#Lexeme|Lexeme]] in the Wikidata glossary.</span>
; {{anchor|linearizer|Linearizer}} <span lang="en" dir="ltr" class="mw-content-ltr">linearizer</span> {{English term|linearizer}}
: <span lang="en" dir="ltr" class="mw-content-ltr">(this term is no longer used in current terminology, but can still be found in older documents) synonym of [[#renderer|renderer]] (1).</span>
; {{anchor|list|List}} 串列 {{English term|list}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a data type that groups an arbitrary number of instances in an ordered entity; see [[w:en:List (abstract data type)|List (abstract data type)]] in Wikipedia.</span>
; {{anchor|literal}} <span lang="en" dir="ltr" class="mw-content-ltr">literal</span> {{English term|literal}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a value that is not a ZObject. Currently the only accepted literal is string.</span>
; {{anchor|local_Wikipedia|Local_Wikipedia}} <span lang="en" dir="ltr" class="mw-content-ltr">local Wikipedia</span> {{English term|local Wikipedia}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#Wikipedia|Wikipedia]] in a specific language, such as Hebrew Wikipedia, Japanese Wikipedia, or Italian Wikipedia.</span>
== M ==
; {{anchor|Multlingual_Wikipedia|multilingual_Wikipedia}} <span lang="en" dir="ltr" class="mw-content-ltr">multilingual Wikipedia</span> {{English term|multilingual Wikipedia}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the architecture that allows [[#local_Wikipedia|local Wikipedias]] to enrich themselves by [[#Renderer|rendering]] the [[#Content|Content]] from [[#Abstract_Wikipedia|Abstract Wikipedia]] and thus have a more comprehensive, current, and correct Wikipedia in their language; see [[:m:Special:MyLanguage/Abstract Wikipedia/Architecture|Abstract Wikipedia architecture]].</span>
== N ==
; {{anchor|natural_language|Natural_language}} <span lang="en" dir="ltr" class="mw-content-ltr">natural language</span> {{English term|natural language}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a specific natural language in the wider sense, such as English, Tagalog, or Swahili; see [[w:en:Natural language|Natural language]] in Wikipedia.</span>
; {{anchor|normal|Normal|normalized|Normalized|normalised}} <span lang="en" dir="ltr" class="mw-content-ltr">normal</span> {{English term|normal}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an extended, easily processable and very uniform way to represent [[#ZObject|ZObjects]] in [[#JSON|JSON]]. This is opposed to [[#canonical|canonical]].</span>
; {{anchor|nothing|Nothing}} <span lang="en" dir="ltr" class="mw-content-ltr">nothing</span> {{English term|nothing}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a data type that can have no instances; see [[w:en:Bottom type|Bottom type]] in Wikipedia.</span>
== O ==
; {{anchor|object|Object}} 物件 {{English term|object}}
:# <span lang="en" dir="ltr" class="mw-content-ltr">In JavaScript or JSON, an object is basically an associative array; see [[w:en:Associative array|Associative array]] in Wikipedia.</span>
:# <span lang="en" dir="ltr" class="mw-content-ltr">In Wikifunctions, synonym of [[#ZObject|ZObject]].</span>
; {{anchor|orchestration|Orchestration}} <span lang="en" dir="ltr" class="mw-content-ltr">orchestration</span> {{English term|orchestration}}
:<span lang="en" dir="ltr" class="mw-content-ltr">The action performed by the [[#orchestrator|orchestrator]].</span>
; {{anchor|orchestrator|Orchestrator}} <span lang="en" dir="ltr" class="mw-content-ltr">orchestrator</span> {{English term|orchestrator}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a service that takes a [[#ZObject|ZObject]] and returns an [[#Evaluator|evaluated]] version of it. To do this, it will make calls to the wiki for other ZObjects it needs, to the [[#Executor|executor]] to evaluate some function calls, and other services such as [[#Wikidata|Wikidata]]. See [https://gitlab.wikimedia.org/repos/abstract-wiki/wikifunctions/function-orchestrator#wikifunctions-function-orchestrator the service documentation]. Compare to [[#evaluator|evaluator]] and [[#executor|executor]].</span>
== P ==
; {{anchor|page|Page}} 頁面 {{English term|page}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a part of a wiki. A [[#wiki|wiki]] consists of a number of individual pages, which can be edited independently, have internal links to each other, etc.</span>
; {{anchor|parser|Parser}} 解析器 {{English term|parser}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a function to convert a string to a ZObject. The opposite of [[#renderer|renderer]].</span>
; {{anchor|pair|Pair}} <span lang="en" dir="ltr" class="mw-content-ltr">pair</span> {{English term|pair}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a compound ZObject that contains two ZObjects of specific (but arbitrary) type.</span>
; {{anchor|part_P1|Part_P1}} <span lang="en" dir="ltr" class="mw-content-ltr">Part P1</span> {{English term|Part P1}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the part of the [[#development_project|development project]] that deals with creating [[#Wikifunctions|Wikifunctions]]. It starts at the beginning of the project and goes on throughout its whole lifetime; see [[:m:Special:MyLanguage/Abstract Wikipedia/Tasks#Part P1: Wikifunctions|Part P1: Wikifunctions]].</span>
; {{anchor|part_P2|Part_P2}} <span lang="en" dir="ltr" class="mw-content-ltr">Part P2</span> {{English term|Part P2}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the part of the [[#development_project|development project]] that deals with creating [[#Abstract_Wikipedia|Abstract Wikipedia]]. It starts after about a year in the project and goes on throughout the second half of its lifetime; see [[:m:Special:MyLanguage/Abstract Wikipedia/Tasks#Part P2: Abstract Wikipedia|Part P2: Abstract Wikipedia]].</span>
; {{anchor|persistent|Persistent}} <span lang="en" dir="ltr" class="mw-content-ltr">persistent</span> {{English term|persistent}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#ZObject|ZObject]] with a [[#ZID|ZID]] and with its own page in the wiki. Most persistent ZObjects will include [[#value|values]] that are ZObjects with no ZID, and are therefore not persistent.</span>
; {{anchor|property|Property}} 屬性 {{English term|property}}
: <span lang="en" dir="ltr" class="mw-content-ltr">used to make a [[#Statement|statement]] about an [[#Item|Item]] in [[#Wikidata|Wikidata]]'s knowledge base; see [[:d:Wikidata:Glossary#Property|Property]] in the Wikidata glossary.</span>
== Q ==
; {{anchor|quote|Quote}} <span lang="en" dir="ltr" class="mw-content-ltr">quote</span> {{English term|quote}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a data structure that is not to be evaluated but kept verbatim.</span>
; {{anchor|QID}} QID {{English term|QID}}
: <span lang="en" dir="ltr" class="mw-content-ltr">identifier for an item in [[#Wikidata|Wikidata]], comprising the letter "Q" followed by an integer.</span>
== R ==
; {{anchor|reading function}} <span lang="en" dir="ltr" class="mw-content-ltr">reading function</span> {{English term|reading function}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a synonym of [[#parser|parser]]. A function that converts user text input from a string into a given Type. For example, converting the String "123456" to the Number '123456', or the string "2024-03-12" to the Date '2024', '03', '12'.</span>
; {{anchor|reference|Reference}} 參照 {{English term|reference}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an ID denoting the underlying object. For example, the string "Z11" refers to the Type Z11/Monolingual text.</span>
: {{TakeNote}}<span lang="en" dir="ltr" class="mw-content-ltr">This term has a completely different meaning than on Wikidata; see [[w:en:Reference (computer science)|Reference (computer science)]] in Wikipedia.</span>
; {{anchor|renderer|Renderer}} 轉譯器 {{English term|renderer}} (1)
: <span lang="en" dir="ltr" class="mw-content-ltr">a function to convert a ZObject to a string. The opposite of [[#parser|parser]]. (formerly called "linearizer")</span>
; <span lang="en" dir="ltr" class="mw-content-ltr">renderer</span> {{English term|renderer}} (2)
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#Function|function]] that gets a [[#Content|content]] and an identifier for a [[#natural_language|natural language]] as an input and returns text in that natural language as output, representing the content as concrete text, using knowledge from [[#Lexeme|lexemes]].</span>
: {{TakeNote}}<span lang="en" dir="ltr" class="mw-content-ltr">This is a future feature, and the meaning of the term "renderer" in the {{Pg|:m:Abstract Wikipedia/Historic proposal|original proposal}}; this term collides with the current usage of "renderer", so it may be renamed in the future.</span>
; {{anchor|reify}} <span lang="en" dir="ltr" class="mw-content-ltr">reify</span> {{English term|reify}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a function that deconstructs an object into its constituent parts so that the parts can be individually accessed; see [[w:en:Reification (computer science)|Reification]] in Wikipedia; see [[phab:T261474]].</span>
; {{anchor|REPL}} <span lang="en" dir="ltr" class="mw-content-ltr">REPL</span> {{English term|REPL}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a Read / Eval / Print - Loop, a command line interface that takes some input, evaluates it, and displays the result; see [[w:en:REPL|REPL]] in Wikipedia; see [[Special:MyLanguage/Wikifunctions:Function model#REPL|Function model]].</span>
== S ==
; {{anchor|schemata}} <span lang="en" dir="ltr" class="mw-content-ltr">schemata</span> {{English term|schemata}}
: <span lang="en" dir="ltr" class="mw-content-ltr">See [[#function schemata|function schemata]].</span>
; {{anchor|serialization|Serialization|serialisation|Serialisation}} <span lang="en" dir="ltr" class="mw-content-ltr">serialization</span> {{English term|serialization}}
: <span lang="en" dir="ltr" class="mw-content-ltr">Ways to represent [[#ZObject|ZObjects]] in [[#JSON|JSON]]; see also [[#canonical|canonical]], [[#normal|normal]].</span>
; {{anchor|statement|Statement}} <span lang="en" dir="ltr" class="mw-content-ltr">statement</span> {{English term|statement}}
: <span lang="en" dir="ltr" class="mw-content-ltr">used to provide knowledge about an [[#Item|Item]] in [[#Wikidata|Wikidata]]'s knowledge base; see [[:d:Wikidata:Glossary#Statement|Statement]] in the Wikidata glossary.</span>
; {{anchor|string}} 字串 {{English term|string}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a sequence of characters.</span>
; {{anchor|sum type|Sum type}} <span lang="en" dir="ltr" class="mw-content-ltr">sum type</span> {{English term|sum type}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a type that can have instances of any of its constituent types; see [[w:en:Sum type|Sum type]] in Wikipedia; see [[Special:MyLanguage/Wikifunctions:Function model#Zx/Sum_types|Function model]].</span>
== T ==
; {{anchor|template}} <span lang="en" dir="ltr" class="mw-content-ltr">template</span> {{English term|template}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a way to specify a [[#renderer|renderer]] as text interspersed with place-holders, or ''slots'', which can be filled with data from [[#constructor|constructors]], function calculation, or content from another template. See the document [[:m:Special:MyLanguage/Abstract Wikipedia/Template Language for Wikifunctions|Template Language for Wikifunctions]] for a detailed discussion of the template syntax.</span>
; {{anchor|tester|Tester}} <span lang="en" dir="ltr" class="mw-content-ltr">tester</span> {{English term|tester}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a way to automatically determine if a given [[#ZFunction|ZFunction]] is doing the right thing. A [[#function|function]] will typically have multiple testers, each specifying some input to the function and conditions the output for the given input must fulfil. For example, testers for a “title case” function might include: “abc” should become “Abc”; “war and peace” should become “War and Peace”; “война и мир” should become “Война и мир”; and “123” should remain “123”.</span>
; {{anchor|transient|Transient}} <span lang="en" dir="ltr" class="mw-content-ltr">transient</span> {{English term|transient}}
: <span lang="en" dir="ltr" class="mw-content-ltr">Opposite of [[#persistent|persistent]].</span>
; {{anchor|type|Type}} <span lang="en" dir="ltr" class="mw-content-ltr">type</span> {{English term|type}}
: <span lang="en" dir="ltr" class="mw-content-ltr">The type of an object tells us how to interpret and understand the given object, and what can be done with the object. For example, if we have an object with the value “2023”, depending on whether its type is integer, or year, or string, we understand that object differently. Every object refers to “a thing in the real world”. The integer 2023 is different from the year 2023. The type tells us how to interpret a given object, so that we know which thing in the real world it refers to. Technically, it defines how objects of that type are structured and what conditions they need to fulfill to be a valid object of that type.</span> <span lang="en" dir="ltr" class="mw-content-ltr">A type defines the conditions for a [[#ZObject|ZObject]] to be a valid instance of this type, by providing a [[#Function|function]] that validates a ZObject. Types are ZObjects themselves, so that contributors of [[#Wikifunctions|Wikifunctions]] can create new types.</span>
; {{anchor|type converter}} <span lang="en" dir="ltr" class="mw-content-ltr">type converter</span> {{English term|type converter}}
: <span lang="en" dir="ltr" class="mw-content-ltr">A script written in some programming language (such as JavaScript), taking a native object (such as BigInt), and returning a JSON object representing the corresponding ZObject; or ''vice versa''.</span>
; {{anchor|typed list|Typed List}} <span lang="en" dir="ltr" class="mw-content-ltr">typed list</span> {{English term|typed list}}
: <span lang="en" dir="ltr" class="mw-content-ltr">A typed list is a [[#list|list]] in which all members of the list are of a specific, predefined [[#type|type]]. For example, a typed list of [[#string|strings]] is a list in which all members of the list are strings. A typed list takes one argument: the type that all the members of the list have to be an instance of. Typed lists are probably the most widely used [[#generic type|generic type]].</span>
== V ==
; {{anchor|value}} 值 {{English term|value}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the string or [[#ZObject|ZObject]] associated with a [[#key|key]] in another ZObject.</span>
; {{anchor|validation|Validation}} <span lang="en" dir="ltr" class="mw-content-ltr">validation</span> {{English term|validation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">The action performed by the [[#validator|validator]].</span>
; {{anchor|validator|Validator}} <span lang="en" dir="ltr" class="mw-content-ltr">validator</span> {{English term|validator}}
: <span lang="en" dir="ltr" class="mw-content-ltr">A function taking a ZObject as argument and return a list of errors found.</span>
== W ==
; {{anchor|wiki|Wiki}} wiki {{English term|wiki}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a web site that allows for the easy and collaborative editing of its [[#page|pages]].</span>
; {{anchor|Wikidata}} 維基數據 {{English term|Wikidata}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a project of the [[#Wikimedia_Foundation|Wikimedia Foundation]], a free, collaboratively edited knowledge base; see [[:m:Special:MyLanguage/Wikidata|Wikidata]].</span>
; {{anchor|Wikifunctions}}{{anchor|Wikilambda}} 維基函式庫 {{English term|Wikifunctions}}
: <span lang="en" dir="ltr" class="mw-content-ltr">new project of the [[#Wikimedia_Foundation|Wikimedia Foundation]]; a free, collaboratively developed and maintained catalog of [[#Function|functions]]. It was initially known as '''Wikilambda''' in the {{Pg|:m:Abstract Wikipedia/Historic proposal|original proposal}} (that name is now used for the [[#WikiLambda|WikiLambda extension]]).</span>
; {{anchor|WikiLambda}} <span lang="en" dir="ltr" class="mw-content-ltr">WikiLambda</span> {{English term|WikiLambda}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the software used to power the project, [[mw:Special:MyLanguage/Extension:WikiLambda|Extension:WikiLambda]].</span>
; {{anchor|WikiLambda system}} <span lang="en" dir="ltr" class="mw-content-ltr">WikiLambda system</span> {{English term|WikiLambda system}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an automated system account that is a key part of the WikiLambda extension. See [[User:WikiLambda system]] for its current function.</span>
; {{anchor|WMF|Wikimedia_Foundation}} 維基媒體基金會 {{English term|Wikimedia Foundation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">organization that supports the Wikimedia movement; see [[:m:Special:MyLanguage/Wikimedia Foundation|Wikimedia Foundation]].</span>
; {{anchor|Wikipedia}} <span lang="en" dir="ltr" class="mw-content-ltr">Wikipedia</span> {{English term|Wikipedia}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a project of the [[#Wikimedia_Foundation|Wikimedia Foundation]], a free, collaboratively edited encyclopedia; see [[:m:Special:MyLanguage/Wikipedia|Wikipedia]].</span>
; <span lang="en" dir="ltr" class="mw-content-ltr">Wikipedia, Abstract</span> {{English term|Wikipedia, Abstract}}
: <span lang="en" dir="ltr" class="mw-content-ltr">see [[#Abstract_Wikipedia|Abstract Wikipedia]].</span>
; <span lang="en" dir="ltr" class="mw-content-ltr">Wikipedia, multilingual</span> {{English term|Wikipedia, multilingual}}
: <span lang="en" dir="ltr" class="mw-content-ltr">see [[#multilingual_Wikipedia|multilingual Wikipedia]].</span>
== Z ==
; {{anchor|ZID|ZIDs}} ZID {{English term|ZID}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an ID starting with the letter Z and followed by a natural number. Used to identify [[#persistent|persistent]] [[#ZObject|ZObjects]].</span>
; {{anchor|zfunction|ZFunction}} <span lang="en" dir="ltr" class="mw-content-ltr">ZFunction</span> {{English term|ZFunction}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a wiki page on [[#Wikifunctions|Wikifunctions]] that describes a particular [[#function|function]] that can be used through the [[#evaluator|evaluator]]. Each ZFunction can be realised in code by one or more [[#implementation|Implementations]], and said implementations can be verified as correct by one or more [[#tester|Tester]] ZFunctions.</span>
; {{anchor|ZKey}} <span lang="en" dir="ltr" class="mw-content-ltr">ZKey</span> {{English term|ZKey}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#ZObject|ZObject]] defining a [[#key|key]] for a particular [[#type|type]].</span>
; {{anchor|ZList}} <span lang="en" dir="ltr" class="mw-content-ltr">ZList</span> {{English term|ZList}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#ZObject|ZObject]] for an ordered sequence of other ZObjects.</span>
; {{anchor|ZObject}} <span lang="en" dir="ltr" class="mw-content-ltr">ZObject</span> {{English term|ZObject}}
: <span lang="en" dir="ltr" class="mw-content-ltr">every entry in [[#Wikifunctions|Wikifunctions]] is a ZObject. ZObjects stored in Wikifunctions have [[#ZID|ZIDs]] and can be of numerous types, such as [[#Constructor|Constructors]], [[#Function|Functions]], [[#Type|Types]], etc. A ZObject consists of a set of [[#Key|Key]]/[[#Value|Value]] pairs, with each Key appearing only once per ZObject and Values being ZObjects.</span>
; {{anchor|ZUnit}} <span lang="en" dir="ltr" class="mw-content-ltr">ZUnit</span> {{English term|ZUnit}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#ZObject|ZObject]] that represents a [[:w:en:Unit type|Unit type]].</span>
[[Category:Glossary| {{#translation:}}]]
jm3j73cwlxc6ogg2ebhnkjsp7vegg7w
200127
200125
2025-07-03T10:10:50Z
Winston Sung
2672
Created page with "自然語言"
200127
wikitext
text/x-wiki
<noinclude><languages/>
<!--<nowiki>(nowiki tags are so that the translate extension doesn't try to translate the TERM and DEFINITION in this boilerplate).
Use this boilerplate for a new term:
; {{anchor|term|Term}} <translate>term</translate> {{English term|term}}
: ''Definition verification needed''
: <translate>definition</translate>
Notes:
1. Omit the "Definition verification" if you're sure that your definition is correct.
2. You can add several values for anchor, if it has spelling or capitalization variants; see the documentation for Template:Anchor and examples in other terms.
</nowiki>--></noinclude>
<span lang="en" dir="ltr" class="mw-content-ltr">Feel free to ask for terms on the [[Wikifunctions talk:Glossary|talk page]], or to add more terms and improve the definitions.</span>
{|class="toccolours" style="margin:.2em auto;padding:.2em .5em;text-align:center" dir="ltr" lang="en"
|-
|style="padding:0;width:100%"|{{CompactTOC}}
|}
== A ==
; {{anchor|abstract|Abstract}} 抽象 {{English term|abstract}}
: <span lang="en" dir="ltr" class="mw-content-ltr">not in a specific [[#natural_language|natural language]] but abstracting from it; aiming to provide a notation for the meaning behind natural language texts, sentences, or phrases. The opposite of [[#concrete|concrete]].</span>
; {{anchor|abstracttext|AbstractText}} <span lang="en" dir="ltr" class="mw-content-ltr">AbstractText</span> {{English term|AbstractText}}
: <span lang="en" dir="ltr" class="mw-content-ltr">prototype [https://github.com/google/abstracttext implementation] of the [[#Wikifunctions|Wikifunctions]] idea.</span>
; {{anchor|abstract_content}} 抽象內容 {{English term|abstract content}}
: <span lang="en" dir="ltr" class="mw-content-ltr">see [[#Content|content]].</span>
; {{anchor|abstract_Wikipedia|Abstract_Wikipedia}} 抽象維基百科 {{English term|Abstract Wikipedia}}
: <span lang="en" dir="ltr" class="mw-content-ltr">preliminary name of all the [[#Content|Content]] that can be used by [[#local_Wikipedia|local Wikipedias]] to [[#Renderer|render]] an [[#article|article]] in [[#natural_language|natural language]]; currently proposed to live in [[#Wikidata|Wikidata]] next to the corresponding [[#Item|Item]], but that will be discussed before [[#Part_P2|Part P2]] of the [[#development_project|development project]].</span>
; {{anchor|alias}} 別名 {{English term|alias}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an alternative label for an object, used foremost to find the object.</span>
; {{anchor|argument}} 引數 {{English term|argument}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an input given to a [[#function call|function call]].</span>
; {{anchor|argument reference}} 引數參照 {{English term|argument reference}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#reference|reference]] to one of the supplied arguments within a [[#composition|composition]].</span>
; {{anchor|array}} 陣列 {{English term|array}}
: <span lang="en" dir="ltr" class="mw-content-ltr">Many programming languages have an "array" type. The counterparts in Wikifunctions are [[#list|list]] and [[#typed list|typed list]]. See also [[#Benjamin array|Benjamin array]].</span>
; {{anchor|article|Article}} 條目 {{English term|article}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a page in the main namespace of [[#Wikipedia|Wikipedia]], usually representing one entry in Wikipedia.</span>
== B ==
; {{anchor|Benjamin array}} <span lang="en" dir="ltr" class="mw-content-ltr">Benjamin array</span> {{English term|Benjamin array}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a way to denote [[#typed list|typed list]] proposed by Benjamin Degenhart, where a typed list is stored as a JSON list whose first element denotes the type. This is in contrast with the previous proposed schema, which uses LISP-style singly-linked lists, in which the type must be stored once in each node.</span>
; {{anchor|boolean|Boolean}} 布林值 {{English term|boolean}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a value that can have 2 states, usually denoted true and false.</span>
; {{anchor|built-in|builtin}} 內建 {{English term|built-in}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a native implementation of a function that is provided by the evaluator and that is not editable through the wiki interface.</span>
== C ==
; {{anchor|call}} 呼叫 {{English term|call}}
: <span lang="en" dir="ltr" class="mw-content-ltr">see [[#function call|function call]]. In English, the term [[#invoke|invoke or invocation]] may also be used.</span>
; {{anchor|canonical|canonicalized|canonicalised}} <span lang="en" dir="ltr" class="mw-content-ltr">canonical, canonicalized, canonicalised</span> {{English term|canonical, canonicalized, canonicalised}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a specific, less verbose and thus more readable way to represent [[#ZObject|ZObjects]] in [[#JSON|JSON]]; it is the usual representation ZObjects are stored in [[#Wikifunctions|Wikifunctions]]. This is opposed to [[#normal|normal]].</span>
; {{anchor|character}} 字元 {{English term|character}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a character as defined by Unicode, a constituent of a String; a character can consist of several bytes (or octets).</span>
; {{anchor|composition}} 組成 {{English term|composition}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a form of implementation of a function, where the implementation is given by the combination of other functions; see [[Special:MyLanguage/Wikifunctions:Function model#Composition|Function model]].</span>
; {{anchor|composition notation}} <span lang="en" dir="ltr" class="mw-content-ltr">composition notation</span> {{English term|composition notation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an easy-to-read notation for compositions; see [[Special:MyLanguage/Wikifunctions:Function model#Composition|Function model]].</span>
; {{anchor|concrete|Concrete}} <span lang="en" dir="ltr" class="mw-content-ltr">concrete</span> {{English term|concrete}}
: <span lang="en" dir="ltr" class="mw-content-ltr">in a specific [[#natural_language|natural language]]. The opposite of [[#abstract|abstract]].</span>
; {{anchor|cons}} <span lang="en" dir="ltr" class="mw-content-ltr">cons</span> {{English term|cons}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a function to create a new list by adding an element at the top of it; see [[phab:T261474]].</span> <span lang="en" dir="ltr" class="mw-content-ltr">See [[w:cons|cons]] in Wikipedia.</span>
; {{anchor|constructor|Constructor}} <span lang="en" dir="ltr" class="mw-content-ltr">constructor</span> {{English term|constructor}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an [[#abstract|abstract]] building block of [[#Content|content]]. A constructor aims to capture the meaning of a single phrase or sentence structure. It often has slots that can take other constructors, and can itself be used as a value to fill the slots of other constructors.</span>
; {{anchor|Content}}<!--do not add |content to the anchor, it is used by MediaWiki--> <span lang="en" dir="ltr" class="mw-content-ltr">content, abstract content</span> {{English term|content, abstract content}}
: <span lang="en" dir="ltr" class="mw-content-ltr">abstract representation of a text or text fragment, assembled from [[#Constructor|constructors]]. Technically, an instance of a constructor. The top level constructor is used to represent a whole [[#article|article]] and stored in [[#Abstract_Wikipedia|Abstract Wikipedia]], but content can be also for just a sentence or phrase. Sometimes called abstract content.</span>
; {{anchor|curry}} <span lang="en" dir="ltr" class="mw-content-ltr">curried, curry, currying</span> {{English term|curried, curry, currying}}
: <span lang="en" dir="ltr" class="mw-content-ltr">A curried function is a function that was translated from taking multiple arguments into a sequence of functions, each with a single argument. This technique is named after the American mathematician [[:w:en:Haskell Curry|Haskell Curry]]. See [[:w:en:Currying|Currying]] in Wikipedia.</span>
== D ==
; {{anchor|deserialization|Deserialization|deserialisation|Deserialisation}} <span lang="en" dir="ltr" class="mw-content-ltr">deserialization</span> {{English term|deserialization}}
: <span lang="en" dir="ltr" class="mw-content-ltr">Opposite of [[#serialization|serialization]].</span>
; {{anchor|development_project|Development_project}} 開發專案 {{English term|development project}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a project to develop [[#Wikifunctions|Wikifunctions]] and [[#Abstract_Wikipedia|Abstract Wikipedia]]; see [[:m:Special:MyLanguage/Abstract Wikipedia/Plan|Abstract Wikipedia plan]].</span>
; {{anchor|display function}} 顯示函式 {{English term|display function}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a synonym of [[#renderer|renderer]]. For example, a function that converts a [[#type|type]] into a string that users can understand, such as converting a Number 123456 to "123,456" in (International) English, "1,23,456" in Indian English, "123.456" in French, etc., or converting the Date '2024','03','12' to '2024-03-12', and so on.</span>
; {{anchor|documentation}} 說明文件 {{English term|documentation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">human-readable text explaining an object.</span>
== E ==
; {{anchor|eney|eneyjj}} <span lang="en" dir="ltr" class="mw-content-ltr">eneyj</span> {{English term|eneyj}}
:# <span lang="en" dir="ltr" class="mw-content-ltr">prototype model of [[#Wikifunctions|Wikifunctions]];</span>
:# <span lang="en" dir="ltr" class="mw-content-ltr">a JavaScript implementation of an [[#evaluator|evaluator]] of that model provided in [[#abstracttext|abstracttext]].</span>
; {{anchor|error|Error}} 錯誤 {{English term|error}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a type whose instances indicate problems in [[#evaluation|evaluation]] or [[#validation|validation]]; see [[Special:MyLanguage/Wikifunctions:Function model#Z5/Errors|Function model]].</span>
; {{anchor|evaluation|Evaluation}} <span lang="en" dir="ltr" class="mw-content-ltr">evaluation</span> {{English term|evaluation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">The action performed by the [[#evaluator|evaluator]].</span>
; {{anchor|evaluator|Evaluator}} <span lang="en" dir="ltr" class="mw-content-ltr">evaluator</span> {{English term|evaluator}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a piece of software that takes a [[#ZObject|ZObject]] and evaluates it, that is executes a [[#Function|Function]] and returns the result. We envision the development of several evaluators. Evaluators may be implemented and run in the browser, on the server of the [[#Wikimedia_Foundation|Wikimedia Foundation]], in the cloud, in an app on a mobile device, or other places. Compare to [[#executor|executor]] and [[#orchestrator|orchestrator]].</span>
; {{anchor|execution|Execution}} 執行 {{English term|execution}}
: <span lang="en" dir="ltr" class="mw-content-ltr">The action performed by the [[#executor|executor]].</span>
; {{anchor|executor|Executor|executors|Executors}} <span lang="en" dir="ltr" class="mw-content-ltr">executor</span> {{English term|executor}}
: <span lang="en" dir="ltr" class="mw-content-ltr">one of a set of internal services which are not exposed to the public. They can be only called by the [[#Orchestrator|orchestrator]]. They run native code in a specific programming language. There would be one executor for Lua, one for JavaScript, one for Python, etc. See [https://gitlab.wikimedia.org/repos/abstract-wiki/wikifunctions/function-evaluator#executors the service documentation]. Compare to [[#evaluator|evaluator]] and [[#orchestrator|orchestrator]].</span>
== F ==
; {{anchor|function|Function}} 函式 {{English term|function}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the specification of a computation that takes some input and returns output; see [[w:en:Function (computer science)|Function (computer science)]] in Wikipedia.</span>
; {{anchor|function call|Function call}} 函式呼叫 {{English term|function call}}
: <span lang="en" dir="ltr" class="mw-content-ltr">A function call is a ZObject consisting of a function and the required arguments for the function, and can be evaluated to another ZObject. In English, the term "invoke" may also be used.</span>
; {{anchor|function evaluator}} <span lang="en" dir="ltr" class="mw-content-ltr">function evaluator</span> {{English term|function evaluator}}
: <span lang="en" dir="ltr" class="mw-content-ltr">See [[#evaluator|evaluator]].</span>
; {{anchor|function executor}} <span lang="en" dir="ltr" class="mw-content-ltr">function executor</span> {{English term|function executor}}
: <span lang="en" dir="ltr" class="mw-content-ltr">See [[#executor|executor]].</span>
; {{anchor|function model}} 函式模型 {{English term|function model}}
: 請參閱[[Special:MyLanguage/Wikifunctions:Function model|函式模型]]。
; {{anchor|function orchestrator}} <span lang="en" dir="ltr" class="mw-content-ltr">function orchestrator</span> {{English term|function orchestrator}}
: <span lang="en" dir="ltr" class="mw-content-ltr">See [[#orchestrator|orchestrator]].</span>
; {{anchor|function schemata}} <span lang="en" dir="ltr" class="mw-content-ltr">function schemata</span> {{English term|function schemata}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a set of pre-defined ZObjects used in [[#orchestrator|orchestrator]] and [[#evaluator|evaluator]]. The [[#WikiLambda system|WikiLambda system account]] also populates pre-defined ZObjects on-wiki from function schemata.</span>
; {{anchor|functional}} <span lang="en" dir="ltr" class="mw-content-ltr">functional</span> {{English term|functional}}
: <span lang="en" dir="ltr" class="mw-content-ltr">short for "purely functional", meaning that the [[#evaluation|evaluation]] of such a function has no side-effects and is deterministic, that is always the same; see [[w:en:Purely functional programming|Purely functional programming]] in Wikipedia; see [[Special:MyLanguage/Wikifunctions:Function model#non-functional|Function model]].</span>
== G ==
; {{anchor|generic type}} <span lang="en" dir="ltr" class="mw-content-ltr">generic type</span> {{English term|generic type}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a type generated by [[#evaluation|evaluation]] of a function call.</span>
== I ==
; {{anchor|identity|Identity}} 識別物件 {{English term|identity}}
: <span lang="en" dir="ltr" class="mw-content-ltr">The identity of a type is an instance of (specific) function that evaluates to the type. For a simple type, it is a reference to the type itself.</span>
; {{anchor|implementation|Implementation}} 實作 {{English term|implementation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a particular way to execute a [[#function|function]]. An implementation may be a piece of code in a certain programming language, refer to functionality “built into” the [[#evaluator|evaluator]], or [[#composition|compose]] calls to other functions. A function may have many implementations, which should all be equivalent. Short for "[[#ZFunction|ZFunction]] implementation".</span>
; {{anchor|instance}} 實例 {{English term|instance}}
: <span lang="en" dir="ltr" class="mw-content-ltr">Every ZObject is an instance of its type.</span>
; {{anchor|invoke}} 調用 {{English term|invoke}}
: <span lang="en" dir="ltr" class="mw-content-ltr">synonym for [[#call|call]] in English. See [[#function call|function call]].</span>
; {{anchor|item|Item}} 項目 {{English term|item}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an entry in [[#Wikidata|Wikidata]]'s knowledge base; see [[:d:Wikidata:Glossary#Item|Item]] in the Wikidata glossary.</span>
== J ==
; {{anchor|JSON}} JSON {{English term|JSON}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a widely used data transfer format; see [[w:en:JSON|JSON]] in Wikipedia.</span>
== K ==
; {{anchor|key|Key}} 鍵 {{English term|key}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a string which ends with the letter K followed by a natural number, and is optionally preceded by a [[#ZID|ZID]]. Keys are defined in [[#Wikifunctions|Wikifunctions]] usually on [[#Type|Types]] or [[#Function|Functions]], and are used to build up [[#ZObject|ZObjects]].</span>
== L ==
; {{anchor|label}} <span lang="en" dir="ltr" class="mw-content-ltr">label</span> {{English term|label}}
: <span lang="en" dir="ltr" class="mw-content-ltr">main name given to identify a ZObject. May only be plain text.</span>
; {{anchor|lexeme|Lexeme}} <span lang="en" dir="ltr" class="mw-content-ltr">lexeme</span> {{English term|lexeme}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an entry in [[#Wikidata|Wikidata]] storing lexicographic knowledge about, roughly, a word; see [[d:Wikidata:Glossary#Lexeme|Lexeme]] in the Wikidata glossary.</span>
; {{anchor|linearizer|Linearizer}} <span lang="en" dir="ltr" class="mw-content-ltr">linearizer</span> {{English term|linearizer}}
: <span lang="en" dir="ltr" class="mw-content-ltr">(this term is no longer used in current terminology, but can still be found in older documents) synonym of [[#renderer|renderer]] (1).</span>
; {{anchor|list|List}} 串列 {{English term|list}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a data type that groups an arbitrary number of instances in an ordered entity; see [[w:en:List (abstract data type)|List (abstract data type)]] in Wikipedia.</span>
; {{anchor|literal}} <span lang="en" dir="ltr" class="mw-content-ltr">literal</span> {{English term|literal}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a value that is not a ZObject. Currently the only accepted literal is string.</span>
; {{anchor|local_Wikipedia|Local_Wikipedia}} <span lang="en" dir="ltr" class="mw-content-ltr">local Wikipedia</span> {{English term|local Wikipedia}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#Wikipedia|Wikipedia]] in a specific language, such as Hebrew Wikipedia, Japanese Wikipedia, or Italian Wikipedia.</span>
== M ==
; {{anchor|Multlingual_Wikipedia|multilingual_Wikipedia}} <span lang="en" dir="ltr" class="mw-content-ltr">multilingual Wikipedia</span> {{English term|multilingual Wikipedia}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the architecture that allows [[#local_Wikipedia|local Wikipedias]] to enrich themselves by [[#Renderer|rendering]] the [[#Content|Content]] from [[#Abstract_Wikipedia|Abstract Wikipedia]] and thus have a more comprehensive, current, and correct Wikipedia in their language; see [[:m:Special:MyLanguage/Abstract Wikipedia/Architecture|Abstract Wikipedia architecture]].</span>
== N ==
; {{anchor|natural_language|Natural_language}} 自然語言 {{English term|natural language}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a specific natural language in the wider sense, such as English, Tagalog, or Swahili; see [[w:en:Natural language|Natural language]] in Wikipedia.</span>
; {{anchor|normal|Normal|normalized|Normalized|normalised}} <span lang="en" dir="ltr" class="mw-content-ltr">normal</span> {{English term|normal}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an extended, easily processable and very uniform way to represent [[#ZObject|ZObjects]] in [[#JSON|JSON]]. This is opposed to [[#canonical|canonical]].</span>
; {{anchor|nothing|Nothing}} <span lang="en" dir="ltr" class="mw-content-ltr">nothing</span> {{English term|nothing}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a data type that can have no instances; see [[w:en:Bottom type|Bottom type]] in Wikipedia.</span>
== O ==
; {{anchor|object|Object}} 物件 {{English term|object}}
:# <span lang="en" dir="ltr" class="mw-content-ltr">In JavaScript or JSON, an object is basically an associative array; see [[w:en:Associative array|Associative array]] in Wikipedia.</span>
:# <span lang="en" dir="ltr" class="mw-content-ltr">In Wikifunctions, synonym of [[#ZObject|ZObject]].</span>
; {{anchor|orchestration|Orchestration}} <span lang="en" dir="ltr" class="mw-content-ltr">orchestration</span> {{English term|orchestration}}
:<span lang="en" dir="ltr" class="mw-content-ltr">The action performed by the [[#orchestrator|orchestrator]].</span>
; {{anchor|orchestrator|Orchestrator}} <span lang="en" dir="ltr" class="mw-content-ltr">orchestrator</span> {{English term|orchestrator}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a service that takes a [[#ZObject|ZObject]] and returns an [[#Evaluator|evaluated]] version of it. To do this, it will make calls to the wiki for other ZObjects it needs, to the [[#Executor|executor]] to evaluate some function calls, and other services such as [[#Wikidata|Wikidata]]. See [https://gitlab.wikimedia.org/repos/abstract-wiki/wikifunctions/function-orchestrator#wikifunctions-function-orchestrator the service documentation]. Compare to [[#evaluator|evaluator]] and [[#executor|executor]].</span>
== P ==
; {{anchor|page|Page}} 頁面 {{English term|page}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a part of a wiki. A [[#wiki|wiki]] consists of a number of individual pages, which can be edited independently, have internal links to each other, etc.</span>
; {{anchor|parser|Parser}} 解析器 {{English term|parser}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a function to convert a string to a ZObject. The opposite of [[#renderer|renderer]].</span>
; {{anchor|pair|Pair}} <span lang="en" dir="ltr" class="mw-content-ltr">pair</span> {{English term|pair}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a compound ZObject that contains two ZObjects of specific (but arbitrary) type.</span>
; {{anchor|part_P1|Part_P1}} <span lang="en" dir="ltr" class="mw-content-ltr">Part P1</span> {{English term|Part P1}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the part of the [[#development_project|development project]] that deals with creating [[#Wikifunctions|Wikifunctions]]. It starts at the beginning of the project and goes on throughout its whole lifetime; see [[:m:Special:MyLanguage/Abstract Wikipedia/Tasks#Part P1: Wikifunctions|Part P1: Wikifunctions]].</span>
; {{anchor|part_P2|Part_P2}} <span lang="en" dir="ltr" class="mw-content-ltr">Part P2</span> {{English term|Part P2}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the part of the [[#development_project|development project]] that deals with creating [[#Abstract_Wikipedia|Abstract Wikipedia]]. It starts after about a year in the project and goes on throughout the second half of its lifetime; see [[:m:Special:MyLanguage/Abstract Wikipedia/Tasks#Part P2: Abstract Wikipedia|Part P2: Abstract Wikipedia]].</span>
; {{anchor|persistent|Persistent}} <span lang="en" dir="ltr" class="mw-content-ltr">persistent</span> {{English term|persistent}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#ZObject|ZObject]] with a [[#ZID|ZID]] and with its own page in the wiki. Most persistent ZObjects will include [[#value|values]] that are ZObjects with no ZID, and are therefore not persistent.</span>
; {{anchor|property|Property}} 屬性 {{English term|property}}
: <span lang="en" dir="ltr" class="mw-content-ltr">used to make a [[#Statement|statement]] about an [[#Item|Item]] in [[#Wikidata|Wikidata]]'s knowledge base; see [[:d:Wikidata:Glossary#Property|Property]] in the Wikidata glossary.</span>
== Q ==
; {{anchor|quote|Quote}} <span lang="en" dir="ltr" class="mw-content-ltr">quote</span> {{English term|quote}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a data structure that is not to be evaluated but kept verbatim.</span>
; {{anchor|QID}} QID {{English term|QID}}
: <span lang="en" dir="ltr" class="mw-content-ltr">identifier for an item in [[#Wikidata|Wikidata]], comprising the letter "Q" followed by an integer.</span>
== R ==
; {{anchor|reading function}} <span lang="en" dir="ltr" class="mw-content-ltr">reading function</span> {{English term|reading function}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a synonym of [[#parser|parser]]. A function that converts user text input from a string into a given Type. For example, converting the String "123456" to the Number '123456', or the string "2024-03-12" to the Date '2024', '03', '12'.</span>
; {{anchor|reference|Reference}} 參照 {{English term|reference}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an ID denoting the underlying object. For example, the string "Z11" refers to the Type Z11/Monolingual text.</span>
: {{TakeNote}}<span lang="en" dir="ltr" class="mw-content-ltr">This term has a completely different meaning than on Wikidata; see [[w:en:Reference (computer science)|Reference (computer science)]] in Wikipedia.</span>
; {{anchor|renderer|Renderer}} 轉譯器 {{English term|renderer}} (1)
: <span lang="en" dir="ltr" class="mw-content-ltr">a function to convert a ZObject to a string. The opposite of [[#parser|parser]]. (formerly called "linearizer")</span>
; <span lang="en" dir="ltr" class="mw-content-ltr">renderer</span> {{English term|renderer}} (2)
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#Function|function]] that gets a [[#Content|content]] and an identifier for a [[#natural_language|natural language]] as an input and returns text in that natural language as output, representing the content as concrete text, using knowledge from [[#Lexeme|lexemes]].</span>
: {{TakeNote}}<span lang="en" dir="ltr" class="mw-content-ltr">This is a future feature, and the meaning of the term "renderer" in the {{Pg|:m:Abstract Wikipedia/Historic proposal|original proposal}}; this term collides with the current usage of "renderer", so it may be renamed in the future.</span>
; {{anchor|reify}} <span lang="en" dir="ltr" class="mw-content-ltr">reify</span> {{English term|reify}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a function that deconstructs an object into its constituent parts so that the parts can be individually accessed; see [[w:en:Reification (computer science)|Reification]] in Wikipedia; see [[phab:T261474]].</span>
; {{anchor|REPL}} <span lang="en" dir="ltr" class="mw-content-ltr">REPL</span> {{English term|REPL}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a Read / Eval / Print - Loop, a command line interface that takes some input, evaluates it, and displays the result; see [[w:en:REPL|REPL]] in Wikipedia; see [[Special:MyLanguage/Wikifunctions:Function model#REPL|Function model]].</span>
== S ==
; {{anchor|schemata}} <span lang="en" dir="ltr" class="mw-content-ltr">schemata</span> {{English term|schemata}}
: <span lang="en" dir="ltr" class="mw-content-ltr">See [[#function schemata|function schemata]].</span>
; {{anchor|serialization|Serialization|serialisation|Serialisation}} <span lang="en" dir="ltr" class="mw-content-ltr">serialization</span> {{English term|serialization}}
: <span lang="en" dir="ltr" class="mw-content-ltr">Ways to represent [[#ZObject|ZObjects]] in [[#JSON|JSON]]; see also [[#canonical|canonical]], [[#normal|normal]].</span>
; {{anchor|statement|Statement}} <span lang="en" dir="ltr" class="mw-content-ltr">statement</span> {{English term|statement}}
: <span lang="en" dir="ltr" class="mw-content-ltr">used to provide knowledge about an [[#Item|Item]] in [[#Wikidata|Wikidata]]'s knowledge base; see [[:d:Wikidata:Glossary#Statement|Statement]] in the Wikidata glossary.</span>
; {{anchor|string}} 字串 {{English term|string}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a sequence of characters.</span>
; {{anchor|sum type|Sum type}} <span lang="en" dir="ltr" class="mw-content-ltr">sum type</span> {{English term|sum type}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a type that can have instances of any of its constituent types; see [[w:en:Sum type|Sum type]] in Wikipedia; see [[Special:MyLanguage/Wikifunctions:Function model#Zx/Sum_types|Function model]].</span>
== T ==
; {{anchor|template}} <span lang="en" dir="ltr" class="mw-content-ltr">template</span> {{English term|template}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a way to specify a [[#renderer|renderer]] as text interspersed with place-holders, or ''slots'', which can be filled with data from [[#constructor|constructors]], function calculation, or content from another template. See the document [[:m:Special:MyLanguage/Abstract Wikipedia/Template Language for Wikifunctions|Template Language for Wikifunctions]] for a detailed discussion of the template syntax.</span>
; {{anchor|tester|Tester}} <span lang="en" dir="ltr" class="mw-content-ltr">tester</span> {{English term|tester}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a way to automatically determine if a given [[#ZFunction|ZFunction]] is doing the right thing. A [[#function|function]] will typically have multiple testers, each specifying some input to the function and conditions the output for the given input must fulfil. For example, testers for a “title case” function might include: “abc” should become “Abc”; “war and peace” should become “War and Peace”; “война и мир” should become “Война и мир”; and “123” should remain “123”.</span>
; {{anchor|transient|Transient}} <span lang="en" dir="ltr" class="mw-content-ltr">transient</span> {{English term|transient}}
: <span lang="en" dir="ltr" class="mw-content-ltr">Opposite of [[#persistent|persistent]].</span>
; {{anchor|type|Type}} <span lang="en" dir="ltr" class="mw-content-ltr">type</span> {{English term|type}}
: <span lang="en" dir="ltr" class="mw-content-ltr">The type of an object tells us how to interpret and understand the given object, and what can be done with the object. For example, if we have an object with the value “2023”, depending on whether its type is integer, or year, or string, we understand that object differently. Every object refers to “a thing in the real world”. The integer 2023 is different from the year 2023. The type tells us how to interpret a given object, so that we know which thing in the real world it refers to. Technically, it defines how objects of that type are structured and what conditions they need to fulfill to be a valid object of that type.</span> <span lang="en" dir="ltr" class="mw-content-ltr">A type defines the conditions for a [[#ZObject|ZObject]] to be a valid instance of this type, by providing a [[#Function|function]] that validates a ZObject. Types are ZObjects themselves, so that contributors of [[#Wikifunctions|Wikifunctions]] can create new types.</span>
; {{anchor|type converter}} <span lang="en" dir="ltr" class="mw-content-ltr">type converter</span> {{English term|type converter}}
: <span lang="en" dir="ltr" class="mw-content-ltr">A script written in some programming language (such as JavaScript), taking a native object (such as BigInt), and returning a JSON object representing the corresponding ZObject; or ''vice versa''.</span>
; {{anchor|typed list|Typed List}} <span lang="en" dir="ltr" class="mw-content-ltr">typed list</span> {{English term|typed list}}
: <span lang="en" dir="ltr" class="mw-content-ltr">A typed list is a [[#list|list]] in which all members of the list are of a specific, predefined [[#type|type]]. For example, a typed list of [[#string|strings]] is a list in which all members of the list are strings. A typed list takes one argument: the type that all the members of the list have to be an instance of. Typed lists are probably the most widely used [[#generic type|generic type]].</span>
== V ==
; {{anchor|value}} 值 {{English term|value}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the string or [[#ZObject|ZObject]] associated with a [[#key|key]] in another ZObject.</span>
; {{anchor|validation|Validation}} <span lang="en" dir="ltr" class="mw-content-ltr">validation</span> {{English term|validation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">The action performed by the [[#validator|validator]].</span>
; {{anchor|validator|Validator}} <span lang="en" dir="ltr" class="mw-content-ltr">validator</span> {{English term|validator}}
: <span lang="en" dir="ltr" class="mw-content-ltr">A function taking a ZObject as argument and return a list of errors found.</span>
== W ==
; {{anchor|wiki|Wiki}} wiki {{English term|wiki}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a web site that allows for the easy and collaborative editing of its [[#page|pages]].</span>
; {{anchor|Wikidata}} 維基數據 {{English term|Wikidata}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a project of the [[#Wikimedia_Foundation|Wikimedia Foundation]], a free, collaboratively edited knowledge base; see [[:m:Special:MyLanguage/Wikidata|Wikidata]].</span>
; {{anchor|Wikifunctions}}{{anchor|Wikilambda}} 維基函式庫 {{English term|Wikifunctions}}
: <span lang="en" dir="ltr" class="mw-content-ltr">new project of the [[#Wikimedia_Foundation|Wikimedia Foundation]]; a free, collaboratively developed and maintained catalog of [[#Function|functions]]. It was initially known as '''Wikilambda''' in the {{Pg|:m:Abstract Wikipedia/Historic proposal|original proposal}} (that name is now used for the [[#WikiLambda|WikiLambda extension]]).</span>
; {{anchor|WikiLambda}} <span lang="en" dir="ltr" class="mw-content-ltr">WikiLambda</span> {{English term|WikiLambda}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the software used to power the project, [[mw:Special:MyLanguage/Extension:WikiLambda|Extension:WikiLambda]].</span>
; {{anchor|WikiLambda system}} <span lang="en" dir="ltr" class="mw-content-ltr">WikiLambda system</span> {{English term|WikiLambda system}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an automated system account that is a key part of the WikiLambda extension. See [[User:WikiLambda system]] for its current function.</span>
; {{anchor|WMF|Wikimedia_Foundation}} 維基媒體基金會 {{English term|Wikimedia Foundation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">organization that supports the Wikimedia movement; see [[:m:Special:MyLanguage/Wikimedia Foundation|Wikimedia Foundation]].</span>
; {{anchor|Wikipedia}} <span lang="en" dir="ltr" class="mw-content-ltr">Wikipedia</span> {{English term|Wikipedia}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a project of the [[#Wikimedia_Foundation|Wikimedia Foundation]], a free, collaboratively edited encyclopedia; see [[:m:Special:MyLanguage/Wikipedia|Wikipedia]].</span>
; <span lang="en" dir="ltr" class="mw-content-ltr">Wikipedia, Abstract</span> {{English term|Wikipedia, Abstract}}
: <span lang="en" dir="ltr" class="mw-content-ltr">see [[#Abstract_Wikipedia|Abstract Wikipedia]].</span>
; <span lang="en" dir="ltr" class="mw-content-ltr">Wikipedia, multilingual</span> {{English term|Wikipedia, multilingual}}
: <span lang="en" dir="ltr" class="mw-content-ltr">see [[#multilingual_Wikipedia|multilingual Wikipedia]].</span>
== Z ==
; {{anchor|ZID|ZIDs}} ZID {{English term|ZID}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an ID starting with the letter Z and followed by a natural number. Used to identify [[#persistent|persistent]] [[#ZObject|ZObjects]].</span>
; {{anchor|zfunction|ZFunction}} <span lang="en" dir="ltr" class="mw-content-ltr">ZFunction</span> {{English term|ZFunction}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a wiki page on [[#Wikifunctions|Wikifunctions]] that describes a particular [[#function|function]] that can be used through the [[#evaluator|evaluator]]. Each ZFunction can be realised in code by one or more [[#implementation|Implementations]], and said implementations can be verified as correct by one or more [[#tester|Tester]] ZFunctions.</span>
; {{anchor|ZKey}} <span lang="en" dir="ltr" class="mw-content-ltr">ZKey</span> {{English term|ZKey}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#ZObject|ZObject]] defining a [[#key|key]] for a particular [[#type|type]].</span>
; {{anchor|ZList}} <span lang="en" dir="ltr" class="mw-content-ltr">ZList</span> {{English term|ZList}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#ZObject|ZObject]] for an ordered sequence of other ZObjects.</span>
; {{anchor|ZObject}} <span lang="en" dir="ltr" class="mw-content-ltr">ZObject</span> {{English term|ZObject}}
: <span lang="en" dir="ltr" class="mw-content-ltr">every entry in [[#Wikifunctions|Wikifunctions]] is a ZObject. ZObjects stored in Wikifunctions have [[#ZID|ZIDs]] and can be of numerous types, such as [[#Constructor|Constructors]], [[#Function|Functions]], [[#Type|Types]], etc. A ZObject consists of a set of [[#Key|Key]]/[[#Value|Value]] pairs, with each Key appearing only once per ZObject and Values being ZObjects.</span>
; {{anchor|ZUnit}} <span lang="en" dir="ltr" class="mw-content-ltr">ZUnit</span> {{English term|ZUnit}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#ZObject|ZObject]] that represents a [[:w:en:Unit type|Unit type]].</span>
[[Category:Glossary| {{#translation:}}]]
ezg7xd1q3vh14jkiqstxv7ec9u8t8op
200129
200127
2025-07-03T10:11:23Z
Winston Sung
2672
Created page with "轉譯函式"
200129
wikitext
text/x-wiki
<noinclude><languages/>
<!--<nowiki>(nowiki tags are so that the translate extension doesn't try to translate the TERM and DEFINITION in this boilerplate).
Use this boilerplate for a new term:
; {{anchor|term|Term}} <translate>term</translate> {{English term|term}}
: ''Definition verification needed''
: <translate>definition</translate>
Notes:
1. Omit the "Definition verification" if you're sure that your definition is correct.
2. You can add several values for anchor, if it has spelling or capitalization variants; see the documentation for Template:Anchor and examples in other terms.
</nowiki>--></noinclude>
<span lang="en" dir="ltr" class="mw-content-ltr">Feel free to ask for terms on the [[Wikifunctions talk:Glossary|talk page]], or to add more terms and improve the definitions.</span>
{|class="toccolours" style="margin:.2em auto;padding:.2em .5em;text-align:center" dir="ltr" lang="en"
|-
|style="padding:0;width:100%"|{{CompactTOC}}
|}
== A ==
; {{anchor|abstract|Abstract}} 抽象 {{English term|abstract}}
: <span lang="en" dir="ltr" class="mw-content-ltr">not in a specific [[#natural_language|natural language]] but abstracting from it; aiming to provide a notation for the meaning behind natural language texts, sentences, or phrases. The opposite of [[#concrete|concrete]].</span>
; {{anchor|abstracttext|AbstractText}} <span lang="en" dir="ltr" class="mw-content-ltr">AbstractText</span> {{English term|AbstractText}}
: <span lang="en" dir="ltr" class="mw-content-ltr">prototype [https://github.com/google/abstracttext implementation] of the [[#Wikifunctions|Wikifunctions]] idea.</span>
; {{anchor|abstract_content}} 抽象內容 {{English term|abstract content}}
: <span lang="en" dir="ltr" class="mw-content-ltr">see [[#Content|content]].</span>
; {{anchor|abstract_Wikipedia|Abstract_Wikipedia}} 抽象維基百科 {{English term|Abstract Wikipedia}}
: <span lang="en" dir="ltr" class="mw-content-ltr">preliminary name of all the [[#Content|Content]] that can be used by [[#local_Wikipedia|local Wikipedias]] to [[#Renderer|render]] an [[#article|article]] in [[#natural_language|natural language]]; currently proposed to live in [[#Wikidata|Wikidata]] next to the corresponding [[#Item|Item]], but that will be discussed before [[#Part_P2|Part P2]] of the [[#development_project|development project]].</span>
; {{anchor|alias}} 別名 {{English term|alias}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an alternative label for an object, used foremost to find the object.</span>
; {{anchor|argument}} 引數 {{English term|argument}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an input given to a [[#function call|function call]].</span>
; {{anchor|argument reference}} 引數參照 {{English term|argument reference}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#reference|reference]] to one of the supplied arguments within a [[#composition|composition]].</span>
; {{anchor|array}} 陣列 {{English term|array}}
: <span lang="en" dir="ltr" class="mw-content-ltr">Many programming languages have an "array" type. The counterparts in Wikifunctions are [[#list|list]] and [[#typed list|typed list]]. See also [[#Benjamin array|Benjamin array]].</span>
; {{anchor|article|Article}} 條目 {{English term|article}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a page in the main namespace of [[#Wikipedia|Wikipedia]], usually representing one entry in Wikipedia.</span>
== B ==
; {{anchor|Benjamin array}} <span lang="en" dir="ltr" class="mw-content-ltr">Benjamin array</span> {{English term|Benjamin array}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a way to denote [[#typed list|typed list]] proposed by Benjamin Degenhart, where a typed list is stored as a JSON list whose first element denotes the type. This is in contrast with the previous proposed schema, which uses LISP-style singly-linked lists, in which the type must be stored once in each node.</span>
; {{anchor|boolean|Boolean}} 布林值 {{English term|boolean}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a value that can have 2 states, usually denoted true and false.</span>
; {{anchor|built-in|builtin}} 內建 {{English term|built-in}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a native implementation of a function that is provided by the evaluator and that is not editable through the wiki interface.</span>
== C ==
; {{anchor|call}} 呼叫 {{English term|call}}
: <span lang="en" dir="ltr" class="mw-content-ltr">see [[#function call|function call]]. In English, the term [[#invoke|invoke or invocation]] may also be used.</span>
; {{anchor|canonical|canonicalized|canonicalised}} <span lang="en" dir="ltr" class="mw-content-ltr">canonical, canonicalized, canonicalised</span> {{English term|canonical, canonicalized, canonicalised}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a specific, less verbose and thus more readable way to represent [[#ZObject|ZObjects]] in [[#JSON|JSON]]; it is the usual representation ZObjects are stored in [[#Wikifunctions|Wikifunctions]]. This is opposed to [[#normal|normal]].</span>
; {{anchor|character}} 字元 {{English term|character}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a character as defined by Unicode, a constituent of a String; a character can consist of several bytes (or octets).</span>
; {{anchor|composition}} 組成 {{English term|composition}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a form of implementation of a function, where the implementation is given by the combination of other functions; see [[Special:MyLanguage/Wikifunctions:Function model#Composition|Function model]].</span>
; {{anchor|composition notation}} <span lang="en" dir="ltr" class="mw-content-ltr">composition notation</span> {{English term|composition notation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an easy-to-read notation for compositions; see [[Special:MyLanguage/Wikifunctions:Function model#Composition|Function model]].</span>
; {{anchor|concrete|Concrete}} <span lang="en" dir="ltr" class="mw-content-ltr">concrete</span> {{English term|concrete}}
: <span lang="en" dir="ltr" class="mw-content-ltr">in a specific [[#natural_language|natural language]]. The opposite of [[#abstract|abstract]].</span>
; {{anchor|cons}} <span lang="en" dir="ltr" class="mw-content-ltr">cons</span> {{English term|cons}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a function to create a new list by adding an element at the top of it; see [[phab:T261474]].</span> <span lang="en" dir="ltr" class="mw-content-ltr">See [[w:cons|cons]] in Wikipedia.</span>
; {{anchor|constructor|Constructor}} <span lang="en" dir="ltr" class="mw-content-ltr">constructor</span> {{English term|constructor}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an [[#abstract|abstract]] building block of [[#Content|content]]. A constructor aims to capture the meaning of a single phrase or sentence structure. It often has slots that can take other constructors, and can itself be used as a value to fill the slots of other constructors.</span>
; {{anchor|Content}}<!--do not add |content to the anchor, it is used by MediaWiki--> <span lang="en" dir="ltr" class="mw-content-ltr">content, abstract content</span> {{English term|content, abstract content}}
: <span lang="en" dir="ltr" class="mw-content-ltr">abstract representation of a text or text fragment, assembled from [[#Constructor|constructors]]. Technically, an instance of a constructor. The top level constructor is used to represent a whole [[#article|article]] and stored in [[#Abstract_Wikipedia|Abstract Wikipedia]], but content can be also for just a sentence or phrase. Sometimes called abstract content.</span>
; {{anchor|curry}} <span lang="en" dir="ltr" class="mw-content-ltr">curried, curry, currying</span> {{English term|curried, curry, currying}}
: <span lang="en" dir="ltr" class="mw-content-ltr">A curried function is a function that was translated from taking multiple arguments into a sequence of functions, each with a single argument. This technique is named after the American mathematician [[:w:en:Haskell Curry|Haskell Curry]]. See [[:w:en:Currying|Currying]] in Wikipedia.</span>
== D ==
; {{anchor|deserialization|Deserialization|deserialisation|Deserialisation}} <span lang="en" dir="ltr" class="mw-content-ltr">deserialization</span> {{English term|deserialization}}
: <span lang="en" dir="ltr" class="mw-content-ltr">Opposite of [[#serialization|serialization]].</span>
; {{anchor|development_project|Development_project}} 開發專案 {{English term|development project}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a project to develop [[#Wikifunctions|Wikifunctions]] and [[#Abstract_Wikipedia|Abstract Wikipedia]]; see [[:m:Special:MyLanguage/Abstract Wikipedia/Plan|Abstract Wikipedia plan]].</span>
; {{anchor|display function}} 顯示函式 {{English term|display function}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a synonym of [[#renderer|renderer]]. For example, a function that converts a [[#type|type]] into a string that users can understand, such as converting a Number 123456 to "123,456" in (International) English, "1,23,456" in Indian English, "123.456" in French, etc., or converting the Date '2024','03','12' to '2024-03-12', and so on.</span>
; {{anchor|documentation}} 說明文件 {{English term|documentation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">human-readable text explaining an object.</span>
== E ==
; {{anchor|eney|eneyjj}} <span lang="en" dir="ltr" class="mw-content-ltr">eneyj</span> {{English term|eneyj}}
:# <span lang="en" dir="ltr" class="mw-content-ltr">prototype model of [[#Wikifunctions|Wikifunctions]];</span>
:# <span lang="en" dir="ltr" class="mw-content-ltr">a JavaScript implementation of an [[#evaluator|evaluator]] of that model provided in [[#abstracttext|abstracttext]].</span>
; {{anchor|error|Error}} 錯誤 {{English term|error}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a type whose instances indicate problems in [[#evaluation|evaluation]] or [[#validation|validation]]; see [[Special:MyLanguage/Wikifunctions:Function model#Z5/Errors|Function model]].</span>
; {{anchor|evaluation|Evaluation}} <span lang="en" dir="ltr" class="mw-content-ltr">evaluation</span> {{English term|evaluation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">The action performed by the [[#evaluator|evaluator]].</span>
; {{anchor|evaluator|Evaluator}} <span lang="en" dir="ltr" class="mw-content-ltr">evaluator</span> {{English term|evaluator}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a piece of software that takes a [[#ZObject|ZObject]] and evaluates it, that is executes a [[#Function|Function]] and returns the result. We envision the development of several evaluators. Evaluators may be implemented and run in the browser, on the server of the [[#Wikimedia_Foundation|Wikimedia Foundation]], in the cloud, in an app on a mobile device, or other places. Compare to [[#executor|executor]] and [[#orchestrator|orchestrator]].</span>
; {{anchor|execution|Execution}} 執行 {{English term|execution}}
: <span lang="en" dir="ltr" class="mw-content-ltr">The action performed by the [[#executor|executor]].</span>
; {{anchor|executor|Executor|executors|Executors}} <span lang="en" dir="ltr" class="mw-content-ltr">executor</span> {{English term|executor}}
: <span lang="en" dir="ltr" class="mw-content-ltr">one of a set of internal services which are not exposed to the public. They can be only called by the [[#Orchestrator|orchestrator]]. They run native code in a specific programming language. There would be one executor for Lua, one for JavaScript, one for Python, etc. See [https://gitlab.wikimedia.org/repos/abstract-wiki/wikifunctions/function-evaluator#executors the service documentation]. Compare to [[#evaluator|evaluator]] and [[#orchestrator|orchestrator]].</span>
== F ==
; {{anchor|function|Function}} 函式 {{English term|function}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the specification of a computation that takes some input and returns output; see [[w:en:Function (computer science)|Function (computer science)]] in Wikipedia.</span>
; {{anchor|function call|Function call}} 函式呼叫 {{English term|function call}}
: <span lang="en" dir="ltr" class="mw-content-ltr">A function call is a ZObject consisting of a function and the required arguments for the function, and can be evaluated to another ZObject. In English, the term "invoke" may also be used.</span>
; {{anchor|function evaluator}} <span lang="en" dir="ltr" class="mw-content-ltr">function evaluator</span> {{English term|function evaluator}}
: <span lang="en" dir="ltr" class="mw-content-ltr">See [[#evaluator|evaluator]].</span>
; {{anchor|function executor}} <span lang="en" dir="ltr" class="mw-content-ltr">function executor</span> {{English term|function executor}}
: <span lang="en" dir="ltr" class="mw-content-ltr">See [[#executor|executor]].</span>
; {{anchor|function model}} 函式模型 {{English term|function model}}
: 請參閱[[Special:MyLanguage/Wikifunctions:Function model|函式模型]]。
; {{anchor|function orchestrator}} <span lang="en" dir="ltr" class="mw-content-ltr">function orchestrator</span> {{English term|function orchestrator}}
: <span lang="en" dir="ltr" class="mw-content-ltr">See [[#orchestrator|orchestrator]].</span>
; {{anchor|function schemata}} <span lang="en" dir="ltr" class="mw-content-ltr">function schemata</span> {{English term|function schemata}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a set of pre-defined ZObjects used in [[#orchestrator|orchestrator]] and [[#evaluator|evaluator]]. The [[#WikiLambda system|WikiLambda system account]] also populates pre-defined ZObjects on-wiki from function schemata.</span>
; {{anchor|functional}} <span lang="en" dir="ltr" class="mw-content-ltr">functional</span> {{English term|functional}}
: <span lang="en" dir="ltr" class="mw-content-ltr">short for "purely functional", meaning that the [[#evaluation|evaluation]] of such a function has no side-effects and is deterministic, that is always the same; see [[w:en:Purely functional programming|Purely functional programming]] in Wikipedia; see [[Special:MyLanguage/Wikifunctions:Function model#non-functional|Function model]].</span>
== G ==
; {{anchor|generic type}} <span lang="en" dir="ltr" class="mw-content-ltr">generic type</span> {{English term|generic type}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a type generated by [[#evaluation|evaluation]] of a function call.</span>
== I ==
; {{anchor|identity|Identity}} 識別物件 {{English term|identity}}
: <span lang="en" dir="ltr" class="mw-content-ltr">The identity of a type is an instance of (specific) function that evaluates to the type. For a simple type, it is a reference to the type itself.</span>
; {{anchor|implementation|Implementation}} 實作 {{English term|implementation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a particular way to execute a [[#function|function]]. An implementation may be a piece of code in a certain programming language, refer to functionality “built into” the [[#evaluator|evaluator]], or [[#composition|compose]] calls to other functions. A function may have many implementations, which should all be equivalent. Short for "[[#ZFunction|ZFunction]] implementation".</span>
; {{anchor|instance}} 實例 {{English term|instance}}
: <span lang="en" dir="ltr" class="mw-content-ltr">Every ZObject is an instance of its type.</span>
; {{anchor|invoke}} 調用 {{English term|invoke}}
: <span lang="en" dir="ltr" class="mw-content-ltr">synonym for [[#call|call]] in English. See [[#function call|function call]].</span>
; {{anchor|item|Item}} 項目 {{English term|item}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an entry in [[#Wikidata|Wikidata]]'s knowledge base; see [[:d:Wikidata:Glossary#Item|Item]] in the Wikidata glossary.</span>
== J ==
; {{anchor|JSON}} JSON {{English term|JSON}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a widely used data transfer format; see [[w:en:JSON|JSON]] in Wikipedia.</span>
== K ==
; {{anchor|key|Key}} 鍵 {{English term|key}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a string which ends with the letter K followed by a natural number, and is optionally preceded by a [[#ZID|ZID]]. Keys are defined in [[#Wikifunctions|Wikifunctions]] usually on [[#Type|Types]] or [[#Function|Functions]], and are used to build up [[#ZObject|ZObjects]].</span>
== L ==
; {{anchor|label}} <span lang="en" dir="ltr" class="mw-content-ltr">label</span> {{English term|label}}
: <span lang="en" dir="ltr" class="mw-content-ltr">main name given to identify a ZObject. May only be plain text.</span>
; {{anchor|lexeme|Lexeme}} <span lang="en" dir="ltr" class="mw-content-ltr">lexeme</span> {{English term|lexeme}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an entry in [[#Wikidata|Wikidata]] storing lexicographic knowledge about, roughly, a word; see [[d:Wikidata:Glossary#Lexeme|Lexeme]] in the Wikidata glossary.</span>
; {{anchor|linearizer|Linearizer}} <span lang="en" dir="ltr" class="mw-content-ltr">linearizer</span> {{English term|linearizer}}
: <span lang="en" dir="ltr" class="mw-content-ltr">(this term is no longer used in current terminology, but can still be found in older documents) synonym of [[#renderer|renderer]] (1).</span>
; {{anchor|list|List}} 串列 {{English term|list}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a data type that groups an arbitrary number of instances in an ordered entity; see [[w:en:List (abstract data type)|List (abstract data type)]] in Wikipedia.</span>
; {{anchor|literal}} <span lang="en" dir="ltr" class="mw-content-ltr">literal</span> {{English term|literal}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a value that is not a ZObject. Currently the only accepted literal is string.</span>
; {{anchor|local_Wikipedia|Local_Wikipedia}} <span lang="en" dir="ltr" class="mw-content-ltr">local Wikipedia</span> {{English term|local Wikipedia}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#Wikipedia|Wikipedia]] in a specific language, such as Hebrew Wikipedia, Japanese Wikipedia, or Italian Wikipedia.</span>
== M ==
; {{anchor|Multlingual_Wikipedia|multilingual_Wikipedia}} <span lang="en" dir="ltr" class="mw-content-ltr">multilingual Wikipedia</span> {{English term|multilingual Wikipedia}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the architecture that allows [[#local_Wikipedia|local Wikipedias]] to enrich themselves by [[#Renderer|rendering]] the [[#Content|Content]] from [[#Abstract_Wikipedia|Abstract Wikipedia]] and thus have a more comprehensive, current, and correct Wikipedia in their language; see [[:m:Special:MyLanguage/Abstract Wikipedia/Architecture|Abstract Wikipedia architecture]].</span>
== N ==
; {{anchor|natural_language|Natural_language}} 自然語言 {{English term|natural language}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a specific natural language in the wider sense, such as English, Tagalog, or Swahili; see [[w:en:Natural language|Natural language]] in Wikipedia.</span>
; {{anchor|normal|Normal|normalized|Normalized|normalised}} <span lang="en" dir="ltr" class="mw-content-ltr">normal</span> {{English term|normal}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an extended, easily processable and very uniform way to represent [[#ZObject|ZObjects]] in [[#JSON|JSON]]. This is opposed to [[#canonical|canonical]].</span>
; {{anchor|nothing|Nothing}} <span lang="en" dir="ltr" class="mw-content-ltr">nothing</span> {{English term|nothing}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a data type that can have no instances; see [[w:en:Bottom type|Bottom type]] in Wikipedia.</span>
== O ==
; {{anchor|object|Object}} 物件 {{English term|object}}
:# <span lang="en" dir="ltr" class="mw-content-ltr">In JavaScript or JSON, an object is basically an associative array; see [[w:en:Associative array|Associative array]] in Wikipedia.</span>
:# <span lang="en" dir="ltr" class="mw-content-ltr">In Wikifunctions, synonym of [[#ZObject|ZObject]].</span>
; {{anchor|orchestration|Orchestration}} <span lang="en" dir="ltr" class="mw-content-ltr">orchestration</span> {{English term|orchestration}}
:<span lang="en" dir="ltr" class="mw-content-ltr">The action performed by the [[#orchestrator|orchestrator]].</span>
; {{anchor|orchestrator|Orchestrator}} <span lang="en" dir="ltr" class="mw-content-ltr">orchestrator</span> {{English term|orchestrator}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a service that takes a [[#ZObject|ZObject]] and returns an [[#Evaluator|evaluated]] version of it. To do this, it will make calls to the wiki for other ZObjects it needs, to the [[#Executor|executor]] to evaluate some function calls, and other services such as [[#Wikidata|Wikidata]]. See [https://gitlab.wikimedia.org/repos/abstract-wiki/wikifunctions/function-orchestrator#wikifunctions-function-orchestrator the service documentation]. Compare to [[#evaluator|evaluator]] and [[#executor|executor]].</span>
== P ==
; {{anchor|page|Page}} 頁面 {{English term|page}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a part of a wiki. A [[#wiki|wiki]] consists of a number of individual pages, which can be edited independently, have internal links to each other, etc.</span>
; {{anchor|parser|Parser}} 解析器 {{English term|parser}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a function to convert a string to a ZObject. The opposite of [[#renderer|renderer]].</span>
; {{anchor|pair|Pair}} <span lang="en" dir="ltr" class="mw-content-ltr">pair</span> {{English term|pair}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a compound ZObject that contains two ZObjects of specific (but arbitrary) type.</span>
; {{anchor|part_P1|Part_P1}} <span lang="en" dir="ltr" class="mw-content-ltr">Part P1</span> {{English term|Part P1}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the part of the [[#development_project|development project]] that deals with creating [[#Wikifunctions|Wikifunctions]]. It starts at the beginning of the project and goes on throughout its whole lifetime; see [[:m:Special:MyLanguage/Abstract Wikipedia/Tasks#Part P1: Wikifunctions|Part P1: Wikifunctions]].</span>
; {{anchor|part_P2|Part_P2}} <span lang="en" dir="ltr" class="mw-content-ltr">Part P2</span> {{English term|Part P2}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the part of the [[#development_project|development project]] that deals with creating [[#Abstract_Wikipedia|Abstract Wikipedia]]. It starts after about a year in the project and goes on throughout the second half of its lifetime; see [[:m:Special:MyLanguage/Abstract Wikipedia/Tasks#Part P2: Abstract Wikipedia|Part P2: Abstract Wikipedia]].</span>
; {{anchor|persistent|Persistent}} <span lang="en" dir="ltr" class="mw-content-ltr">persistent</span> {{English term|persistent}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#ZObject|ZObject]] with a [[#ZID|ZID]] and with its own page in the wiki. Most persistent ZObjects will include [[#value|values]] that are ZObjects with no ZID, and are therefore not persistent.</span>
; {{anchor|property|Property}} 屬性 {{English term|property}}
: <span lang="en" dir="ltr" class="mw-content-ltr">used to make a [[#Statement|statement]] about an [[#Item|Item]] in [[#Wikidata|Wikidata]]'s knowledge base; see [[:d:Wikidata:Glossary#Property|Property]] in the Wikidata glossary.</span>
== Q ==
; {{anchor|quote|Quote}} <span lang="en" dir="ltr" class="mw-content-ltr">quote</span> {{English term|quote}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a data structure that is not to be evaluated but kept verbatim.</span>
; {{anchor|QID}} QID {{English term|QID}}
: <span lang="en" dir="ltr" class="mw-content-ltr">identifier for an item in [[#Wikidata|Wikidata]], comprising the letter "Q" followed by an integer.</span>
== R ==
; {{anchor|reading function}} <span lang="en" dir="ltr" class="mw-content-ltr">reading function</span> {{English term|reading function}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a synonym of [[#parser|parser]]. A function that converts user text input from a string into a given Type. For example, converting the String "123456" to the Number '123456', or the string "2024-03-12" to the Date '2024', '03', '12'.</span>
; {{anchor|reference|Reference}} 參照 {{English term|reference}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an ID denoting the underlying object. For example, the string "Z11" refers to the Type Z11/Monolingual text.</span>
: {{TakeNote}}<span lang="en" dir="ltr" class="mw-content-ltr">This term has a completely different meaning than on Wikidata; see [[w:en:Reference (computer science)|Reference (computer science)]] in Wikipedia.</span>
; {{anchor|renderer|Renderer}} 轉譯器 {{English term|renderer}} (1)
: <span lang="en" dir="ltr" class="mw-content-ltr">a function to convert a ZObject to a string. The opposite of [[#parser|parser]]. (formerly called "linearizer")</span>
; 轉譯函式 {{English term|renderer}} (2)
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#Function|function]] that gets a [[#Content|content]] and an identifier for a [[#natural_language|natural language]] as an input and returns text in that natural language as output, representing the content as concrete text, using knowledge from [[#Lexeme|lexemes]].</span>
: {{TakeNote}}<span lang="en" dir="ltr" class="mw-content-ltr">This is a future feature, and the meaning of the term "renderer" in the {{Pg|:m:Abstract Wikipedia/Historic proposal|original proposal}}; this term collides with the current usage of "renderer", so it may be renamed in the future.</span>
; {{anchor|reify}} <span lang="en" dir="ltr" class="mw-content-ltr">reify</span> {{English term|reify}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a function that deconstructs an object into its constituent parts so that the parts can be individually accessed; see [[w:en:Reification (computer science)|Reification]] in Wikipedia; see [[phab:T261474]].</span>
; {{anchor|REPL}} <span lang="en" dir="ltr" class="mw-content-ltr">REPL</span> {{English term|REPL}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a Read / Eval / Print - Loop, a command line interface that takes some input, evaluates it, and displays the result; see [[w:en:REPL|REPL]] in Wikipedia; see [[Special:MyLanguage/Wikifunctions:Function model#REPL|Function model]].</span>
== S ==
; {{anchor|schemata}} <span lang="en" dir="ltr" class="mw-content-ltr">schemata</span> {{English term|schemata}}
: <span lang="en" dir="ltr" class="mw-content-ltr">See [[#function schemata|function schemata]].</span>
; {{anchor|serialization|Serialization|serialisation|Serialisation}} <span lang="en" dir="ltr" class="mw-content-ltr">serialization</span> {{English term|serialization}}
: <span lang="en" dir="ltr" class="mw-content-ltr">Ways to represent [[#ZObject|ZObjects]] in [[#JSON|JSON]]; see also [[#canonical|canonical]], [[#normal|normal]].</span>
; {{anchor|statement|Statement}} <span lang="en" dir="ltr" class="mw-content-ltr">statement</span> {{English term|statement}}
: <span lang="en" dir="ltr" class="mw-content-ltr">used to provide knowledge about an [[#Item|Item]] in [[#Wikidata|Wikidata]]'s knowledge base; see [[:d:Wikidata:Glossary#Statement|Statement]] in the Wikidata glossary.</span>
; {{anchor|string}} 字串 {{English term|string}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a sequence of characters.</span>
; {{anchor|sum type|Sum type}} <span lang="en" dir="ltr" class="mw-content-ltr">sum type</span> {{English term|sum type}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a type that can have instances of any of its constituent types; see [[w:en:Sum type|Sum type]] in Wikipedia; see [[Special:MyLanguage/Wikifunctions:Function model#Zx/Sum_types|Function model]].</span>
== T ==
; {{anchor|template}} <span lang="en" dir="ltr" class="mw-content-ltr">template</span> {{English term|template}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a way to specify a [[#renderer|renderer]] as text interspersed with place-holders, or ''slots'', which can be filled with data from [[#constructor|constructors]], function calculation, or content from another template. See the document [[:m:Special:MyLanguage/Abstract Wikipedia/Template Language for Wikifunctions|Template Language for Wikifunctions]] for a detailed discussion of the template syntax.</span>
; {{anchor|tester|Tester}} <span lang="en" dir="ltr" class="mw-content-ltr">tester</span> {{English term|tester}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a way to automatically determine if a given [[#ZFunction|ZFunction]] is doing the right thing. A [[#function|function]] will typically have multiple testers, each specifying some input to the function and conditions the output for the given input must fulfil. For example, testers for a “title case” function might include: “abc” should become “Abc”; “war and peace” should become “War and Peace”; “война и мир” should become “Война и мир”; and “123” should remain “123”.</span>
; {{anchor|transient|Transient}} <span lang="en" dir="ltr" class="mw-content-ltr">transient</span> {{English term|transient}}
: <span lang="en" dir="ltr" class="mw-content-ltr">Opposite of [[#persistent|persistent]].</span>
; {{anchor|type|Type}} <span lang="en" dir="ltr" class="mw-content-ltr">type</span> {{English term|type}}
: <span lang="en" dir="ltr" class="mw-content-ltr">The type of an object tells us how to interpret and understand the given object, and what can be done with the object. For example, if we have an object with the value “2023”, depending on whether its type is integer, or year, or string, we understand that object differently. Every object refers to “a thing in the real world”. The integer 2023 is different from the year 2023. The type tells us how to interpret a given object, so that we know which thing in the real world it refers to. Technically, it defines how objects of that type are structured and what conditions they need to fulfill to be a valid object of that type.</span> <span lang="en" dir="ltr" class="mw-content-ltr">A type defines the conditions for a [[#ZObject|ZObject]] to be a valid instance of this type, by providing a [[#Function|function]] that validates a ZObject. Types are ZObjects themselves, so that contributors of [[#Wikifunctions|Wikifunctions]] can create new types.</span>
; {{anchor|type converter}} <span lang="en" dir="ltr" class="mw-content-ltr">type converter</span> {{English term|type converter}}
: <span lang="en" dir="ltr" class="mw-content-ltr">A script written in some programming language (such as JavaScript), taking a native object (such as BigInt), and returning a JSON object representing the corresponding ZObject; or ''vice versa''.</span>
; {{anchor|typed list|Typed List}} <span lang="en" dir="ltr" class="mw-content-ltr">typed list</span> {{English term|typed list}}
: <span lang="en" dir="ltr" class="mw-content-ltr">A typed list is a [[#list|list]] in which all members of the list are of a specific, predefined [[#type|type]]. For example, a typed list of [[#string|strings]] is a list in which all members of the list are strings. A typed list takes one argument: the type that all the members of the list have to be an instance of. Typed lists are probably the most widely used [[#generic type|generic type]].</span>
== V ==
; {{anchor|value}} 值 {{English term|value}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the string or [[#ZObject|ZObject]] associated with a [[#key|key]] in another ZObject.</span>
; {{anchor|validation|Validation}} <span lang="en" dir="ltr" class="mw-content-ltr">validation</span> {{English term|validation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">The action performed by the [[#validator|validator]].</span>
; {{anchor|validator|Validator}} <span lang="en" dir="ltr" class="mw-content-ltr">validator</span> {{English term|validator}}
: <span lang="en" dir="ltr" class="mw-content-ltr">A function taking a ZObject as argument and return a list of errors found.</span>
== W ==
; {{anchor|wiki|Wiki}} wiki {{English term|wiki}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a web site that allows for the easy and collaborative editing of its [[#page|pages]].</span>
; {{anchor|Wikidata}} 維基數據 {{English term|Wikidata}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a project of the [[#Wikimedia_Foundation|Wikimedia Foundation]], a free, collaboratively edited knowledge base; see [[:m:Special:MyLanguage/Wikidata|Wikidata]].</span>
; {{anchor|Wikifunctions}}{{anchor|Wikilambda}} 維基函式庫 {{English term|Wikifunctions}}
: <span lang="en" dir="ltr" class="mw-content-ltr">new project of the [[#Wikimedia_Foundation|Wikimedia Foundation]]; a free, collaboratively developed and maintained catalog of [[#Function|functions]]. It was initially known as '''Wikilambda''' in the {{Pg|:m:Abstract Wikipedia/Historic proposal|original proposal}} (that name is now used for the [[#WikiLambda|WikiLambda extension]]).</span>
; {{anchor|WikiLambda}} <span lang="en" dir="ltr" class="mw-content-ltr">WikiLambda</span> {{English term|WikiLambda}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the software used to power the project, [[mw:Special:MyLanguage/Extension:WikiLambda|Extension:WikiLambda]].</span>
; {{anchor|WikiLambda system}} <span lang="en" dir="ltr" class="mw-content-ltr">WikiLambda system</span> {{English term|WikiLambda system}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an automated system account that is a key part of the WikiLambda extension. See [[User:WikiLambda system]] for its current function.</span>
; {{anchor|WMF|Wikimedia_Foundation}} 維基媒體基金會 {{English term|Wikimedia Foundation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">organization that supports the Wikimedia movement; see [[:m:Special:MyLanguage/Wikimedia Foundation|Wikimedia Foundation]].</span>
; {{anchor|Wikipedia}} <span lang="en" dir="ltr" class="mw-content-ltr">Wikipedia</span> {{English term|Wikipedia}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a project of the [[#Wikimedia_Foundation|Wikimedia Foundation]], a free, collaboratively edited encyclopedia; see [[:m:Special:MyLanguage/Wikipedia|Wikipedia]].</span>
; <span lang="en" dir="ltr" class="mw-content-ltr">Wikipedia, Abstract</span> {{English term|Wikipedia, Abstract}}
: <span lang="en" dir="ltr" class="mw-content-ltr">see [[#Abstract_Wikipedia|Abstract Wikipedia]].</span>
; <span lang="en" dir="ltr" class="mw-content-ltr">Wikipedia, multilingual</span> {{English term|Wikipedia, multilingual}}
: <span lang="en" dir="ltr" class="mw-content-ltr">see [[#multilingual_Wikipedia|multilingual Wikipedia]].</span>
== Z ==
; {{anchor|ZID|ZIDs}} ZID {{English term|ZID}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an ID starting with the letter Z and followed by a natural number. Used to identify [[#persistent|persistent]] [[#ZObject|ZObjects]].</span>
; {{anchor|zfunction|ZFunction}} <span lang="en" dir="ltr" class="mw-content-ltr">ZFunction</span> {{English term|ZFunction}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a wiki page on [[#Wikifunctions|Wikifunctions]] that describes a particular [[#function|function]] that can be used through the [[#evaluator|evaluator]]. Each ZFunction can be realised in code by one or more [[#implementation|Implementations]], and said implementations can be verified as correct by one or more [[#tester|Tester]] ZFunctions.</span>
; {{anchor|ZKey}} <span lang="en" dir="ltr" class="mw-content-ltr">ZKey</span> {{English term|ZKey}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#ZObject|ZObject]] defining a [[#key|key]] for a particular [[#type|type]].</span>
; {{anchor|ZList}} <span lang="en" dir="ltr" class="mw-content-ltr">ZList</span> {{English term|ZList}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#ZObject|ZObject]] for an ordered sequence of other ZObjects.</span>
; {{anchor|ZObject}} <span lang="en" dir="ltr" class="mw-content-ltr">ZObject</span> {{English term|ZObject}}
: <span lang="en" dir="ltr" class="mw-content-ltr">every entry in [[#Wikifunctions|Wikifunctions]] is a ZObject. ZObjects stored in Wikifunctions have [[#ZID|ZIDs]] and can be of numerous types, such as [[#Constructor|Constructors]], [[#Function|Functions]], [[#Type|Types]], etc. A ZObject consists of a set of [[#Key|Key]]/[[#Value|Value]] pairs, with each Key appearing only once per ZObject and Values being ZObjects.</span>
; {{anchor|ZUnit}} <span lang="en" dir="ltr" class="mw-content-ltr">ZUnit</span> {{English term|ZUnit}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#ZObject|ZObject]] that represents a [[:w:en:Unit type|Unit type]].</span>
[[Category:Glossary| {{#translation:}}]]
6v4bwvzonyp3wwc0ykt7lbzbwxw1l4b
200131
200129
2025-07-03T10:11:45Z
Winston Sung
2672
200131
wikitext
text/x-wiki
<noinclude><languages/>
<!--<nowiki>(nowiki tags are so that the translate extension doesn't try to translate the TERM and DEFINITION in this boilerplate).
Use this boilerplate for a new term:
; {{anchor|term|Term}} <translate>term</translate> {{English term|term}}
: ''Definition verification needed''
: <translate>definition</translate>
Notes:
1. Omit the "Definition verification" if you're sure that your definition is correct.
2. You can add several values for anchor, if it has spelling or capitalization variants; see the documentation for Template:Anchor and examples in other terms.
</nowiki>--></noinclude>
<span lang="en" dir="ltr" class="mw-content-ltr">Feel free to ask for terms on the [[Wikifunctions talk:Glossary|talk page]], or to add more terms and improve the definitions.</span>
{|class="toccolours" style="margin:.2em auto;padding:.2em .5em;text-align:center" dir="ltr" lang="en"
|-
|style="padding:0;width:100%"|{{CompactTOC}}
|}
== A ==
; {{anchor|abstract|Abstract}} 抽象 {{English term|abstract}}
: <span lang="en" dir="ltr" class="mw-content-ltr">not in a specific [[#natural_language|natural language]] but abstracting from it; aiming to provide a notation for the meaning behind natural language texts, sentences, or phrases. The opposite of [[#concrete|concrete]].</span>
; {{anchor|abstracttext|AbstractText}} <span lang="en" dir="ltr" class="mw-content-ltr">AbstractText</span> {{English term|AbstractText}}
: <span lang="en" dir="ltr" class="mw-content-ltr">prototype [https://github.com/google/abstracttext implementation] of the [[#Wikifunctions|Wikifunctions]] idea.</span>
; {{anchor|abstract_content}} 抽象內容 {{English term|abstract content}}
: <span lang="en" dir="ltr" class="mw-content-ltr">see [[#Content|content]].</span>
; {{anchor|abstract_Wikipedia|Abstract_Wikipedia}} 抽象維基百科 {{English term|Abstract Wikipedia}}
: <span lang="en" dir="ltr" class="mw-content-ltr">preliminary name of all the [[#Content|Content]] that can be used by [[#local_Wikipedia|local Wikipedias]] to [[#Renderer|render]] an [[#article|article]] in [[#natural_language|natural language]]; currently proposed to live in [[#Wikidata|Wikidata]] next to the corresponding [[#Item|Item]], but that will be discussed before [[#Part_P2|Part P2]] of the [[#development_project|development project]].</span>
; {{anchor|alias}} 別名 {{English term|alias}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an alternative label for an object, used foremost to find the object.</span>
; {{anchor|argument}} 引數 {{English term|argument}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an input given to a [[#function call|function call]].</span>
; {{anchor|argument reference}} 引數參照 {{English term|argument reference}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#reference|reference]] to one of the supplied arguments within a [[#composition|composition]].</span>
; {{anchor|array}} 陣列 {{English term|array}}
: <span lang="en" dir="ltr" class="mw-content-ltr">Many programming languages have an "array" type. The counterparts in Wikifunctions are [[#list|list]] and [[#typed list|typed list]]. See also [[#Benjamin array|Benjamin array]].</span>
; {{anchor|article|Article}} 條目 {{English term|article}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a page in the main namespace of [[#Wikipedia|Wikipedia]], usually representing one entry in Wikipedia.</span>
== B ==
; {{anchor|Benjamin array}} <span lang="en" dir="ltr" class="mw-content-ltr">Benjamin array</span> {{English term|Benjamin array}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a way to denote [[#typed list|typed list]] proposed by Benjamin Degenhart, where a typed list is stored as a JSON list whose first element denotes the type. This is in contrast with the previous proposed schema, which uses LISP-style singly-linked lists, in which the type must be stored once in each node.</span>
; {{anchor|boolean|Boolean}} 布林值 {{English term|boolean}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a value that can have 2 states, usually denoted true and false.</span>
; {{anchor|built-in|builtin}} 內建 {{English term|built-in}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a native implementation of a function that is provided by the evaluator and that is not editable through the wiki interface.</span>
== C ==
; {{anchor|call}} 呼叫 {{English term|call}}
: <span lang="en" dir="ltr" class="mw-content-ltr">see [[#function call|function call]]. In English, the term [[#invoke|invoke or invocation]] may also be used.</span>
; {{anchor|canonical|canonicalized|canonicalised}} <span lang="en" dir="ltr" class="mw-content-ltr">canonical, canonicalized, canonicalised</span> {{English term|canonical, canonicalized, canonicalised}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a specific, less verbose and thus more readable way to represent [[#ZObject|ZObjects]] in [[#JSON|JSON]]; it is the usual representation ZObjects are stored in [[#Wikifunctions|Wikifunctions]]. This is opposed to [[#normal|normal]].</span>
; {{anchor|character}} 字元 {{English term|character}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a character as defined by Unicode, a constituent of a String; a character can consist of several bytes (or octets).</span>
; {{anchor|composition}} 組成 {{English term|composition}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a form of implementation of a function, where the implementation is given by the combination of other functions; see [[Special:MyLanguage/Wikifunctions:Function model#Composition|Function model]].</span>
; {{anchor|composition notation}} <span lang="en" dir="ltr" class="mw-content-ltr">composition notation</span> {{English term|composition notation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an easy-to-read notation for compositions; see [[Special:MyLanguage/Wikifunctions:Function model#Composition|Function model]].</span>
; {{anchor|concrete|Concrete}} <span lang="en" dir="ltr" class="mw-content-ltr">concrete</span> {{English term|concrete}}
: <span lang="en" dir="ltr" class="mw-content-ltr">in a specific [[#natural_language|natural language]]. The opposite of [[#abstract|abstract]].</span>
; {{anchor|cons}} <span lang="en" dir="ltr" class="mw-content-ltr">cons</span> {{English term|cons}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a function to create a new list by adding an element at the top of it; see [[phab:T261474]].</span> <span lang="en" dir="ltr" class="mw-content-ltr">See [[w:cons|cons]] in Wikipedia.</span>
; {{anchor|constructor|Constructor}} <span lang="en" dir="ltr" class="mw-content-ltr">constructor</span> {{English term|constructor}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an [[#abstract|abstract]] building block of [[#Content|content]]. A constructor aims to capture the meaning of a single phrase or sentence structure. It often has slots that can take other constructors, and can itself be used as a value to fill the slots of other constructors.</span>
; {{anchor|Content}}<!--do not add |content to the anchor, it is used by MediaWiki--> <span lang="en" dir="ltr" class="mw-content-ltr">content, abstract content</span> {{English term|content, abstract content}}
: <span lang="en" dir="ltr" class="mw-content-ltr">abstract representation of a text or text fragment, assembled from [[#Constructor|constructors]]. Technically, an instance of a constructor. The top level constructor is used to represent a whole [[#article|article]] and stored in [[#Abstract_Wikipedia|Abstract Wikipedia]], but content can be also for just a sentence or phrase. Sometimes called abstract content.</span>
; {{anchor|curry}} <span lang="en" dir="ltr" class="mw-content-ltr">curried, curry, currying</span> {{English term|curried, curry, currying}}
: <span lang="en" dir="ltr" class="mw-content-ltr">A curried function is a function that was translated from taking multiple arguments into a sequence of functions, each with a single argument. This technique is named after the American mathematician [[:w:en:Haskell Curry|Haskell Curry]]. See [[:w:en:Currying|Currying]] in Wikipedia.</span>
== D ==
; {{anchor|deserialization|Deserialization|deserialisation|Deserialisation}} <span lang="en" dir="ltr" class="mw-content-ltr">deserialization</span> {{English term|deserialization}}
: <span lang="en" dir="ltr" class="mw-content-ltr">Opposite of [[#serialization|serialization]].</span>
; {{anchor|development_project|Development_project}} 開發專案 {{English term|development project}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a project to develop [[#Wikifunctions|Wikifunctions]] and [[#Abstract_Wikipedia|Abstract Wikipedia]]; see [[:m:Special:MyLanguage/Abstract Wikipedia/Plan|Abstract Wikipedia plan]].</span>
; {{anchor|display function}} 顯示函式 {{English term|display function}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a synonym of [[#renderer|renderer]]. For example, a function that converts a [[#type|type]] into a string that users can understand, such as converting a Number 123456 to "123,456" in (International) English, "1,23,456" in Indian English, "123.456" in French, etc., or converting the Date '2024','03','12' to '2024-03-12', and so on.</span>
; {{anchor|documentation}} 說明文件 {{English term|documentation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">human-readable text explaining an object.</span>
== E ==
; {{anchor|eney|eneyjj}} <span lang="en" dir="ltr" class="mw-content-ltr">eneyj</span> {{English term|eneyj}}
:# <span lang="en" dir="ltr" class="mw-content-ltr">prototype model of [[#Wikifunctions|Wikifunctions]];</span>
:# <span lang="en" dir="ltr" class="mw-content-ltr">a JavaScript implementation of an [[#evaluator|evaluator]] of that model provided in [[#abstracttext|abstracttext]].</span>
; {{anchor|error|Error}} 錯誤 {{English term|error}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a type whose instances indicate problems in [[#evaluation|evaluation]] or [[#validation|validation]]; see [[Special:MyLanguage/Wikifunctions:Function model#Z5/Errors|Function model]].</span>
; {{anchor|evaluation|Evaluation}} <span lang="en" dir="ltr" class="mw-content-ltr">evaluation</span> {{English term|evaluation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">The action performed by the [[#evaluator|evaluator]].</span>
; {{anchor|evaluator|Evaluator}} <span lang="en" dir="ltr" class="mw-content-ltr">evaluator</span> {{English term|evaluator}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a piece of software that takes a [[#ZObject|ZObject]] and evaluates it, that is executes a [[#Function|Function]] and returns the result. We envision the development of several evaluators. Evaluators may be implemented and run in the browser, on the server of the [[#Wikimedia_Foundation|Wikimedia Foundation]], in the cloud, in an app on a mobile device, or other places. Compare to [[#executor|executor]] and [[#orchestrator|orchestrator]].</span>
; {{anchor|execution|Execution}} 執行 {{English term|execution}}
: <span lang="en" dir="ltr" class="mw-content-ltr">The action performed by the [[#executor|executor]].</span>
; {{anchor|executor|Executor|executors|Executors}} <span lang="en" dir="ltr" class="mw-content-ltr">executor</span> {{English term|executor}}
: <span lang="en" dir="ltr" class="mw-content-ltr">one of a set of internal services which are not exposed to the public. They can be only called by the [[#Orchestrator|orchestrator]]. They run native code in a specific programming language. There would be one executor for Lua, one for JavaScript, one for Python, etc. See [https://gitlab.wikimedia.org/repos/abstract-wiki/wikifunctions/function-evaluator#executors the service documentation]. Compare to [[#evaluator|evaluator]] and [[#orchestrator|orchestrator]].</span>
== F ==
; {{anchor|function|Function}} 函式 {{English term|function}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the specification of a computation that takes some input and returns output; see [[w:en:Function (computer science)|Function (computer science)]] in Wikipedia.</span>
; {{anchor|function call|Function call}} 函式呼叫 {{English term|function call}}
: <span lang="en" dir="ltr" class="mw-content-ltr">A function call is a ZObject consisting of a function and the required arguments for the function, and can be evaluated to another ZObject. In English, the term "invoke" may also be used.</span>
; {{anchor|function evaluator}} <span lang="en" dir="ltr" class="mw-content-ltr">function evaluator</span> {{English term|function evaluator}}
: <span lang="en" dir="ltr" class="mw-content-ltr">See [[#evaluator|evaluator]].</span>
; {{anchor|function executor}} <span lang="en" dir="ltr" class="mw-content-ltr">function executor</span> {{English term|function executor}}
: <span lang="en" dir="ltr" class="mw-content-ltr">See [[#executor|executor]].</span>
; {{anchor|function model}} 函式模型 {{English term|function model}}
: 請參閱[[Special:MyLanguage/Wikifunctions:Function model|函式模型]]。
; {{anchor|function orchestrator}} <span lang="en" dir="ltr" class="mw-content-ltr">function orchestrator</span> {{English term|function orchestrator}}
: <span lang="en" dir="ltr" class="mw-content-ltr">See [[#orchestrator|orchestrator]].</span>
; {{anchor|function schemata}} <span lang="en" dir="ltr" class="mw-content-ltr">function schemata</span> {{English term|function schemata}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a set of pre-defined ZObjects used in [[#orchestrator|orchestrator]] and [[#evaluator|evaluator]]. The [[#WikiLambda system|WikiLambda system account]] also populates pre-defined ZObjects on-wiki from function schemata.</span>
; {{anchor|functional}} <span lang="en" dir="ltr" class="mw-content-ltr">functional</span> {{English term|functional}}
: <span lang="en" dir="ltr" class="mw-content-ltr">short for "purely functional", meaning that the [[#evaluation|evaluation]] of such a function has no side-effects and is deterministic, that is always the same; see [[w:en:Purely functional programming|Purely functional programming]] in Wikipedia; see [[Special:MyLanguage/Wikifunctions:Function model#non-functional|Function model]].</span>
== G ==
; {{anchor|generic type}} <span lang="en" dir="ltr" class="mw-content-ltr">generic type</span> {{English term|generic type}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a type generated by [[#evaluation|evaluation]] of a function call.</span>
== I ==
; {{anchor|identity|Identity}} 識別物件 {{English term|identity}}
: <span lang="en" dir="ltr" class="mw-content-ltr">The identity of a type is an instance of (specific) function that evaluates to the type. For a simple type, it is a reference to the type itself.</span>
; {{anchor|implementation|Implementation}} 實作 {{English term|implementation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a particular way to execute a [[#function|function]]. An implementation may be a piece of code in a certain programming language, refer to functionality “built into” the [[#evaluator|evaluator]], or [[#composition|compose]] calls to other functions. A function may have many implementations, which should all be equivalent. Short for "[[#ZFunction|ZFunction]] implementation".</span>
; {{anchor|instance}} 實例 {{English term|instance}}
: <span lang="en" dir="ltr" class="mw-content-ltr">Every ZObject is an instance of its type.</span>
; {{anchor|invoke}} 調用 {{English term|invoke}}
: <span lang="en" dir="ltr" class="mw-content-ltr">synonym for [[#call|call]] in English. See [[#function call|function call]].</span>
; {{anchor|item|Item}} 項目 {{English term|item}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an entry in [[#Wikidata|Wikidata]]'s knowledge base; see [[:d:Wikidata:Glossary#Item|Item]] in the Wikidata glossary.</span>
== J ==
; {{anchor|JSON}} JSON {{English term|JSON}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a widely used data transfer format; see [[w:en:JSON|JSON]] in Wikipedia.</span>
== K ==
; {{anchor|key|Key}} 鍵 {{English term|key}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a string which ends with the letter K followed by a natural number, and is optionally preceded by a [[#ZID|ZID]]. Keys are defined in [[#Wikifunctions|Wikifunctions]] usually on [[#Type|Types]] or [[#Function|Functions]], and are used to build up [[#ZObject|ZObjects]].</span>
== L ==
; {{anchor|label}} <span lang="en" dir="ltr" class="mw-content-ltr">label</span> {{English term|label}}
: <span lang="en" dir="ltr" class="mw-content-ltr">main name given to identify a ZObject. May only be plain text.</span>
; {{anchor|lexeme|Lexeme}} <span lang="en" dir="ltr" class="mw-content-ltr">lexeme</span> {{English term|lexeme}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an entry in [[#Wikidata|Wikidata]] storing lexicographic knowledge about, roughly, a word; see [[d:Wikidata:Glossary#Lexeme|Lexeme]] in the Wikidata glossary.</span>
; {{anchor|linearizer|Linearizer}} <span lang="en" dir="ltr" class="mw-content-ltr">linearizer</span> {{English term|linearizer}}
: <span lang="en" dir="ltr" class="mw-content-ltr">(this term is no longer used in current terminology, but can still be found in older documents) synonym of [[#renderer|renderer]] (1).</span>
; {{anchor|list|List}} 串列 {{English term|list}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a data type that groups an arbitrary number of instances in an ordered entity; see [[w:en:List (abstract data type)|List (abstract data type)]] in Wikipedia.</span>
; {{anchor|literal}} <span lang="en" dir="ltr" class="mw-content-ltr">literal</span> {{English term|literal}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a value that is not a ZObject. Currently the only accepted literal is string.</span>
; {{anchor|local_Wikipedia|Local_Wikipedia}} <span lang="en" dir="ltr" class="mw-content-ltr">local Wikipedia</span> {{English term|local Wikipedia}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#Wikipedia|Wikipedia]] in a specific language, such as Hebrew Wikipedia, Japanese Wikipedia, or Italian Wikipedia.</span>
== M ==
; {{anchor|Multlingual_Wikipedia|multilingual_Wikipedia}} <span lang="en" dir="ltr" class="mw-content-ltr">multilingual Wikipedia</span> {{English term|multilingual Wikipedia}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the architecture that allows [[#local_Wikipedia|local Wikipedias]] to enrich themselves by [[#Renderer|rendering]] the [[#Content|Content]] from [[#Abstract_Wikipedia|Abstract Wikipedia]] and thus have a more comprehensive, current, and correct Wikipedia in their language; see [[:m:Special:MyLanguage/Abstract Wikipedia/Architecture|Abstract Wikipedia architecture]].</span>
== N ==
; {{anchor|natural_language|Natural_language}} 自然語言 {{English term|natural language}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a specific natural language in the wider sense, such as English, Tagalog, or Swahili; see [[w:en:Natural language|Natural language]] in Wikipedia.</span>
; {{anchor|normal|Normal|normalized|Normalized|normalised}} <span lang="en" dir="ltr" class="mw-content-ltr">normal</span> {{English term|normal}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an extended, easily processable and very uniform way to represent [[#ZObject|ZObjects]] in [[#JSON|JSON]]. This is opposed to [[#canonical|canonical]].</span>
; {{anchor|nothing|Nothing}} <span lang="en" dir="ltr" class="mw-content-ltr">nothing</span> {{English term|nothing}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a data type that can have no instances; see [[w:en:Bottom type|Bottom type]] in Wikipedia.</span>
== O ==
; {{anchor|object|Object}} 物件 {{English term|object}}
:# <span lang="en" dir="ltr" class="mw-content-ltr">In JavaScript or JSON, an object is basically an associative array; see [[w:en:Associative array|Associative array]] in Wikipedia.</span>
:# <span lang="en" dir="ltr" class="mw-content-ltr">In Wikifunctions, synonym of [[#ZObject|ZObject]].</span>
; {{anchor|orchestration|Orchestration}} <span lang="en" dir="ltr" class="mw-content-ltr">orchestration</span> {{English term|orchestration}}
:<span lang="en" dir="ltr" class="mw-content-ltr">The action performed by the [[#orchestrator|orchestrator]].</span>
; {{anchor|orchestrator|Orchestrator}} <span lang="en" dir="ltr" class="mw-content-ltr">orchestrator</span> {{English term|orchestrator}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a service that takes a [[#ZObject|ZObject]] and returns an [[#Evaluator|evaluated]] version of it. To do this, it will make calls to the wiki for other ZObjects it needs, to the [[#Executor|executor]] to evaluate some function calls, and other services such as [[#Wikidata|Wikidata]]. See [https://gitlab.wikimedia.org/repos/abstract-wiki/wikifunctions/function-orchestrator#wikifunctions-function-orchestrator the service documentation]. Compare to [[#evaluator|evaluator]] and [[#executor|executor]].</span>
== P ==
; {{anchor|page|Page}} 頁面 {{English term|page}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a part of a wiki. A [[#wiki|wiki]] consists of a number of individual pages, which can be edited independently, have internal links to each other, etc.</span>
; {{anchor|parser|Parser}} 解析器 {{English term|parser}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a function to convert a string to a ZObject. The opposite of [[#renderer|renderer]].</span>
; {{anchor|pair|Pair}} <span lang="en" dir="ltr" class="mw-content-ltr">pair</span> {{English term|pair}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a compound ZObject that contains two ZObjects of specific (but arbitrary) type.</span>
; {{anchor|part_P1|Part_P1}} <span lang="en" dir="ltr" class="mw-content-ltr">Part P1</span> {{English term|Part P1}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the part of the [[#development_project|development project]] that deals with creating [[#Wikifunctions|Wikifunctions]]. It starts at the beginning of the project and goes on throughout its whole lifetime; see [[:m:Special:MyLanguage/Abstract Wikipedia/Tasks#Part P1: Wikifunctions|Part P1: Wikifunctions]].</span>
; {{anchor|part_P2|Part_P2}} <span lang="en" dir="ltr" class="mw-content-ltr">Part P2</span> {{English term|Part P2}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the part of the [[#development_project|development project]] that deals with creating [[#Abstract_Wikipedia|Abstract Wikipedia]]. It starts after about a year in the project and goes on throughout the second half of its lifetime; see [[:m:Special:MyLanguage/Abstract Wikipedia/Tasks#Part P2: Abstract Wikipedia|Part P2: Abstract Wikipedia]].</span>
; {{anchor|persistent|Persistent}} <span lang="en" dir="ltr" class="mw-content-ltr">persistent</span> {{English term|persistent}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#ZObject|ZObject]] with a [[#ZID|ZID]] and with its own page in the wiki. Most persistent ZObjects will include [[#value|values]] that are ZObjects with no ZID, and are therefore not persistent.</span>
; {{anchor|property|Property}} 屬性 {{English term|property}}
: <span lang="en" dir="ltr" class="mw-content-ltr">used to make a [[#Statement|statement]] about an [[#Item|Item]] in [[#Wikidata|Wikidata]]'s knowledge base; see [[:d:Wikidata:Glossary#Property|Property]] in the Wikidata glossary.</span>
== Q ==
; {{anchor|quote|Quote}} <span lang="en" dir="ltr" class="mw-content-ltr">quote</span> {{English term|quote}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a data structure that is not to be evaluated but kept verbatim.</span>
; {{anchor|QID}} QID {{English term|QID}}
: <span lang="en" dir="ltr" class="mw-content-ltr">identifier for an item in [[#Wikidata|Wikidata]], comprising the letter "Q" followed by an integer.</span>
== R ==
; {{anchor|reading function}} <span lang="en" dir="ltr" class="mw-content-ltr">reading function</span> {{English term|reading function}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a synonym of [[#parser|parser]]. A function that converts user text input from a string into a given Type. For example, converting the String "123456" to the Number '123456', or the string "2024-03-12" to the Date '2024', '03', '12'.</span>
; {{anchor|reference|Reference}} 參照 {{English term|reference}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an ID denoting the underlying object. For example, the string "Z11" refers to the Type Z11/Monolingual text.</span>
: {{TakeNote}}<span lang="en" dir="ltr" class="mw-content-ltr">This term has a completely different meaning than on Wikidata; see [[w:en:Reference (computer science)|Reference (computer science)]] in Wikipedia.</span>
; {{anchor|renderer|Renderer}} 轉譯函式 {{English term|renderer}} (1)
: <span lang="en" dir="ltr" class="mw-content-ltr">a function to convert a ZObject to a string. The opposite of [[#parser|parser]]. (formerly called "linearizer")</span>
; 轉譯函式 {{English term|renderer}} (2)
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#Function|function]] that gets a [[#Content|content]] and an identifier for a [[#natural_language|natural language]] as an input and returns text in that natural language as output, representing the content as concrete text, using knowledge from [[#Lexeme|lexemes]].</span>
: {{TakeNote}}<span lang="en" dir="ltr" class="mw-content-ltr">This is a future feature, and the meaning of the term "renderer" in the {{Pg|:m:Abstract Wikipedia/Historic proposal|original proposal}}; this term collides with the current usage of "renderer", so it may be renamed in the future.</span>
; {{anchor|reify}} <span lang="en" dir="ltr" class="mw-content-ltr">reify</span> {{English term|reify}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a function that deconstructs an object into its constituent parts so that the parts can be individually accessed; see [[w:en:Reification (computer science)|Reification]] in Wikipedia; see [[phab:T261474]].</span>
; {{anchor|REPL}} <span lang="en" dir="ltr" class="mw-content-ltr">REPL</span> {{English term|REPL}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a Read / Eval / Print - Loop, a command line interface that takes some input, evaluates it, and displays the result; see [[w:en:REPL|REPL]] in Wikipedia; see [[Special:MyLanguage/Wikifunctions:Function model#REPL|Function model]].</span>
== S ==
; {{anchor|schemata}} <span lang="en" dir="ltr" class="mw-content-ltr">schemata</span> {{English term|schemata}}
: <span lang="en" dir="ltr" class="mw-content-ltr">See [[#function schemata|function schemata]].</span>
; {{anchor|serialization|Serialization|serialisation|Serialisation}} <span lang="en" dir="ltr" class="mw-content-ltr">serialization</span> {{English term|serialization}}
: <span lang="en" dir="ltr" class="mw-content-ltr">Ways to represent [[#ZObject|ZObjects]] in [[#JSON|JSON]]; see also [[#canonical|canonical]], [[#normal|normal]].</span>
; {{anchor|statement|Statement}} <span lang="en" dir="ltr" class="mw-content-ltr">statement</span> {{English term|statement}}
: <span lang="en" dir="ltr" class="mw-content-ltr">used to provide knowledge about an [[#Item|Item]] in [[#Wikidata|Wikidata]]'s knowledge base; see [[:d:Wikidata:Glossary#Statement|Statement]] in the Wikidata glossary.</span>
; {{anchor|string}} 字串 {{English term|string}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a sequence of characters.</span>
; {{anchor|sum type|Sum type}} <span lang="en" dir="ltr" class="mw-content-ltr">sum type</span> {{English term|sum type}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a type that can have instances of any of its constituent types; see [[w:en:Sum type|Sum type]] in Wikipedia; see [[Special:MyLanguage/Wikifunctions:Function model#Zx/Sum_types|Function model]].</span>
== T ==
; {{anchor|template}} <span lang="en" dir="ltr" class="mw-content-ltr">template</span> {{English term|template}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a way to specify a [[#renderer|renderer]] as text interspersed with place-holders, or ''slots'', which can be filled with data from [[#constructor|constructors]], function calculation, or content from another template. See the document [[:m:Special:MyLanguage/Abstract Wikipedia/Template Language for Wikifunctions|Template Language for Wikifunctions]] for a detailed discussion of the template syntax.</span>
; {{anchor|tester|Tester}} <span lang="en" dir="ltr" class="mw-content-ltr">tester</span> {{English term|tester}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a way to automatically determine if a given [[#ZFunction|ZFunction]] is doing the right thing. A [[#function|function]] will typically have multiple testers, each specifying some input to the function and conditions the output for the given input must fulfil. For example, testers for a “title case” function might include: “abc” should become “Abc”; “war and peace” should become “War and Peace”; “война и мир” should become “Война и мир”; and “123” should remain “123”.</span>
; {{anchor|transient|Transient}} <span lang="en" dir="ltr" class="mw-content-ltr">transient</span> {{English term|transient}}
: <span lang="en" dir="ltr" class="mw-content-ltr">Opposite of [[#persistent|persistent]].</span>
; {{anchor|type|Type}} <span lang="en" dir="ltr" class="mw-content-ltr">type</span> {{English term|type}}
: <span lang="en" dir="ltr" class="mw-content-ltr">The type of an object tells us how to interpret and understand the given object, and what can be done with the object. For example, if we have an object with the value “2023”, depending on whether its type is integer, or year, or string, we understand that object differently. Every object refers to “a thing in the real world”. The integer 2023 is different from the year 2023. The type tells us how to interpret a given object, so that we know which thing in the real world it refers to. Technically, it defines how objects of that type are structured and what conditions they need to fulfill to be a valid object of that type.</span> <span lang="en" dir="ltr" class="mw-content-ltr">A type defines the conditions for a [[#ZObject|ZObject]] to be a valid instance of this type, by providing a [[#Function|function]] that validates a ZObject. Types are ZObjects themselves, so that contributors of [[#Wikifunctions|Wikifunctions]] can create new types.</span>
; {{anchor|type converter}} <span lang="en" dir="ltr" class="mw-content-ltr">type converter</span> {{English term|type converter}}
: <span lang="en" dir="ltr" class="mw-content-ltr">A script written in some programming language (such as JavaScript), taking a native object (such as BigInt), and returning a JSON object representing the corresponding ZObject; or ''vice versa''.</span>
; {{anchor|typed list|Typed List}} <span lang="en" dir="ltr" class="mw-content-ltr">typed list</span> {{English term|typed list}}
: <span lang="en" dir="ltr" class="mw-content-ltr">A typed list is a [[#list|list]] in which all members of the list are of a specific, predefined [[#type|type]]. For example, a typed list of [[#string|strings]] is a list in which all members of the list are strings. A typed list takes one argument: the type that all the members of the list have to be an instance of. Typed lists are probably the most widely used [[#generic type|generic type]].</span>
== V ==
; {{anchor|value}} 值 {{English term|value}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the string or [[#ZObject|ZObject]] associated with a [[#key|key]] in another ZObject.</span>
; {{anchor|validation|Validation}} <span lang="en" dir="ltr" class="mw-content-ltr">validation</span> {{English term|validation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">The action performed by the [[#validator|validator]].</span>
; {{anchor|validator|Validator}} <span lang="en" dir="ltr" class="mw-content-ltr">validator</span> {{English term|validator}}
: <span lang="en" dir="ltr" class="mw-content-ltr">A function taking a ZObject as argument and return a list of errors found.</span>
== W ==
; {{anchor|wiki|Wiki}} wiki {{English term|wiki}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a web site that allows for the easy and collaborative editing of its [[#page|pages]].</span>
; {{anchor|Wikidata}} 維基數據 {{English term|Wikidata}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a project of the [[#Wikimedia_Foundation|Wikimedia Foundation]], a free, collaboratively edited knowledge base; see [[:m:Special:MyLanguage/Wikidata|Wikidata]].</span>
; {{anchor|Wikifunctions}}{{anchor|Wikilambda}} 維基函式庫 {{English term|Wikifunctions}}
: <span lang="en" dir="ltr" class="mw-content-ltr">new project of the [[#Wikimedia_Foundation|Wikimedia Foundation]]; a free, collaboratively developed and maintained catalog of [[#Function|functions]]. It was initially known as '''Wikilambda''' in the {{Pg|:m:Abstract Wikipedia/Historic proposal|original proposal}} (that name is now used for the [[#WikiLambda|WikiLambda extension]]).</span>
; {{anchor|WikiLambda}} <span lang="en" dir="ltr" class="mw-content-ltr">WikiLambda</span> {{English term|WikiLambda}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the software used to power the project, [[mw:Special:MyLanguage/Extension:WikiLambda|Extension:WikiLambda]].</span>
; {{anchor|WikiLambda system}} <span lang="en" dir="ltr" class="mw-content-ltr">WikiLambda system</span> {{English term|WikiLambda system}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an automated system account that is a key part of the WikiLambda extension. See [[User:WikiLambda system]] for its current function.</span>
; {{anchor|WMF|Wikimedia_Foundation}} 維基媒體基金會 {{English term|Wikimedia Foundation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">organization that supports the Wikimedia movement; see [[:m:Special:MyLanguage/Wikimedia Foundation|Wikimedia Foundation]].</span>
; {{anchor|Wikipedia}} <span lang="en" dir="ltr" class="mw-content-ltr">Wikipedia</span> {{English term|Wikipedia}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a project of the [[#Wikimedia_Foundation|Wikimedia Foundation]], a free, collaboratively edited encyclopedia; see [[:m:Special:MyLanguage/Wikipedia|Wikipedia]].</span>
; <span lang="en" dir="ltr" class="mw-content-ltr">Wikipedia, Abstract</span> {{English term|Wikipedia, Abstract}}
: <span lang="en" dir="ltr" class="mw-content-ltr">see [[#Abstract_Wikipedia|Abstract Wikipedia]].</span>
; <span lang="en" dir="ltr" class="mw-content-ltr">Wikipedia, multilingual</span> {{English term|Wikipedia, multilingual}}
: <span lang="en" dir="ltr" class="mw-content-ltr">see [[#multilingual_Wikipedia|multilingual Wikipedia]].</span>
== Z ==
; {{anchor|ZID|ZIDs}} ZID {{English term|ZID}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an ID starting with the letter Z and followed by a natural number. Used to identify [[#persistent|persistent]] [[#ZObject|ZObjects]].</span>
; {{anchor|zfunction|ZFunction}} <span lang="en" dir="ltr" class="mw-content-ltr">ZFunction</span> {{English term|ZFunction}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a wiki page on [[#Wikifunctions|Wikifunctions]] that describes a particular [[#function|function]] that can be used through the [[#evaluator|evaluator]]. Each ZFunction can be realised in code by one or more [[#implementation|Implementations]], and said implementations can be verified as correct by one or more [[#tester|Tester]] ZFunctions.</span>
; {{anchor|ZKey}} <span lang="en" dir="ltr" class="mw-content-ltr">ZKey</span> {{English term|ZKey}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#ZObject|ZObject]] defining a [[#key|key]] for a particular [[#type|type]].</span>
; {{anchor|ZList}} <span lang="en" dir="ltr" class="mw-content-ltr">ZList</span> {{English term|ZList}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#ZObject|ZObject]] for an ordered sequence of other ZObjects.</span>
; {{anchor|ZObject}} <span lang="en" dir="ltr" class="mw-content-ltr">ZObject</span> {{English term|ZObject}}
: <span lang="en" dir="ltr" class="mw-content-ltr">every entry in [[#Wikifunctions|Wikifunctions]] is a ZObject. ZObjects stored in Wikifunctions have [[#ZID|ZIDs]] and can be of numerous types, such as [[#Constructor|Constructors]], [[#Function|Functions]], [[#Type|Types]], etc. A ZObject consists of a set of [[#Key|Key]]/[[#Value|Value]] pairs, with each Key appearing only once per ZObject and Values being ZObjects.</span>
; {{anchor|ZUnit}} <span lang="en" dir="ltr" class="mw-content-ltr">ZUnit</span> {{English term|ZUnit}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#ZObject|ZObject]] that represents a [[:w:en:Unit type|Unit type]].</span>
[[Category:Glossary| {{#translation:}}]]
n5qnfle0iaai2usnkh3tmydk9e1yyeb
200133
200131
2025-07-03T10:13:08Z
Winston Sung
2672
Created page with "驗證函式"
200133
wikitext
text/x-wiki
<noinclude><languages/>
<!--<nowiki>(nowiki tags are so that the translate extension doesn't try to translate the TERM and DEFINITION in this boilerplate).
Use this boilerplate for a new term:
; {{anchor|term|Term}} <translate>term</translate> {{English term|term}}
: ''Definition verification needed''
: <translate>definition</translate>
Notes:
1. Omit the "Definition verification" if you're sure that your definition is correct.
2. You can add several values for anchor, if it has spelling or capitalization variants; see the documentation for Template:Anchor and examples in other terms.
</nowiki>--></noinclude>
<span lang="en" dir="ltr" class="mw-content-ltr">Feel free to ask for terms on the [[Wikifunctions talk:Glossary|talk page]], or to add more terms and improve the definitions.</span>
{|class="toccolours" style="margin:.2em auto;padding:.2em .5em;text-align:center" dir="ltr" lang="en"
|-
|style="padding:0;width:100%"|{{CompactTOC}}
|}
== A ==
; {{anchor|abstract|Abstract}} 抽象 {{English term|abstract}}
: <span lang="en" dir="ltr" class="mw-content-ltr">not in a specific [[#natural_language|natural language]] but abstracting from it; aiming to provide a notation for the meaning behind natural language texts, sentences, or phrases. The opposite of [[#concrete|concrete]].</span>
; {{anchor|abstracttext|AbstractText}} <span lang="en" dir="ltr" class="mw-content-ltr">AbstractText</span> {{English term|AbstractText}}
: <span lang="en" dir="ltr" class="mw-content-ltr">prototype [https://github.com/google/abstracttext implementation] of the [[#Wikifunctions|Wikifunctions]] idea.</span>
; {{anchor|abstract_content}} 抽象內容 {{English term|abstract content}}
: <span lang="en" dir="ltr" class="mw-content-ltr">see [[#Content|content]].</span>
; {{anchor|abstract_Wikipedia|Abstract_Wikipedia}} 抽象維基百科 {{English term|Abstract Wikipedia}}
: <span lang="en" dir="ltr" class="mw-content-ltr">preliminary name of all the [[#Content|Content]] that can be used by [[#local_Wikipedia|local Wikipedias]] to [[#Renderer|render]] an [[#article|article]] in [[#natural_language|natural language]]; currently proposed to live in [[#Wikidata|Wikidata]] next to the corresponding [[#Item|Item]], but that will be discussed before [[#Part_P2|Part P2]] of the [[#development_project|development project]].</span>
; {{anchor|alias}} 別名 {{English term|alias}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an alternative label for an object, used foremost to find the object.</span>
; {{anchor|argument}} 引數 {{English term|argument}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an input given to a [[#function call|function call]].</span>
; {{anchor|argument reference}} 引數參照 {{English term|argument reference}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#reference|reference]] to one of the supplied arguments within a [[#composition|composition]].</span>
; {{anchor|array}} 陣列 {{English term|array}}
: <span lang="en" dir="ltr" class="mw-content-ltr">Many programming languages have an "array" type. The counterparts in Wikifunctions are [[#list|list]] and [[#typed list|typed list]]. See also [[#Benjamin array|Benjamin array]].</span>
; {{anchor|article|Article}} 條目 {{English term|article}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a page in the main namespace of [[#Wikipedia|Wikipedia]], usually representing one entry in Wikipedia.</span>
== B ==
; {{anchor|Benjamin array}} <span lang="en" dir="ltr" class="mw-content-ltr">Benjamin array</span> {{English term|Benjamin array}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a way to denote [[#typed list|typed list]] proposed by Benjamin Degenhart, where a typed list is stored as a JSON list whose first element denotes the type. This is in contrast with the previous proposed schema, which uses LISP-style singly-linked lists, in which the type must be stored once in each node.</span>
; {{anchor|boolean|Boolean}} 布林值 {{English term|boolean}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a value that can have 2 states, usually denoted true and false.</span>
; {{anchor|built-in|builtin}} 內建 {{English term|built-in}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a native implementation of a function that is provided by the evaluator and that is not editable through the wiki interface.</span>
== C ==
; {{anchor|call}} 呼叫 {{English term|call}}
: <span lang="en" dir="ltr" class="mw-content-ltr">see [[#function call|function call]]. In English, the term [[#invoke|invoke or invocation]] may also be used.</span>
; {{anchor|canonical|canonicalized|canonicalised}} <span lang="en" dir="ltr" class="mw-content-ltr">canonical, canonicalized, canonicalised</span> {{English term|canonical, canonicalized, canonicalised}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a specific, less verbose and thus more readable way to represent [[#ZObject|ZObjects]] in [[#JSON|JSON]]; it is the usual representation ZObjects are stored in [[#Wikifunctions|Wikifunctions]]. This is opposed to [[#normal|normal]].</span>
; {{anchor|character}} 字元 {{English term|character}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a character as defined by Unicode, a constituent of a String; a character can consist of several bytes (or octets).</span>
; {{anchor|composition}} 組成 {{English term|composition}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a form of implementation of a function, where the implementation is given by the combination of other functions; see [[Special:MyLanguage/Wikifunctions:Function model#Composition|Function model]].</span>
; {{anchor|composition notation}} <span lang="en" dir="ltr" class="mw-content-ltr">composition notation</span> {{English term|composition notation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an easy-to-read notation for compositions; see [[Special:MyLanguage/Wikifunctions:Function model#Composition|Function model]].</span>
; {{anchor|concrete|Concrete}} <span lang="en" dir="ltr" class="mw-content-ltr">concrete</span> {{English term|concrete}}
: <span lang="en" dir="ltr" class="mw-content-ltr">in a specific [[#natural_language|natural language]]. The opposite of [[#abstract|abstract]].</span>
; {{anchor|cons}} <span lang="en" dir="ltr" class="mw-content-ltr">cons</span> {{English term|cons}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a function to create a new list by adding an element at the top of it; see [[phab:T261474]].</span> <span lang="en" dir="ltr" class="mw-content-ltr">See [[w:cons|cons]] in Wikipedia.</span>
; {{anchor|constructor|Constructor}} <span lang="en" dir="ltr" class="mw-content-ltr">constructor</span> {{English term|constructor}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an [[#abstract|abstract]] building block of [[#Content|content]]. A constructor aims to capture the meaning of a single phrase or sentence structure. It often has slots that can take other constructors, and can itself be used as a value to fill the slots of other constructors.</span>
; {{anchor|Content}}<!--do not add |content to the anchor, it is used by MediaWiki--> <span lang="en" dir="ltr" class="mw-content-ltr">content, abstract content</span> {{English term|content, abstract content}}
: <span lang="en" dir="ltr" class="mw-content-ltr">abstract representation of a text or text fragment, assembled from [[#Constructor|constructors]]. Technically, an instance of a constructor. The top level constructor is used to represent a whole [[#article|article]] and stored in [[#Abstract_Wikipedia|Abstract Wikipedia]], but content can be also for just a sentence or phrase. Sometimes called abstract content.</span>
; {{anchor|curry}} <span lang="en" dir="ltr" class="mw-content-ltr">curried, curry, currying</span> {{English term|curried, curry, currying}}
: <span lang="en" dir="ltr" class="mw-content-ltr">A curried function is a function that was translated from taking multiple arguments into a sequence of functions, each with a single argument. This technique is named after the American mathematician [[:w:en:Haskell Curry|Haskell Curry]]. See [[:w:en:Currying|Currying]] in Wikipedia.</span>
== D ==
; {{anchor|deserialization|Deserialization|deserialisation|Deserialisation}} <span lang="en" dir="ltr" class="mw-content-ltr">deserialization</span> {{English term|deserialization}}
: <span lang="en" dir="ltr" class="mw-content-ltr">Opposite of [[#serialization|serialization]].</span>
; {{anchor|development_project|Development_project}} 開發專案 {{English term|development project}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a project to develop [[#Wikifunctions|Wikifunctions]] and [[#Abstract_Wikipedia|Abstract Wikipedia]]; see [[:m:Special:MyLanguage/Abstract Wikipedia/Plan|Abstract Wikipedia plan]].</span>
; {{anchor|display function}} 顯示函式 {{English term|display function}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a synonym of [[#renderer|renderer]]. For example, a function that converts a [[#type|type]] into a string that users can understand, such as converting a Number 123456 to "123,456" in (International) English, "1,23,456" in Indian English, "123.456" in French, etc., or converting the Date '2024','03','12' to '2024-03-12', and so on.</span>
; {{anchor|documentation}} 說明文件 {{English term|documentation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">human-readable text explaining an object.</span>
== E ==
; {{anchor|eney|eneyjj}} <span lang="en" dir="ltr" class="mw-content-ltr">eneyj</span> {{English term|eneyj}}
:# <span lang="en" dir="ltr" class="mw-content-ltr">prototype model of [[#Wikifunctions|Wikifunctions]];</span>
:# <span lang="en" dir="ltr" class="mw-content-ltr">a JavaScript implementation of an [[#evaluator|evaluator]] of that model provided in [[#abstracttext|abstracttext]].</span>
; {{anchor|error|Error}} 錯誤 {{English term|error}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a type whose instances indicate problems in [[#evaluation|evaluation]] or [[#validation|validation]]; see [[Special:MyLanguage/Wikifunctions:Function model#Z5/Errors|Function model]].</span>
; {{anchor|evaluation|Evaluation}} <span lang="en" dir="ltr" class="mw-content-ltr">evaluation</span> {{English term|evaluation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">The action performed by the [[#evaluator|evaluator]].</span>
; {{anchor|evaluator|Evaluator}} <span lang="en" dir="ltr" class="mw-content-ltr">evaluator</span> {{English term|evaluator}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a piece of software that takes a [[#ZObject|ZObject]] and evaluates it, that is executes a [[#Function|Function]] and returns the result. We envision the development of several evaluators. Evaluators may be implemented and run in the browser, on the server of the [[#Wikimedia_Foundation|Wikimedia Foundation]], in the cloud, in an app on a mobile device, or other places. Compare to [[#executor|executor]] and [[#orchestrator|orchestrator]].</span>
; {{anchor|execution|Execution}} 執行 {{English term|execution}}
: <span lang="en" dir="ltr" class="mw-content-ltr">The action performed by the [[#executor|executor]].</span>
; {{anchor|executor|Executor|executors|Executors}} <span lang="en" dir="ltr" class="mw-content-ltr">executor</span> {{English term|executor}}
: <span lang="en" dir="ltr" class="mw-content-ltr">one of a set of internal services which are not exposed to the public. They can be only called by the [[#Orchestrator|orchestrator]]. They run native code in a specific programming language. There would be one executor for Lua, one for JavaScript, one for Python, etc. See [https://gitlab.wikimedia.org/repos/abstract-wiki/wikifunctions/function-evaluator#executors the service documentation]. Compare to [[#evaluator|evaluator]] and [[#orchestrator|orchestrator]].</span>
== F ==
; {{anchor|function|Function}} 函式 {{English term|function}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the specification of a computation that takes some input and returns output; see [[w:en:Function (computer science)|Function (computer science)]] in Wikipedia.</span>
; {{anchor|function call|Function call}} 函式呼叫 {{English term|function call}}
: <span lang="en" dir="ltr" class="mw-content-ltr">A function call is a ZObject consisting of a function and the required arguments for the function, and can be evaluated to another ZObject. In English, the term "invoke" may also be used.</span>
; {{anchor|function evaluator}} <span lang="en" dir="ltr" class="mw-content-ltr">function evaluator</span> {{English term|function evaluator}}
: <span lang="en" dir="ltr" class="mw-content-ltr">See [[#evaluator|evaluator]].</span>
; {{anchor|function executor}} <span lang="en" dir="ltr" class="mw-content-ltr">function executor</span> {{English term|function executor}}
: <span lang="en" dir="ltr" class="mw-content-ltr">See [[#executor|executor]].</span>
; {{anchor|function model}} 函式模型 {{English term|function model}}
: 請參閱[[Special:MyLanguage/Wikifunctions:Function model|函式模型]]。
; {{anchor|function orchestrator}} <span lang="en" dir="ltr" class="mw-content-ltr">function orchestrator</span> {{English term|function orchestrator}}
: <span lang="en" dir="ltr" class="mw-content-ltr">See [[#orchestrator|orchestrator]].</span>
; {{anchor|function schemata}} <span lang="en" dir="ltr" class="mw-content-ltr">function schemata</span> {{English term|function schemata}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a set of pre-defined ZObjects used in [[#orchestrator|orchestrator]] and [[#evaluator|evaluator]]. The [[#WikiLambda system|WikiLambda system account]] also populates pre-defined ZObjects on-wiki from function schemata.</span>
; {{anchor|functional}} <span lang="en" dir="ltr" class="mw-content-ltr">functional</span> {{English term|functional}}
: <span lang="en" dir="ltr" class="mw-content-ltr">short for "purely functional", meaning that the [[#evaluation|evaluation]] of such a function has no side-effects and is deterministic, that is always the same; see [[w:en:Purely functional programming|Purely functional programming]] in Wikipedia; see [[Special:MyLanguage/Wikifunctions:Function model#non-functional|Function model]].</span>
== G ==
; {{anchor|generic type}} <span lang="en" dir="ltr" class="mw-content-ltr">generic type</span> {{English term|generic type}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a type generated by [[#evaluation|evaluation]] of a function call.</span>
== I ==
; {{anchor|identity|Identity}} 識別物件 {{English term|identity}}
: <span lang="en" dir="ltr" class="mw-content-ltr">The identity of a type is an instance of (specific) function that evaluates to the type. For a simple type, it is a reference to the type itself.</span>
; {{anchor|implementation|Implementation}} 實作 {{English term|implementation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a particular way to execute a [[#function|function]]. An implementation may be a piece of code in a certain programming language, refer to functionality “built into” the [[#evaluator|evaluator]], or [[#composition|compose]] calls to other functions. A function may have many implementations, which should all be equivalent. Short for "[[#ZFunction|ZFunction]] implementation".</span>
; {{anchor|instance}} 實例 {{English term|instance}}
: <span lang="en" dir="ltr" class="mw-content-ltr">Every ZObject is an instance of its type.</span>
; {{anchor|invoke}} 調用 {{English term|invoke}}
: <span lang="en" dir="ltr" class="mw-content-ltr">synonym for [[#call|call]] in English. See [[#function call|function call]].</span>
; {{anchor|item|Item}} 項目 {{English term|item}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an entry in [[#Wikidata|Wikidata]]'s knowledge base; see [[:d:Wikidata:Glossary#Item|Item]] in the Wikidata glossary.</span>
== J ==
; {{anchor|JSON}} JSON {{English term|JSON}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a widely used data transfer format; see [[w:en:JSON|JSON]] in Wikipedia.</span>
== K ==
; {{anchor|key|Key}} 鍵 {{English term|key}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a string which ends with the letter K followed by a natural number, and is optionally preceded by a [[#ZID|ZID]]. Keys are defined in [[#Wikifunctions|Wikifunctions]] usually on [[#Type|Types]] or [[#Function|Functions]], and are used to build up [[#ZObject|ZObjects]].</span>
== L ==
; {{anchor|label}} <span lang="en" dir="ltr" class="mw-content-ltr">label</span> {{English term|label}}
: <span lang="en" dir="ltr" class="mw-content-ltr">main name given to identify a ZObject. May only be plain text.</span>
; {{anchor|lexeme|Lexeme}} <span lang="en" dir="ltr" class="mw-content-ltr">lexeme</span> {{English term|lexeme}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an entry in [[#Wikidata|Wikidata]] storing lexicographic knowledge about, roughly, a word; see [[d:Wikidata:Glossary#Lexeme|Lexeme]] in the Wikidata glossary.</span>
; {{anchor|linearizer|Linearizer}} <span lang="en" dir="ltr" class="mw-content-ltr">linearizer</span> {{English term|linearizer}}
: <span lang="en" dir="ltr" class="mw-content-ltr">(this term is no longer used in current terminology, but can still be found in older documents) synonym of [[#renderer|renderer]] (1).</span>
; {{anchor|list|List}} 串列 {{English term|list}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a data type that groups an arbitrary number of instances in an ordered entity; see [[w:en:List (abstract data type)|List (abstract data type)]] in Wikipedia.</span>
; {{anchor|literal}} <span lang="en" dir="ltr" class="mw-content-ltr">literal</span> {{English term|literal}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a value that is not a ZObject. Currently the only accepted literal is string.</span>
; {{anchor|local_Wikipedia|Local_Wikipedia}} <span lang="en" dir="ltr" class="mw-content-ltr">local Wikipedia</span> {{English term|local Wikipedia}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#Wikipedia|Wikipedia]] in a specific language, such as Hebrew Wikipedia, Japanese Wikipedia, or Italian Wikipedia.</span>
== M ==
; {{anchor|Multlingual_Wikipedia|multilingual_Wikipedia}} <span lang="en" dir="ltr" class="mw-content-ltr">multilingual Wikipedia</span> {{English term|multilingual Wikipedia}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the architecture that allows [[#local_Wikipedia|local Wikipedias]] to enrich themselves by [[#Renderer|rendering]] the [[#Content|Content]] from [[#Abstract_Wikipedia|Abstract Wikipedia]] and thus have a more comprehensive, current, and correct Wikipedia in their language; see [[:m:Special:MyLanguage/Abstract Wikipedia/Architecture|Abstract Wikipedia architecture]].</span>
== N ==
; {{anchor|natural_language|Natural_language}} 自然語言 {{English term|natural language}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a specific natural language in the wider sense, such as English, Tagalog, or Swahili; see [[w:en:Natural language|Natural language]] in Wikipedia.</span>
; {{anchor|normal|Normal|normalized|Normalized|normalised}} <span lang="en" dir="ltr" class="mw-content-ltr">normal</span> {{English term|normal}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an extended, easily processable and very uniform way to represent [[#ZObject|ZObjects]] in [[#JSON|JSON]]. This is opposed to [[#canonical|canonical]].</span>
; {{anchor|nothing|Nothing}} <span lang="en" dir="ltr" class="mw-content-ltr">nothing</span> {{English term|nothing}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a data type that can have no instances; see [[w:en:Bottom type|Bottom type]] in Wikipedia.</span>
== O ==
; {{anchor|object|Object}} 物件 {{English term|object}}
:# <span lang="en" dir="ltr" class="mw-content-ltr">In JavaScript or JSON, an object is basically an associative array; see [[w:en:Associative array|Associative array]] in Wikipedia.</span>
:# <span lang="en" dir="ltr" class="mw-content-ltr">In Wikifunctions, synonym of [[#ZObject|ZObject]].</span>
; {{anchor|orchestration|Orchestration}} <span lang="en" dir="ltr" class="mw-content-ltr">orchestration</span> {{English term|orchestration}}
:<span lang="en" dir="ltr" class="mw-content-ltr">The action performed by the [[#orchestrator|orchestrator]].</span>
; {{anchor|orchestrator|Orchestrator}} <span lang="en" dir="ltr" class="mw-content-ltr">orchestrator</span> {{English term|orchestrator}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a service that takes a [[#ZObject|ZObject]] and returns an [[#Evaluator|evaluated]] version of it. To do this, it will make calls to the wiki for other ZObjects it needs, to the [[#Executor|executor]] to evaluate some function calls, and other services such as [[#Wikidata|Wikidata]]. See [https://gitlab.wikimedia.org/repos/abstract-wiki/wikifunctions/function-orchestrator#wikifunctions-function-orchestrator the service documentation]. Compare to [[#evaluator|evaluator]] and [[#executor|executor]].</span>
== P ==
; {{anchor|page|Page}} 頁面 {{English term|page}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a part of a wiki. A [[#wiki|wiki]] consists of a number of individual pages, which can be edited independently, have internal links to each other, etc.</span>
; {{anchor|parser|Parser}} 解析器 {{English term|parser}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a function to convert a string to a ZObject. The opposite of [[#renderer|renderer]].</span>
; {{anchor|pair|Pair}} <span lang="en" dir="ltr" class="mw-content-ltr">pair</span> {{English term|pair}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a compound ZObject that contains two ZObjects of specific (but arbitrary) type.</span>
; {{anchor|part_P1|Part_P1}} <span lang="en" dir="ltr" class="mw-content-ltr">Part P1</span> {{English term|Part P1}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the part of the [[#development_project|development project]] that deals with creating [[#Wikifunctions|Wikifunctions]]. It starts at the beginning of the project and goes on throughout its whole lifetime; see [[:m:Special:MyLanguage/Abstract Wikipedia/Tasks#Part P1: Wikifunctions|Part P1: Wikifunctions]].</span>
; {{anchor|part_P2|Part_P2}} <span lang="en" dir="ltr" class="mw-content-ltr">Part P2</span> {{English term|Part P2}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the part of the [[#development_project|development project]] that deals with creating [[#Abstract_Wikipedia|Abstract Wikipedia]]. It starts after about a year in the project and goes on throughout the second half of its lifetime; see [[:m:Special:MyLanguage/Abstract Wikipedia/Tasks#Part P2: Abstract Wikipedia|Part P2: Abstract Wikipedia]].</span>
; {{anchor|persistent|Persistent}} <span lang="en" dir="ltr" class="mw-content-ltr">persistent</span> {{English term|persistent}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#ZObject|ZObject]] with a [[#ZID|ZID]] and with its own page in the wiki. Most persistent ZObjects will include [[#value|values]] that are ZObjects with no ZID, and are therefore not persistent.</span>
; {{anchor|property|Property}} 屬性 {{English term|property}}
: <span lang="en" dir="ltr" class="mw-content-ltr">used to make a [[#Statement|statement]] about an [[#Item|Item]] in [[#Wikidata|Wikidata]]'s knowledge base; see [[:d:Wikidata:Glossary#Property|Property]] in the Wikidata glossary.</span>
== Q ==
; {{anchor|quote|Quote}} <span lang="en" dir="ltr" class="mw-content-ltr">quote</span> {{English term|quote}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a data structure that is not to be evaluated but kept verbatim.</span>
; {{anchor|QID}} QID {{English term|QID}}
: <span lang="en" dir="ltr" class="mw-content-ltr">identifier for an item in [[#Wikidata|Wikidata]], comprising the letter "Q" followed by an integer.</span>
== R ==
; {{anchor|reading function}} <span lang="en" dir="ltr" class="mw-content-ltr">reading function</span> {{English term|reading function}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a synonym of [[#parser|parser]]. A function that converts user text input from a string into a given Type. For example, converting the String "123456" to the Number '123456', or the string "2024-03-12" to the Date '2024', '03', '12'.</span>
; {{anchor|reference|Reference}} 參照 {{English term|reference}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an ID denoting the underlying object. For example, the string "Z11" refers to the Type Z11/Monolingual text.</span>
: {{TakeNote}}<span lang="en" dir="ltr" class="mw-content-ltr">This term has a completely different meaning than on Wikidata; see [[w:en:Reference (computer science)|Reference (computer science)]] in Wikipedia.</span>
; {{anchor|renderer|Renderer}} 轉譯函式 {{English term|renderer}} (1)
: <span lang="en" dir="ltr" class="mw-content-ltr">a function to convert a ZObject to a string. The opposite of [[#parser|parser]]. (formerly called "linearizer")</span>
; 轉譯函式 {{English term|renderer}} (2)
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#Function|function]] that gets a [[#Content|content]] and an identifier for a [[#natural_language|natural language]] as an input and returns text in that natural language as output, representing the content as concrete text, using knowledge from [[#Lexeme|lexemes]].</span>
: {{TakeNote}}<span lang="en" dir="ltr" class="mw-content-ltr">This is a future feature, and the meaning of the term "renderer" in the {{Pg|:m:Abstract Wikipedia/Historic proposal|original proposal}}; this term collides with the current usage of "renderer", so it may be renamed in the future.</span>
; {{anchor|reify}} <span lang="en" dir="ltr" class="mw-content-ltr">reify</span> {{English term|reify}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a function that deconstructs an object into its constituent parts so that the parts can be individually accessed; see [[w:en:Reification (computer science)|Reification]] in Wikipedia; see [[phab:T261474]].</span>
; {{anchor|REPL}} <span lang="en" dir="ltr" class="mw-content-ltr">REPL</span> {{English term|REPL}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a Read / Eval / Print - Loop, a command line interface that takes some input, evaluates it, and displays the result; see [[w:en:REPL|REPL]] in Wikipedia; see [[Special:MyLanguage/Wikifunctions:Function model#REPL|Function model]].</span>
== S ==
; {{anchor|schemata}} <span lang="en" dir="ltr" class="mw-content-ltr">schemata</span> {{English term|schemata}}
: <span lang="en" dir="ltr" class="mw-content-ltr">See [[#function schemata|function schemata]].</span>
; {{anchor|serialization|Serialization|serialisation|Serialisation}} <span lang="en" dir="ltr" class="mw-content-ltr">serialization</span> {{English term|serialization}}
: <span lang="en" dir="ltr" class="mw-content-ltr">Ways to represent [[#ZObject|ZObjects]] in [[#JSON|JSON]]; see also [[#canonical|canonical]], [[#normal|normal]].</span>
; {{anchor|statement|Statement}} <span lang="en" dir="ltr" class="mw-content-ltr">statement</span> {{English term|statement}}
: <span lang="en" dir="ltr" class="mw-content-ltr">used to provide knowledge about an [[#Item|Item]] in [[#Wikidata|Wikidata]]'s knowledge base; see [[:d:Wikidata:Glossary#Statement|Statement]] in the Wikidata glossary.</span>
; {{anchor|string}} 字串 {{English term|string}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a sequence of characters.</span>
; {{anchor|sum type|Sum type}} <span lang="en" dir="ltr" class="mw-content-ltr">sum type</span> {{English term|sum type}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a type that can have instances of any of its constituent types; see [[w:en:Sum type|Sum type]] in Wikipedia; see [[Special:MyLanguage/Wikifunctions:Function model#Zx/Sum_types|Function model]].</span>
== T ==
; {{anchor|template}} <span lang="en" dir="ltr" class="mw-content-ltr">template</span> {{English term|template}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a way to specify a [[#renderer|renderer]] as text interspersed with place-holders, or ''slots'', which can be filled with data from [[#constructor|constructors]], function calculation, or content from another template. See the document [[:m:Special:MyLanguage/Abstract Wikipedia/Template Language for Wikifunctions|Template Language for Wikifunctions]] for a detailed discussion of the template syntax.</span>
; {{anchor|tester|Tester}} <span lang="en" dir="ltr" class="mw-content-ltr">tester</span> {{English term|tester}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a way to automatically determine if a given [[#ZFunction|ZFunction]] is doing the right thing. A [[#function|function]] will typically have multiple testers, each specifying some input to the function and conditions the output for the given input must fulfil. For example, testers for a “title case” function might include: “abc” should become “Abc”; “war and peace” should become “War and Peace”; “война и мир” should become “Война и мир”; and “123” should remain “123”.</span>
; {{anchor|transient|Transient}} <span lang="en" dir="ltr" class="mw-content-ltr">transient</span> {{English term|transient}}
: <span lang="en" dir="ltr" class="mw-content-ltr">Opposite of [[#persistent|persistent]].</span>
; {{anchor|type|Type}} <span lang="en" dir="ltr" class="mw-content-ltr">type</span> {{English term|type}}
: <span lang="en" dir="ltr" class="mw-content-ltr">The type of an object tells us how to interpret and understand the given object, and what can be done with the object. For example, if we have an object with the value “2023”, depending on whether its type is integer, or year, or string, we understand that object differently. Every object refers to “a thing in the real world”. The integer 2023 is different from the year 2023. The type tells us how to interpret a given object, so that we know which thing in the real world it refers to. Technically, it defines how objects of that type are structured and what conditions they need to fulfill to be a valid object of that type.</span> <span lang="en" dir="ltr" class="mw-content-ltr">A type defines the conditions for a [[#ZObject|ZObject]] to be a valid instance of this type, by providing a [[#Function|function]] that validates a ZObject. Types are ZObjects themselves, so that contributors of [[#Wikifunctions|Wikifunctions]] can create new types.</span>
; {{anchor|type converter}} <span lang="en" dir="ltr" class="mw-content-ltr">type converter</span> {{English term|type converter}}
: <span lang="en" dir="ltr" class="mw-content-ltr">A script written in some programming language (such as JavaScript), taking a native object (such as BigInt), and returning a JSON object representing the corresponding ZObject; or ''vice versa''.</span>
; {{anchor|typed list|Typed List}} <span lang="en" dir="ltr" class="mw-content-ltr">typed list</span> {{English term|typed list}}
: <span lang="en" dir="ltr" class="mw-content-ltr">A typed list is a [[#list|list]] in which all members of the list are of a specific, predefined [[#type|type]]. For example, a typed list of [[#string|strings]] is a list in which all members of the list are strings. A typed list takes one argument: the type that all the members of the list have to be an instance of. Typed lists are probably the most widely used [[#generic type|generic type]].</span>
== V ==
; {{anchor|value}} 值 {{English term|value}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the string or [[#ZObject|ZObject]] associated with a [[#key|key]] in another ZObject.</span>
; {{anchor|validation|Validation}} <span lang="en" dir="ltr" class="mw-content-ltr">validation</span> {{English term|validation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">The action performed by the [[#validator|validator]].</span>
; {{anchor|validator|Validator}} 驗證函式 {{English term|validator}}
: <span lang="en" dir="ltr" class="mw-content-ltr">A function taking a ZObject as argument and return a list of errors found.</span>
== W ==
; {{anchor|wiki|Wiki}} wiki {{English term|wiki}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a web site that allows for the easy and collaborative editing of its [[#page|pages]].</span>
; {{anchor|Wikidata}} 維基數據 {{English term|Wikidata}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a project of the [[#Wikimedia_Foundation|Wikimedia Foundation]], a free, collaboratively edited knowledge base; see [[:m:Special:MyLanguage/Wikidata|Wikidata]].</span>
; {{anchor|Wikifunctions}}{{anchor|Wikilambda}} 維基函式庫 {{English term|Wikifunctions}}
: <span lang="en" dir="ltr" class="mw-content-ltr">new project of the [[#Wikimedia_Foundation|Wikimedia Foundation]]; a free, collaboratively developed and maintained catalog of [[#Function|functions]]. It was initially known as '''Wikilambda''' in the {{Pg|:m:Abstract Wikipedia/Historic proposal|original proposal}} (that name is now used for the [[#WikiLambda|WikiLambda extension]]).</span>
; {{anchor|WikiLambda}} <span lang="en" dir="ltr" class="mw-content-ltr">WikiLambda</span> {{English term|WikiLambda}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the software used to power the project, [[mw:Special:MyLanguage/Extension:WikiLambda|Extension:WikiLambda]].</span>
; {{anchor|WikiLambda system}} <span lang="en" dir="ltr" class="mw-content-ltr">WikiLambda system</span> {{English term|WikiLambda system}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an automated system account that is a key part of the WikiLambda extension. See [[User:WikiLambda system]] for its current function.</span>
; {{anchor|WMF|Wikimedia_Foundation}} 維基媒體基金會 {{English term|Wikimedia Foundation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">organization that supports the Wikimedia movement; see [[:m:Special:MyLanguage/Wikimedia Foundation|Wikimedia Foundation]].</span>
; {{anchor|Wikipedia}} <span lang="en" dir="ltr" class="mw-content-ltr">Wikipedia</span> {{English term|Wikipedia}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a project of the [[#Wikimedia_Foundation|Wikimedia Foundation]], a free, collaboratively edited encyclopedia; see [[:m:Special:MyLanguage/Wikipedia|Wikipedia]].</span>
; <span lang="en" dir="ltr" class="mw-content-ltr">Wikipedia, Abstract</span> {{English term|Wikipedia, Abstract}}
: <span lang="en" dir="ltr" class="mw-content-ltr">see [[#Abstract_Wikipedia|Abstract Wikipedia]].</span>
; <span lang="en" dir="ltr" class="mw-content-ltr">Wikipedia, multilingual</span> {{English term|Wikipedia, multilingual}}
: <span lang="en" dir="ltr" class="mw-content-ltr">see [[#multilingual_Wikipedia|multilingual Wikipedia]].</span>
== Z ==
; {{anchor|ZID|ZIDs}} ZID {{English term|ZID}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an ID starting with the letter Z and followed by a natural number. Used to identify [[#persistent|persistent]] [[#ZObject|ZObjects]].</span>
; {{anchor|zfunction|ZFunction}} <span lang="en" dir="ltr" class="mw-content-ltr">ZFunction</span> {{English term|ZFunction}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a wiki page on [[#Wikifunctions|Wikifunctions]] that describes a particular [[#function|function]] that can be used through the [[#evaluator|evaluator]]. Each ZFunction can be realised in code by one or more [[#implementation|Implementations]], and said implementations can be verified as correct by one or more [[#tester|Tester]] ZFunctions.</span>
; {{anchor|ZKey}} <span lang="en" dir="ltr" class="mw-content-ltr">ZKey</span> {{English term|ZKey}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#ZObject|ZObject]] defining a [[#key|key]] for a particular [[#type|type]].</span>
; {{anchor|ZList}} <span lang="en" dir="ltr" class="mw-content-ltr">ZList</span> {{English term|ZList}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#ZObject|ZObject]] for an ordered sequence of other ZObjects.</span>
; {{anchor|ZObject}} <span lang="en" dir="ltr" class="mw-content-ltr">ZObject</span> {{English term|ZObject}}
: <span lang="en" dir="ltr" class="mw-content-ltr">every entry in [[#Wikifunctions|Wikifunctions]] is a ZObject. ZObjects stored in Wikifunctions have [[#ZID|ZIDs]] and can be of numerous types, such as [[#Constructor|Constructors]], [[#Function|Functions]], [[#Type|Types]], etc. A ZObject consists of a set of [[#Key|Key]]/[[#Value|Value]] pairs, with each Key appearing only once per ZObject and Values being ZObjects.</span>
; {{anchor|ZUnit}} <span lang="en" dir="ltr" class="mw-content-ltr">ZUnit</span> {{English term|ZUnit}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#ZObject|ZObject]] that represents a [[:w:en:Unit type|Unit type]].</span>
[[Category:Glossary| {{#translation:}}]]
giatxedcrblb6r9xiy33gte17tdjr1n
200135
200133
2025-07-03T10:13:15Z
Winston Sung
2672
Created page with "驗證"
200135
wikitext
text/x-wiki
<noinclude><languages/>
<!--<nowiki>(nowiki tags are so that the translate extension doesn't try to translate the TERM and DEFINITION in this boilerplate).
Use this boilerplate for a new term:
; {{anchor|term|Term}} <translate>term</translate> {{English term|term}}
: ''Definition verification needed''
: <translate>definition</translate>
Notes:
1. Omit the "Definition verification" if you're sure that your definition is correct.
2. You can add several values for anchor, if it has spelling or capitalization variants; see the documentation for Template:Anchor and examples in other terms.
</nowiki>--></noinclude>
<span lang="en" dir="ltr" class="mw-content-ltr">Feel free to ask for terms on the [[Wikifunctions talk:Glossary|talk page]], or to add more terms and improve the definitions.</span>
{|class="toccolours" style="margin:.2em auto;padding:.2em .5em;text-align:center" dir="ltr" lang="en"
|-
|style="padding:0;width:100%"|{{CompactTOC}}
|}
== A ==
; {{anchor|abstract|Abstract}} 抽象 {{English term|abstract}}
: <span lang="en" dir="ltr" class="mw-content-ltr">not in a specific [[#natural_language|natural language]] but abstracting from it; aiming to provide a notation for the meaning behind natural language texts, sentences, or phrases. The opposite of [[#concrete|concrete]].</span>
; {{anchor|abstracttext|AbstractText}} <span lang="en" dir="ltr" class="mw-content-ltr">AbstractText</span> {{English term|AbstractText}}
: <span lang="en" dir="ltr" class="mw-content-ltr">prototype [https://github.com/google/abstracttext implementation] of the [[#Wikifunctions|Wikifunctions]] idea.</span>
; {{anchor|abstract_content}} 抽象內容 {{English term|abstract content}}
: <span lang="en" dir="ltr" class="mw-content-ltr">see [[#Content|content]].</span>
; {{anchor|abstract_Wikipedia|Abstract_Wikipedia}} 抽象維基百科 {{English term|Abstract Wikipedia}}
: <span lang="en" dir="ltr" class="mw-content-ltr">preliminary name of all the [[#Content|Content]] that can be used by [[#local_Wikipedia|local Wikipedias]] to [[#Renderer|render]] an [[#article|article]] in [[#natural_language|natural language]]; currently proposed to live in [[#Wikidata|Wikidata]] next to the corresponding [[#Item|Item]], but that will be discussed before [[#Part_P2|Part P2]] of the [[#development_project|development project]].</span>
; {{anchor|alias}} 別名 {{English term|alias}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an alternative label for an object, used foremost to find the object.</span>
; {{anchor|argument}} 引數 {{English term|argument}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an input given to a [[#function call|function call]].</span>
; {{anchor|argument reference}} 引數參照 {{English term|argument reference}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#reference|reference]] to one of the supplied arguments within a [[#composition|composition]].</span>
; {{anchor|array}} 陣列 {{English term|array}}
: <span lang="en" dir="ltr" class="mw-content-ltr">Many programming languages have an "array" type. The counterparts in Wikifunctions are [[#list|list]] and [[#typed list|typed list]]. See also [[#Benjamin array|Benjamin array]].</span>
; {{anchor|article|Article}} 條目 {{English term|article}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a page in the main namespace of [[#Wikipedia|Wikipedia]], usually representing one entry in Wikipedia.</span>
== B ==
; {{anchor|Benjamin array}} <span lang="en" dir="ltr" class="mw-content-ltr">Benjamin array</span> {{English term|Benjamin array}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a way to denote [[#typed list|typed list]] proposed by Benjamin Degenhart, where a typed list is stored as a JSON list whose first element denotes the type. This is in contrast with the previous proposed schema, which uses LISP-style singly-linked lists, in which the type must be stored once in each node.</span>
; {{anchor|boolean|Boolean}} 布林值 {{English term|boolean}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a value that can have 2 states, usually denoted true and false.</span>
; {{anchor|built-in|builtin}} 內建 {{English term|built-in}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a native implementation of a function that is provided by the evaluator and that is not editable through the wiki interface.</span>
== C ==
; {{anchor|call}} 呼叫 {{English term|call}}
: <span lang="en" dir="ltr" class="mw-content-ltr">see [[#function call|function call]]. In English, the term [[#invoke|invoke or invocation]] may also be used.</span>
; {{anchor|canonical|canonicalized|canonicalised}} <span lang="en" dir="ltr" class="mw-content-ltr">canonical, canonicalized, canonicalised</span> {{English term|canonical, canonicalized, canonicalised}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a specific, less verbose and thus more readable way to represent [[#ZObject|ZObjects]] in [[#JSON|JSON]]; it is the usual representation ZObjects are stored in [[#Wikifunctions|Wikifunctions]]. This is opposed to [[#normal|normal]].</span>
; {{anchor|character}} 字元 {{English term|character}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a character as defined by Unicode, a constituent of a String; a character can consist of several bytes (or octets).</span>
; {{anchor|composition}} 組成 {{English term|composition}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a form of implementation of a function, where the implementation is given by the combination of other functions; see [[Special:MyLanguage/Wikifunctions:Function model#Composition|Function model]].</span>
; {{anchor|composition notation}} <span lang="en" dir="ltr" class="mw-content-ltr">composition notation</span> {{English term|composition notation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an easy-to-read notation for compositions; see [[Special:MyLanguage/Wikifunctions:Function model#Composition|Function model]].</span>
; {{anchor|concrete|Concrete}} <span lang="en" dir="ltr" class="mw-content-ltr">concrete</span> {{English term|concrete}}
: <span lang="en" dir="ltr" class="mw-content-ltr">in a specific [[#natural_language|natural language]]. The opposite of [[#abstract|abstract]].</span>
; {{anchor|cons}} <span lang="en" dir="ltr" class="mw-content-ltr">cons</span> {{English term|cons}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a function to create a new list by adding an element at the top of it; see [[phab:T261474]].</span> <span lang="en" dir="ltr" class="mw-content-ltr">See [[w:cons|cons]] in Wikipedia.</span>
; {{anchor|constructor|Constructor}} <span lang="en" dir="ltr" class="mw-content-ltr">constructor</span> {{English term|constructor}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an [[#abstract|abstract]] building block of [[#Content|content]]. A constructor aims to capture the meaning of a single phrase or sentence structure. It often has slots that can take other constructors, and can itself be used as a value to fill the slots of other constructors.</span>
; {{anchor|Content}}<!--do not add |content to the anchor, it is used by MediaWiki--> <span lang="en" dir="ltr" class="mw-content-ltr">content, abstract content</span> {{English term|content, abstract content}}
: <span lang="en" dir="ltr" class="mw-content-ltr">abstract representation of a text or text fragment, assembled from [[#Constructor|constructors]]. Technically, an instance of a constructor. The top level constructor is used to represent a whole [[#article|article]] and stored in [[#Abstract_Wikipedia|Abstract Wikipedia]], but content can be also for just a sentence or phrase. Sometimes called abstract content.</span>
; {{anchor|curry}} <span lang="en" dir="ltr" class="mw-content-ltr">curried, curry, currying</span> {{English term|curried, curry, currying}}
: <span lang="en" dir="ltr" class="mw-content-ltr">A curried function is a function that was translated from taking multiple arguments into a sequence of functions, each with a single argument. This technique is named after the American mathematician [[:w:en:Haskell Curry|Haskell Curry]]. See [[:w:en:Currying|Currying]] in Wikipedia.</span>
== D ==
; {{anchor|deserialization|Deserialization|deserialisation|Deserialisation}} <span lang="en" dir="ltr" class="mw-content-ltr">deserialization</span> {{English term|deserialization}}
: <span lang="en" dir="ltr" class="mw-content-ltr">Opposite of [[#serialization|serialization]].</span>
; {{anchor|development_project|Development_project}} 開發專案 {{English term|development project}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a project to develop [[#Wikifunctions|Wikifunctions]] and [[#Abstract_Wikipedia|Abstract Wikipedia]]; see [[:m:Special:MyLanguage/Abstract Wikipedia/Plan|Abstract Wikipedia plan]].</span>
; {{anchor|display function}} 顯示函式 {{English term|display function}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a synonym of [[#renderer|renderer]]. For example, a function that converts a [[#type|type]] into a string that users can understand, such as converting a Number 123456 to "123,456" in (International) English, "1,23,456" in Indian English, "123.456" in French, etc., or converting the Date '2024','03','12' to '2024-03-12', and so on.</span>
; {{anchor|documentation}} 說明文件 {{English term|documentation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">human-readable text explaining an object.</span>
== E ==
; {{anchor|eney|eneyjj}} <span lang="en" dir="ltr" class="mw-content-ltr">eneyj</span> {{English term|eneyj}}
:# <span lang="en" dir="ltr" class="mw-content-ltr">prototype model of [[#Wikifunctions|Wikifunctions]];</span>
:# <span lang="en" dir="ltr" class="mw-content-ltr">a JavaScript implementation of an [[#evaluator|evaluator]] of that model provided in [[#abstracttext|abstracttext]].</span>
; {{anchor|error|Error}} 錯誤 {{English term|error}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a type whose instances indicate problems in [[#evaluation|evaluation]] or [[#validation|validation]]; see [[Special:MyLanguage/Wikifunctions:Function model#Z5/Errors|Function model]].</span>
; {{anchor|evaluation|Evaluation}} <span lang="en" dir="ltr" class="mw-content-ltr">evaluation</span> {{English term|evaluation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">The action performed by the [[#evaluator|evaluator]].</span>
; {{anchor|evaluator|Evaluator}} <span lang="en" dir="ltr" class="mw-content-ltr">evaluator</span> {{English term|evaluator}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a piece of software that takes a [[#ZObject|ZObject]] and evaluates it, that is executes a [[#Function|Function]] and returns the result. We envision the development of several evaluators. Evaluators may be implemented and run in the browser, on the server of the [[#Wikimedia_Foundation|Wikimedia Foundation]], in the cloud, in an app on a mobile device, or other places. Compare to [[#executor|executor]] and [[#orchestrator|orchestrator]].</span>
; {{anchor|execution|Execution}} 執行 {{English term|execution}}
: <span lang="en" dir="ltr" class="mw-content-ltr">The action performed by the [[#executor|executor]].</span>
; {{anchor|executor|Executor|executors|Executors}} <span lang="en" dir="ltr" class="mw-content-ltr">executor</span> {{English term|executor}}
: <span lang="en" dir="ltr" class="mw-content-ltr">one of a set of internal services which are not exposed to the public. They can be only called by the [[#Orchestrator|orchestrator]]. They run native code in a specific programming language. There would be one executor for Lua, one for JavaScript, one for Python, etc. See [https://gitlab.wikimedia.org/repos/abstract-wiki/wikifunctions/function-evaluator#executors the service documentation]. Compare to [[#evaluator|evaluator]] and [[#orchestrator|orchestrator]].</span>
== F ==
; {{anchor|function|Function}} 函式 {{English term|function}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the specification of a computation that takes some input and returns output; see [[w:en:Function (computer science)|Function (computer science)]] in Wikipedia.</span>
; {{anchor|function call|Function call}} 函式呼叫 {{English term|function call}}
: <span lang="en" dir="ltr" class="mw-content-ltr">A function call is a ZObject consisting of a function and the required arguments for the function, and can be evaluated to another ZObject. In English, the term "invoke" may also be used.</span>
; {{anchor|function evaluator}} <span lang="en" dir="ltr" class="mw-content-ltr">function evaluator</span> {{English term|function evaluator}}
: <span lang="en" dir="ltr" class="mw-content-ltr">See [[#evaluator|evaluator]].</span>
; {{anchor|function executor}} <span lang="en" dir="ltr" class="mw-content-ltr">function executor</span> {{English term|function executor}}
: <span lang="en" dir="ltr" class="mw-content-ltr">See [[#executor|executor]].</span>
; {{anchor|function model}} 函式模型 {{English term|function model}}
: 請參閱[[Special:MyLanguage/Wikifunctions:Function model|函式模型]]。
; {{anchor|function orchestrator}} <span lang="en" dir="ltr" class="mw-content-ltr">function orchestrator</span> {{English term|function orchestrator}}
: <span lang="en" dir="ltr" class="mw-content-ltr">See [[#orchestrator|orchestrator]].</span>
; {{anchor|function schemata}} <span lang="en" dir="ltr" class="mw-content-ltr">function schemata</span> {{English term|function schemata}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a set of pre-defined ZObjects used in [[#orchestrator|orchestrator]] and [[#evaluator|evaluator]]. The [[#WikiLambda system|WikiLambda system account]] also populates pre-defined ZObjects on-wiki from function schemata.</span>
; {{anchor|functional}} <span lang="en" dir="ltr" class="mw-content-ltr">functional</span> {{English term|functional}}
: <span lang="en" dir="ltr" class="mw-content-ltr">short for "purely functional", meaning that the [[#evaluation|evaluation]] of such a function has no side-effects and is deterministic, that is always the same; see [[w:en:Purely functional programming|Purely functional programming]] in Wikipedia; see [[Special:MyLanguage/Wikifunctions:Function model#non-functional|Function model]].</span>
== G ==
; {{anchor|generic type}} <span lang="en" dir="ltr" class="mw-content-ltr">generic type</span> {{English term|generic type}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a type generated by [[#evaluation|evaluation]] of a function call.</span>
== I ==
; {{anchor|identity|Identity}} 識別物件 {{English term|identity}}
: <span lang="en" dir="ltr" class="mw-content-ltr">The identity of a type is an instance of (specific) function that evaluates to the type. For a simple type, it is a reference to the type itself.</span>
; {{anchor|implementation|Implementation}} 實作 {{English term|implementation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a particular way to execute a [[#function|function]]. An implementation may be a piece of code in a certain programming language, refer to functionality “built into” the [[#evaluator|evaluator]], or [[#composition|compose]] calls to other functions. A function may have many implementations, which should all be equivalent. Short for "[[#ZFunction|ZFunction]] implementation".</span>
; {{anchor|instance}} 實例 {{English term|instance}}
: <span lang="en" dir="ltr" class="mw-content-ltr">Every ZObject is an instance of its type.</span>
; {{anchor|invoke}} 調用 {{English term|invoke}}
: <span lang="en" dir="ltr" class="mw-content-ltr">synonym for [[#call|call]] in English. See [[#function call|function call]].</span>
; {{anchor|item|Item}} 項目 {{English term|item}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an entry in [[#Wikidata|Wikidata]]'s knowledge base; see [[:d:Wikidata:Glossary#Item|Item]] in the Wikidata glossary.</span>
== J ==
; {{anchor|JSON}} JSON {{English term|JSON}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a widely used data transfer format; see [[w:en:JSON|JSON]] in Wikipedia.</span>
== K ==
; {{anchor|key|Key}} 鍵 {{English term|key}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a string which ends with the letter K followed by a natural number, and is optionally preceded by a [[#ZID|ZID]]. Keys are defined in [[#Wikifunctions|Wikifunctions]] usually on [[#Type|Types]] or [[#Function|Functions]], and are used to build up [[#ZObject|ZObjects]].</span>
== L ==
; {{anchor|label}} <span lang="en" dir="ltr" class="mw-content-ltr">label</span> {{English term|label}}
: <span lang="en" dir="ltr" class="mw-content-ltr">main name given to identify a ZObject. May only be plain text.</span>
; {{anchor|lexeme|Lexeme}} <span lang="en" dir="ltr" class="mw-content-ltr">lexeme</span> {{English term|lexeme}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an entry in [[#Wikidata|Wikidata]] storing lexicographic knowledge about, roughly, a word; see [[d:Wikidata:Glossary#Lexeme|Lexeme]] in the Wikidata glossary.</span>
; {{anchor|linearizer|Linearizer}} <span lang="en" dir="ltr" class="mw-content-ltr">linearizer</span> {{English term|linearizer}}
: <span lang="en" dir="ltr" class="mw-content-ltr">(this term is no longer used in current terminology, but can still be found in older documents) synonym of [[#renderer|renderer]] (1).</span>
; {{anchor|list|List}} 串列 {{English term|list}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a data type that groups an arbitrary number of instances in an ordered entity; see [[w:en:List (abstract data type)|List (abstract data type)]] in Wikipedia.</span>
; {{anchor|literal}} <span lang="en" dir="ltr" class="mw-content-ltr">literal</span> {{English term|literal}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a value that is not a ZObject. Currently the only accepted literal is string.</span>
; {{anchor|local_Wikipedia|Local_Wikipedia}} <span lang="en" dir="ltr" class="mw-content-ltr">local Wikipedia</span> {{English term|local Wikipedia}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#Wikipedia|Wikipedia]] in a specific language, such as Hebrew Wikipedia, Japanese Wikipedia, or Italian Wikipedia.</span>
== M ==
; {{anchor|Multlingual_Wikipedia|multilingual_Wikipedia}} <span lang="en" dir="ltr" class="mw-content-ltr">multilingual Wikipedia</span> {{English term|multilingual Wikipedia}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the architecture that allows [[#local_Wikipedia|local Wikipedias]] to enrich themselves by [[#Renderer|rendering]] the [[#Content|Content]] from [[#Abstract_Wikipedia|Abstract Wikipedia]] and thus have a more comprehensive, current, and correct Wikipedia in their language; see [[:m:Special:MyLanguage/Abstract Wikipedia/Architecture|Abstract Wikipedia architecture]].</span>
== N ==
; {{anchor|natural_language|Natural_language}} 自然語言 {{English term|natural language}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a specific natural language in the wider sense, such as English, Tagalog, or Swahili; see [[w:en:Natural language|Natural language]] in Wikipedia.</span>
; {{anchor|normal|Normal|normalized|Normalized|normalised}} <span lang="en" dir="ltr" class="mw-content-ltr">normal</span> {{English term|normal}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an extended, easily processable and very uniform way to represent [[#ZObject|ZObjects]] in [[#JSON|JSON]]. This is opposed to [[#canonical|canonical]].</span>
; {{anchor|nothing|Nothing}} <span lang="en" dir="ltr" class="mw-content-ltr">nothing</span> {{English term|nothing}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a data type that can have no instances; see [[w:en:Bottom type|Bottom type]] in Wikipedia.</span>
== O ==
; {{anchor|object|Object}} 物件 {{English term|object}}
:# <span lang="en" dir="ltr" class="mw-content-ltr">In JavaScript or JSON, an object is basically an associative array; see [[w:en:Associative array|Associative array]] in Wikipedia.</span>
:# <span lang="en" dir="ltr" class="mw-content-ltr">In Wikifunctions, synonym of [[#ZObject|ZObject]].</span>
; {{anchor|orchestration|Orchestration}} <span lang="en" dir="ltr" class="mw-content-ltr">orchestration</span> {{English term|orchestration}}
:<span lang="en" dir="ltr" class="mw-content-ltr">The action performed by the [[#orchestrator|orchestrator]].</span>
; {{anchor|orchestrator|Orchestrator}} <span lang="en" dir="ltr" class="mw-content-ltr">orchestrator</span> {{English term|orchestrator}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a service that takes a [[#ZObject|ZObject]] and returns an [[#Evaluator|evaluated]] version of it. To do this, it will make calls to the wiki for other ZObjects it needs, to the [[#Executor|executor]] to evaluate some function calls, and other services such as [[#Wikidata|Wikidata]]. See [https://gitlab.wikimedia.org/repos/abstract-wiki/wikifunctions/function-orchestrator#wikifunctions-function-orchestrator the service documentation]. Compare to [[#evaluator|evaluator]] and [[#executor|executor]].</span>
== P ==
; {{anchor|page|Page}} 頁面 {{English term|page}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a part of a wiki. A [[#wiki|wiki]] consists of a number of individual pages, which can be edited independently, have internal links to each other, etc.</span>
; {{anchor|parser|Parser}} 解析器 {{English term|parser}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a function to convert a string to a ZObject. The opposite of [[#renderer|renderer]].</span>
; {{anchor|pair|Pair}} <span lang="en" dir="ltr" class="mw-content-ltr">pair</span> {{English term|pair}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a compound ZObject that contains two ZObjects of specific (but arbitrary) type.</span>
; {{anchor|part_P1|Part_P1}} <span lang="en" dir="ltr" class="mw-content-ltr">Part P1</span> {{English term|Part P1}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the part of the [[#development_project|development project]] that deals with creating [[#Wikifunctions|Wikifunctions]]. It starts at the beginning of the project and goes on throughout its whole lifetime; see [[:m:Special:MyLanguage/Abstract Wikipedia/Tasks#Part P1: Wikifunctions|Part P1: Wikifunctions]].</span>
; {{anchor|part_P2|Part_P2}} <span lang="en" dir="ltr" class="mw-content-ltr">Part P2</span> {{English term|Part P2}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the part of the [[#development_project|development project]] that deals with creating [[#Abstract_Wikipedia|Abstract Wikipedia]]. It starts after about a year in the project and goes on throughout the second half of its lifetime; see [[:m:Special:MyLanguage/Abstract Wikipedia/Tasks#Part P2: Abstract Wikipedia|Part P2: Abstract Wikipedia]].</span>
; {{anchor|persistent|Persistent}} <span lang="en" dir="ltr" class="mw-content-ltr">persistent</span> {{English term|persistent}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#ZObject|ZObject]] with a [[#ZID|ZID]] and with its own page in the wiki. Most persistent ZObjects will include [[#value|values]] that are ZObjects with no ZID, and are therefore not persistent.</span>
; {{anchor|property|Property}} 屬性 {{English term|property}}
: <span lang="en" dir="ltr" class="mw-content-ltr">used to make a [[#Statement|statement]] about an [[#Item|Item]] in [[#Wikidata|Wikidata]]'s knowledge base; see [[:d:Wikidata:Glossary#Property|Property]] in the Wikidata glossary.</span>
== Q ==
; {{anchor|quote|Quote}} <span lang="en" dir="ltr" class="mw-content-ltr">quote</span> {{English term|quote}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a data structure that is not to be evaluated but kept verbatim.</span>
; {{anchor|QID}} QID {{English term|QID}}
: <span lang="en" dir="ltr" class="mw-content-ltr">identifier for an item in [[#Wikidata|Wikidata]], comprising the letter "Q" followed by an integer.</span>
== R ==
; {{anchor|reading function}} <span lang="en" dir="ltr" class="mw-content-ltr">reading function</span> {{English term|reading function}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a synonym of [[#parser|parser]]. A function that converts user text input from a string into a given Type. For example, converting the String "123456" to the Number '123456', or the string "2024-03-12" to the Date '2024', '03', '12'.</span>
; {{anchor|reference|Reference}} 參照 {{English term|reference}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an ID denoting the underlying object. For example, the string "Z11" refers to the Type Z11/Monolingual text.</span>
: {{TakeNote}}<span lang="en" dir="ltr" class="mw-content-ltr">This term has a completely different meaning than on Wikidata; see [[w:en:Reference (computer science)|Reference (computer science)]] in Wikipedia.</span>
; {{anchor|renderer|Renderer}} 轉譯函式 {{English term|renderer}} (1)
: <span lang="en" dir="ltr" class="mw-content-ltr">a function to convert a ZObject to a string. The opposite of [[#parser|parser]]. (formerly called "linearizer")</span>
; 轉譯函式 {{English term|renderer}} (2)
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#Function|function]] that gets a [[#Content|content]] and an identifier for a [[#natural_language|natural language]] as an input and returns text in that natural language as output, representing the content as concrete text, using knowledge from [[#Lexeme|lexemes]].</span>
: {{TakeNote}}<span lang="en" dir="ltr" class="mw-content-ltr">This is a future feature, and the meaning of the term "renderer" in the {{Pg|:m:Abstract Wikipedia/Historic proposal|original proposal}}; this term collides with the current usage of "renderer", so it may be renamed in the future.</span>
; {{anchor|reify}} <span lang="en" dir="ltr" class="mw-content-ltr">reify</span> {{English term|reify}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a function that deconstructs an object into its constituent parts so that the parts can be individually accessed; see [[w:en:Reification (computer science)|Reification]] in Wikipedia; see [[phab:T261474]].</span>
; {{anchor|REPL}} <span lang="en" dir="ltr" class="mw-content-ltr">REPL</span> {{English term|REPL}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a Read / Eval / Print - Loop, a command line interface that takes some input, evaluates it, and displays the result; see [[w:en:REPL|REPL]] in Wikipedia; see [[Special:MyLanguage/Wikifunctions:Function model#REPL|Function model]].</span>
== S ==
; {{anchor|schemata}} <span lang="en" dir="ltr" class="mw-content-ltr">schemata</span> {{English term|schemata}}
: <span lang="en" dir="ltr" class="mw-content-ltr">See [[#function schemata|function schemata]].</span>
; {{anchor|serialization|Serialization|serialisation|Serialisation}} <span lang="en" dir="ltr" class="mw-content-ltr">serialization</span> {{English term|serialization}}
: <span lang="en" dir="ltr" class="mw-content-ltr">Ways to represent [[#ZObject|ZObjects]] in [[#JSON|JSON]]; see also [[#canonical|canonical]], [[#normal|normal]].</span>
; {{anchor|statement|Statement}} <span lang="en" dir="ltr" class="mw-content-ltr">statement</span> {{English term|statement}}
: <span lang="en" dir="ltr" class="mw-content-ltr">used to provide knowledge about an [[#Item|Item]] in [[#Wikidata|Wikidata]]'s knowledge base; see [[:d:Wikidata:Glossary#Statement|Statement]] in the Wikidata glossary.</span>
; {{anchor|string}} 字串 {{English term|string}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a sequence of characters.</span>
; {{anchor|sum type|Sum type}} <span lang="en" dir="ltr" class="mw-content-ltr">sum type</span> {{English term|sum type}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a type that can have instances of any of its constituent types; see [[w:en:Sum type|Sum type]] in Wikipedia; see [[Special:MyLanguage/Wikifunctions:Function model#Zx/Sum_types|Function model]].</span>
== T ==
; {{anchor|template}} <span lang="en" dir="ltr" class="mw-content-ltr">template</span> {{English term|template}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a way to specify a [[#renderer|renderer]] as text interspersed with place-holders, or ''slots'', which can be filled with data from [[#constructor|constructors]], function calculation, or content from another template. See the document [[:m:Special:MyLanguage/Abstract Wikipedia/Template Language for Wikifunctions|Template Language for Wikifunctions]] for a detailed discussion of the template syntax.</span>
; {{anchor|tester|Tester}} <span lang="en" dir="ltr" class="mw-content-ltr">tester</span> {{English term|tester}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a way to automatically determine if a given [[#ZFunction|ZFunction]] is doing the right thing. A [[#function|function]] will typically have multiple testers, each specifying some input to the function and conditions the output for the given input must fulfil. For example, testers for a “title case” function might include: “abc” should become “Abc”; “war and peace” should become “War and Peace”; “война и мир” should become “Война и мир”; and “123” should remain “123”.</span>
; {{anchor|transient|Transient}} <span lang="en" dir="ltr" class="mw-content-ltr">transient</span> {{English term|transient}}
: <span lang="en" dir="ltr" class="mw-content-ltr">Opposite of [[#persistent|persistent]].</span>
; {{anchor|type|Type}} <span lang="en" dir="ltr" class="mw-content-ltr">type</span> {{English term|type}}
: <span lang="en" dir="ltr" class="mw-content-ltr">The type of an object tells us how to interpret and understand the given object, and what can be done with the object. For example, if we have an object with the value “2023”, depending on whether its type is integer, or year, or string, we understand that object differently. Every object refers to “a thing in the real world”. The integer 2023 is different from the year 2023. The type tells us how to interpret a given object, so that we know which thing in the real world it refers to. Technically, it defines how objects of that type are structured and what conditions they need to fulfill to be a valid object of that type.</span> <span lang="en" dir="ltr" class="mw-content-ltr">A type defines the conditions for a [[#ZObject|ZObject]] to be a valid instance of this type, by providing a [[#Function|function]] that validates a ZObject. Types are ZObjects themselves, so that contributors of [[#Wikifunctions|Wikifunctions]] can create new types.</span>
; {{anchor|type converter}} <span lang="en" dir="ltr" class="mw-content-ltr">type converter</span> {{English term|type converter}}
: <span lang="en" dir="ltr" class="mw-content-ltr">A script written in some programming language (such as JavaScript), taking a native object (such as BigInt), and returning a JSON object representing the corresponding ZObject; or ''vice versa''.</span>
; {{anchor|typed list|Typed List}} <span lang="en" dir="ltr" class="mw-content-ltr">typed list</span> {{English term|typed list}}
: <span lang="en" dir="ltr" class="mw-content-ltr">A typed list is a [[#list|list]] in which all members of the list are of a specific, predefined [[#type|type]]. For example, a typed list of [[#string|strings]] is a list in which all members of the list are strings. A typed list takes one argument: the type that all the members of the list have to be an instance of. Typed lists are probably the most widely used [[#generic type|generic type]].</span>
== V ==
; {{anchor|value}} 值 {{English term|value}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the string or [[#ZObject|ZObject]] associated with a [[#key|key]] in another ZObject.</span>
; {{anchor|validation|Validation}} 驗證 {{English term|validation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">The action performed by the [[#validator|validator]].</span>
; {{anchor|validator|Validator}} 驗證函式 {{English term|validator}}
: <span lang="en" dir="ltr" class="mw-content-ltr">A function taking a ZObject as argument and return a list of errors found.</span>
== W ==
; {{anchor|wiki|Wiki}} wiki {{English term|wiki}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a web site that allows for the easy and collaborative editing of its [[#page|pages]].</span>
; {{anchor|Wikidata}} 維基數據 {{English term|Wikidata}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a project of the [[#Wikimedia_Foundation|Wikimedia Foundation]], a free, collaboratively edited knowledge base; see [[:m:Special:MyLanguage/Wikidata|Wikidata]].</span>
; {{anchor|Wikifunctions}}{{anchor|Wikilambda}} 維基函式庫 {{English term|Wikifunctions}}
: <span lang="en" dir="ltr" class="mw-content-ltr">new project of the [[#Wikimedia_Foundation|Wikimedia Foundation]]; a free, collaboratively developed and maintained catalog of [[#Function|functions]]. It was initially known as '''Wikilambda''' in the {{Pg|:m:Abstract Wikipedia/Historic proposal|original proposal}} (that name is now used for the [[#WikiLambda|WikiLambda extension]]).</span>
; {{anchor|WikiLambda}} <span lang="en" dir="ltr" class="mw-content-ltr">WikiLambda</span> {{English term|WikiLambda}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the software used to power the project, [[mw:Special:MyLanguage/Extension:WikiLambda|Extension:WikiLambda]].</span>
; {{anchor|WikiLambda system}} <span lang="en" dir="ltr" class="mw-content-ltr">WikiLambda system</span> {{English term|WikiLambda system}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an automated system account that is a key part of the WikiLambda extension. See [[User:WikiLambda system]] for its current function.</span>
; {{anchor|WMF|Wikimedia_Foundation}} 維基媒體基金會 {{English term|Wikimedia Foundation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">organization that supports the Wikimedia movement; see [[:m:Special:MyLanguage/Wikimedia Foundation|Wikimedia Foundation]].</span>
; {{anchor|Wikipedia}} <span lang="en" dir="ltr" class="mw-content-ltr">Wikipedia</span> {{English term|Wikipedia}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a project of the [[#Wikimedia_Foundation|Wikimedia Foundation]], a free, collaboratively edited encyclopedia; see [[:m:Special:MyLanguage/Wikipedia|Wikipedia]].</span>
; <span lang="en" dir="ltr" class="mw-content-ltr">Wikipedia, Abstract</span> {{English term|Wikipedia, Abstract}}
: <span lang="en" dir="ltr" class="mw-content-ltr">see [[#Abstract_Wikipedia|Abstract Wikipedia]].</span>
; <span lang="en" dir="ltr" class="mw-content-ltr">Wikipedia, multilingual</span> {{English term|Wikipedia, multilingual}}
: <span lang="en" dir="ltr" class="mw-content-ltr">see [[#multilingual_Wikipedia|multilingual Wikipedia]].</span>
== Z ==
; {{anchor|ZID|ZIDs}} ZID {{English term|ZID}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an ID starting with the letter Z and followed by a natural number. Used to identify [[#persistent|persistent]] [[#ZObject|ZObjects]].</span>
; {{anchor|zfunction|ZFunction}} <span lang="en" dir="ltr" class="mw-content-ltr">ZFunction</span> {{English term|ZFunction}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a wiki page on [[#Wikifunctions|Wikifunctions]] that describes a particular [[#function|function]] that can be used through the [[#evaluator|evaluator]]. Each ZFunction can be realised in code by one or more [[#implementation|Implementations]], and said implementations can be verified as correct by one or more [[#tester|Tester]] ZFunctions.</span>
; {{anchor|ZKey}} <span lang="en" dir="ltr" class="mw-content-ltr">ZKey</span> {{English term|ZKey}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#ZObject|ZObject]] defining a [[#key|key]] for a particular [[#type|type]].</span>
; {{anchor|ZList}} <span lang="en" dir="ltr" class="mw-content-ltr">ZList</span> {{English term|ZList}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#ZObject|ZObject]] for an ordered sequence of other ZObjects.</span>
; {{anchor|ZObject}} <span lang="en" dir="ltr" class="mw-content-ltr">ZObject</span> {{English term|ZObject}}
: <span lang="en" dir="ltr" class="mw-content-ltr">every entry in [[#Wikifunctions|Wikifunctions]] is a ZObject. ZObjects stored in Wikifunctions have [[#ZID|ZIDs]] and can be of numerous types, such as [[#Constructor|Constructors]], [[#Function|Functions]], [[#Type|Types]], etc. A ZObject consists of a set of [[#Key|Key]]/[[#Value|Value]] pairs, with each Key appearing only once per ZObject and Values being ZObjects.</span>
; {{anchor|ZUnit}} <span lang="en" dir="ltr" class="mw-content-ltr">ZUnit</span> {{English term|ZUnit}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#ZObject|ZObject]] that represents a [[:w:en:Unit type|Unit type]].</span>
[[Category:Glossary| {{#translation:}}]]
85op0cm8yrvgf0s55eow4cjljwwvqmq
200137
200135
2025-07-03T10:13:21Z
Winston Sung
2672
Created page with "WikiLambda"
200137
wikitext
text/x-wiki
<noinclude><languages/>
<!--<nowiki>(nowiki tags are so that the translate extension doesn't try to translate the TERM and DEFINITION in this boilerplate).
Use this boilerplate for a new term:
; {{anchor|term|Term}} <translate>term</translate> {{English term|term}}
: ''Definition verification needed''
: <translate>definition</translate>
Notes:
1. Omit the "Definition verification" if you're sure that your definition is correct.
2. You can add several values for anchor, if it has spelling or capitalization variants; see the documentation for Template:Anchor and examples in other terms.
</nowiki>--></noinclude>
<span lang="en" dir="ltr" class="mw-content-ltr">Feel free to ask for terms on the [[Wikifunctions talk:Glossary|talk page]], or to add more terms and improve the definitions.</span>
{|class="toccolours" style="margin:.2em auto;padding:.2em .5em;text-align:center" dir="ltr" lang="en"
|-
|style="padding:0;width:100%"|{{CompactTOC}}
|}
== A ==
; {{anchor|abstract|Abstract}} 抽象 {{English term|abstract}}
: <span lang="en" dir="ltr" class="mw-content-ltr">not in a specific [[#natural_language|natural language]] but abstracting from it; aiming to provide a notation for the meaning behind natural language texts, sentences, or phrases. The opposite of [[#concrete|concrete]].</span>
; {{anchor|abstracttext|AbstractText}} <span lang="en" dir="ltr" class="mw-content-ltr">AbstractText</span> {{English term|AbstractText}}
: <span lang="en" dir="ltr" class="mw-content-ltr">prototype [https://github.com/google/abstracttext implementation] of the [[#Wikifunctions|Wikifunctions]] idea.</span>
; {{anchor|abstract_content}} 抽象內容 {{English term|abstract content}}
: <span lang="en" dir="ltr" class="mw-content-ltr">see [[#Content|content]].</span>
; {{anchor|abstract_Wikipedia|Abstract_Wikipedia}} 抽象維基百科 {{English term|Abstract Wikipedia}}
: <span lang="en" dir="ltr" class="mw-content-ltr">preliminary name of all the [[#Content|Content]] that can be used by [[#local_Wikipedia|local Wikipedias]] to [[#Renderer|render]] an [[#article|article]] in [[#natural_language|natural language]]; currently proposed to live in [[#Wikidata|Wikidata]] next to the corresponding [[#Item|Item]], but that will be discussed before [[#Part_P2|Part P2]] of the [[#development_project|development project]].</span>
; {{anchor|alias}} 別名 {{English term|alias}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an alternative label for an object, used foremost to find the object.</span>
; {{anchor|argument}} 引數 {{English term|argument}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an input given to a [[#function call|function call]].</span>
; {{anchor|argument reference}} 引數參照 {{English term|argument reference}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#reference|reference]] to one of the supplied arguments within a [[#composition|composition]].</span>
; {{anchor|array}} 陣列 {{English term|array}}
: <span lang="en" dir="ltr" class="mw-content-ltr">Many programming languages have an "array" type. The counterparts in Wikifunctions are [[#list|list]] and [[#typed list|typed list]]. See also [[#Benjamin array|Benjamin array]].</span>
; {{anchor|article|Article}} 條目 {{English term|article}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a page in the main namespace of [[#Wikipedia|Wikipedia]], usually representing one entry in Wikipedia.</span>
== B ==
; {{anchor|Benjamin array}} <span lang="en" dir="ltr" class="mw-content-ltr">Benjamin array</span> {{English term|Benjamin array}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a way to denote [[#typed list|typed list]] proposed by Benjamin Degenhart, where a typed list is stored as a JSON list whose first element denotes the type. This is in contrast with the previous proposed schema, which uses LISP-style singly-linked lists, in which the type must be stored once in each node.</span>
; {{anchor|boolean|Boolean}} 布林值 {{English term|boolean}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a value that can have 2 states, usually denoted true and false.</span>
; {{anchor|built-in|builtin}} 內建 {{English term|built-in}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a native implementation of a function that is provided by the evaluator and that is not editable through the wiki interface.</span>
== C ==
; {{anchor|call}} 呼叫 {{English term|call}}
: <span lang="en" dir="ltr" class="mw-content-ltr">see [[#function call|function call]]. In English, the term [[#invoke|invoke or invocation]] may also be used.</span>
; {{anchor|canonical|canonicalized|canonicalised}} <span lang="en" dir="ltr" class="mw-content-ltr">canonical, canonicalized, canonicalised</span> {{English term|canonical, canonicalized, canonicalised}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a specific, less verbose and thus more readable way to represent [[#ZObject|ZObjects]] in [[#JSON|JSON]]; it is the usual representation ZObjects are stored in [[#Wikifunctions|Wikifunctions]]. This is opposed to [[#normal|normal]].</span>
; {{anchor|character}} 字元 {{English term|character}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a character as defined by Unicode, a constituent of a String; a character can consist of several bytes (or octets).</span>
; {{anchor|composition}} 組成 {{English term|composition}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a form of implementation of a function, where the implementation is given by the combination of other functions; see [[Special:MyLanguage/Wikifunctions:Function model#Composition|Function model]].</span>
; {{anchor|composition notation}} <span lang="en" dir="ltr" class="mw-content-ltr">composition notation</span> {{English term|composition notation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an easy-to-read notation for compositions; see [[Special:MyLanguage/Wikifunctions:Function model#Composition|Function model]].</span>
; {{anchor|concrete|Concrete}} <span lang="en" dir="ltr" class="mw-content-ltr">concrete</span> {{English term|concrete}}
: <span lang="en" dir="ltr" class="mw-content-ltr">in a specific [[#natural_language|natural language]]. The opposite of [[#abstract|abstract]].</span>
; {{anchor|cons}} <span lang="en" dir="ltr" class="mw-content-ltr">cons</span> {{English term|cons}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a function to create a new list by adding an element at the top of it; see [[phab:T261474]].</span> <span lang="en" dir="ltr" class="mw-content-ltr">See [[w:cons|cons]] in Wikipedia.</span>
; {{anchor|constructor|Constructor}} <span lang="en" dir="ltr" class="mw-content-ltr">constructor</span> {{English term|constructor}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an [[#abstract|abstract]] building block of [[#Content|content]]. A constructor aims to capture the meaning of a single phrase or sentence structure. It often has slots that can take other constructors, and can itself be used as a value to fill the slots of other constructors.</span>
; {{anchor|Content}}<!--do not add |content to the anchor, it is used by MediaWiki--> <span lang="en" dir="ltr" class="mw-content-ltr">content, abstract content</span> {{English term|content, abstract content}}
: <span lang="en" dir="ltr" class="mw-content-ltr">abstract representation of a text or text fragment, assembled from [[#Constructor|constructors]]. Technically, an instance of a constructor. The top level constructor is used to represent a whole [[#article|article]] and stored in [[#Abstract_Wikipedia|Abstract Wikipedia]], but content can be also for just a sentence or phrase. Sometimes called abstract content.</span>
; {{anchor|curry}} <span lang="en" dir="ltr" class="mw-content-ltr">curried, curry, currying</span> {{English term|curried, curry, currying}}
: <span lang="en" dir="ltr" class="mw-content-ltr">A curried function is a function that was translated from taking multiple arguments into a sequence of functions, each with a single argument. This technique is named after the American mathematician [[:w:en:Haskell Curry|Haskell Curry]]. See [[:w:en:Currying|Currying]] in Wikipedia.</span>
== D ==
; {{anchor|deserialization|Deserialization|deserialisation|Deserialisation}} <span lang="en" dir="ltr" class="mw-content-ltr">deserialization</span> {{English term|deserialization}}
: <span lang="en" dir="ltr" class="mw-content-ltr">Opposite of [[#serialization|serialization]].</span>
; {{anchor|development_project|Development_project}} 開發專案 {{English term|development project}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a project to develop [[#Wikifunctions|Wikifunctions]] and [[#Abstract_Wikipedia|Abstract Wikipedia]]; see [[:m:Special:MyLanguage/Abstract Wikipedia/Plan|Abstract Wikipedia plan]].</span>
; {{anchor|display function}} 顯示函式 {{English term|display function}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a synonym of [[#renderer|renderer]]. For example, a function that converts a [[#type|type]] into a string that users can understand, such as converting a Number 123456 to "123,456" in (International) English, "1,23,456" in Indian English, "123.456" in French, etc., or converting the Date '2024','03','12' to '2024-03-12', and so on.</span>
; {{anchor|documentation}} 說明文件 {{English term|documentation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">human-readable text explaining an object.</span>
== E ==
; {{anchor|eney|eneyjj}} <span lang="en" dir="ltr" class="mw-content-ltr">eneyj</span> {{English term|eneyj}}
:# <span lang="en" dir="ltr" class="mw-content-ltr">prototype model of [[#Wikifunctions|Wikifunctions]];</span>
:# <span lang="en" dir="ltr" class="mw-content-ltr">a JavaScript implementation of an [[#evaluator|evaluator]] of that model provided in [[#abstracttext|abstracttext]].</span>
; {{anchor|error|Error}} 錯誤 {{English term|error}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a type whose instances indicate problems in [[#evaluation|evaluation]] or [[#validation|validation]]; see [[Special:MyLanguage/Wikifunctions:Function model#Z5/Errors|Function model]].</span>
; {{anchor|evaluation|Evaluation}} <span lang="en" dir="ltr" class="mw-content-ltr">evaluation</span> {{English term|evaluation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">The action performed by the [[#evaluator|evaluator]].</span>
; {{anchor|evaluator|Evaluator}} <span lang="en" dir="ltr" class="mw-content-ltr">evaluator</span> {{English term|evaluator}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a piece of software that takes a [[#ZObject|ZObject]] and evaluates it, that is executes a [[#Function|Function]] and returns the result. We envision the development of several evaluators. Evaluators may be implemented and run in the browser, on the server of the [[#Wikimedia_Foundation|Wikimedia Foundation]], in the cloud, in an app on a mobile device, or other places. Compare to [[#executor|executor]] and [[#orchestrator|orchestrator]].</span>
; {{anchor|execution|Execution}} 執行 {{English term|execution}}
: <span lang="en" dir="ltr" class="mw-content-ltr">The action performed by the [[#executor|executor]].</span>
; {{anchor|executor|Executor|executors|Executors}} <span lang="en" dir="ltr" class="mw-content-ltr">executor</span> {{English term|executor}}
: <span lang="en" dir="ltr" class="mw-content-ltr">one of a set of internal services which are not exposed to the public. They can be only called by the [[#Orchestrator|orchestrator]]. They run native code in a specific programming language. There would be one executor for Lua, one for JavaScript, one for Python, etc. See [https://gitlab.wikimedia.org/repos/abstract-wiki/wikifunctions/function-evaluator#executors the service documentation]. Compare to [[#evaluator|evaluator]] and [[#orchestrator|orchestrator]].</span>
== F ==
; {{anchor|function|Function}} 函式 {{English term|function}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the specification of a computation that takes some input and returns output; see [[w:en:Function (computer science)|Function (computer science)]] in Wikipedia.</span>
; {{anchor|function call|Function call}} 函式呼叫 {{English term|function call}}
: <span lang="en" dir="ltr" class="mw-content-ltr">A function call is a ZObject consisting of a function and the required arguments for the function, and can be evaluated to another ZObject. In English, the term "invoke" may also be used.</span>
; {{anchor|function evaluator}} <span lang="en" dir="ltr" class="mw-content-ltr">function evaluator</span> {{English term|function evaluator}}
: <span lang="en" dir="ltr" class="mw-content-ltr">See [[#evaluator|evaluator]].</span>
; {{anchor|function executor}} <span lang="en" dir="ltr" class="mw-content-ltr">function executor</span> {{English term|function executor}}
: <span lang="en" dir="ltr" class="mw-content-ltr">See [[#executor|executor]].</span>
; {{anchor|function model}} 函式模型 {{English term|function model}}
: 請參閱[[Special:MyLanguage/Wikifunctions:Function model|函式模型]]。
; {{anchor|function orchestrator}} <span lang="en" dir="ltr" class="mw-content-ltr">function orchestrator</span> {{English term|function orchestrator}}
: <span lang="en" dir="ltr" class="mw-content-ltr">See [[#orchestrator|orchestrator]].</span>
; {{anchor|function schemata}} <span lang="en" dir="ltr" class="mw-content-ltr">function schemata</span> {{English term|function schemata}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a set of pre-defined ZObjects used in [[#orchestrator|orchestrator]] and [[#evaluator|evaluator]]. The [[#WikiLambda system|WikiLambda system account]] also populates pre-defined ZObjects on-wiki from function schemata.</span>
; {{anchor|functional}} <span lang="en" dir="ltr" class="mw-content-ltr">functional</span> {{English term|functional}}
: <span lang="en" dir="ltr" class="mw-content-ltr">short for "purely functional", meaning that the [[#evaluation|evaluation]] of such a function has no side-effects and is deterministic, that is always the same; see [[w:en:Purely functional programming|Purely functional programming]] in Wikipedia; see [[Special:MyLanguage/Wikifunctions:Function model#non-functional|Function model]].</span>
== G ==
; {{anchor|generic type}} <span lang="en" dir="ltr" class="mw-content-ltr">generic type</span> {{English term|generic type}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a type generated by [[#evaluation|evaluation]] of a function call.</span>
== I ==
; {{anchor|identity|Identity}} 識別物件 {{English term|identity}}
: <span lang="en" dir="ltr" class="mw-content-ltr">The identity of a type is an instance of (specific) function that evaluates to the type. For a simple type, it is a reference to the type itself.</span>
; {{anchor|implementation|Implementation}} 實作 {{English term|implementation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a particular way to execute a [[#function|function]]. An implementation may be a piece of code in a certain programming language, refer to functionality “built into” the [[#evaluator|evaluator]], or [[#composition|compose]] calls to other functions. A function may have many implementations, which should all be equivalent. Short for "[[#ZFunction|ZFunction]] implementation".</span>
; {{anchor|instance}} 實例 {{English term|instance}}
: <span lang="en" dir="ltr" class="mw-content-ltr">Every ZObject is an instance of its type.</span>
; {{anchor|invoke}} 調用 {{English term|invoke}}
: <span lang="en" dir="ltr" class="mw-content-ltr">synonym for [[#call|call]] in English. See [[#function call|function call]].</span>
; {{anchor|item|Item}} 項目 {{English term|item}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an entry in [[#Wikidata|Wikidata]]'s knowledge base; see [[:d:Wikidata:Glossary#Item|Item]] in the Wikidata glossary.</span>
== J ==
; {{anchor|JSON}} JSON {{English term|JSON}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a widely used data transfer format; see [[w:en:JSON|JSON]] in Wikipedia.</span>
== K ==
; {{anchor|key|Key}} 鍵 {{English term|key}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a string which ends with the letter K followed by a natural number, and is optionally preceded by a [[#ZID|ZID]]. Keys are defined in [[#Wikifunctions|Wikifunctions]] usually on [[#Type|Types]] or [[#Function|Functions]], and are used to build up [[#ZObject|ZObjects]].</span>
== L ==
; {{anchor|label}} <span lang="en" dir="ltr" class="mw-content-ltr">label</span> {{English term|label}}
: <span lang="en" dir="ltr" class="mw-content-ltr">main name given to identify a ZObject. May only be plain text.</span>
; {{anchor|lexeme|Lexeme}} <span lang="en" dir="ltr" class="mw-content-ltr">lexeme</span> {{English term|lexeme}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an entry in [[#Wikidata|Wikidata]] storing lexicographic knowledge about, roughly, a word; see [[d:Wikidata:Glossary#Lexeme|Lexeme]] in the Wikidata glossary.</span>
; {{anchor|linearizer|Linearizer}} <span lang="en" dir="ltr" class="mw-content-ltr">linearizer</span> {{English term|linearizer}}
: <span lang="en" dir="ltr" class="mw-content-ltr">(this term is no longer used in current terminology, but can still be found in older documents) synonym of [[#renderer|renderer]] (1).</span>
; {{anchor|list|List}} 串列 {{English term|list}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a data type that groups an arbitrary number of instances in an ordered entity; see [[w:en:List (abstract data type)|List (abstract data type)]] in Wikipedia.</span>
; {{anchor|literal}} <span lang="en" dir="ltr" class="mw-content-ltr">literal</span> {{English term|literal}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a value that is not a ZObject. Currently the only accepted literal is string.</span>
; {{anchor|local_Wikipedia|Local_Wikipedia}} <span lang="en" dir="ltr" class="mw-content-ltr">local Wikipedia</span> {{English term|local Wikipedia}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#Wikipedia|Wikipedia]] in a specific language, such as Hebrew Wikipedia, Japanese Wikipedia, or Italian Wikipedia.</span>
== M ==
; {{anchor|Multlingual_Wikipedia|multilingual_Wikipedia}} <span lang="en" dir="ltr" class="mw-content-ltr">multilingual Wikipedia</span> {{English term|multilingual Wikipedia}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the architecture that allows [[#local_Wikipedia|local Wikipedias]] to enrich themselves by [[#Renderer|rendering]] the [[#Content|Content]] from [[#Abstract_Wikipedia|Abstract Wikipedia]] and thus have a more comprehensive, current, and correct Wikipedia in their language; see [[:m:Special:MyLanguage/Abstract Wikipedia/Architecture|Abstract Wikipedia architecture]].</span>
== N ==
; {{anchor|natural_language|Natural_language}} 自然語言 {{English term|natural language}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a specific natural language in the wider sense, such as English, Tagalog, or Swahili; see [[w:en:Natural language|Natural language]] in Wikipedia.</span>
; {{anchor|normal|Normal|normalized|Normalized|normalised}} <span lang="en" dir="ltr" class="mw-content-ltr">normal</span> {{English term|normal}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an extended, easily processable and very uniform way to represent [[#ZObject|ZObjects]] in [[#JSON|JSON]]. This is opposed to [[#canonical|canonical]].</span>
; {{anchor|nothing|Nothing}} <span lang="en" dir="ltr" class="mw-content-ltr">nothing</span> {{English term|nothing}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a data type that can have no instances; see [[w:en:Bottom type|Bottom type]] in Wikipedia.</span>
== O ==
; {{anchor|object|Object}} 物件 {{English term|object}}
:# <span lang="en" dir="ltr" class="mw-content-ltr">In JavaScript or JSON, an object is basically an associative array; see [[w:en:Associative array|Associative array]] in Wikipedia.</span>
:# <span lang="en" dir="ltr" class="mw-content-ltr">In Wikifunctions, synonym of [[#ZObject|ZObject]].</span>
; {{anchor|orchestration|Orchestration}} <span lang="en" dir="ltr" class="mw-content-ltr">orchestration</span> {{English term|orchestration}}
:<span lang="en" dir="ltr" class="mw-content-ltr">The action performed by the [[#orchestrator|orchestrator]].</span>
; {{anchor|orchestrator|Orchestrator}} <span lang="en" dir="ltr" class="mw-content-ltr">orchestrator</span> {{English term|orchestrator}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a service that takes a [[#ZObject|ZObject]] and returns an [[#Evaluator|evaluated]] version of it. To do this, it will make calls to the wiki for other ZObjects it needs, to the [[#Executor|executor]] to evaluate some function calls, and other services such as [[#Wikidata|Wikidata]]. See [https://gitlab.wikimedia.org/repos/abstract-wiki/wikifunctions/function-orchestrator#wikifunctions-function-orchestrator the service documentation]. Compare to [[#evaluator|evaluator]] and [[#executor|executor]].</span>
== P ==
; {{anchor|page|Page}} 頁面 {{English term|page}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a part of a wiki. A [[#wiki|wiki]] consists of a number of individual pages, which can be edited independently, have internal links to each other, etc.</span>
; {{anchor|parser|Parser}} 解析器 {{English term|parser}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a function to convert a string to a ZObject. The opposite of [[#renderer|renderer]].</span>
; {{anchor|pair|Pair}} <span lang="en" dir="ltr" class="mw-content-ltr">pair</span> {{English term|pair}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a compound ZObject that contains two ZObjects of specific (but arbitrary) type.</span>
; {{anchor|part_P1|Part_P1}} <span lang="en" dir="ltr" class="mw-content-ltr">Part P1</span> {{English term|Part P1}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the part of the [[#development_project|development project]] that deals with creating [[#Wikifunctions|Wikifunctions]]. It starts at the beginning of the project and goes on throughout its whole lifetime; see [[:m:Special:MyLanguage/Abstract Wikipedia/Tasks#Part P1: Wikifunctions|Part P1: Wikifunctions]].</span>
; {{anchor|part_P2|Part_P2}} <span lang="en" dir="ltr" class="mw-content-ltr">Part P2</span> {{English term|Part P2}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the part of the [[#development_project|development project]] that deals with creating [[#Abstract_Wikipedia|Abstract Wikipedia]]. It starts after about a year in the project and goes on throughout the second half of its lifetime; see [[:m:Special:MyLanguage/Abstract Wikipedia/Tasks#Part P2: Abstract Wikipedia|Part P2: Abstract Wikipedia]].</span>
; {{anchor|persistent|Persistent}} <span lang="en" dir="ltr" class="mw-content-ltr">persistent</span> {{English term|persistent}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#ZObject|ZObject]] with a [[#ZID|ZID]] and with its own page in the wiki. Most persistent ZObjects will include [[#value|values]] that are ZObjects with no ZID, and are therefore not persistent.</span>
; {{anchor|property|Property}} 屬性 {{English term|property}}
: <span lang="en" dir="ltr" class="mw-content-ltr">used to make a [[#Statement|statement]] about an [[#Item|Item]] in [[#Wikidata|Wikidata]]'s knowledge base; see [[:d:Wikidata:Glossary#Property|Property]] in the Wikidata glossary.</span>
== Q ==
; {{anchor|quote|Quote}} <span lang="en" dir="ltr" class="mw-content-ltr">quote</span> {{English term|quote}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a data structure that is not to be evaluated but kept verbatim.</span>
; {{anchor|QID}} QID {{English term|QID}}
: <span lang="en" dir="ltr" class="mw-content-ltr">identifier for an item in [[#Wikidata|Wikidata]], comprising the letter "Q" followed by an integer.</span>
== R ==
; {{anchor|reading function}} <span lang="en" dir="ltr" class="mw-content-ltr">reading function</span> {{English term|reading function}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a synonym of [[#parser|parser]]. A function that converts user text input from a string into a given Type. For example, converting the String "123456" to the Number '123456', or the string "2024-03-12" to the Date '2024', '03', '12'.</span>
; {{anchor|reference|Reference}} 參照 {{English term|reference}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an ID denoting the underlying object. For example, the string "Z11" refers to the Type Z11/Monolingual text.</span>
: {{TakeNote}}<span lang="en" dir="ltr" class="mw-content-ltr">This term has a completely different meaning than on Wikidata; see [[w:en:Reference (computer science)|Reference (computer science)]] in Wikipedia.</span>
; {{anchor|renderer|Renderer}} 轉譯函式 {{English term|renderer}} (1)
: <span lang="en" dir="ltr" class="mw-content-ltr">a function to convert a ZObject to a string. The opposite of [[#parser|parser]]. (formerly called "linearizer")</span>
; 轉譯函式 {{English term|renderer}} (2)
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#Function|function]] that gets a [[#Content|content]] and an identifier for a [[#natural_language|natural language]] as an input and returns text in that natural language as output, representing the content as concrete text, using knowledge from [[#Lexeme|lexemes]].</span>
: {{TakeNote}}<span lang="en" dir="ltr" class="mw-content-ltr">This is a future feature, and the meaning of the term "renderer" in the {{Pg|:m:Abstract Wikipedia/Historic proposal|original proposal}}; this term collides with the current usage of "renderer", so it may be renamed in the future.</span>
; {{anchor|reify}} <span lang="en" dir="ltr" class="mw-content-ltr">reify</span> {{English term|reify}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a function that deconstructs an object into its constituent parts so that the parts can be individually accessed; see [[w:en:Reification (computer science)|Reification]] in Wikipedia; see [[phab:T261474]].</span>
; {{anchor|REPL}} <span lang="en" dir="ltr" class="mw-content-ltr">REPL</span> {{English term|REPL}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a Read / Eval / Print - Loop, a command line interface that takes some input, evaluates it, and displays the result; see [[w:en:REPL|REPL]] in Wikipedia; see [[Special:MyLanguage/Wikifunctions:Function model#REPL|Function model]].</span>
== S ==
; {{anchor|schemata}} <span lang="en" dir="ltr" class="mw-content-ltr">schemata</span> {{English term|schemata}}
: <span lang="en" dir="ltr" class="mw-content-ltr">See [[#function schemata|function schemata]].</span>
; {{anchor|serialization|Serialization|serialisation|Serialisation}} <span lang="en" dir="ltr" class="mw-content-ltr">serialization</span> {{English term|serialization}}
: <span lang="en" dir="ltr" class="mw-content-ltr">Ways to represent [[#ZObject|ZObjects]] in [[#JSON|JSON]]; see also [[#canonical|canonical]], [[#normal|normal]].</span>
; {{anchor|statement|Statement}} <span lang="en" dir="ltr" class="mw-content-ltr">statement</span> {{English term|statement}}
: <span lang="en" dir="ltr" class="mw-content-ltr">used to provide knowledge about an [[#Item|Item]] in [[#Wikidata|Wikidata]]'s knowledge base; see [[:d:Wikidata:Glossary#Statement|Statement]] in the Wikidata glossary.</span>
; {{anchor|string}} 字串 {{English term|string}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a sequence of characters.</span>
; {{anchor|sum type|Sum type}} <span lang="en" dir="ltr" class="mw-content-ltr">sum type</span> {{English term|sum type}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a type that can have instances of any of its constituent types; see [[w:en:Sum type|Sum type]] in Wikipedia; see [[Special:MyLanguage/Wikifunctions:Function model#Zx/Sum_types|Function model]].</span>
== T ==
; {{anchor|template}} <span lang="en" dir="ltr" class="mw-content-ltr">template</span> {{English term|template}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a way to specify a [[#renderer|renderer]] as text interspersed with place-holders, or ''slots'', which can be filled with data from [[#constructor|constructors]], function calculation, or content from another template. See the document [[:m:Special:MyLanguage/Abstract Wikipedia/Template Language for Wikifunctions|Template Language for Wikifunctions]] for a detailed discussion of the template syntax.</span>
; {{anchor|tester|Tester}} <span lang="en" dir="ltr" class="mw-content-ltr">tester</span> {{English term|tester}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a way to automatically determine if a given [[#ZFunction|ZFunction]] is doing the right thing. A [[#function|function]] will typically have multiple testers, each specifying some input to the function and conditions the output for the given input must fulfil. For example, testers for a “title case” function might include: “abc” should become “Abc”; “war and peace” should become “War and Peace”; “война и мир” should become “Война и мир”; and “123” should remain “123”.</span>
; {{anchor|transient|Transient}} <span lang="en" dir="ltr" class="mw-content-ltr">transient</span> {{English term|transient}}
: <span lang="en" dir="ltr" class="mw-content-ltr">Opposite of [[#persistent|persistent]].</span>
; {{anchor|type|Type}} <span lang="en" dir="ltr" class="mw-content-ltr">type</span> {{English term|type}}
: <span lang="en" dir="ltr" class="mw-content-ltr">The type of an object tells us how to interpret and understand the given object, and what can be done with the object. For example, if we have an object with the value “2023”, depending on whether its type is integer, or year, or string, we understand that object differently. Every object refers to “a thing in the real world”. The integer 2023 is different from the year 2023. The type tells us how to interpret a given object, so that we know which thing in the real world it refers to. Technically, it defines how objects of that type are structured and what conditions they need to fulfill to be a valid object of that type.</span> <span lang="en" dir="ltr" class="mw-content-ltr">A type defines the conditions for a [[#ZObject|ZObject]] to be a valid instance of this type, by providing a [[#Function|function]] that validates a ZObject. Types are ZObjects themselves, so that contributors of [[#Wikifunctions|Wikifunctions]] can create new types.</span>
; {{anchor|type converter}} <span lang="en" dir="ltr" class="mw-content-ltr">type converter</span> {{English term|type converter}}
: <span lang="en" dir="ltr" class="mw-content-ltr">A script written in some programming language (such as JavaScript), taking a native object (such as BigInt), and returning a JSON object representing the corresponding ZObject; or ''vice versa''.</span>
; {{anchor|typed list|Typed List}} <span lang="en" dir="ltr" class="mw-content-ltr">typed list</span> {{English term|typed list}}
: <span lang="en" dir="ltr" class="mw-content-ltr">A typed list is a [[#list|list]] in which all members of the list are of a specific, predefined [[#type|type]]. For example, a typed list of [[#string|strings]] is a list in which all members of the list are strings. A typed list takes one argument: the type that all the members of the list have to be an instance of. Typed lists are probably the most widely used [[#generic type|generic type]].</span>
== V ==
; {{anchor|value}} 值 {{English term|value}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the string or [[#ZObject|ZObject]] associated with a [[#key|key]] in another ZObject.</span>
; {{anchor|validation|Validation}} 驗證 {{English term|validation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">The action performed by the [[#validator|validator]].</span>
; {{anchor|validator|Validator}} 驗證函式 {{English term|validator}}
: <span lang="en" dir="ltr" class="mw-content-ltr">A function taking a ZObject as argument and return a list of errors found.</span>
== W ==
; {{anchor|wiki|Wiki}} wiki {{English term|wiki}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a web site that allows for the easy and collaborative editing of its [[#page|pages]].</span>
; {{anchor|Wikidata}} 維基數據 {{English term|Wikidata}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a project of the [[#Wikimedia_Foundation|Wikimedia Foundation]], a free, collaboratively edited knowledge base; see [[:m:Special:MyLanguage/Wikidata|Wikidata]].</span>
; {{anchor|Wikifunctions}}{{anchor|Wikilambda}} 維基函式庫 {{English term|Wikifunctions}}
: <span lang="en" dir="ltr" class="mw-content-ltr">new project of the [[#Wikimedia_Foundation|Wikimedia Foundation]]; a free, collaboratively developed and maintained catalog of [[#Function|functions]]. It was initially known as '''Wikilambda''' in the {{Pg|:m:Abstract Wikipedia/Historic proposal|original proposal}} (that name is now used for the [[#WikiLambda|WikiLambda extension]]).</span>
; {{anchor|WikiLambda}} WikiLambda {{English term|WikiLambda}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the software used to power the project, [[mw:Special:MyLanguage/Extension:WikiLambda|Extension:WikiLambda]].</span>
; {{anchor|WikiLambda system}} <span lang="en" dir="ltr" class="mw-content-ltr">WikiLambda system</span> {{English term|WikiLambda system}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an automated system account that is a key part of the WikiLambda extension. See [[User:WikiLambda system]] for its current function.</span>
; {{anchor|WMF|Wikimedia_Foundation}} 維基媒體基金會 {{English term|Wikimedia Foundation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">organization that supports the Wikimedia movement; see [[:m:Special:MyLanguage/Wikimedia Foundation|Wikimedia Foundation]].</span>
; {{anchor|Wikipedia}} <span lang="en" dir="ltr" class="mw-content-ltr">Wikipedia</span> {{English term|Wikipedia}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a project of the [[#Wikimedia_Foundation|Wikimedia Foundation]], a free, collaboratively edited encyclopedia; see [[:m:Special:MyLanguage/Wikipedia|Wikipedia]].</span>
; <span lang="en" dir="ltr" class="mw-content-ltr">Wikipedia, Abstract</span> {{English term|Wikipedia, Abstract}}
: <span lang="en" dir="ltr" class="mw-content-ltr">see [[#Abstract_Wikipedia|Abstract Wikipedia]].</span>
; <span lang="en" dir="ltr" class="mw-content-ltr">Wikipedia, multilingual</span> {{English term|Wikipedia, multilingual}}
: <span lang="en" dir="ltr" class="mw-content-ltr">see [[#multilingual_Wikipedia|multilingual Wikipedia]].</span>
== Z ==
; {{anchor|ZID|ZIDs}} ZID {{English term|ZID}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an ID starting with the letter Z and followed by a natural number. Used to identify [[#persistent|persistent]] [[#ZObject|ZObjects]].</span>
; {{anchor|zfunction|ZFunction}} <span lang="en" dir="ltr" class="mw-content-ltr">ZFunction</span> {{English term|ZFunction}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a wiki page on [[#Wikifunctions|Wikifunctions]] that describes a particular [[#function|function]] that can be used through the [[#evaluator|evaluator]]. Each ZFunction can be realised in code by one or more [[#implementation|Implementations]], and said implementations can be verified as correct by one or more [[#tester|Tester]] ZFunctions.</span>
; {{anchor|ZKey}} <span lang="en" dir="ltr" class="mw-content-ltr">ZKey</span> {{English term|ZKey}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#ZObject|ZObject]] defining a [[#key|key]] for a particular [[#type|type]].</span>
; {{anchor|ZList}} <span lang="en" dir="ltr" class="mw-content-ltr">ZList</span> {{English term|ZList}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#ZObject|ZObject]] for an ordered sequence of other ZObjects.</span>
; {{anchor|ZObject}} <span lang="en" dir="ltr" class="mw-content-ltr">ZObject</span> {{English term|ZObject}}
: <span lang="en" dir="ltr" class="mw-content-ltr">every entry in [[#Wikifunctions|Wikifunctions]] is a ZObject. ZObjects stored in Wikifunctions have [[#ZID|ZIDs]] and can be of numerous types, such as [[#Constructor|Constructors]], [[#Function|Functions]], [[#Type|Types]], etc. A ZObject consists of a set of [[#Key|Key]]/[[#Value|Value]] pairs, with each Key appearing only once per ZObject and Values being ZObjects.</span>
; {{anchor|ZUnit}} <span lang="en" dir="ltr" class="mw-content-ltr">ZUnit</span> {{English term|ZUnit}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#ZObject|ZObject]] that represents a [[:w:en:Unit type|Unit type]].</span>
[[Category:Glossary| {{#translation:}}]]
rl0l0qf6vm8wv4nm3gy8h9j37poe6l0
200139
200137
2025-07-03T10:13:29Z
Winston Sung
2672
Created page with "WikiLambda system"
200139
wikitext
text/x-wiki
<noinclude><languages/>
<!--<nowiki>(nowiki tags are so that the translate extension doesn't try to translate the TERM and DEFINITION in this boilerplate).
Use this boilerplate for a new term:
; {{anchor|term|Term}} <translate>term</translate> {{English term|term}}
: ''Definition verification needed''
: <translate>definition</translate>
Notes:
1. Omit the "Definition verification" if you're sure that your definition is correct.
2. You can add several values for anchor, if it has spelling or capitalization variants; see the documentation for Template:Anchor and examples in other terms.
</nowiki>--></noinclude>
<span lang="en" dir="ltr" class="mw-content-ltr">Feel free to ask for terms on the [[Wikifunctions talk:Glossary|talk page]], or to add more terms and improve the definitions.</span>
{|class="toccolours" style="margin:.2em auto;padding:.2em .5em;text-align:center" dir="ltr" lang="en"
|-
|style="padding:0;width:100%"|{{CompactTOC}}
|}
== A ==
; {{anchor|abstract|Abstract}} 抽象 {{English term|abstract}}
: <span lang="en" dir="ltr" class="mw-content-ltr">not in a specific [[#natural_language|natural language]] but abstracting from it; aiming to provide a notation for the meaning behind natural language texts, sentences, or phrases. The opposite of [[#concrete|concrete]].</span>
; {{anchor|abstracttext|AbstractText}} <span lang="en" dir="ltr" class="mw-content-ltr">AbstractText</span> {{English term|AbstractText}}
: <span lang="en" dir="ltr" class="mw-content-ltr">prototype [https://github.com/google/abstracttext implementation] of the [[#Wikifunctions|Wikifunctions]] idea.</span>
; {{anchor|abstract_content}} 抽象內容 {{English term|abstract content}}
: <span lang="en" dir="ltr" class="mw-content-ltr">see [[#Content|content]].</span>
; {{anchor|abstract_Wikipedia|Abstract_Wikipedia}} 抽象維基百科 {{English term|Abstract Wikipedia}}
: <span lang="en" dir="ltr" class="mw-content-ltr">preliminary name of all the [[#Content|Content]] that can be used by [[#local_Wikipedia|local Wikipedias]] to [[#Renderer|render]] an [[#article|article]] in [[#natural_language|natural language]]; currently proposed to live in [[#Wikidata|Wikidata]] next to the corresponding [[#Item|Item]], but that will be discussed before [[#Part_P2|Part P2]] of the [[#development_project|development project]].</span>
; {{anchor|alias}} 別名 {{English term|alias}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an alternative label for an object, used foremost to find the object.</span>
; {{anchor|argument}} 引數 {{English term|argument}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an input given to a [[#function call|function call]].</span>
; {{anchor|argument reference}} 引數參照 {{English term|argument reference}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#reference|reference]] to one of the supplied arguments within a [[#composition|composition]].</span>
; {{anchor|array}} 陣列 {{English term|array}}
: <span lang="en" dir="ltr" class="mw-content-ltr">Many programming languages have an "array" type. The counterparts in Wikifunctions are [[#list|list]] and [[#typed list|typed list]]. See also [[#Benjamin array|Benjamin array]].</span>
; {{anchor|article|Article}} 條目 {{English term|article}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a page in the main namespace of [[#Wikipedia|Wikipedia]], usually representing one entry in Wikipedia.</span>
== B ==
; {{anchor|Benjamin array}} <span lang="en" dir="ltr" class="mw-content-ltr">Benjamin array</span> {{English term|Benjamin array}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a way to denote [[#typed list|typed list]] proposed by Benjamin Degenhart, where a typed list is stored as a JSON list whose first element denotes the type. This is in contrast with the previous proposed schema, which uses LISP-style singly-linked lists, in which the type must be stored once in each node.</span>
; {{anchor|boolean|Boolean}} 布林值 {{English term|boolean}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a value that can have 2 states, usually denoted true and false.</span>
; {{anchor|built-in|builtin}} 內建 {{English term|built-in}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a native implementation of a function that is provided by the evaluator and that is not editable through the wiki interface.</span>
== C ==
; {{anchor|call}} 呼叫 {{English term|call}}
: <span lang="en" dir="ltr" class="mw-content-ltr">see [[#function call|function call]]. In English, the term [[#invoke|invoke or invocation]] may also be used.</span>
; {{anchor|canonical|canonicalized|canonicalised}} <span lang="en" dir="ltr" class="mw-content-ltr">canonical, canonicalized, canonicalised</span> {{English term|canonical, canonicalized, canonicalised}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a specific, less verbose and thus more readable way to represent [[#ZObject|ZObjects]] in [[#JSON|JSON]]; it is the usual representation ZObjects are stored in [[#Wikifunctions|Wikifunctions]]. This is opposed to [[#normal|normal]].</span>
; {{anchor|character}} 字元 {{English term|character}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a character as defined by Unicode, a constituent of a String; a character can consist of several bytes (or octets).</span>
; {{anchor|composition}} 組成 {{English term|composition}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a form of implementation of a function, where the implementation is given by the combination of other functions; see [[Special:MyLanguage/Wikifunctions:Function model#Composition|Function model]].</span>
; {{anchor|composition notation}} <span lang="en" dir="ltr" class="mw-content-ltr">composition notation</span> {{English term|composition notation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an easy-to-read notation for compositions; see [[Special:MyLanguage/Wikifunctions:Function model#Composition|Function model]].</span>
; {{anchor|concrete|Concrete}} <span lang="en" dir="ltr" class="mw-content-ltr">concrete</span> {{English term|concrete}}
: <span lang="en" dir="ltr" class="mw-content-ltr">in a specific [[#natural_language|natural language]]. The opposite of [[#abstract|abstract]].</span>
; {{anchor|cons}} <span lang="en" dir="ltr" class="mw-content-ltr">cons</span> {{English term|cons}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a function to create a new list by adding an element at the top of it; see [[phab:T261474]].</span> <span lang="en" dir="ltr" class="mw-content-ltr">See [[w:cons|cons]] in Wikipedia.</span>
; {{anchor|constructor|Constructor}} <span lang="en" dir="ltr" class="mw-content-ltr">constructor</span> {{English term|constructor}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an [[#abstract|abstract]] building block of [[#Content|content]]. A constructor aims to capture the meaning of a single phrase or sentence structure. It often has slots that can take other constructors, and can itself be used as a value to fill the slots of other constructors.</span>
; {{anchor|Content}}<!--do not add |content to the anchor, it is used by MediaWiki--> <span lang="en" dir="ltr" class="mw-content-ltr">content, abstract content</span> {{English term|content, abstract content}}
: <span lang="en" dir="ltr" class="mw-content-ltr">abstract representation of a text or text fragment, assembled from [[#Constructor|constructors]]. Technically, an instance of a constructor. The top level constructor is used to represent a whole [[#article|article]] and stored in [[#Abstract_Wikipedia|Abstract Wikipedia]], but content can be also for just a sentence or phrase. Sometimes called abstract content.</span>
; {{anchor|curry}} <span lang="en" dir="ltr" class="mw-content-ltr">curried, curry, currying</span> {{English term|curried, curry, currying}}
: <span lang="en" dir="ltr" class="mw-content-ltr">A curried function is a function that was translated from taking multiple arguments into a sequence of functions, each with a single argument. This technique is named after the American mathematician [[:w:en:Haskell Curry|Haskell Curry]]. See [[:w:en:Currying|Currying]] in Wikipedia.</span>
== D ==
; {{anchor|deserialization|Deserialization|deserialisation|Deserialisation}} <span lang="en" dir="ltr" class="mw-content-ltr">deserialization</span> {{English term|deserialization}}
: <span lang="en" dir="ltr" class="mw-content-ltr">Opposite of [[#serialization|serialization]].</span>
; {{anchor|development_project|Development_project}} 開發專案 {{English term|development project}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a project to develop [[#Wikifunctions|Wikifunctions]] and [[#Abstract_Wikipedia|Abstract Wikipedia]]; see [[:m:Special:MyLanguage/Abstract Wikipedia/Plan|Abstract Wikipedia plan]].</span>
; {{anchor|display function}} 顯示函式 {{English term|display function}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a synonym of [[#renderer|renderer]]. For example, a function that converts a [[#type|type]] into a string that users can understand, such as converting a Number 123456 to "123,456" in (International) English, "1,23,456" in Indian English, "123.456" in French, etc., or converting the Date '2024','03','12' to '2024-03-12', and so on.</span>
; {{anchor|documentation}} 說明文件 {{English term|documentation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">human-readable text explaining an object.</span>
== E ==
; {{anchor|eney|eneyjj}} <span lang="en" dir="ltr" class="mw-content-ltr">eneyj</span> {{English term|eneyj}}
:# <span lang="en" dir="ltr" class="mw-content-ltr">prototype model of [[#Wikifunctions|Wikifunctions]];</span>
:# <span lang="en" dir="ltr" class="mw-content-ltr">a JavaScript implementation of an [[#evaluator|evaluator]] of that model provided in [[#abstracttext|abstracttext]].</span>
; {{anchor|error|Error}} 錯誤 {{English term|error}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a type whose instances indicate problems in [[#evaluation|evaluation]] or [[#validation|validation]]; see [[Special:MyLanguage/Wikifunctions:Function model#Z5/Errors|Function model]].</span>
; {{anchor|evaluation|Evaluation}} <span lang="en" dir="ltr" class="mw-content-ltr">evaluation</span> {{English term|evaluation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">The action performed by the [[#evaluator|evaluator]].</span>
; {{anchor|evaluator|Evaluator}} <span lang="en" dir="ltr" class="mw-content-ltr">evaluator</span> {{English term|evaluator}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a piece of software that takes a [[#ZObject|ZObject]] and evaluates it, that is executes a [[#Function|Function]] and returns the result. We envision the development of several evaluators. Evaluators may be implemented and run in the browser, on the server of the [[#Wikimedia_Foundation|Wikimedia Foundation]], in the cloud, in an app on a mobile device, or other places. Compare to [[#executor|executor]] and [[#orchestrator|orchestrator]].</span>
; {{anchor|execution|Execution}} 執行 {{English term|execution}}
: <span lang="en" dir="ltr" class="mw-content-ltr">The action performed by the [[#executor|executor]].</span>
; {{anchor|executor|Executor|executors|Executors}} <span lang="en" dir="ltr" class="mw-content-ltr">executor</span> {{English term|executor}}
: <span lang="en" dir="ltr" class="mw-content-ltr">one of a set of internal services which are not exposed to the public. They can be only called by the [[#Orchestrator|orchestrator]]. They run native code in a specific programming language. There would be one executor for Lua, one for JavaScript, one for Python, etc. See [https://gitlab.wikimedia.org/repos/abstract-wiki/wikifunctions/function-evaluator#executors the service documentation]. Compare to [[#evaluator|evaluator]] and [[#orchestrator|orchestrator]].</span>
== F ==
; {{anchor|function|Function}} 函式 {{English term|function}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the specification of a computation that takes some input and returns output; see [[w:en:Function (computer science)|Function (computer science)]] in Wikipedia.</span>
; {{anchor|function call|Function call}} 函式呼叫 {{English term|function call}}
: <span lang="en" dir="ltr" class="mw-content-ltr">A function call is a ZObject consisting of a function and the required arguments for the function, and can be evaluated to another ZObject. In English, the term "invoke" may also be used.</span>
; {{anchor|function evaluator}} <span lang="en" dir="ltr" class="mw-content-ltr">function evaluator</span> {{English term|function evaluator}}
: <span lang="en" dir="ltr" class="mw-content-ltr">See [[#evaluator|evaluator]].</span>
; {{anchor|function executor}} <span lang="en" dir="ltr" class="mw-content-ltr">function executor</span> {{English term|function executor}}
: <span lang="en" dir="ltr" class="mw-content-ltr">See [[#executor|executor]].</span>
; {{anchor|function model}} 函式模型 {{English term|function model}}
: 請參閱[[Special:MyLanguage/Wikifunctions:Function model|函式模型]]。
; {{anchor|function orchestrator}} <span lang="en" dir="ltr" class="mw-content-ltr">function orchestrator</span> {{English term|function orchestrator}}
: <span lang="en" dir="ltr" class="mw-content-ltr">See [[#orchestrator|orchestrator]].</span>
; {{anchor|function schemata}} <span lang="en" dir="ltr" class="mw-content-ltr">function schemata</span> {{English term|function schemata}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a set of pre-defined ZObjects used in [[#orchestrator|orchestrator]] and [[#evaluator|evaluator]]. The [[#WikiLambda system|WikiLambda system account]] also populates pre-defined ZObjects on-wiki from function schemata.</span>
; {{anchor|functional}} <span lang="en" dir="ltr" class="mw-content-ltr">functional</span> {{English term|functional}}
: <span lang="en" dir="ltr" class="mw-content-ltr">short for "purely functional", meaning that the [[#evaluation|evaluation]] of such a function has no side-effects and is deterministic, that is always the same; see [[w:en:Purely functional programming|Purely functional programming]] in Wikipedia; see [[Special:MyLanguage/Wikifunctions:Function model#non-functional|Function model]].</span>
== G ==
; {{anchor|generic type}} <span lang="en" dir="ltr" class="mw-content-ltr">generic type</span> {{English term|generic type}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a type generated by [[#evaluation|evaluation]] of a function call.</span>
== I ==
; {{anchor|identity|Identity}} 識別物件 {{English term|identity}}
: <span lang="en" dir="ltr" class="mw-content-ltr">The identity of a type is an instance of (specific) function that evaluates to the type. For a simple type, it is a reference to the type itself.</span>
; {{anchor|implementation|Implementation}} 實作 {{English term|implementation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a particular way to execute a [[#function|function]]. An implementation may be a piece of code in a certain programming language, refer to functionality “built into” the [[#evaluator|evaluator]], or [[#composition|compose]] calls to other functions. A function may have many implementations, which should all be equivalent. Short for "[[#ZFunction|ZFunction]] implementation".</span>
; {{anchor|instance}} 實例 {{English term|instance}}
: <span lang="en" dir="ltr" class="mw-content-ltr">Every ZObject is an instance of its type.</span>
; {{anchor|invoke}} 調用 {{English term|invoke}}
: <span lang="en" dir="ltr" class="mw-content-ltr">synonym for [[#call|call]] in English. See [[#function call|function call]].</span>
; {{anchor|item|Item}} 項目 {{English term|item}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an entry in [[#Wikidata|Wikidata]]'s knowledge base; see [[:d:Wikidata:Glossary#Item|Item]] in the Wikidata glossary.</span>
== J ==
; {{anchor|JSON}} JSON {{English term|JSON}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a widely used data transfer format; see [[w:en:JSON|JSON]] in Wikipedia.</span>
== K ==
; {{anchor|key|Key}} 鍵 {{English term|key}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a string which ends with the letter K followed by a natural number, and is optionally preceded by a [[#ZID|ZID]]. Keys are defined in [[#Wikifunctions|Wikifunctions]] usually on [[#Type|Types]] or [[#Function|Functions]], and are used to build up [[#ZObject|ZObjects]].</span>
== L ==
; {{anchor|label}} <span lang="en" dir="ltr" class="mw-content-ltr">label</span> {{English term|label}}
: <span lang="en" dir="ltr" class="mw-content-ltr">main name given to identify a ZObject. May only be plain text.</span>
; {{anchor|lexeme|Lexeme}} <span lang="en" dir="ltr" class="mw-content-ltr">lexeme</span> {{English term|lexeme}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an entry in [[#Wikidata|Wikidata]] storing lexicographic knowledge about, roughly, a word; see [[d:Wikidata:Glossary#Lexeme|Lexeme]] in the Wikidata glossary.</span>
; {{anchor|linearizer|Linearizer}} <span lang="en" dir="ltr" class="mw-content-ltr">linearizer</span> {{English term|linearizer}}
: <span lang="en" dir="ltr" class="mw-content-ltr">(this term is no longer used in current terminology, but can still be found in older documents) synonym of [[#renderer|renderer]] (1).</span>
; {{anchor|list|List}} 串列 {{English term|list}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a data type that groups an arbitrary number of instances in an ordered entity; see [[w:en:List (abstract data type)|List (abstract data type)]] in Wikipedia.</span>
; {{anchor|literal}} <span lang="en" dir="ltr" class="mw-content-ltr">literal</span> {{English term|literal}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a value that is not a ZObject. Currently the only accepted literal is string.</span>
; {{anchor|local_Wikipedia|Local_Wikipedia}} <span lang="en" dir="ltr" class="mw-content-ltr">local Wikipedia</span> {{English term|local Wikipedia}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#Wikipedia|Wikipedia]] in a specific language, such as Hebrew Wikipedia, Japanese Wikipedia, or Italian Wikipedia.</span>
== M ==
; {{anchor|Multlingual_Wikipedia|multilingual_Wikipedia}} <span lang="en" dir="ltr" class="mw-content-ltr">multilingual Wikipedia</span> {{English term|multilingual Wikipedia}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the architecture that allows [[#local_Wikipedia|local Wikipedias]] to enrich themselves by [[#Renderer|rendering]] the [[#Content|Content]] from [[#Abstract_Wikipedia|Abstract Wikipedia]] and thus have a more comprehensive, current, and correct Wikipedia in their language; see [[:m:Special:MyLanguage/Abstract Wikipedia/Architecture|Abstract Wikipedia architecture]].</span>
== N ==
; {{anchor|natural_language|Natural_language}} 自然語言 {{English term|natural language}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a specific natural language in the wider sense, such as English, Tagalog, or Swahili; see [[w:en:Natural language|Natural language]] in Wikipedia.</span>
; {{anchor|normal|Normal|normalized|Normalized|normalised}} <span lang="en" dir="ltr" class="mw-content-ltr">normal</span> {{English term|normal}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an extended, easily processable and very uniform way to represent [[#ZObject|ZObjects]] in [[#JSON|JSON]]. This is opposed to [[#canonical|canonical]].</span>
; {{anchor|nothing|Nothing}} <span lang="en" dir="ltr" class="mw-content-ltr">nothing</span> {{English term|nothing}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a data type that can have no instances; see [[w:en:Bottom type|Bottom type]] in Wikipedia.</span>
== O ==
; {{anchor|object|Object}} 物件 {{English term|object}}
:# <span lang="en" dir="ltr" class="mw-content-ltr">In JavaScript or JSON, an object is basically an associative array; see [[w:en:Associative array|Associative array]] in Wikipedia.</span>
:# <span lang="en" dir="ltr" class="mw-content-ltr">In Wikifunctions, synonym of [[#ZObject|ZObject]].</span>
; {{anchor|orchestration|Orchestration}} <span lang="en" dir="ltr" class="mw-content-ltr">orchestration</span> {{English term|orchestration}}
:<span lang="en" dir="ltr" class="mw-content-ltr">The action performed by the [[#orchestrator|orchestrator]].</span>
; {{anchor|orchestrator|Orchestrator}} <span lang="en" dir="ltr" class="mw-content-ltr">orchestrator</span> {{English term|orchestrator}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a service that takes a [[#ZObject|ZObject]] and returns an [[#Evaluator|evaluated]] version of it. To do this, it will make calls to the wiki for other ZObjects it needs, to the [[#Executor|executor]] to evaluate some function calls, and other services such as [[#Wikidata|Wikidata]]. See [https://gitlab.wikimedia.org/repos/abstract-wiki/wikifunctions/function-orchestrator#wikifunctions-function-orchestrator the service documentation]. Compare to [[#evaluator|evaluator]] and [[#executor|executor]].</span>
== P ==
; {{anchor|page|Page}} 頁面 {{English term|page}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a part of a wiki. A [[#wiki|wiki]] consists of a number of individual pages, which can be edited independently, have internal links to each other, etc.</span>
; {{anchor|parser|Parser}} 解析器 {{English term|parser}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a function to convert a string to a ZObject. The opposite of [[#renderer|renderer]].</span>
; {{anchor|pair|Pair}} <span lang="en" dir="ltr" class="mw-content-ltr">pair</span> {{English term|pair}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a compound ZObject that contains two ZObjects of specific (but arbitrary) type.</span>
; {{anchor|part_P1|Part_P1}} <span lang="en" dir="ltr" class="mw-content-ltr">Part P1</span> {{English term|Part P1}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the part of the [[#development_project|development project]] that deals with creating [[#Wikifunctions|Wikifunctions]]. It starts at the beginning of the project and goes on throughout its whole lifetime; see [[:m:Special:MyLanguage/Abstract Wikipedia/Tasks#Part P1: Wikifunctions|Part P1: Wikifunctions]].</span>
; {{anchor|part_P2|Part_P2}} <span lang="en" dir="ltr" class="mw-content-ltr">Part P2</span> {{English term|Part P2}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the part of the [[#development_project|development project]] that deals with creating [[#Abstract_Wikipedia|Abstract Wikipedia]]. It starts after about a year in the project and goes on throughout the second half of its lifetime; see [[:m:Special:MyLanguage/Abstract Wikipedia/Tasks#Part P2: Abstract Wikipedia|Part P2: Abstract Wikipedia]].</span>
; {{anchor|persistent|Persistent}} <span lang="en" dir="ltr" class="mw-content-ltr">persistent</span> {{English term|persistent}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#ZObject|ZObject]] with a [[#ZID|ZID]] and with its own page in the wiki. Most persistent ZObjects will include [[#value|values]] that are ZObjects with no ZID, and are therefore not persistent.</span>
; {{anchor|property|Property}} 屬性 {{English term|property}}
: <span lang="en" dir="ltr" class="mw-content-ltr">used to make a [[#Statement|statement]] about an [[#Item|Item]] in [[#Wikidata|Wikidata]]'s knowledge base; see [[:d:Wikidata:Glossary#Property|Property]] in the Wikidata glossary.</span>
== Q ==
; {{anchor|quote|Quote}} <span lang="en" dir="ltr" class="mw-content-ltr">quote</span> {{English term|quote}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a data structure that is not to be evaluated but kept verbatim.</span>
; {{anchor|QID}} QID {{English term|QID}}
: <span lang="en" dir="ltr" class="mw-content-ltr">identifier for an item in [[#Wikidata|Wikidata]], comprising the letter "Q" followed by an integer.</span>
== R ==
; {{anchor|reading function}} <span lang="en" dir="ltr" class="mw-content-ltr">reading function</span> {{English term|reading function}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a synonym of [[#parser|parser]]. A function that converts user text input from a string into a given Type. For example, converting the String "123456" to the Number '123456', or the string "2024-03-12" to the Date '2024', '03', '12'.</span>
; {{anchor|reference|Reference}} 參照 {{English term|reference}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an ID denoting the underlying object. For example, the string "Z11" refers to the Type Z11/Monolingual text.</span>
: {{TakeNote}}<span lang="en" dir="ltr" class="mw-content-ltr">This term has a completely different meaning than on Wikidata; see [[w:en:Reference (computer science)|Reference (computer science)]] in Wikipedia.</span>
; {{anchor|renderer|Renderer}} 轉譯函式 {{English term|renderer}} (1)
: <span lang="en" dir="ltr" class="mw-content-ltr">a function to convert a ZObject to a string. The opposite of [[#parser|parser]]. (formerly called "linearizer")</span>
; 轉譯函式 {{English term|renderer}} (2)
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#Function|function]] that gets a [[#Content|content]] and an identifier for a [[#natural_language|natural language]] as an input and returns text in that natural language as output, representing the content as concrete text, using knowledge from [[#Lexeme|lexemes]].</span>
: {{TakeNote}}<span lang="en" dir="ltr" class="mw-content-ltr">This is a future feature, and the meaning of the term "renderer" in the {{Pg|:m:Abstract Wikipedia/Historic proposal|original proposal}}; this term collides with the current usage of "renderer", so it may be renamed in the future.</span>
; {{anchor|reify}} <span lang="en" dir="ltr" class="mw-content-ltr">reify</span> {{English term|reify}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a function that deconstructs an object into its constituent parts so that the parts can be individually accessed; see [[w:en:Reification (computer science)|Reification]] in Wikipedia; see [[phab:T261474]].</span>
; {{anchor|REPL}} <span lang="en" dir="ltr" class="mw-content-ltr">REPL</span> {{English term|REPL}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a Read / Eval / Print - Loop, a command line interface that takes some input, evaluates it, and displays the result; see [[w:en:REPL|REPL]] in Wikipedia; see [[Special:MyLanguage/Wikifunctions:Function model#REPL|Function model]].</span>
== S ==
; {{anchor|schemata}} <span lang="en" dir="ltr" class="mw-content-ltr">schemata</span> {{English term|schemata}}
: <span lang="en" dir="ltr" class="mw-content-ltr">See [[#function schemata|function schemata]].</span>
; {{anchor|serialization|Serialization|serialisation|Serialisation}} <span lang="en" dir="ltr" class="mw-content-ltr">serialization</span> {{English term|serialization}}
: <span lang="en" dir="ltr" class="mw-content-ltr">Ways to represent [[#ZObject|ZObjects]] in [[#JSON|JSON]]; see also [[#canonical|canonical]], [[#normal|normal]].</span>
; {{anchor|statement|Statement}} <span lang="en" dir="ltr" class="mw-content-ltr">statement</span> {{English term|statement}}
: <span lang="en" dir="ltr" class="mw-content-ltr">used to provide knowledge about an [[#Item|Item]] in [[#Wikidata|Wikidata]]'s knowledge base; see [[:d:Wikidata:Glossary#Statement|Statement]] in the Wikidata glossary.</span>
; {{anchor|string}} 字串 {{English term|string}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a sequence of characters.</span>
; {{anchor|sum type|Sum type}} <span lang="en" dir="ltr" class="mw-content-ltr">sum type</span> {{English term|sum type}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a type that can have instances of any of its constituent types; see [[w:en:Sum type|Sum type]] in Wikipedia; see [[Special:MyLanguage/Wikifunctions:Function model#Zx/Sum_types|Function model]].</span>
== T ==
; {{anchor|template}} <span lang="en" dir="ltr" class="mw-content-ltr">template</span> {{English term|template}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a way to specify a [[#renderer|renderer]] as text interspersed with place-holders, or ''slots'', which can be filled with data from [[#constructor|constructors]], function calculation, or content from another template. See the document [[:m:Special:MyLanguage/Abstract Wikipedia/Template Language for Wikifunctions|Template Language for Wikifunctions]] for a detailed discussion of the template syntax.</span>
; {{anchor|tester|Tester}} <span lang="en" dir="ltr" class="mw-content-ltr">tester</span> {{English term|tester}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a way to automatically determine if a given [[#ZFunction|ZFunction]] is doing the right thing. A [[#function|function]] will typically have multiple testers, each specifying some input to the function and conditions the output for the given input must fulfil. For example, testers for a “title case” function might include: “abc” should become “Abc”; “war and peace” should become “War and Peace”; “война и мир” should become “Война и мир”; and “123” should remain “123”.</span>
; {{anchor|transient|Transient}} <span lang="en" dir="ltr" class="mw-content-ltr">transient</span> {{English term|transient}}
: <span lang="en" dir="ltr" class="mw-content-ltr">Opposite of [[#persistent|persistent]].</span>
; {{anchor|type|Type}} <span lang="en" dir="ltr" class="mw-content-ltr">type</span> {{English term|type}}
: <span lang="en" dir="ltr" class="mw-content-ltr">The type of an object tells us how to interpret and understand the given object, and what can be done with the object. For example, if we have an object with the value “2023”, depending on whether its type is integer, or year, or string, we understand that object differently. Every object refers to “a thing in the real world”. The integer 2023 is different from the year 2023. The type tells us how to interpret a given object, so that we know which thing in the real world it refers to. Technically, it defines how objects of that type are structured and what conditions they need to fulfill to be a valid object of that type.</span> <span lang="en" dir="ltr" class="mw-content-ltr">A type defines the conditions for a [[#ZObject|ZObject]] to be a valid instance of this type, by providing a [[#Function|function]] that validates a ZObject. Types are ZObjects themselves, so that contributors of [[#Wikifunctions|Wikifunctions]] can create new types.</span>
; {{anchor|type converter}} <span lang="en" dir="ltr" class="mw-content-ltr">type converter</span> {{English term|type converter}}
: <span lang="en" dir="ltr" class="mw-content-ltr">A script written in some programming language (such as JavaScript), taking a native object (such as BigInt), and returning a JSON object representing the corresponding ZObject; or ''vice versa''.</span>
; {{anchor|typed list|Typed List}} <span lang="en" dir="ltr" class="mw-content-ltr">typed list</span> {{English term|typed list}}
: <span lang="en" dir="ltr" class="mw-content-ltr">A typed list is a [[#list|list]] in which all members of the list are of a specific, predefined [[#type|type]]. For example, a typed list of [[#string|strings]] is a list in which all members of the list are strings. A typed list takes one argument: the type that all the members of the list have to be an instance of. Typed lists are probably the most widely used [[#generic type|generic type]].</span>
== V ==
; {{anchor|value}} 值 {{English term|value}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the string or [[#ZObject|ZObject]] associated with a [[#key|key]] in another ZObject.</span>
; {{anchor|validation|Validation}} 驗證 {{English term|validation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">The action performed by the [[#validator|validator]].</span>
; {{anchor|validator|Validator}} 驗證函式 {{English term|validator}}
: <span lang="en" dir="ltr" class="mw-content-ltr">A function taking a ZObject as argument and return a list of errors found.</span>
== W ==
; {{anchor|wiki|Wiki}} wiki {{English term|wiki}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a web site that allows for the easy and collaborative editing of its [[#page|pages]].</span>
; {{anchor|Wikidata}} 維基數據 {{English term|Wikidata}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a project of the [[#Wikimedia_Foundation|Wikimedia Foundation]], a free, collaboratively edited knowledge base; see [[:m:Special:MyLanguage/Wikidata|Wikidata]].</span>
; {{anchor|Wikifunctions}}{{anchor|Wikilambda}} 維基函式庫 {{English term|Wikifunctions}}
: <span lang="en" dir="ltr" class="mw-content-ltr">new project of the [[#Wikimedia_Foundation|Wikimedia Foundation]]; a free, collaboratively developed and maintained catalog of [[#Function|functions]]. It was initially known as '''Wikilambda''' in the {{Pg|:m:Abstract Wikipedia/Historic proposal|original proposal}} (that name is now used for the [[#WikiLambda|WikiLambda extension]]).</span>
; {{anchor|WikiLambda}} WikiLambda {{English term|WikiLambda}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the software used to power the project, [[mw:Special:MyLanguage/Extension:WikiLambda|Extension:WikiLambda]].</span>
; {{anchor|WikiLambda system}} WikiLambda system {{English term|WikiLambda system}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an automated system account that is a key part of the WikiLambda extension. See [[User:WikiLambda system]] for its current function.</span>
; {{anchor|WMF|Wikimedia_Foundation}} 維基媒體基金會 {{English term|Wikimedia Foundation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">organization that supports the Wikimedia movement; see [[:m:Special:MyLanguage/Wikimedia Foundation|Wikimedia Foundation]].</span>
; {{anchor|Wikipedia}} <span lang="en" dir="ltr" class="mw-content-ltr">Wikipedia</span> {{English term|Wikipedia}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a project of the [[#Wikimedia_Foundation|Wikimedia Foundation]], a free, collaboratively edited encyclopedia; see [[:m:Special:MyLanguage/Wikipedia|Wikipedia]].</span>
; <span lang="en" dir="ltr" class="mw-content-ltr">Wikipedia, Abstract</span> {{English term|Wikipedia, Abstract}}
: <span lang="en" dir="ltr" class="mw-content-ltr">see [[#Abstract_Wikipedia|Abstract Wikipedia]].</span>
; <span lang="en" dir="ltr" class="mw-content-ltr">Wikipedia, multilingual</span> {{English term|Wikipedia, multilingual}}
: <span lang="en" dir="ltr" class="mw-content-ltr">see [[#multilingual_Wikipedia|multilingual Wikipedia]].</span>
== Z ==
; {{anchor|ZID|ZIDs}} ZID {{English term|ZID}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an ID starting with the letter Z and followed by a natural number. Used to identify [[#persistent|persistent]] [[#ZObject|ZObjects]].</span>
; {{anchor|zfunction|ZFunction}} <span lang="en" dir="ltr" class="mw-content-ltr">ZFunction</span> {{English term|ZFunction}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a wiki page on [[#Wikifunctions|Wikifunctions]] that describes a particular [[#function|function]] that can be used through the [[#evaluator|evaluator]]. Each ZFunction can be realised in code by one or more [[#implementation|Implementations]], and said implementations can be verified as correct by one or more [[#tester|Tester]] ZFunctions.</span>
; {{anchor|ZKey}} <span lang="en" dir="ltr" class="mw-content-ltr">ZKey</span> {{English term|ZKey}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#ZObject|ZObject]] defining a [[#key|key]] for a particular [[#type|type]].</span>
; {{anchor|ZList}} <span lang="en" dir="ltr" class="mw-content-ltr">ZList</span> {{English term|ZList}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#ZObject|ZObject]] for an ordered sequence of other ZObjects.</span>
; {{anchor|ZObject}} <span lang="en" dir="ltr" class="mw-content-ltr">ZObject</span> {{English term|ZObject}}
: <span lang="en" dir="ltr" class="mw-content-ltr">every entry in [[#Wikifunctions|Wikifunctions]] is a ZObject. ZObjects stored in Wikifunctions have [[#ZID|ZIDs]] and can be of numerous types, such as [[#Constructor|Constructors]], [[#Function|Functions]], [[#Type|Types]], etc. A ZObject consists of a set of [[#Key|Key]]/[[#Value|Value]] pairs, with each Key appearing only once per ZObject and Values being ZObjects.</span>
; {{anchor|ZUnit}} <span lang="en" dir="ltr" class="mw-content-ltr">ZUnit</span> {{English term|ZUnit}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#ZObject|ZObject]] that represents a [[:w:en:Unit type|Unit type]].</span>
[[Category:Glossary| {{#translation:}}]]
3zqc0255vbbwmkqn49in61i73mc2f9z
200141
200139
2025-07-03T10:13:37Z
Winston Sung
2672
Created page with "維基百科"
200141
wikitext
text/x-wiki
<noinclude><languages/>
<!--<nowiki>(nowiki tags are so that the translate extension doesn't try to translate the TERM and DEFINITION in this boilerplate).
Use this boilerplate for a new term:
; {{anchor|term|Term}} <translate>term</translate> {{English term|term}}
: ''Definition verification needed''
: <translate>definition</translate>
Notes:
1. Omit the "Definition verification" if you're sure that your definition is correct.
2. You can add several values for anchor, if it has spelling or capitalization variants; see the documentation for Template:Anchor and examples in other terms.
</nowiki>--></noinclude>
<span lang="en" dir="ltr" class="mw-content-ltr">Feel free to ask for terms on the [[Wikifunctions talk:Glossary|talk page]], or to add more terms and improve the definitions.</span>
{|class="toccolours" style="margin:.2em auto;padding:.2em .5em;text-align:center" dir="ltr" lang="en"
|-
|style="padding:0;width:100%"|{{CompactTOC}}
|}
== A ==
; {{anchor|abstract|Abstract}} 抽象 {{English term|abstract}}
: <span lang="en" dir="ltr" class="mw-content-ltr">not in a specific [[#natural_language|natural language]] but abstracting from it; aiming to provide a notation for the meaning behind natural language texts, sentences, or phrases. The opposite of [[#concrete|concrete]].</span>
; {{anchor|abstracttext|AbstractText}} <span lang="en" dir="ltr" class="mw-content-ltr">AbstractText</span> {{English term|AbstractText}}
: <span lang="en" dir="ltr" class="mw-content-ltr">prototype [https://github.com/google/abstracttext implementation] of the [[#Wikifunctions|Wikifunctions]] idea.</span>
; {{anchor|abstract_content}} 抽象內容 {{English term|abstract content}}
: <span lang="en" dir="ltr" class="mw-content-ltr">see [[#Content|content]].</span>
; {{anchor|abstract_Wikipedia|Abstract_Wikipedia}} 抽象維基百科 {{English term|Abstract Wikipedia}}
: <span lang="en" dir="ltr" class="mw-content-ltr">preliminary name of all the [[#Content|Content]] that can be used by [[#local_Wikipedia|local Wikipedias]] to [[#Renderer|render]] an [[#article|article]] in [[#natural_language|natural language]]; currently proposed to live in [[#Wikidata|Wikidata]] next to the corresponding [[#Item|Item]], but that will be discussed before [[#Part_P2|Part P2]] of the [[#development_project|development project]].</span>
; {{anchor|alias}} 別名 {{English term|alias}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an alternative label for an object, used foremost to find the object.</span>
; {{anchor|argument}} 引數 {{English term|argument}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an input given to a [[#function call|function call]].</span>
; {{anchor|argument reference}} 引數參照 {{English term|argument reference}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#reference|reference]] to one of the supplied arguments within a [[#composition|composition]].</span>
; {{anchor|array}} 陣列 {{English term|array}}
: <span lang="en" dir="ltr" class="mw-content-ltr">Many programming languages have an "array" type. The counterparts in Wikifunctions are [[#list|list]] and [[#typed list|typed list]]. See also [[#Benjamin array|Benjamin array]].</span>
; {{anchor|article|Article}} 條目 {{English term|article}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a page in the main namespace of [[#Wikipedia|Wikipedia]], usually representing one entry in Wikipedia.</span>
== B ==
; {{anchor|Benjamin array}} <span lang="en" dir="ltr" class="mw-content-ltr">Benjamin array</span> {{English term|Benjamin array}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a way to denote [[#typed list|typed list]] proposed by Benjamin Degenhart, where a typed list is stored as a JSON list whose first element denotes the type. This is in contrast with the previous proposed schema, which uses LISP-style singly-linked lists, in which the type must be stored once in each node.</span>
; {{anchor|boolean|Boolean}} 布林值 {{English term|boolean}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a value that can have 2 states, usually denoted true and false.</span>
; {{anchor|built-in|builtin}} 內建 {{English term|built-in}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a native implementation of a function that is provided by the evaluator and that is not editable through the wiki interface.</span>
== C ==
; {{anchor|call}} 呼叫 {{English term|call}}
: <span lang="en" dir="ltr" class="mw-content-ltr">see [[#function call|function call]]. In English, the term [[#invoke|invoke or invocation]] may also be used.</span>
; {{anchor|canonical|canonicalized|canonicalised}} <span lang="en" dir="ltr" class="mw-content-ltr">canonical, canonicalized, canonicalised</span> {{English term|canonical, canonicalized, canonicalised}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a specific, less verbose and thus more readable way to represent [[#ZObject|ZObjects]] in [[#JSON|JSON]]; it is the usual representation ZObjects are stored in [[#Wikifunctions|Wikifunctions]]. This is opposed to [[#normal|normal]].</span>
; {{anchor|character}} 字元 {{English term|character}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a character as defined by Unicode, a constituent of a String; a character can consist of several bytes (or octets).</span>
; {{anchor|composition}} 組成 {{English term|composition}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a form of implementation of a function, where the implementation is given by the combination of other functions; see [[Special:MyLanguage/Wikifunctions:Function model#Composition|Function model]].</span>
; {{anchor|composition notation}} <span lang="en" dir="ltr" class="mw-content-ltr">composition notation</span> {{English term|composition notation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an easy-to-read notation for compositions; see [[Special:MyLanguage/Wikifunctions:Function model#Composition|Function model]].</span>
; {{anchor|concrete|Concrete}} <span lang="en" dir="ltr" class="mw-content-ltr">concrete</span> {{English term|concrete}}
: <span lang="en" dir="ltr" class="mw-content-ltr">in a specific [[#natural_language|natural language]]. The opposite of [[#abstract|abstract]].</span>
; {{anchor|cons}} <span lang="en" dir="ltr" class="mw-content-ltr">cons</span> {{English term|cons}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a function to create a new list by adding an element at the top of it; see [[phab:T261474]].</span> <span lang="en" dir="ltr" class="mw-content-ltr">See [[w:cons|cons]] in Wikipedia.</span>
; {{anchor|constructor|Constructor}} <span lang="en" dir="ltr" class="mw-content-ltr">constructor</span> {{English term|constructor}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an [[#abstract|abstract]] building block of [[#Content|content]]. A constructor aims to capture the meaning of a single phrase or sentence structure. It often has slots that can take other constructors, and can itself be used as a value to fill the slots of other constructors.</span>
; {{anchor|Content}}<!--do not add |content to the anchor, it is used by MediaWiki--> <span lang="en" dir="ltr" class="mw-content-ltr">content, abstract content</span> {{English term|content, abstract content}}
: <span lang="en" dir="ltr" class="mw-content-ltr">abstract representation of a text or text fragment, assembled from [[#Constructor|constructors]]. Technically, an instance of a constructor. The top level constructor is used to represent a whole [[#article|article]] and stored in [[#Abstract_Wikipedia|Abstract Wikipedia]], but content can be also for just a sentence or phrase. Sometimes called abstract content.</span>
; {{anchor|curry}} <span lang="en" dir="ltr" class="mw-content-ltr">curried, curry, currying</span> {{English term|curried, curry, currying}}
: <span lang="en" dir="ltr" class="mw-content-ltr">A curried function is a function that was translated from taking multiple arguments into a sequence of functions, each with a single argument. This technique is named after the American mathematician [[:w:en:Haskell Curry|Haskell Curry]]. See [[:w:en:Currying|Currying]] in Wikipedia.</span>
== D ==
; {{anchor|deserialization|Deserialization|deserialisation|Deserialisation}} <span lang="en" dir="ltr" class="mw-content-ltr">deserialization</span> {{English term|deserialization}}
: <span lang="en" dir="ltr" class="mw-content-ltr">Opposite of [[#serialization|serialization]].</span>
; {{anchor|development_project|Development_project}} 開發專案 {{English term|development project}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a project to develop [[#Wikifunctions|Wikifunctions]] and [[#Abstract_Wikipedia|Abstract Wikipedia]]; see [[:m:Special:MyLanguage/Abstract Wikipedia/Plan|Abstract Wikipedia plan]].</span>
; {{anchor|display function}} 顯示函式 {{English term|display function}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a synonym of [[#renderer|renderer]]. For example, a function that converts a [[#type|type]] into a string that users can understand, such as converting a Number 123456 to "123,456" in (International) English, "1,23,456" in Indian English, "123.456" in French, etc., or converting the Date '2024','03','12' to '2024-03-12', and so on.</span>
; {{anchor|documentation}} 說明文件 {{English term|documentation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">human-readable text explaining an object.</span>
== E ==
; {{anchor|eney|eneyjj}} <span lang="en" dir="ltr" class="mw-content-ltr">eneyj</span> {{English term|eneyj}}
:# <span lang="en" dir="ltr" class="mw-content-ltr">prototype model of [[#Wikifunctions|Wikifunctions]];</span>
:# <span lang="en" dir="ltr" class="mw-content-ltr">a JavaScript implementation of an [[#evaluator|evaluator]] of that model provided in [[#abstracttext|abstracttext]].</span>
; {{anchor|error|Error}} 錯誤 {{English term|error}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a type whose instances indicate problems in [[#evaluation|evaluation]] or [[#validation|validation]]; see [[Special:MyLanguage/Wikifunctions:Function model#Z5/Errors|Function model]].</span>
; {{anchor|evaluation|Evaluation}} <span lang="en" dir="ltr" class="mw-content-ltr">evaluation</span> {{English term|evaluation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">The action performed by the [[#evaluator|evaluator]].</span>
; {{anchor|evaluator|Evaluator}} <span lang="en" dir="ltr" class="mw-content-ltr">evaluator</span> {{English term|evaluator}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a piece of software that takes a [[#ZObject|ZObject]] and evaluates it, that is executes a [[#Function|Function]] and returns the result. We envision the development of several evaluators. Evaluators may be implemented and run in the browser, on the server of the [[#Wikimedia_Foundation|Wikimedia Foundation]], in the cloud, in an app on a mobile device, or other places. Compare to [[#executor|executor]] and [[#orchestrator|orchestrator]].</span>
; {{anchor|execution|Execution}} 執行 {{English term|execution}}
: <span lang="en" dir="ltr" class="mw-content-ltr">The action performed by the [[#executor|executor]].</span>
; {{anchor|executor|Executor|executors|Executors}} <span lang="en" dir="ltr" class="mw-content-ltr">executor</span> {{English term|executor}}
: <span lang="en" dir="ltr" class="mw-content-ltr">one of a set of internal services which are not exposed to the public. They can be only called by the [[#Orchestrator|orchestrator]]. They run native code in a specific programming language. There would be one executor for Lua, one for JavaScript, one for Python, etc. See [https://gitlab.wikimedia.org/repos/abstract-wiki/wikifunctions/function-evaluator#executors the service documentation]. Compare to [[#evaluator|evaluator]] and [[#orchestrator|orchestrator]].</span>
== F ==
; {{anchor|function|Function}} 函式 {{English term|function}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the specification of a computation that takes some input and returns output; see [[w:en:Function (computer science)|Function (computer science)]] in Wikipedia.</span>
; {{anchor|function call|Function call}} 函式呼叫 {{English term|function call}}
: <span lang="en" dir="ltr" class="mw-content-ltr">A function call is a ZObject consisting of a function and the required arguments for the function, and can be evaluated to another ZObject. In English, the term "invoke" may also be used.</span>
; {{anchor|function evaluator}} <span lang="en" dir="ltr" class="mw-content-ltr">function evaluator</span> {{English term|function evaluator}}
: <span lang="en" dir="ltr" class="mw-content-ltr">See [[#evaluator|evaluator]].</span>
; {{anchor|function executor}} <span lang="en" dir="ltr" class="mw-content-ltr">function executor</span> {{English term|function executor}}
: <span lang="en" dir="ltr" class="mw-content-ltr">See [[#executor|executor]].</span>
; {{anchor|function model}} 函式模型 {{English term|function model}}
: 請參閱[[Special:MyLanguage/Wikifunctions:Function model|函式模型]]。
; {{anchor|function orchestrator}} <span lang="en" dir="ltr" class="mw-content-ltr">function orchestrator</span> {{English term|function orchestrator}}
: <span lang="en" dir="ltr" class="mw-content-ltr">See [[#orchestrator|orchestrator]].</span>
; {{anchor|function schemata}} <span lang="en" dir="ltr" class="mw-content-ltr">function schemata</span> {{English term|function schemata}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a set of pre-defined ZObjects used in [[#orchestrator|orchestrator]] and [[#evaluator|evaluator]]. The [[#WikiLambda system|WikiLambda system account]] also populates pre-defined ZObjects on-wiki from function schemata.</span>
; {{anchor|functional}} <span lang="en" dir="ltr" class="mw-content-ltr">functional</span> {{English term|functional}}
: <span lang="en" dir="ltr" class="mw-content-ltr">short for "purely functional", meaning that the [[#evaluation|evaluation]] of such a function has no side-effects and is deterministic, that is always the same; see [[w:en:Purely functional programming|Purely functional programming]] in Wikipedia; see [[Special:MyLanguage/Wikifunctions:Function model#non-functional|Function model]].</span>
== G ==
; {{anchor|generic type}} <span lang="en" dir="ltr" class="mw-content-ltr">generic type</span> {{English term|generic type}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a type generated by [[#evaluation|evaluation]] of a function call.</span>
== I ==
; {{anchor|identity|Identity}} 識別物件 {{English term|identity}}
: <span lang="en" dir="ltr" class="mw-content-ltr">The identity of a type is an instance of (specific) function that evaluates to the type. For a simple type, it is a reference to the type itself.</span>
; {{anchor|implementation|Implementation}} 實作 {{English term|implementation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a particular way to execute a [[#function|function]]. An implementation may be a piece of code in a certain programming language, refer to functionality “built into” the [[#evaluator|evaluator]], or [[#composition|compose]] calls to other functions. A function may have many implementations, which should all be equivalent. Short for "[[#ZFunction|ZFunction]] implementation".</span>
; {{anchor|instance}} 實例 {{English term|instance}}
: <span lang="en" dir="ltr" class="mw-content-ltr">Every ZObject is an instance of its type.</span>
; {{anchor|invoke}} 調用 {{English term|invoke}}
: <span lang="en" dir="ltr" class="mw-content-ltr">synonym for [[#call|call]] in English. See [[#function call|function call]].</span>
; {{anchor|item|Item}} 項目 {{English term|item}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an entry in [[#Wikidata|Wikidata]]'s knowledge base; see [[:d:Wikidata:Glossary#Item|Item]] in the Wikidata glossary.</span>
== J ==
; {{anchor|JSON}} JSON {{English term|JSON}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a widely used data transfer format; see [[w:en:JSON|JSON]] in Wikipedia.</span>
== K ==
; {{anchor|key|Key}} 鍵 {{English term|key}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a string which ends with the letter K followed by a natural number, and is optionally preceded by a [[#ZID|ZID]]. Keys are defined in [[#Wikifunctions|Wikifunctions]] usually on [[#Type|Types]] or [[#Function|Functions]], and are used to build up [[#ZObject|ZObjects]].</span>
== L ==
; {{anchor|label}} <span lang="en" dir="ltr" class="mw-content-ltr">label</span> {{English term|label}}
: <span lang="en" dir="ltr" class="mw-content-ltr">main name given to identify a ZObject. May only be plain text.</span>
; {{anchor|lexeme|Lexeme}} <span lang="en" dir="ltr" class="mw-content-ltr">lexeme</span> {{English term|lexeme}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an entry in [[#Wikidata|Wikidata]] storing lexicographic knowledge about, roughly, a word; see [[d:Wikidata:Glossary#Lexeme|Lexeme]] in the Wikidata glossary.</span>
; {{anchor|linearizer|Linearizer}} <span lang="en" dir="ltr" class="mw-content-ltr">linearizer</span> {{English term|linearizer}}
: <span lang="en" dir="ltr" class="mw-content-ltr">(this term is no longer used in current terminology, but can still be found in older documents) synonym of [[#renderer|renderer]] (1).</span>
; {{anchor|list|List}} 串列 {{English term|list}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a data type that groups an arbitrary number of instances in an ordered entity; see [[w:en:List (abstract data type)|List (abstract data type)]] in Wikipedia.</span>
; {{anchor|literal}} <span lang="en" dir="ltr" class="mw-content-ltr">literal</span> {{English term|literal}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a value that is not a ZObject. Currently the only accepted literal is string.</span>
; {{anchor|local_Wikipedia|Local_Wikipedia}} <span lang="en" dir="ltr" class="mw-content-ltr">local Wikipedia</span> {{English term|local Wikipedia}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#Wikipedia|Wikipedia]] in a specific language, such as Hebrew Wikipedia, Japanese Wikipedia, or Italian Wikipedia.</span>
== M ==
; {{anchor|Multlingual_Wikipedia|multilingual_Wikipedia}} <span lang="en" dir="ltr" class="mw-content-ltr">multilingual Wikipedia</span> {{English term|multilingual Wikipedia}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the architecture that allows [[#local_Wikipedia|local Wikipedias]] to enrich themselves by [[#Renderer|rendering]] the [[#Content|Content]] from [[#Abstract_Wikipedia|Abstract Wikipedia]] and thus have a more comprehensive, current, and correct Wikipedia in their language; see [[:m:Special:MyLanguage/Abstract Wikipedia/Architecture|Abstract Wikipedia architecture]].</span>
== N ==
; {{anchor|natural_language|Natural_language}} 自然語言 {{English term|natural language}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a specific natural language in the wider sense, such as English, Tagalog, or Swahili; see [[w:en:Natural language|Natural language]] in Wikipedia.</span>
; {{anchor|normal|Normal|normalized|Normalized|normalised}} <span lang="en" dir="ltr" class="mw-content-ltr">normal</span> {{English term|normal}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an extended, easily processable and very uniform way to represent [[#ZObject|ZObjects]] in [[#JSON|JSON]]. This is opposed to [[#canonical|canonical]].</span>
; {{anchor|nothing|Nothing}} <span lang="en" dir="ltr" class="mw-content-ltr">nothing</span> {{English term|nothing}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a data type that can have no instances; see [[w:en:Bottom type|Bottom type]] in Wikipedia.</span>
== O ==
; {{anchor|object|Object}} 物件 {{English term|object}}
:# <span lang="en" dir="ltr" class="mw-content-ltr">In JavaScript or JSON, an object is basically an associative array; see [[w:en:Associative array|Associative array]] in Wikipedia.</span>
:# <span lang="en" dir="ltr" class="mw-content-ltr">In Wikifunctions, synonym of [[#ZObject|ZObject]].</span>
; {{anchor|orchestration|Orchestration}} <span lang="en" dir="ltr" class="mw-content-ltr">orchestration</span> {{English term|orchestration}}
:<span lang="en" dir="ltr" class="mw-content-ltr">The action performed by the [[#orchestrator|orchestrator]].</span>
; {{anchor|orchestrator|Orchestrator}} <span lang="en" dir="ltr" class="mw-content-ltr">orchestrator</span> {{English term|orchestrator}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a service that takes a [[#ZObject|ZObject]] and returns an [[#Evaluator|evaluated]] version of it. To do this, it will make calls to the wiki for other ZObjects it needs, to the [[#Executor|executor]] to evaluate some function calls, and other services such as [[#Wikidata|Wikidata]]. See [https://gitlab.wikimedia.org/repos/abstract-wiki/wikifunctions/function-orchestrator#wikifunctions-function-orchestrator the service documentation]. Compare to [[#evaluator|evaluator]] and [[#executor|executor]].</span>
== P ==
; {{anchor|page|Page}} 頁面 {{English term|page}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a part of a wiki. A [[#wiki|wiki]] consists of a number of individual pages, which can be edited independently, have internal links to each other, etc.</span>
; {{anchor|parser|Parser}} 解析器 {{English term|parser}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a function to convert a string to a ZObject. The opposite of [[#renderer|renderer]].</span>
; {{anchor|pair|Pair}} <span lang="en" dir="ltr" class="mw-content-ltr">pair</span> {{English term|pair}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a compound ZObject that contains two ZObjects of specific (but arbitrary) type.</span>
; {{anchor|part_P1|Part_P1}} <span lang="en" dir="ltr" class="mw-content-ltr">Part P1</span> {{English term|Part P1}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the part of the [[#development_project|development project]] that deals with creating [[#Wikifunctions|Wikifunctions]]. It starts at the beginning of the project and goes on throughout its whole lifetime; see [[:m:Special:MyLanguage/Abstract Wikipedia/Tasks#Part P1: Wikifunctions|Part P1: Wikifunctions]].</span>
; {{anchor|part_P2|Part_P2}} <span lang="en" dir="ltr" class="mw-content-ltr">Part P2</span> {{English term|Part P2}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the part of the [[#development_project|development project]] that deals with creating [[#Abstract_Wikipedia|Abstract Wikipedia]]. It starts after about a year in the project and goes on throughout the second half of its lifetime; see [[:m:Special:MyLanguage/Abstract Wikipedia/Tasks#Part P2: Abstract Wikipedia|Part P2: Abstract Wikipedia]].</span>
; {{anchor|persistent|Persistent}} <span lang="en" dir="ltr" class="mw-content-ltr">persistent</span> {{English term|persistent}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#ZObject|ZObject]] with a [[#ZID|ZID]] and with its own page in the wiki. Most persistent ZObjects will include [[#value|values]] that are ZObjects with no ZID, and are therefore not persistent.</span>
; {{anchor|property|Property}} 屬性 {{English term|property}}
: <span lang="en" dir="ltr" class="mw-content-ltr">used to make a [[#Statement|statement]] about an [[#Item|Item]] in [[#Wikidata|Wikidata]]'s knowledge base; see [[:d:Wikidata:Glossary#Property|Property]] in the Wikidata glossary.</span>
== Q ==
; {{anchor|quote|Quote}} <span lang="en" dir="ltr" class="mw-content-ltr">quote</span> {{English term|quote}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a data structure that is not to be evaluated but kept verbatim.</span>
; {{anchor|QID}} QID {{English term|QID}}
: <span lang="en" dir="ltr" class="mw-content-ltr">identifier for an item in [[#Wikidata|Wikidata]], comprising the letter "Q" followed by an integer.</span>
== R ==
; {{anchor|reading function}} <span lang="en" dir="ltr" class="mw-content-ltr">reading function</span> {{English term|reading function}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a synonym of [[#parser|parser]]. A function that converts user text input from a string into a given Type. For example, converting the String "123456" to the Number '123456', or the string "2024-03-12" to the Date '2024', '03', '12'.</span>
; {{anchor|reference|Reference}} 參照 {{English term|reference}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an ID denoting the underlying object. For example, the string "Z11" refers to the Type Z11/Monolingual text.</span>
: {{TakeNote}}<span lang="en" dir="ltr" class="mw-content-ltr">This term has a completely different meaning than on Wikidata; see [[w:en:Reference (computer science)|Reference (computer science)]] in Wikipedia.</span>
; {{anchor|renderer|Renderer}} 轉譯函式 {{English term|renderer}} (1)
: <span lang="en" dir="ltr" class="mw-content-ltr">a function to convert a ZObject to a string. The opposite of [[#parser|parser]]. (formerly called "linearizer")</span>
; 轉譯函式 {{English term|renderer}} (2)
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#Function|function]] that gets a [[#Content|content]] and an identifier for a [[#natural_language|natural language]] as an input and returns text in that natural language as output, representing the content as concrete text, using knowledge from [[#Lexeme|lexemes]].</span>
: {{TakeNote}}<span lang="en" dir="ltr" class="mw-content-ltr">This is a future feature, and the meaning of the term "renderer" in the {{Pg|:m:Abstract Wikipedia/Historic proposal|original proposal}}; this term collides with the current usage of "renderer", so it may be renamed in the future.</span>
; {{anchor|reify}} <span lang="en" dir="ltr" class="mw-content-ltr">reify</span> {{English term|reify}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a function that deconstructs an object into its constituent parts so that the parts can be individually accessed; see [[w:en:Reification (computer science)|Reification]] in Wikipedia; see [[phab:T261474]].</span>
; {{anchor|REPL}} <span lang="en" dir="ltr" class="mw-content-ltr">REPL</span> {{English term|REPL}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a Read / Eval / Print - Loop, a command line interface that takes some input, evaluates it, and displays the result; see [[w:en:REPL|REPL]] in Wikipedia; see [[Special:MyLanguage/Wikifunctions:Function model#REPL|Function model]].</span>
== S ==
; {{anchor|schemata}} <span lang="en" dir="ltr" class="mw-content-ltr">schemata</span> {{English term|schemata}}
: <span lang="en" dir="ltr" class="mw-content-ltr">See [[#function schemata|function schemata]].</span>
; {{anchor|serialization|Serialization|serialisation|Serialisation}} <span lang="en" dir="ltr" class="mw-content-ltr">serialization</span> {{English term|serialization}}
: <span lang="en" dir="ltr" class="mw-content-ltr">Ways to represent [[#ZObject|ZObjects]] in [[#JSON|JSON]]; see also [[#canonical|canonical]], [[#normal|normal]].</span>
; {{anchor|statement|Statement}} <span lang="en" dir="ltr" class="mw-content-ltr">statement</span> {{English term|statement}}
: <span lang="en" dir="ltr" class="mw-content-ltr">used to provide knowledge about an [[#Item|Item]] in [[#Wikidata|Wikidata]]'s knowledge base; see [[:d:Wikidata:Glossary#Statement|Statement]] in the Wikidata glossary.</span>
; {{anchor|string}} 字串 {{English term|string}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a sequence of characters.</span>
; {{anchor|sum type|Sum type}} <span lang="en" dir="ltr" class="mw-content-ltr">sum type</span> {{English term|sum type}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a type that can have instances of any of its constituent types; see [[w:en:Sum type|Sum type]] in Wikipedia; see [[Special:MyLanguage/Wikifunctions:Function model#Zx/Sum_types|Function model]].</span>
== T ==
; {{anchor|template}} <span lang="en" dir="ltr" class="mw-content-ltr">template</span> {{English term|template}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a way to specify a [[#renderer|renderer]] as text interspersed with place-holders, or ''slots'', which can be filled with data from [[#constructor|constructors]], function calculation, or content from another template. See the document [[:m:Special:MyLanguage/Abstract Wikipedia/Template Language for Wikifunctions|Template Language for Wikifunctions]] for a detailed discussion of the template syntax.</span>
; {{anchor|tester|Tester}} <span lang="en" dir="ltr" class="mw-content-ltr">tester</span> {{English term|tester}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a way to automatically determine if a given [[#ZFunction|ZFunction]] is doing the right thing. A [[#function|function]] will typically have multiple testers, each specifying some input to the function and conditions the output for the given input must fulfil. For example, testers for a “title case” function might include: “abc” should become “Abc”; “war and peace” should become “War and Peace”; “война и мир” should become “Война и мир”; and “123” should remain “123”.</span>
; {{anchor|transient|Transient}} <span lang="en" dir="ltr" class="mw-content-ltr">transient</span> {{English term|transient}}
: <span lang="en" dir="ltr" class="mw-content-ltr">Opposite of [[#persistent|persistent]].</span>
; {{anchor|type|Type}} <span lang="en" dir="ltr" class="mw-content-ltr">type</span> {{English term|type}}
: <span lang="en" dir="ltr" class="mw-content-ltr">The type of an object tells us how to interpret and understand the given object, and what can be done with the object. For example, if we have an object with the value “2023”, depending on whether its type is integer, or year, or string, we understand that object differently. Every object refers to “a thing in the real world”. The integer 2023 is different from the year 2023. The type tells us how to interpret a given object, so that we know which thing in the real world it refers to. Technically, it defines how objects of that type are structured and what conditions they need to fulfill to be a valid object of that type.</span> <span lang="en" dir="ltr" class="mw-content-ltr">A type defines the conditions for a [[#ZObject|ZObject]] to be a valid instance of this type, by providing a [[#Function|function]] that validates a ZObject. Types are ZObjects themselves, so that contributors of [[#Wikifunctions|Wikifunctions]] can create new types.</span>
; {{anchor|type converter}} <span lang="en" dir="ltr" class="mw-content-ltr">type converter</span> {{English term|type converter}}
: <span lang="en" dir="ltr" class="mw-content-ltr">A script written in some programming language (such as JavaScript), taking a native object (such as BigInt), and returning a JSON object representing the corresponding ZObject; or ''vice versa''.</span>
; {{anchor|typed list|Typed List}} <span lang="en" dir="ltr" class="mw-content-ltr">typed list</span> {{English term|typed list}}
: <span lang="en" dir="ltr" class="mw-content-ltr">A typed list is a [[#list|list]] in which all members of the list are of a specific, predefined [[#type|type]]. For example, a typed list of [[#string|strings]] is a list in which all members of the list are strings. A typed list takes one argument: the type that all the members of the list have to be an instance of. Typed lists are probably the most widely used [[#generic type|generic type]].</span>
== V ==
; {{anchor|value}} 值 {{English term|value}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the string or [[#ZObject|ZObject]] associated with a [[#key|key]] in another ZObject.</span>
; {{anchor|validation|Validation}} 驗證 {{English term|validation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">The action performed by the [[#validator|validator]].</span>
; {{anchor|validator|Validator}} 驗證函式 {{English term|validator}}
: <span lang="en" dir="ltr" class="mw-content-ltr">A function taking a ZObject as argument and return a list of errors found.</span>
== W ==
; {{anchor|wiki|Wiki}} wiki {{English term|wiki}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a web site that allows for the easy and collaborative editing of its [[#page|pages]].</span>
; {{anchor|Wikidata}} 維基數據 {{English term|Wikidata}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a project of the [[#Wikimedia_Foundation|Wikimedia Foundation]], a free, collaboratively edited knowledge base; see [[:m:Special:MyLanguage/Wikidata|Wikidata]].</span>
; {{anchor|Wikifunctions}}{{anchor|Wikilambda}} 維基函式庫 {{English term|Wikifunctions}}
: <span lang="en" dir="ltr" class="mw-content-ltr">new project of the [[#Wikimedia_Foundation|Wikimedia Foundation]]; a free, collaboratively developed and maintained catalog of [[#Function|functions]]. It was initially known as '''Wikilambda''' in the {{Pg|:m:Abstract Wikipedia/Historic proposal|original proposal}} (that name is now used for the [[#WikiLambda|WikiLambda extension]]).</span>
; {{anchor|WikiLambda}} WikiLambda {{English term|WikiLambda}}
: <span lang="en" dir="ltr" class="mw-content-ltr">the software used to power the project, [[mw:Special:MyLanguage/Extension:WikiLambda|Extension:WikiLambda]].</span>
; {{anchor|WikiLambda system}} WikiLambda system {{English term|WikiLambda system}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an automated system account that is a key part of the WikiLambda extension. See [[User:WikiLambda system]] for its current function.</span>
; {{anchor|WMF|Wikimedia_Foundation}} 維基媒體基金會 {{English term|Wikimedia Foundation}}
: <span lang="en" dir="ltr" class="mw-content-ltr">organization that supports the Wikimedia movement; see [[:m:Special:MyLanguage/Wikimedia Foundation|Wikimedia Foundation]].</span>
; {{anchor|Wikipedia}} 維基百科 {{English term|Wikipedia}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a project of the [[#Wikimedia_Foundation|Wikimedia Foundation]], a free, collaboratively edited encyclopedia; see [[:m:Special:MyLanguage/Wikipedia|Wikipedia]].</span>
; <span lang="en" dir="ltr" class="mw-content-ltr">Wikipedia, Abstract</span> {{English term|Wikipedia, Abstract}}
: <span lang="en" dir="ltr" class="mw-content-ltr">see [[#Abstract_Wikipedia|Abstract Wikipedia]].</span>
; <span lang="en" dir="ltr" class="mw-content-ltr">Wikipedia, multilingual</span> {{English term|Wikipedia, multilingual}}
: <span lang="en" dir="ltr" class="mw-content-ltr">see [[#multilingual_Wikipedia|multilingual Wikipedia]].</span>
== Z ==
; {{anchor|ZID|ZIDs}} ZID {{English term|ZID}}
: <span lang="en" dir="ltr" class="mw-content-ltr">an ID starting with the letter Z and followed by a natural number. Used to identify [[#persistent|persistent]] [[#ZObject|ZObjects]].</span>
; {{anchor|zfunction|ZFunction}} <span lang="en" dir="ltr" class="mw-content-ltr">ZFunction</span> {{English term|ZFunction}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a wiki page on [[#Wikifunctions|Wikifunctions]] that describes a particular [[#function|function]] that can be used through the [[#evaluator|evaluator]]. Each ZFunction can be realised in code by one or more [[#implementation|Implementations]], and said implementations can be verified as correct by one or more [[#tester|Tester]] ZFunctions.</span>
; {{anchor|ZKey}} <span lang="en" dir="ltr" class="mw-content-ltr">ZKey</span> {{English term|ZKey}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#ZObject|ZObject]] defining a [[#key|key]] for a particular [[#type|type]].</span>
; {{anchor|ZList}} <span lang="en" dir="ltr" class="mw-content-ltr">ZList</span> {{English term|ZList}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#ZObject|ZObject]] for an ordered sequence of other ZObjects.</span>
; {{anchor|ZObject}} <span lang="en" dir="ltr" class="mw-content-ltr">ZObject</span> {{English term|ZObject}}
: <span lang="en" dir="ltr" class="mw-content-ltr">every entry in [[#Wikifunctions|Wikifunctions]] is a ZObject. ZObjects stored in Wikifunctions have [[#ZID|ZIDs]] and can be of numerous types, such as [[#Constructor|Constructors]], [[#Function|Functions]], [[#Type|Types]], etc. A ZObject consists of a set of [[#Key|Key]]/[[#Value|Value]] pairs, with each Key appearing only once per ZObject and Values being ZObjects.</span>
; {{anchor|ZUnit}} <span lang="en" dir="ltr" class="mw-content-ltr">ZUnit</span> {{English term|ZUnit}}
: <span lang="en" dir="ltr" class="mw-content-ltr">a [[#ZObject|ZObject]] that represents a [[:w:en:Unit type|Unit type]].</span>
[[Category:Glossary| {{#translation:}}]]
alc2uur4g4xn3g9yyyzw4i71ks5a1g7
Translations:Wikifunctions:Glossary/53/zh-hant
1198
60274
200130
199573
2025-07-03T10:11:44Z
Winston Sung
2672
200130
wikitext
text/x-wiki
轉譯函式
4ts9r9wmood0xxj86by4rujwwdxntwq
Wikifunctions:How to create implementations/zh-hans
4
60327
199980
2025-07-03T09:27:41Z
Winston Sung
2672
Created page with "<languages/> 本页面,超越了在{{ll|Wikifunctions:Introduction}}中的概述,提供了更加细节性的指导去创建函式的-{A|zh:实现;zh-hans:实现;zh-hant:實作;}-。 <span id="Code_in_Python"></span> == Python-{A|zh-cn:代码;zh-tw:程式碼}- == 在本小節中,我们会有一个例子去说明如何用python代码创建一个实现。我们要创建的函数的实现,它的输入数据包含两个字符串,返回的结果是将两个字符..."
199980
wikitext
text/x-wiki
<languages/>
本页面,超越了在{{ll|Wikifunctions:Introduction}}中的概述,提供了更加细节性的指导去创建函式的-{A|zh:实现;zh-hans:实现;zh-hant:實作;}-。
<span id="Code_in_Python"></span>
== Python-{A|zh-cn:代码;zh-tw:程式碼}- ==
在本小節中,我们会有一个例子去说明如何用python代码创建一个实现。我们要创建的函数的实现,它的输入数据包含两个字符串,返回的结果是将两个字符串中间加入一个空格。我們假設該函式的ZID是Z11057。
<div lang="en" dir="ltr" class="mw-content-ltr">
This description is only valid in case the implementation uses Strings and Booleans as the input or output types. In case another type is used, please consult the documentation on the given type on how to transform the values so they can be used in Python. We plan to make this easier in the future.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
The implementation is defined using the ZID of the function. So are the arguments of the function. So in the case of the function Z11057 with its two arguments, the first line should look like this:
</div>
<syntaxhighlight lang="python3">
def Z11057(Z11057K1, Z11057K2):
</syntaxhighlight>
<div lang="en" dir="ltr" class="mw-content-ltr">
Note: We plan to hide the ZIDs in the future.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
The first line should be automatically created for you, once you have selected Python as the programming language. You only need to add the function body.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Below that, you write the code in Python as normal. It is just that the variables look a bit funny. In this case it could be, for example:
</div>
<syntaxhighlight lang="python3">
return Z11057K1 + " " + Z11057K2
</syntaxhighlight>
<div lang="en" dir="ltr" class="mw-content-ltr">
Since this is Python, do not forget to indent this line.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
If you already have Tests (and it’s a good habit to create the tests first), click on the circular arrow in the {{int|wikilambda-function-test-cases-table-header}} panel and see if your implementation passes the tests.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Remember that the runtime has no state. Don’t assume values for global or static variables. If you have further questions about what you can and cannot do in Python, ask on [[Wikifunctions:Python implementations]].
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Code in JavaScript ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
In this section, we give a concrete example on how to create an Implementation in the form of Code in JavaScript. Say we want to create an implementation for a Function which combines two input strings by putting a space between them, returning the result of that. Let’s assume the ZID of that function is Z11057.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
This description is only valid in case the implementation uses Strings and Booleans as the input or output types. In case another type is used, please consult the documentation on the given type on how to transform the values so they can be used in JavaScript. We plan to make this easier in the future.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
The implementation is defined using the ZID of the function. So are the arguments of the function. So in the case of the function Z11057 with its two arguments, the first line should look like this:
</div>
<syntaxhighlight lang="javascript">
function Z11057( Z11057K1, Z11057K2 ) {
</syntaxhighlight>
<div lang="en" dir="ltr" class="mw-content-ltr">
Note: We plan to hide the ZIDs in the future.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
The implementation’s code must end with a line closing the opening curly brace from the first line.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
This should be automatically created for you, once you have selected JavaScript as the programming language. You only need to add the function body.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Inside the braces, you write the code in JavaScript as normal. It is just that the variables look a bit funny. In this case, it could be, for example:
</div>
<syntaxhighlight lang="javascript">
return Z11057K1 + " " + Z11057K2;
</syntaxhighlight>
<div lang="en" dir="ltr" class="mw-content-ltr">
If you already have Tests (and it’s a good habit to create the tests first), click on the circular arrow in the {{int|wikilambda-function-test-cases-table-header}} panel and see if your implementation passes the tests.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Remember that the runtime has no state. Don’t assume values for global or static variables. If you have further questions about what you can and cannot do in JavaScript, ask on [[Wikifunctions:JavaScript implementations]].
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Composition ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
In this section, we give a concrete example on how to create an Implementation in the form of a composition. Say we want to create an implementation for a Function which combines two input strings by putting a space between them, returning the result of that. Let’s assume the ZID of that function is Z11057.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
It is usually a good idea to first think about how to combine existing functions in order to create the desired output. Sometimes this might be trivial, and you can just go ahead with composing functions, but in many cases it is worthwhile to note the desired composition down. The Wikifunctions composition interface is not very good yet at editing compositions, so it is a good idea to first figure out what exactly you want to create.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
For example, for the given Function, we could use the existing [[Z10000|''Function to concatenate strings'']]. That Function takes two strings and makes one string out of them. But we need to add a space in between. So we first concatenate a space to the end of the first string, and then concatenate the second string to the result of that first concatenation. So our composition could be noted down like this:
</div>
<syntaxhighlight lang="text">
concatenate(concatenate(Z11057K1, " "), Z11057K2).
</syntaxhighlight>
<div lang="en" dir="ltr" class="mw-content-ltr">
In order to create this:
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Start adding an implementation.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Under “{{#invoke:Wikifunctions label|getLabel|zid=Z14|lang={{CURRENTCONTENTLANGUAGE}}}}”, select “{{#invoke:Wikifunctions key label|getLabel|zkey=Z14K2|lang_code={{CURRENTCONTENTLANGUAGE}}}}”.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click the red “{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}” button.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Enter the name of the Function, i.e. “{{#invoke:Wikifunctions label|getLabel|zid=Z10000|lang={{CURRENTCONTENTLANGUAGE}}}}” and select that when it appears in the autocompletion list.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">The first argument of that outer concatenation is a function call itself. In order to do that, click on the ... next to “{{#invoke:Wikifunctions key label|getLabel|zkey=Z10000K1|lang_code={{CURRENTCONTENTLANGUAGE}}}}”.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">You will see four options. Select “{{#invoke:Wikifunctions label|getLabel|zid=Z7|lang={{CURRENTCONTENTLANGUAGE}}}}”.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Now, select the inner Function. That is, again, “{{#invoke:Wikifunctions label|getLabel|zid=Z10000|lang={{CURRENTCONTENTLANGUAGE}}}}”.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">The argument “{{#invoke:Wikifunctions key label|getLabel|zkey=Z10000K1|lang_code={{CURRENTCONTENTLANGUAGE}}}}” of the inner “{{#invoke:Wikifunctions label|getLabel|zid=Z10000|lang={{CURRENTCONTENTLANGUAGE}}}}” needs to be our first argument. So click again on the ... next to “{{#invoke:Wikifunctions key label|getLabel|zkey=Z10000K1|lang_code={{CURRENTCONTENTLANGUAGE}}}}”.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Select “{{#invoke:Wikifunctions label|getLabel|zid=Z18|lang={{CURRENTCONTENTLANGUAGE}}}}”.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Select the name of the second argument, “{{#invoke:Wikifunctions key label|getLabel|zkey=Z10000K2|lang_code={{CURRENTCONTENTLANGUAGE}}}}”.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">In the inner field “{{#invoke:Wikifunctions key label|getLabel|zkey=Z10000K2|lang_code={{CURRENTCONTENTLANGUAGE}}}}” (not the outer one), type in a single space character.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">If you already have Tests (and it’s a good habit to create the tests first), click on the circular arrow in the {{int|wikilambda-function-test-cases-table-header}} panel and see if your implementation passes the tests.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Now add the second argument. For the outer “{{#invoke:Wikifunctions key label|getLabel|zkey=Z10000K2|lang_code={{CURRENTCONTENTLANGUAGE}}}}” argument, select the ... next to it.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Select “{{#invoke:Wikifunctions label|getLabel|zid=Z18|lang={{CURRENTCONTENTLANGUAGE}}}}”.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Select the name of the second argument, “{{#invoke:Wikifunctions key label|getLabel|zkey=Z10000K2|lang_code={{CURRENTCONTENTLANGUAGE}}}}”.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">If you already have Tests (and it’s a good habit to create the tests first), click on the circular arrow in the {{int|wikilambda-function-test-cases-table-header}} panel and see if your implementation passes the tests.</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
If the composition passes the test, you can publish it.
</div>
[[Category:How to create implementations| {{#translation:}}]]
kmva7l69iwv32jcbfelcudql325yzoj
199982
199980
2025-07-03T09:27:53Z
Winston Sung
2672
199982
wikitext
text/x-wiki
<languages/>
本页面,超越了在{{ll|Wikifunctions:Introduction}}中的概述,提供了更加细节性的指导去创建函式的实现。
<span id="Code_in_Python"></span>
== Python-{A|zh-cn:代码;zh-tw:程式碼}- ==
在本小節中,我们会有一个例子去说明如何用python代码创建一个实现。我们要创建的函数的实现,它的输入数据包含两个字符串,返回的结果是将两个字符串中间加入一个空格。我們假設該函式的ZID是Z11057。
<div lang="en" dir="ltr" class="mw-content-ltr">
This description is only valid in case the implementation uses Strings and Booleans as the input or output types. In case another type is used, please consult the documentation on the given type on how to transform the values so they can be used in Python. We plan to make this easier in the future.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
The implementation is defined using the ZID of the function. So are the arguments of the function. So in the case of the function Z11057 with its two arguments, the first line should look like this:
</div>
<syntaxhighlight lang="python3">
def Z11057(Z11057K1, Z11057K2):
</syntaxhighlight>
<div lang="en" dir="ltr" class="mw-content-ltr">
Note: We plan to hide the ZIDs in the future.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
The first line should be automatically created for you, once you have selected Python as the programming language. You only need to add the function body.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Below that, you write the code in Python as normal. It is just that the variables look a bit funny. In this case it could be, for example:
</div>
<syntaxhighlight lang="python3">
return Z11057K1 + " " + Z11057K2
</syntaxhighlight>
<div lang="en" dir="ltr" class="mw-content-ltr">
Since this is Python, do not forget to indent this line.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
If you already have Tests (and it’s a good habit to create the tests first), click on the circular arrow in the {{int|wikilambda-function-test-cases-table-header}} panel and see if your implementation passes the tests.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Remember that the runtime has no state. Don’t assume values for global or static variables. If you have further questions about what you can and cannot do in Python, ask on [[Wikifunctions:Python implementations]].
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Code in JavaScript ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
In this section, we give a concrete example on how to create an Implementation in the form of Code in JavaScript. Say we want to create an implementation for a Function which combines two input strings by putting a space between them, returning the result of that. Let’s assume the ZID of that function is Z11057.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
This description is only valid in case the implementation uses Strings and Booleans as the input or output types. In case another type is used, please consult the documentation on the given type on how to transform the values so they can be used in JavaScript. We plan to make this easier in the future.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
The implementation is defined using the ZID of the function. So are the arguments of the function. So in the case of the function Z11057 with its two arguments, the first line should look like this:
</div>
<syntaxhighlight lang="javascript">
function Z11057( Z11057K1, Z11057K2 ) {
</syntaxhighlight>
<div lang="en" dir="ltr" class="mw-content-ltr">
Note: We plan to hide the ZIDs in the future.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
The implementation’s code must end with a line closing the opening curly brace from the first line.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
This should be automatically created for you, once you have selected JavaScript as the programming language. You only need to add the function body.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Inside the braces, you write the code in JavaScript as normal. It is just that the variables look a bit funny. In this case, it could be, for example:
</div>
<syntaxhighlight lang="javascript">
return Z11057K1 + " " + Z11057K2;
</syntaxhighlight>
<div lang="en" dir="ltr" class="mw-content-ltr">
If you already have Tests (and it’s a good habit to create the tests first), click on the circular arrow in the {{int|wikilambda-function-test-cases-table-header}} panel and see if your implementation passes the tests.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Remember that the runtime has no state. Don’t assume values for global or static variables. If you have further questions about what you can and cannot do in JavaScript, ask on [[Wikifunctions:JavaScript implementations]].
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Composition ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
In this section, we give a concrete example on how to create an Implementation in the form of a composition. Say we want to create an implementation for a Function which combines two input strings by putting a space between them, returning the result of that. Let’s assume the ZID of that function is Z11057.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
It is usually a good idea to first think about how to combine existing functions in order to create the desired output. Sometimes this might be trivial, and you can just go ahead with composing functions, but in many cases it is worthwhile to note the desired composition down. The Wikifunctions composition interface is not very good yet at editing compositions, so it is a good idea to first figure out what exactly you want to create.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
For example, for the given Function, we could use the existing [[Z10000|''Function to concatenate strings'']]. That Function takes two strings and makes one string out of them. But we need to add a space in between. So we first concatenate a space to the end of the first string, and then concatenate the second string to the result of that first concatenation. So our composition could be noted down like this:
</div>
<syntaxhighlight lang="text">
concatenate(concatenate(Z11057K1, " "), Z11057K2).
</syntaxhighlight>
<div lang="en" dir="ltr" class="mw-content-ltr">
In order to create this:
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Start adding an implementation.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Under “{{#invoke:Wikifunctions label|getLabel|zid=Z14|lang={{CURRENTCONTENTLANGUAGE}}}}”, select “{{#invoke:Wikifunctions key label|getLabel|zkey=Z14K2|lang_code={{CURRENTCONTENTLANGUAGE}}}}”.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click the red “{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}” button.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Enter the name of the Function, i.e. “{{#invoke:Wikifunctions label|getLabel|zid=Z10000|lang={{CURRENTCONTENTLANGUAGE}}}}” and select that when it appears in the autocompletion list.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">The first argument of that outer concatenation is a function call itself. In order to do that, click on the ... next to “{{#invoke:Wikifunctions key label|getLabel|zkey=Z10000K1|lang_code={{CURRENTCONTENTLANGUAGE}}}}”.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">You will see four options. Select “{{#invoke:Wikifunctions label|getLabel|zid=Z7|lang={{CURRENTCONTENTLANGUAGE}}}}”.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Now, select the inner Function. That is, again, “{{#invoke:Wikifunctions label|getLabel|zid=Z10000|lang={{CURRENTCONTENTLANGUAGE}}}}”.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">The argument “{{#invoke:Wikifunctions key label|getLabel|zkey=Z10000K1|lang_code={{CURRENTCONTENTLANGUAGE}}}}” of the inner “{{#invoke:Wikifunctions label|getLabel|zid=Z10000|lang={{CURRENTCONTENTLANGUAGE}}}}” needs to be our first argument. So click again on the ... next to “{{#invoke:Wikifunctions key label|getLabel|zkey=Z10000K1|lang_code={{CURRENTCONTENTLANGUAGE}}}}”.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Select “{{#invoke:Wikifunctions label|getLabel|zid=Z18|lang={{CURRENTCONTENTLANGUAGE}}}}”.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Select the name of the second argument, “{{#invoke:Wikifunctions key label|getLabel|zkey=Z10000K2|lang_code={{CURRENTCONTENTLANGUAGE}}}}”.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">In the inner field “{{#invoke:Wikifunctions key label|getLabel|zkey=Z10000K2|lang_code={{CURRENTCONTENTLANGUAGE}}}}” (not the outer one), type in a single space character.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">If you already have Tests (and it’s a good habit to create the tests first), click on the circular arrow in the {{int|wikilambda-function-test-cases-table-header}} panel and see if your implementation passes the tests.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Now add the second argument. For the outer “{{#invoke:Wikifunctions key label|getLabel|zkey=Z10000K2|lang_code={{CURRENTCONTENTLANGUAGE}}}}” argument, select the ... next to it.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Select “{{#invoke:Wikifunctions label|getLabel|zid=Z18|lang={{CURRENTCONTENTLANGUAGE}}}}”.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Select the name of the second argument, “{{#invoke:Wikifunctions key label|getLabel|zkey=Z10000K2|lang_code={{CURRENTCONTENTLANGUAGE}}}}”.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">If you already have Tests (and it’s a good habit to create the tests first), click on the circular arrow in the {{int|wikilambda-function-test-cases-table-header}} panel and see if your implementation passes the tests.</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
If the composition passes the test, you can publish it.
</div>
[[Category:How to create implementations| {{#translation:}}]]
hkd3pt23v36was05pt5lma7pdmctpi2
199984
199982
2025-07-03T09:28:00Z
Winston Sung
2672
199984
wikitext
text/x-wiki
<languages/>
本页面,超越了在{{ll|Wikifunctions:Introduction}}中的概述,提供了更加细节性的指导去创建函式的实现。
<span id="Code_in_Python"></span>
== Python代码 ==
在本小節中,我们会有一个例子去说明如何用python代码创建一个实现。我们要创建的函数的实现,它的输入数据包含两个字符串,返回的结果是将两个字符串中间加入一个空格。我們假設該函式的ZID是Z11057。
<div lang="en" dir="ltr" class="mw-content-ltr">
This description is only valid in case the implementation uses Strings and Booleans as the input or output types. In case another type is used, please consult the documentation on the given type on how to transform the values so they can be used in Python. We plan to make this easier in the future.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
The implementation is defined using the ZID of the function. So are the arguments of the function. So in the case of the function Z11057 with its two arguments, the first line should look like this:
</div>
<syntaxhighlight lang="python3">
def Z11057(Z11057K1, Z11057K2):
</syntaxhighlight>
<div lang="en" dir="ltr" class="mw-content-ltr">
Note: We plan to hide the ZIDs in the future.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
The first line should be automatically created for you, once you have selected Python as the programming language. You only need to add the function body.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Below that, you write the code in Python as normal. It is just that the variables look a bit funny. In this case it could be, for example:
</div>
<syntaxhighlight lang="python3">
return Z11057K1 + " " + Z11057K2
</syntaxhighlight>
<div lang="en" dir="ltr" class="mw-content-ltr">
Since this is Python, do not forget to indent this line.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
If you already have Tests (and it’s a good habit to create the tests first), click on the circular arrow in the {{int|wikilambda-function-test-cases-table-header}} panel and see if your implementation passes the tests.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Remember that the runtime has no state. Don’t assume values for global or static variables. If you have further questions about what you can and cannot do in Python, ask on [[Wikifunctions:Python implementations]].
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Code in JavaScript ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
In this section, we give a concrete example on how to create an Implementation in the form of Code in JavaScript. Say we want to create an implementation for a Function which combines two input strings by putting a space between them, returning the result of that. Let’s assume the ZID of that function is Z11057.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
This description is only valid in case the implementation uses Strings and Booleans as the input or output types. In case another type is used, please consult the documentation on the given type on how to transform the values so they can be used in JavaScript. We plan to make this easier in the future.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
The implementation is defined using the ZID of the function. So are the arguments of the function. So in the case of the function Z11057 with its two arguments, the first line should look like this:
</div>
<syntaxhighlight lang="javascript">
function Z11057( Z11057K1, Z11057K2 ) {
</syntaxhighlight>
<div lang="en" dir="ltr" class="mw-content-ltr">
Note: We plan to hide the ZIDs in the future.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
The implementation’s code must end with a line closing the opening curly brace from the first line.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
This should be automatically created for you, once you have selected JavaScript as the programming language. You only need to add the function body.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Inside the braces, you write the code in JavaScript as normal. It is just that the variables look a bit funny. In this case, it could be, for example:
</div>
<syntaxhighlight lang="javascript">
return Z11057K1 + " " + Z11057K2;
</syntaxhighlight>
<div lang="en" dir="ltr" class="mw-content-ltr">
If you already have Tests (and it’s a good habit to create the tests first), click on the circular arrow in the {{int|wikilambda-function-test-cases-table-header}} panel and see if your implementation passes the tests.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Remember that the runtime has no state. Don’t assume values for global or static variables. If you have further questions about what you can and cannot do in JavaScript, ask on [[Wikifunctions:JavaScript implementations]].
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Composition ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
In this section, we give a concrete example on how to create an Implementation in the form of a composition. Say we want to create an implementation for a Function which combines two input strings by putting a space between them, returning the result of that. Let’s assume the ZID of that function is Z11057.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
It is usually a good idea to first think about how to combine existing functions in order to create the desired output. Sometimes this might be trivial, and you can just go ahead with composing functions, but in many cases it is worthwhile to note the desired composition down. The Wikifunctions composition interface is not very good yet at editing compositions, so it is a good idea to first figure out what exactly you want to create.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
For example, for the given Function, we could use the existing [[Z10000|''Function to concatenate strings'']]. That Function takes two strings and makes one string out of them. But we need to add a space in between. So we first concatenate a space to the end of the first string, and then concatenate the second string to the result of that first concatenation. So our composition could be noted down like this:
</div>
<syntaxhighlight lang="text">
concatenate(concatenate(Z11057K1, " "), Z11057K2).
</syntaxhighlight>
<div lang="en" dir="ltr" class="mw-content-ltr">
In order to create this:
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Start adding an implementation.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Under “{{#invoke:Wikifunctions label|getLabel|zid=Z14|lang={{CURRENTCONTENTLANGUAGE}}}}”, select “{{#invoke:Wikifunctions key label|getLabel|zkey=Z14K2|lang_code={{CURRENTCONTENTLANGUAGE}}}}”.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click the red “{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}” button.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Enter the name of the Function, i.e. “{{#invoke:Wikifunctions label|getLabel|zid=Z10000|lang={{CURRENTCONTENTLANGUAGE}}}}” and select that when it appears in the autocompletion list.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">The first argument of that outer concatenation is a function call itself. In order to do that, click on the ... next to “{{#invoke:Wikifunctions key label|getLabel|zkey=Z10000K1|lang_code={{CURRENTCONTENTLANGUAGE}}}}”.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">You will see four options. Select “{{#invoke:Wikifunctions label|getLabel|zid=Z7|lang={{CURRENTCONTENTLANGUAGE}}}}”.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Now, select the inner Function. That is, again, “{{#invoke:Wikifunctions label|getLabel|zid=Z10000|lang={{CURRENTCONTENTLANGUAGE}}}}”.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">The argument “{{#invoke:Wikifunctions key label|getLabel|zkey=Z10000K1|lang_code={{CURRENTCONTENTLANGUAGE}}}}” of the inner “{{#invoke:Wikifunctions label|getLabel|zid=Z10000|lang={{CURRENTCONTENTLANGUAGE}}}}” needs to be our first argument. So click again on the ... next to “{{#invoke:Wikifunctions key label|getLabel|zkey=Z10000K1|lang_code={{CURRENTCONTENTLANGUAGE}}}}”.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Select “{{#invoke:Wikifunctions label|getLabel|zid=Z18|lang={{CURRENTCONTENTLANGUAGE}}}}”.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Select the name of the second argument, “{{#invoke:Wikifunctions key label|getLabel|zkey=Z10000K2|lang_code={{CURRENTCONTENTLANGUAGE}}}}”.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">In the inner field “{{#invoke:Wikifunctions key label|getLabel|zkey=Z10000K2|lang_code={{CURRENTCONTENTLANGUAGE}}}}” (not the outer one), type in a single space character.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">If you already have Tests (and it’s a good habit to create the tests first), click on the circular arrow in the {{int|wikilambda-function-test-cases-table-header}} panel and see if your implementation passes the tests.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Now add the second argument. For the outer “{{#invoke:Wikifunctions key label|getLabel|zkey=Z10000K2|lang_code={{CURRENTCONTENTLANGUAGE}}}}” argument, select the ... next to it.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Select “{{#invoke:Wikifunctions label|getLabel|zid=Z18|lang={{CURRENTCONTENTLANGUAGE}}}}”.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Select the name of the second argument, “{{#invoke:Wikifunctions key label|getLabel|zkey=Z10000K2|lang_code={{CURRENTCONTENTLANGUAGE}}}}”.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">If you already have Tests (and it’s a good habit to create the tests first), click on the circular arrow in the {{int|wikilambda-function-test-cases-table-header}} panel and see if your implementation passes the tests.</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
If the composition passes the test, you can publish it.
</div>
[[Category:How to create implementations| {{#translation:}}]]
h21l6cpeolgkyhwzltsz25dcrlo5jys
199986
199984
2025-07-03T09:28:13Z
Winston Sung
2672
199986
wikitext
text/x-wiki
<languages/>
本页面,超越了在{{ll|Wikifunctions:Introduction}}中的概述,提供了更加细节性的指导去创建函式的实现。
<span id="Code_in_Python"></span>
== Python代码 ==
在本小節中,我们会有一个例子去说明如何用Python代码创建实现。我们要创建的函数的实现,它的输入数据包含两个字符串,返回的结果是将两个字符串中间加入一个空格。我們假設該函式的ZID是Z11057。
<div lang="en" dir="ltr" class="mw-content-ltr">
This description is only valid in case the implementation uses Strings and Booleans as the input or output types. In case another type is used, please consult the documentation on the given type on how to transform the values so they can be used in Python. We plan to make this easier in the future.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
The implementation is defined using the ZID of the function. So are the arguments of the function. So in the case of the function Z11057 with its two arguments, the first line should look like this:
</div>
<syntaxhighlight lang="python3">
def Z11057(Z11057K1, Z11057K2):
</syntaxhighlight>
<div lang="en" dir="ltr" class="mw-content-ltr">
Note: We plan to hide the ZIDs in the future.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
The first line should be automatically created for you, once you have selected Python as the programming language. You only need to add the function body.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Below that, you write the code in Python as normal. It is just that the variables look a bit funny. In this case it could be, for example:
</div>
<syntaxhighlight lang="python3">
return Z11057K1 + " " + Z11057K2
</syntaxhighlight>
<div lang="en" dir="ltr" class="mw-content-ltr">
Since this is Python, do not forget to indent this line.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
If you already have Tests (and it’s a good habit to create the tests first), click on the circular arrow in the {{int|wikilambda-function-test-cases-table-header}} panel and see if your implementation passes the tests.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Remember that the runtime has no state. Don’t assume values for global or static variables. If you have further questions about what you can and cannot do in Python, ask on [[Wikifunctions:Python implementations]].
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Code in JavaScript ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
In this section, we give a concrete example on how to create an Implementation in the form of Code in JavaScript. Say we want to create an implementation for a Function which combines two input strings by putting a space between them, returning the result of that. Let’s assume the ZID of that function is Z11057.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
This description is only valid in case the implementation uses Strings and Booleans as the input or output types. In case another type is used, please consult the documentation on the given type on how to transform the values so they can be used in JavaScript. We plan to make this easier in the future.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
The implementation is defined using the ZID of the function. So are the arguments of the function. So in the case of the function Z11057 with its two arguments, the first line should look like this:
</div>
<syntaxhighlight lang="javascript">
function Z11057( Z11057K1, Z11057K2 ) {
</syntaxhighlight>
<div lang="en" dir="ltr" class="mw-content-ltr">
Note: We plan to hide the ZIDs in the future.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
The implementation’s code must end with a line closing the opening curly brace from the first line.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
This should be automatically created for you, once you have selected JavaScript as the programming language. You only need to add the function body.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Inside the braces, you write the code in JavaScript as normal. It is just that the variables look a bit funny. In this case, it could be, for example:
</div>
<syntaxhighlight lang="javascript">
return Z11057K1 + " " + Z11057K2;
</syntaxhighlight>
<div lang="en" dir="ltr" class="mw-content-ltr">
If you already have Tests (and it’s a good habit to create the tests first), click on the circular arrow in the {{int|wikilambda-function-test-cases-table-header}} panel and see if your implementation passes the tests.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Remember that the runtime has no state. Don’t assume values for global or static variables. If you have further questions about what you can and cannot do in JavaScript, ask on [[Wikifunctions:JavaScript implementations]].
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Composition ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
In this section, we give a concrete example on how to create an Implementation in the form of a composition. Say we want to create an implementation for a Function which combines two input strings by putting a space between them, returning the result of that. Let’s assume the ZID of that function is Z11057.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
It is usually a good idea to first think about how to combine existing functions in order to create the desired output. Sometimes this might be trivial, and you can just go ahead with composing functions, but in many cases it is worthwhile to note the desired composition down. The Wikifunctions composition interface is not very good yet at editing compositions, so it is a good idea to first figure out what exactly you want to create.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
For example, for the given Function, we could use the existing [[Z10000|''Function to concatenate strings'']]. That Function takes two strings and makes one string out of them. But we need to add a space in between. So we first concatenate a space to the end of the first string, and then concatenate the second string to the result of that first concatenation. So our composition could be noted down like this:
</div>
<syntaxhighlight lang="text">
concatenate(concatenate(Z11057K1, " "), Z11057K2).
</syntaxhighlight>
<div lang="en" dir="ltr" class="mw-content-ltr">
In order to create this:
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Start adding an implementation.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Under “{{#invoke:Wikifunctions label|getLabel|zid=Z14|lang={{CURRENTCONTENTLANGUAGE}}}}”, select “{{#invoke:Wikifunctions key label|getLabel|zkey=Z14K2|lang_code={{CURRENTCONTENTLANGUAGE}}}}”.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click the red “{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}” button.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Enter the name of the Function, i.e. “{{#invoke:Wikifunctions label|getLabel|zid=Z10000|lang={{CURRENTCONTENTLANGUAGE}}}}” and select that when it appears in the autocompletion list.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">The first argument of that outer concatenation is a function call itself. In order to do that, click on the ... next to “{{#invoke:Wikifunctions key label|getLabel|zkey=Z10000K1|lang_code={{CURRENTCONTENTLANGUAGE}}}}”.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">You will see four options. Select “{{#invoke:Wikifunctions label|getLabel|zid=Z7|lang={{CURRENTCONTENTLANGUAGE}}}}”.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Now, select the inner Function. That is, again, “{{#invoke:Wikifunctions label|getLabel|zid=Z10000|lang={{CURRENTCONTENTLANGUAGE}}}}”.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">The argument “{{#invoke:Wikifunctions key label|getLabel|zkey=Z10000K1|lang_code={{CURRENTCONTENTLANGUAGE}}}}” of the inner “{{#invoke:Wikifunctions label|getLabel|zid=Z10000|lang={{CURRENTCONTENTLANGUAGE}}}}” needs to be our first argument. So click again on the ... next to “{{#invoke:Wikifunctions key label|getLabel|zkey=Z10000K1|lang_code={{CURRENTCONTENTLANGUAGE}}}}”.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Select “{{#invoke:Wikifunctions label|getLabel|zid=Z18|lang={{CURRENTCONTENTLANGUAGE}}}}”.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Select the name of the second argument, “{{#invoke:Wikifunctions key label|getLabel|zkey=Z10000K2|lang_code={{CURRENTCONTENTLANGUAGE}}}}”.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">In the inner field “{{#invoke:Wikifunctions key label|getLabel|zkey=Z10000K2|lang_code={{CURRENTCONTENTLANGUAGE}}}}” (not the outer one), type in a single space character.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">If you already have Tests (and it’s a good habit to create the tests first), click on the circular arrow in the {{int|wikilambda-function-test-cases-table-header}} panel and see if your implementation passes the tests.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Now add the second argument. For the outer “{{#invoke:Wikifunctions key label|getLabel|zkey=Z10000K2|lang_code={{CURRENTCONTENTLANGUAGE}}}}” argument, select the ... next to it.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Select “{{#invoke:Wikifunctions label|getLabel|zid=Z18|lang={{CURRENTCONTENTLANGUAGE}}}}”.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Select the name of the second argument, “{{#invoke:Wikifunctions key label|getLabel|zkey=Z10000K2|lang_code={{CURRENTCONTENTLANGUAGE}}}}”.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">If you already have Tests (and it’s a good habit to create the tests first), click on the circular arrow in the {{int|wikilambda-function-test-cases-table-header}} panel and see if your implementation passes the tests.</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
If the composition passes the test, you can publish it.
</div>
[[Category:How to create implementations| {{#translation:}}]]
2nbixjwk0e21dzkismoper6x7c7xbcj
199988
199986
2025-07-03T09:28:31Z
Winston Sung
2672
Created page with "== JavaScript代码 =="
199988
wikitext
text/x-wiki
<languages/>
本页面,超越了在{{ll|Wikifunctions:Introduction}}中的概述,提供了更加细节性的指导去创建函式的实现。
<span id="Code_in_Python"></span>
== Python代码 ==
在本小節中,我们会有一个例子去说明如何用Python代码创建实现。我们要创建的函数的实现,它的输入数据包含两个字符串,返回的结果是将两个字符串中间加入一个空格。我們假設該函式的ZID是Z11057。
<div lang="en" dir="ltr" class="mw-content-ltr">
This description is only valid in case the implementation uses Strings and Booleans as the input or output types. In case another type is used, please consult the documentation on the given type on how to transform the values so they can be used in Python. We plan to make this easier in the future.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
The implementation is defined using the ZID of the function. So are the arguments of the function. So in the case of the function Z11057 with its two arguments, the first line should look like this:
</div>
<syntaxhighlight lang="python3">
def Z11057(Z11057K1, Z11057K2):
</syntaxhighlight>
<div lang="en" dir="ltr" class="mw-content-ltr">
Note: We plan to hide the ZIDs in the future.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
The first line should be automatically created for you, once you have selected Python as the programming language. You only need to add the function body.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Below that, you write the code in Python as normal. It is just that the variables look a bit funny. In this case it could be, for example:
</div>
<syntaxhighlight lang="python3">
return Z11057K1 + " " + Z11057K2
</syntaxhighlight>
<div lang="en" dir="ltr" class="mw-content-ltr">
Since this is Python, do not forget to indent this line.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
If you already have Tests (and it’s a good habit to create the tests first), click on the circular arrow in the {{int|wikilambda-function-test-cases-table-header}} panel and see if your implementation passes the tests.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Remember that the runtime has no state. Don’t assume values for global or static variables. If you have further questions about what you can and cannot do in Python, ask on [[Wikifunctions:Python implementations]].
</div>
<span id="Code_in_JavaScript"></span>
== JavaScript代码 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
In this section, we give a concrete example on how to create an Implementation in the form of Code in JavaScript. Say we want to create an implementation for a Function which combines two input strings by putting a space between them, returning the result of that. Let’s assume the ZID of that function is Z11057.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
This description is only valid in case the implementation uses Strings and Booleans as the input or output types. In case another type is used, please consult the documentation on the given type on how to transform the values so they can be used in JavaScript. We plan to make this easier in the future.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
The implementation is defined using the ZID of the function. So are the arguments of the function. So in the case of the function Z11057 with its two arguments, the first line should look like this:
</div>
<syntaxhighlight lang="javascript">
function Z11057( Z11057K1, Z11057K2 ) {
</syntaxhighlight>
<div lang="en" dir="ltr" class="mw-content-ltr">
Note: We plan to hide the ZIDs in the future.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
The implementation’s code must end with a line closing the opening curly brace from the first line.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
This should be automatically created for you, once you have selected JavaScript as the programming language. You only need to add the function body.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Inside the braces, you write the code in JavaScript as normal. It is just that the variables look a bit funny. In this case, it could be, for example:
</div>
<syntaxhighlight lang="javascript">
return Z11057K1 + " " + Z11057K2;
</syntaxhighlight>
<div lang="en" dir="ltr" class="mw-content-ltr">
If you already have Tests (and it’s a good habit to create the tests first), click on the circular arrow in the {{int|wikilambda-function-test-cases-table-header}} panel and see if your implementation passes the tests.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Remember that the runtime has no state. Don’t assume values for global or static variables. If you have further questions about what you can and cannot do in JavaScript, ask on [[Wikifunctions:JavaScript implementations]].
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Composition ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
In this section, we give a concrete example on how to create an Implementation in the form of a composition. Say we want to create an implementation for a Function which combines two input strings by putting a space between them, returning the result of that. Let’s assume the ZID of that function is Z11057.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
It is usually a good idea to first think about how to combine existing functions in order to create the desired output. Sometimes this might be trivial, and you can just go ahead with composing functions, but in many cases it is worthwhile to note the desired composition down. The Wikifunctions composition interface is not very good yet at editing compositions, so it is a good idea to first figure out what exactly you want to create.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
For example, for the given Function, we could use the existing [[Z10000|''Function to concatenate strings'']]. That Function takes two strings and makes one string out of them. But we need to add a space in between. So we first concatenate a space to the end of the first string, and then concatenate the second string to the result of that first concatenation. So our composition could be noted down like this:
</div>
<syntaxhighlight lang="text">
concatenate(concatenate(Z11057K1, " "), Z11057K2).
</syntaxhighlight>
<div lang="en" dir="ltr" class="mw-content-ltr">
In order to create this:
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Start adding an implementation.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Under “{{#invoke:Wikifunctions label|getLabel|zid=Z14|lang={{CURRENTCONTENTLANGUAGE}}}}”, select “{{#invoke:Wikifunctions key label|getLabel|zkey=Z14K2|lang_code={{CURRENTCONTENTLANGUAGE}}}}”.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click the red “{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}” button.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Enter the name of the Function, i.e. “{{#invoke:Wikifunctions label|getLabel|zid=Z10000|lang={{CURRENTCONTENTLANGUAGE}}}}” and select that when it appears in the autocompletion list.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">The first argument of that outer concatenation is a function call itself. In order to do that, click on the ... next to “{{#invoke:Wikifunctions key label|getLabel|zkey=Z10000K1|lang_code={{CURRENTCONTENTLANGUAGE}}}}”.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">You will see four options. Select “{{#invoke:Wikifunctions label|getLabel|zid=Z7|lang={{CURRENTCONTENTLANGUAGE}}}}”.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Now, select the inner Function. That is, again, “{{#invoke:Wikifunctions label|getLabel|zid=Z10000|lang={{CURRENTCONTENTLANGUAGE}}}}”.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">The argument “{{#invoke:Wikifunctions key label|getLabel|zkey=Z10000K1|lang_code={{CURRENTCONTENTLANGUAGE}}}}” of the inner “{{#invoke:Wikifunctions label|getLabel|zid=Z10000|lang={{CURRENTCONTENTLANGUAGE}}}}” needs to be our first argument. So click again on the ... next to “{{#invoke:Wikifunctions key label|getLabel|zkey=Z10000K1|lang_code={{CURRENTCONTENTLANGUAGE}}}}”.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Select “{{#invoke:Wikifunctions label|getLabel|zid=Z18|lang={{CURRENTCONTENTLANGUAGE}}}}”.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Select the name of the second argument, “{{#invoke:Wikifunctions key label|getLabel|zkey=Z10000K2|lang_code={{CURRENTCONTENTLANGUAGE}}}}”.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">In the inner field “{{#invoke:Wikifunctions key label|getLabel|zkey=Z10000K2|lang_code={{CURRENTCONTENTLANGUAGE}}}}” (not the outer one), type in a single space character.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">If you already have Tests (and it’s a good habit to create the tests first), click on the circular arrow in the {{int|wikilambda-function-test-cases-table-header}} panel and see if your implementation passes the tests.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Now add the second argument. For the outer “{{#invoke:Wikifunctions key label|getLabel|zkey=Z10000K2|lang_code={{CURRENTCONTENTLANGUAGE}}}}” argument, select the ... next to it.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Select “{{#invoke:Wikifunctions label|getLabel|zid=Z18|lang={{CURRENTCONTENTLANGUAGE}}}}”.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Select the name of the second argument, “{{#invoke:Wikifunctions key label|getLabel|zkey=Z10000K2|lang_code={{CURRENTCONTENTLANGUAGE}}}}”.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">If you already have Tests (and it’s a good habit to create the tests first), click on the circular arrow in the {{int|wikilambda-function-test-cases-table-header}} panel and see if your implementation passes the tests.</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
If the composition passes the test, you can publish it.
</div>
[[Category:How to create implementations| {{#translation:}}]]
qv51niyk7fnagf3jwt2ck0i9ry4y0ku
Translations:Wikifunctions:How to create implementations/12/zh-hans
1198
60328
199987
2025-07-03T09:28:31Z
Winston Sung
2672
Created page with "== JavaScript代码 =="
199987
wikitext
text/x-wiki
== JavaScript代码 ==
ops83egalsblucjwwzsj3o5a5o66fb7
Translations:Wikifunctions:How to create implementations/Page display title/zh-hant
1198
60329
199989
2025-07-03T09:29:02Z
Winston Sung
2672
Created page with "維基函式庫:如何建立函式實作"
199989
wikitext
text/x-wiki
維基函式庫:如何建立函式實作
n116wzo7t5ra6ehzunadq5p2h1dv9t0
Wikifunctions:How to create implementations/zh-hant
4
60330
199990
2025-07-03T09:29:03Z
Winston Sung
2672
Created page with "維基函式庫:如何建立函式實作"
199990
wikitext
text/x-wiki
<languages/>
<div lang="en" dir="ltr" class="mw-content-ltr">
This page provides a more detailed guide to '''creating implementations''', beyond the overview at {{ll|Wikifunctions:Introduction}}.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Code in Python ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
In this section, we give a concrete example on how to create an Implementation in the form of Code in Python. Say we want to create an implementation for a Function which combines two input strings by putting a space between them, returning the result of that. Let’s assume the ZID of that function is Z11057.
</div>
本說明僅在實作使用Strings和Booleans作為輸入或輸出類型時有效。如果使用的是其他類型,請參閱指定類型的說明文件,瞭解如何轉換值使其能在Python中使用。我們計劃在未來讓這變得更容易。
實作是使用函式的ZID來定義的,函式的參數也是如此。因此,下列以包含兩個參數的函數Z11057為例,第一行應該是這樣的:
<syntaxhighlight lang="python3">
def Z11057(Z11057K1, Z11057K2):
</syntaxhighlight>
<div lang="en" dir="ltr" class="mw-content-ltr">
Note: We plan to hide the ZIDs in the future.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
The first line should be automatically created for you, once you have selected Python as the programming language. You only need to add the function body.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Below that, you write the code in Python as normal. It is just that the variables look a bit funny. In this case it could be, for example:
</div>
<syntaxhighlight lang="python3">
return Z11057K1 + " " + Z11057K2
</syntaxhighlight>
<div lang="en" dir="ltr" class="mw-content-ltr">
Since this is Python, do not forget to indent this line.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
If you already have Tests (and it’s a good habit to create the tests first), click on the circular arrow in the {{int|wikilambda-function-test-cases-table-header}} panel and see if your implementation passes the tests.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Remember that the runtime has no state. Don’t assume values for global or static variables. If you have further questions about what you can and cannot do in Python, ask on [[Wikifunctions:Python implementations]].
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Code in JavaScript ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
In this section, we give a concrete example on how to create an Implementation in the form of Code in JavaScript. Say we want to create an implementation for a Function which combines two input strings by putting a space between them, returning the result of that. Let’s assume the ZID of that function is Z11057.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
This description is only valid in case the implementation uses Strings and Booleans as the input or output types. In case another type is used, please consult the documentation on the given type on how to transform the values so they can be used in JavaScript. We plan to make this easier in the future.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
The implementation is defined using the ZID of the function. So are the arguments of the function. So in the case of the function Z11057 with its two arguments, the first line should look like this:
</div>
<syntaxhighlight lang="javascript">
function Z11057( Z11057K1, Z11057K2 ) {
</syntaxhighlight>
<div lang="en" dir="ltr" class="mw-content-ltr">
Note: We plan to hide the ZIDs in the future.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
The implementation’s code must end with a line closing the opening curly brace from the first line.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
This should be automatically created for you, once you have selected JavaScript as the programming language. You only need to add the function body.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Inside the braces, you write the code in JavaScript as normal. It is just that the variables look a bit funny. In this case, it could be, for example:
</div>
<syntaxhighlight lang="javascript">
return Z11057K1 + " " + Z11057K2;
</syntaxhighlight>
<div lang="en" dir="ltr" class="mw-content-ltr">
If you already have Tests (and it’s a good habit to create the tests first), click on the circular arrow in the {{int|wikilambda-function-test-cases-table-header}} panel and see if your implementation passes the tests.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Remember that the runtime has no state. Don’t assume values for global or static variables. If you have further questions about what you can and cannot do in JavaScript, ask on [[Wikifunctions:JavaScript implementations]].
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Composition ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
In this section, we give a concrete example on how to create an Implementation in the form of a composition. Say we want to create an implementation for a Function which combines two input strings by putting a space between them, returning the result of that. Let’s assume the ZID of that function is Z11057.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
It is usually a good idea to first think about how to combine existing functions in order to create the desired output. Sometimes this might be trivial, and you can just go ahead with composing functions, but in many cases it is worthwhile to note the desired composition down. The Wikifunctions composition interface is not very good yet at editing compositions, so it is a good idea to first figure out what exactly you want to create.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
For example, for the given Function, we could use the existing [[Z10000|''Function to concatenate strings'']]. That Function takes two strings and makes one string out of them. But we need to add a space in between. So we first concatenate a space to the end of the first string, and then concatenate the second string to the result of that first concatenation. So our composition could be noted down like this:
</div>
<syntaxhighlight lang="text">
concatenate(concatenate(Z11057K1, " "), Z11057K2).
</syntaxhighlight>
<div lang="en" dir="ltr" class="mw-content-ltr">
In order to create this:
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Start adding an implementation.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Under “{{#invoke:Wikifunctions label|getLabel|zid=Z14|lang={{CURRENTCONTENTLANGUAGE}}}}”, select “{{#invoke:Wikifunctions key label|getLabel|zkey=Z14K2|lang_code={{CURRENTCONTENTLANGUAGE}}}}”.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click the red “{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}” button.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Enter the name of the Function, i.e. “{{#invoke:Wikifunctions label|getLabel|zid=Z10000|lang={{CURRENTCONTENTLANGUAGE}}}}” and select that when it appears in the autocompletion list.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">The first argument of that outer concatenation is a function call itself. In order to do that, click on the ... next to “{{#invoke:Wikifunctions key label|getLabel|zkey=Z10000K1|lang_code={{CURRENTCONTENTLANGUAGE}}}}”.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">You will see four options. Select “{{#invoke:Wikifunctions label|getLabel|zid=Z7|lang={{CURRENTCONTENTLANGUAGE}}}}”.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Now, select the inner Function. That is, again, “{{#invoke:Wikifunctions label|getLabel|zid=Z10000|lang={{CURRENTCONTENTLANGUAGE}}}}”.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">The argument “{{#invoke:Wikifunctions key label|getLabel|zkey=Z10000K1|lang_code={{CURRENTCONTENTLANGUAGE}}}}” of the inner “{{#invoke:Wikifunctions label|getLabel|zid=Z10000|lang={{CURRENTCONTENTLANGUAGE}}}}” needs to be our first argument. So click again on the ... next to “{{#invoke:Wikifunctions key label|getLabel|zkey=Z10000K1|lang_code={{CURRENTCONTENTLANGUAGE}}}}”.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Select “{{#invoke:Wikifunctions label|getLabel|zid=Z18|lang={{CURRENTCONTENTLANGUAGE}}}}”.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Select the name of the second argument, “{{#invoke:Wikifunctions key label|getLabel|zkey=Z10000K2|lang_code={{CURRENTCONTENTLANGUAGE}}}}”.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">In the inner field “{{#invoke:Wikifunctions key label|getLabel|zkey=Z10000K2|lang_code={{CURRENTCONTENTLANGUAGE}}}}” (not the outer one), type in a single space character.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">If you already have Tests (and it’s a good habit to create the tests first), click on the circular arrow in the {{int|wikilambda-function-test-cases-table-header}} panel and see if your implementation passes the tests.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Now add the second argument. For the outer “{{#invoke:Wikifunctions key label|getLabel|zkey=Z10000K2|lang_code={{CURRENTCONTENTLANGUAGE}}}}” argument, select the ... next to it.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Select “{{#invoke:Wikifunctions label|getLabel|zid=Z18|lang={{CURRENTCONTENTLANGUAGE}}}}”.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Select the name of the second argument, “{{#invoke:Wikifunctions key label|getLabel|zkey=Z10000K2|lang_code={{CURRENTCONTENTLANGUAGE}}}}”.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">If you already have Tests (and it’s a good habit to create the tests first), click on the circular arrow in the {{int|wikilambda-function-test-cases-table-header}} panel and see if your implementation passes the tests.</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
If the composition passes the test, you can publish it.
</div>
[[Category:How to create implementations| {{#translation:}}]]
kzm8tw2t716735iwia6vkpwupwnvbeb
199993
199990
2025-07-03T09:29:39Z
Winston Sung
2672
Created page with "== Python程式碼 =="
199993
wikitext
text/x-wiki
<languages/>
<div lang="en" dir="ltr" class="mw-content-ltr">
This page provides a more detailed guide to '''creating implementations''', beyond the overview at {{ll|Wikifunctions:Introduction}}.
</div>
<span id="Code_in_Python"></span>
== Python程式碼 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
In this section, we give a concrete example on how to create an Implementation in the form of Code in Python. Say we want to create an implementation for a Function which combines two input strings by putting a space between them, returning the result of that. Let’s assume the ZID of that function is Z11057.
</div>
本說明僅在實作使用Strings和Booleans作為輸入或輸出類型時有效。如果使用的是其他類型,請參閱指定類型的說明文件,瞭解如何轉換值使其能在Python中使用。我們計劃在未來讓這變得更容易。
實作是使用函式的ZID來定義的,函式的參數也是如此。因此,下列以包含兩個參數的函數Z11057為例,第一行應該是這樣的:
<syntaxhighlight lang="python3">
def Z11057(Z11057K1, Z11057K2):
</syntaxhighlight>
<div lang="en" dir="ltr" class="mw-content-ltr">
Note: We plan to hide the ZIDs in the future.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
The first line should be automatically created for you, once you have selected Python as the programming language. You only need to add the function body.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Below that, you write the code in Python as normal. It is just that the variables look a bit funny. In this case it could be, for example:
</div>
<syntaxhighlight lang="python3">
return Z11057K1 + " " + Z11057K2
</syntaxhighlight>
<div lang="en" dir="ltr" class="mw-content-ltr">
Since this is Python, do not forget to indent this line.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
If you already have Tests (and it’s a good habit to create the tests first), click on the circular arrow in the {{int|wikilambda-function-test-cases-table-header}} panel and see if your implementation passes the tests.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Remember that the runtime has no state. Don’t assume values for global or static variables. If you have further questions about what you can and cannot do in Python, ask on [[Wikifunctions:Python implementations]].
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Code in JavaScript ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
In this section, we give a concrete example on how to create an Implementation in the form of Code in JavaScript. Say we want to create an implementation for a Function which combines two input strings by putting a space between them, returning the result of that. Let’s assume the ZID of that function is Z11057.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
This description is only valid in case the implementation uses Strings and Booleans as the input or output types. In case another type is used, please consult the documentation on the given type on how to transform the values so they can be used in JavaScript. We plan to make this easier in the future.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
The implementation is defined using the ZID of the function. So are the arguments of the function. So in the case of the function Z11057 with its two arguments, the first line should look like this:
</div>
<syntaxhighlight lang="javascript">
function Z11057( Z11057K1, Z11057K2 ) {
</syntaxhighlight>
<div lang="en" dir="ltr" class="mw-content-ltr">
Note: We plan to hide the ZIDs in the future.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
The implementation’s code must end with a line closing the opening curly brace from the first line.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
This should be automatically created for you, once you have selected JavaScript as the programming language. You only need to add the function body.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Inside the braces, you write the code in JavaScript as normal. It is just that the variables look a bit funny. In this case, it could be, for example:
</div>
<syntaxhighlight lang="javascript">
return Z11057K1 + " " + Z11057K2;
</syntaxhighlight>
<div lang="en" dir="ltr" class="mw-content-ltr">
If you already have Tests (and it’s a good habit to create the tests first), click on the circular arrow in the {{int|wikilambda-function-test-cases-table-header}} panel and see if your implementation passes the tests.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Remember that the runtime has no state. Don’t assume values for global or static variables. If you have further questions about what you can and cannot do in JavaScript, ask on [[Wikifunctions:JavaScript implementations]].
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Composition ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
In this section, we give a concrete example on how to create an Implementation in the form of a composition. Say we want to create an implementation for a Function which combines two input strings by putting a space between them, returning the result of that. Let’s assume the ZID of that function is Z11057.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
It is usually a good idea to first think about how to combine existing functions in order to create the desired output. Sometimes this might be trivial, and you can just go ahead with composing functions, but in many cases it is worthwhile to note the desired composition down. The Wikifunctions composition interface is not very good yet at editing compositions, so it is a good idea to first figure out what exactly you want to create.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
For example, for the given Function, we could use the existing [[Z10000|''Function to concatenate strings'']]. That Function takes two strings and makes one string out of them. But we need to add a space in between. So we first concatenate a space to the end of the first string, and then concatenate the second string to the result of that first concatenation. So our composition could be noted down like this:
</div>
<syntaxhighlight lang="text">
concatenate(concatenate(Z11057K1, " "), Z11057K2).
</syntaxhighlight>
<div lang="en" dir="ltr" class="mw-content-ltr">
In order to create this:
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Start adding an implementation.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Under “{{#invoke:Wikifunctions label|getLabel|zid=Z14|lang={{CURRENTCONTENTLANGUAGE}}}}”, select “{{#invoke:Wikifunctions key label|getLabel|zkey=Z14K2|lang_code={{CURRENTCONTENTLANGUAGE}}}}”.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click the red “{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}” button.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Enter the name of the Function, i.e. “{{#invoke:Wikifunctions label|getLabel|zid=Z10000|lang={{CURRENTCONTENTLANGUAGE}}}}” and select that when it appears in the autocompletion list.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">The first argument of that outer concatenation is a function call itself. In order to do that, click on the ... next to “{{#invoke:Wikifunctions key label|getLabel|zkey=Z10000K1|lang_code={{CURRENTCONTENTLANGUAGE}}}}”.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">You will see four options. Select “{{#invoke:Wikifunctions label|getLabel|zid=Z7|lang={{CURRENTCONTENTLANGUAGE}}}}”.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Now, select the inner Function. That is, again, “{{#invoke:Wikifunctions label|getLabel|zid=Z10000|lang={{CURRENTCONTENTLANGUAGE}}}}”.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">The argument “{{#invoke:Wikifunctions key label|getLabel|zkey=Z10000K1|lang_code={{CURRENTCONTENTLANGUAGE}}}}” of the inner “{{#invoke:Wikifunctions label|getLabel|zid=Z10000|lang={{CURRENTCONTENTLANGUAGE}}}}” needs to be our first argument. So click again on the ... next to “{{#invoke:Wikifunctions key label|getLabel|zkey=Z10000K1|lang_code={{CURRENTCONTENTLANGUAGE}}}}”.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Select “{{#invoke:Wikifunctions label|getLabel|zid=Z18|lang={{CURRENTCONTENTLANGUAGE}}}}”.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Select the name of the second argument, “{{#invoke:Wikifunctions key label|getLabel|zkey=Z10000K2|lang_code={{CURRENTCONTENTLANGUAGE}}}}”.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">In the inner field “{{#invoke:Wikifunctions key label|getLabel|zkey=Z10000K2|lang_code={{CURRENTCONTENTLANGUAGE}}}}” (not the outer one), type in a single space character.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">If you already have Tests (and it’s a good habit to create the tests first), click on the circular arrow in the {{int|wikilambda-function-test-cases-table-header}} panel and see if your implementation passes the tests.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Now add the second argument. For the outer “{{#invoke:Wikifunctions key label|getLabel|zkey=Z10000K2|lang_code={{CURRENTCONTENTLANGUAGE}}}}” argument, select the ... next to it.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Select “{{#invoke:Wikifunctions label|getLabel|zid=Z18|lang={{CURRENTCONTENTLANGUAGE}}}}”.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Select the name of the second argument, “{{#invoke:Wikifunctions key label|getLabel|zkey=Z10000K2|lang_code={{CURRENTCONTENTLANGUAGE}}}}”.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">If you already have Tests (and it’s a good habit to create the tests first), click on the circular arrow in the {{int|wikilambda-function-test-cases-table-header}} panel and see if your implementation passes the tests.</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
If the composition passes the test, you can publish it.
</div>
[[Category:How to create implementations| {{#translation:}}]]
993hehyjxoe1b8dqmxx8xzc6us0b6k4
199995
199993
2025-07-03T09:29:48Z
Winston Sung
2672
Created page with "== JavaScript程式碼 =="
199995
wikitext
text/x-wiki
<languages/>
<div lang="en" dir="ltr" class="mw-content-ltr">
This page provides a more detailed guide to '''creating implementations''', beyond the overview at {{ll|Wikifunctions:Introduction}}.
</div>
<span id="Code_in_Python"></span>
== Python程式碼 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
In this section, we give a concrete example on how to create an Implementation in the form of Code in Python. Say we want to create an implementation for a Function which combines two input strings by putting a space between them, returning the result of that. Let’s assume the ZID of that function is Z11057.
</div>
本說明僅在實作使用Strings和Booleans作為輸入或輸出類型時有效。如果使用的是其他類型,請參閱指定類型的說明文件,瞭解如何轉換值使其能在Python中使用。我們計劃在未來讓這變得更容易。
實作是使用函式的ZID來定義的,函式的參數也是如此。因此,下列以包含兩個參數的函數Z11057為例,第一行應該是這樣的:
<syntaxhighlight lang="python3">
def Z11057(Z11057K1, Z11057K2):
</syntaxhighlight>
<div lang="en" dir="ltr" class="mw-content-ltr">
Note: We plan to hide the ZIDs in the future.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
The first line should be automatically created for you, once you have selected Python as the programming language. You only need to add the function body.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Below that, you write the code in Python as normal. It is just that the variables look a bit funny. In this case it could be, for example:
</div>
<syntaxhighlight lang="python3">
return Z11057K1 + " " + Z11057K2
</syntaxhighlight>
<div lang="en" dir="ltr" class="mw-content-ltr">
Since this is Python, do not forget to indent this line.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
If you already have Tests (and it’s a good habit to create the tests first), click on the circular arrow in the {{int|wikilambda-function-test-cases-table-header}} panel and see if your implementation passes the tests.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Remember that the runtime has no state. Don’t assume values for global or static variables. If you have further questions about what you can and cannot do in Python, ask on [[Wikifunctions:Python implementations]].
</div>
<span id="Code_in_JavaScript"></span>
== JavaScript程式碼 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
In this section, we give a concrete example on how to create an Implementation in the form of Code in JavaScript. Say we want to create an implementation for a Function which combines two input strings by putting a space between them, returning the result of that. Let’s assume the ZID of that function is Z11057.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
This description is only valid in case the implementation uses Strings and Booleans as the input or output types. In case another type is used, please consult the documentation on the given type on how to transform the values so they can be used in JavaScript. We plan to make this easier in the future.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
The implementation is defined using the ZID of the function. So are the arguments of the function. So in the case of the function Z11057 with its two arguments, the first line should look like this:
</div>
<syntaxhighlight lang="javascript">
function Z11057( Z11057K1, Z11057K2 ) {
</syntaxhighlight>
<div lang="en" dir="ltr" class="mw-content-ltr">
Note: We plan to hide the ZIDs in the future.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
The implementation’s code must end with a line closing the opening curly brace from the first line.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
This should be automatically created for you, once you have selected JavaScript as the programming language. You only need to add the function body.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Inside the braces, you write the code in JavaScript as normal. It is just that the variables look a bit funny. In this case, it could be, for example:
</div>
<syntaxhighlight lang="javascript">
return Z11057K1 + " " + Z11057K2;
</syntaxhighlight>
<div lang="en" dir="ltr" class="mw-content-ltr">
If you already have Tests (and it’s a good habit to create the tests first), click on the circular arrow in the {{int|wikilambda-function-test-cases-table-header}} panel and see if your implementation passes the tests.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Remember that the runtime has no state. Don’t assume values for global or static variables. If you have further questions about what you can and cannot do in JavaScript, ask on [[Wikifunctions:JavaScript implementations]].
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Composition ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
In this section, we give a concrete example on how to create an Implementation in the form of a composition. Say we want to create an implementation for a Function which combines two input strings by putting a space between them, returning the result of that. Let’s assume the ZID of that function is Z11057.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
It is usually a good idea to first think about how to combine existing functions in order to create the desired output. Sometimes this might be trivial, and you can just go ahead with composing functions, but in many cases it is worthwhile to note the desired composition down. The Wikifunctions composition interface is not very good yet at editing compositions, so it is a good idea to first figure out what exactly you want to create.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
For example, for the given Function, we could use the existing [[Z10000|''Function to concatenate strings'']]. That Function takes two strings and makes one string out of them. But we need to add a space in between. So we first concatenate a space to the end of the first string, and then concatenate the second string to the result of that first concatenation. So our composition could be noted down like this:
</div>
<syntaxhighlight lang="text">
concatenate(concatenate(Z11057K1, " "), Z11057K2).
</syntaxhighlight>
<div lang="en" dir="ltr" class="mw-content-ltr">
In order to create this:
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Start adding an implementation.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Under “{{#invoke:Wikifunctions label|getLabel|zid=Z14|lang={{CURRENTCONTENTLANGUAGE}}}}”, select “{{#invoke:Wikifunctions key label|getLabel|zkey=Z14K2|lang_code={{CURRENTCONTENTLANGUAGE}}}}”.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click the red “{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}” button.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Enter the name of the Function, i.e. “{{#invoke:Wikifunctions label|getLabel|zid=Z10000|lang={{CURRENTCONTENTLANGUAGE}}}}” and select that when it appears in the autocompletion list.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">The first argument of that outer concatenation is a function call itself. In order to do that, click on the ... next to “{{#invoke:Wikifunctions key label|getLabel|zkey=Z10000K1|lang_code={{CURRENTCONTENTLANGUAGE}}}}”.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">You will see four options. Select “{{#invoke:Wikifunctions label|getLabel|zid=Z7|lang={{CURRENTCONTENTLANGUAGE}}}}”.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Now, select the inner Function. That is, again, “{{#invoke:Wikifunctions label|getLabel|zid=Z10000|lang={{CURRENTCONTENTLANGUAGE}}}}”.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">The argument “{{#invoke:Wikifunctions key label|getLabel|zkey=Z10000K1|lang_code={{CURRENTCONTENTLANGUAGE}}}}” of the inner “{{#invoke:Wikifunctions label|getLabel|zid=Z10000|lang={{CURRENTCONTENTLANGUAGE}}}}” needs to be our first argument. So click again on the ... next to “{{#invoke:Wikifunctions key label|getLabel|zkey=Z10000K1|lang_code={{CURRENTCONTENTLANGUAGE}}}}”.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Select “{{#invoke:Wikifunctions label|getLabel|zid=Z18|lang={{CURRENTCONTENTLANGUAGE}}}}”.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Select the name of the second argument, “{{#invoke:Wikifunctions key label|getLabel|zkey=Z10000K2|lang_code={{CURRENTCONTENTLANGUAGE}}}}”.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">In the inner field “{{#invoke:Wikifunctions key label|getLabel|zkey=Z10000K2|lang_code={{CURRENTCONTENTLANGUAGE}}}}” (not the outer one), type in a single space character.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">If you already have Tests (and it’s a good habit to create the tests first), click on the circular arrow in the {{int|wikilambda-function-test-cases-table-header}} panel and see if your implementation passes the tests.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Now add the second argument. For the outer “{{#invoke:Wikifunctions key label|getLabel|zkey=Z10000K2|lang_code={{CURRENTCONTENTLANGUAGE}}}}” argument, select the ... next to it.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Select “{{#invoke:Wikifunctions label|getLabel|zid=Z18|lang={{CURRENTCONTENTLANGUAGE}}}}”.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Select the name of the second argument, “{{#invoke:Wikifunctions key label|getLabel|zkey=Z10000K2|lang_code={{CURRENTCONTENTLANGUAGE}}}}”.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">If you already have Tests (and it’s a good habit to create the tests first), click on the circular arrow in the {{int|wikilambda-function-test-cases-table-header}} panel and see if your implementation passes the tests.</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
If the composition passes the test, you can publish it.
</div>
[[Category:How to create implementations| {{#translation:}}]]
5mujt0c04pkl3tvnrg41k2a5s40ifek
199997
199995
2025-07-03T09:30:15Z
Winston Sung
2672
199997
wikitext
text/x-wiki
<languages/>
<div lang="en" dir="ltr" class="mw-content-ltr">
This page provides a more detailed guide to '''creating implementations''', beyond the overview at {{ll|Wikifunctions:Introduction}}.
</div>
<span id="Code_in_Python"></span>
== Python程式碼 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
In this section, we give a concrete example on how to create an Implementation in the form of Code in Python. Say we want to create an implementation for a Function which combines two input strings by putting a space between them, returning the result of that. Let’s assume the ZID of that function is Z11057.
</div>
本說明僅在實作使用String和Boolean作為輸入或輸出類型時有效。如果使用的是其他類型,請參閱指定類型的說明文件,瞭解如何轉換值使其能在Python中使用。我們計劃在未來讓這變得更容易。
實作是使用函式的ZID來定義的,函式的參數也是如此。因此,下列以包含兩個參數的函數Z11057為例,第一行應該是這樣的:
<syntaxhighlight lang="python3">
def Z11057(Z11057K1, Z11057K2):
</syntaxhighlight>
<div lang="en" dir="ltr" class="mw-content-ltr">
Note: We plan to hide the ZIDs in the future.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
The first line should be automatically created for you, once you have selected Python as the programming language. You only need to add the function body.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Below that, you write the code in Python as normal. It is just that the variables look a bit funny. In this case it could be, for example:
</div>
<syntaxhighlight lang="python3">
return Z11057K1 + " " + Z11057K2
</syntaxhighlight>
<div lang="en" dir="ltr" class="mw-content-ltr">
Since this is Python, do not forget to indent this line.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
If you already have Tests (and it’s a good habit to create the tests first), click on the circular arrow in the {{int|wikilambda-function-test-cases-table-header}} panel and see if your implementation passes the tests.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Remember that the runtime has no state. Don’t assume values for global or static variables. If you have further questions about what you can and cannot do in Python, ask on [[Wikifunctions:Python implementations]].
</div>
<span id="Code_in_JavaScript"></span>
== JavaScript程式碼 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
In this section, we give a concrete example on how to create an Implementation in the form of Code in JavaScript. Say we want to create an implementation for a Function which combines two input strings by putting a space between them, returning the result of that. Let’s assume the ZID of that function is Z11057.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
This description is only valid in case the implementation uses Strings and Booleans as the input or output types. In case another type is used, please consult the documentation on the given type on how to transform the values so they can be used in JavaScript. We plan to make this easier in the future.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
The implementation is defined using the ZID of the function. So are the arguments of the function. So in the case of the function Z11057 with its two arguments, the first line should look like this:
</div>
<syntaxhighlight lang="javascript">
function Z11057( Z11057K1, Z11057K2 ) {
</syntaxhighlight>
<div lang="en" dir="ltr" class="mw-content-ltr">
Note: We plan to hide the ZIDs in the future.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
The implementation’s code must end with a line closing the opening curly brace from the first line.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
This should be automatically created for you, once you have selected JavaScript as the programming language. You only need to add the function body.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Inside the braces, you write the code in JavaScript as normal. It is just that the variables look a bit funny. In this case, it could be, for example:
</div>
<syntaxhighlight lang="javascript">
return Z11057K1 + " " + Z11057K2;
</syntaxhighlight>
<div lang="en" dir="ltr" class="mw-content-ltr">
If you already have Tests (and it’s a good habit to create the tests first), click on the circular arrow in the {{int|wikilambda-function-test-cases-table-header}} panel and see if your implementation passes the tests.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Remember that the runtime has no state. Don’t assume values for global or static variables. If you have further questions about what you can and cannot do in JavaScript, ask on [[Wikifunctions:JavaScript implementations]].
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Composition ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
In this section, we give a concrete example on how to create an Implementation in the form of a composition. Say we want to create an implementation for a Function which combines two input strings by putting a space between them, returning the result of that. Let’s assume the ZID of that function is Z11057.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
It is usually a good idea to first think about how to combine existing functions in order to create the desired output. Sometimes this might be trivial, and you can just go ahead with composing functions, but in many cases it is worthwhile to note the desired composition down. The Wikifunctions composition interface is not very good yet at editing compositions, so it is a good idea to first figure out what exactly you want to create.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
For example, for the given Function, we could use the existing [[Z10000|''Function to concatenate strings'']]. That Function takes two strings and makes one string out of them. But we need to add a space in between. So we first concatenate a space to the end of the first string, and then concatenate the second string to the result of that first concatenation. So our composition could be noted down like this:
</div>
<syntaxhighlight lang="text">
concatenate(concatenate(Z11057K1, " "), Z11057K2).
</syntaxhighlight>
<div lang="en" dir="ltr" class="mw-content-ltr">
In order to create this:
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Start adding an implementation.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Under “{{#invoke:Wikifunctions label|getLabel|zid=Z14|lang={{CURRENTCONTENTLANGUAGE}}}}”, select “{{#invoke:Wikifunctions key label|getLabel|zkey=Z14K2|lang_code={{CURRENTCONTENTLANGUAGE}}}}”.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click the red “{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}” button.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Enter the name of the Function, i.e. “{{#invoke:Wikifunctions label|getLabel|zid=Z10000|lang={{CURRENTCONTENTLANGUAGE}}}}” and select that when it appears in the autocompletion list.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">The first argument of that outer concatenation is a function call itself. In order to do that, click on the ... next to “{{#invoke:Wikifunctions key label|getLabel|zkey=Z10000K1|lang_code={{CURRENTCONTENTLANGUAGE}}}}”.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">You will see four options. Select “{{#invoke:Wikifunctions label|getLabel|zid=Z7|lang={{CURRENTCONTENTLANGUAGE}}}}”.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Now, select the inner Function. That is, again, “{{#invoke:Wikifunctions label|getLabel|zid=Z10000|lang={{CURRENTCONTENTLANGUAGE}}}}”.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">The argument “{{#invoke:Wikifunctions key label|getLabel|zkey=Z10000K1|lang_code={{CURRENTCONTENTLANGUAGE}}}}” of the inner “{{#invoke:Wikifunctions label|getLabel|zid=Z10000|lang={{CURRENTCONTENTLANGUAGE}}}}” needs to be our first argument. So click again on the ... next to “{{#invoke:Wikifunctions key label|getLabel|zkey=Z10000K1|lang_code={{CURRENTCONTENTLANGUAGE}}}}”.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Select “{{#invoke:Wikifunctions label|getLabel|zid=Z18|lang={{CURRENTCONTENTLANGUAGE}}}}”.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Select the name of the second argument, “{{#invoke:Wikifunctions key label|getLabel|zkey=Z10000K2|lang_code={{CURRENTCONTENTLANGUAGE}}}}”.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">In the inner field “{{#invoke:Wikifunctions key label|getLabel|zkey=Z10000K2|lang_code={{CURRENTCONTENTLANGUAGE}}}}” (not the outer one), type in a single space character.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">If you already have Tests (and it’s a good habit to create the tests first), click on the circular arrow in the {{int|wikilambda-function-test-cases-table-header}} panel and see if your implementation passes the tests.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Now add the second argument. For the outer “{{#invoke:Wikifunctions key label|getLabel|zkey=Z10000K2|lang_code={{CURRENTCONTENTLANGUAGE}}}}” argument, select the ... next to it.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Select “{{#invoke:Wikifunctions label|getLabel|zid=Z18|lang={{CURRENTCONTENTLANGUAGE}}}}”.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Select the name of the second argument, “{{#invoke:Wikifunctions key label|getLabel|zkey=Z10000K2|lang_code={{CURRENTCONTENTLANGUAGE}}}}”.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">If you already have Tests (and it’s a good habit to create the tests first), click on the circular arrow in the {{int|wikilambda-function-test-cases-table-header}} panel and see if your implementation passes the tests.</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
If the composition passes the test, you can publish it.
</div>
[[Category:How to create implementations| {{#translation:}}]]
k61luv324mj8wyk0zzfzfrss1acchz7
Translations:Wikifunctions:How to create implementations/2/zh-hant
1198
60331
199992
2025-07-03T09:29:38Z
Winston Sung
2672
Created page with "== Python程式碼 =="
199992
wikitext
text/x-wiki
== Python程式碼 ==
loz0em86jrvtpz5w4p32xc5w1ruz09y
Translations:Wikifunctions:How to create implementations/12/zh-hant
1198
60332
199994
2025-07-03T09:29:48Z
Winston Sung
2672
Created page with "== JavaScript程式碼 =="
199994
wikitext
text/x-wiki
== JavaScript程式碼 ==
rwi9fbv4k842ycqxdrepiw5d7dj8xc4
Wikifunctions:Introduction/zh-hans
4
60333
199998
2025-07-03T09:31:11Z
Winston Sung
2672
Created page with "<languages/> -{A|zh:函数;zh-hans:函数;zh-hant:函式;}-是基于所提供数据进行计算、并回答相关问题的-{zh-cn:计算机;zh-hk:電腦;zh-tw:電腦;zh-mo:電腦;zh-my:电脑;zh-sg:电脑}-指令。例如,当你询问语音助手一公里相当于多少英里时,语音助手可以-{zh-cn:调用;zh-tw:呼叫}-一个函数以计算相应结果。 Wikifunctions是一个开源项目,任何人都能在其中创建各种函数,并分享给其他人使..."
199998
wikitext
text/x-wiki
<languages/>
-{A|zh:函数;zh-hans:函数;zh-hant:函式;}-是基于所提供数据进行计算、并回答相关问题的-{zh-cn:计算机;zh-hk:電腦;zh-tw:電腦;zh-mo:電腦;zh-my:电脑;zh-sg:电脑}-指令。例如,当你询问语音助手一公里相当于多少英里时,语音助手可以-{zh-cn:调用;zh-tw:呼叫}-一个函数以计算相应结果。
Wikifunctions是一个开源项目,任何人都能在其中创建各种函数,并分享给其他人使用、重组、测试和学习。
请跟随以下操作指南尝试Wikifunctions的基本功能。我们期待你的[[Special:MyLanguage/Wikifunctions:Report a technical problem|反馈]]与贡献!
<span id="Evaluate_a_Function"></span>
== 运行函数 ==
你可以在Wikifunctions上尝试由社区贡献的函数。先从我们的''[[Wikifunctions:Main Page#Functions to try out|函数库]]''中挑选一个函数,然后输入相应的参数值以查看输出结果。
'''步骤:'''
# 在[[Wikifunctions:Main Page|首页]]上挑选一个函数。
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 瀏覽某個函数的页面。
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 填入输入参数。
#:[[File:Wikifunctions function page with evaluation input filled.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 运行该函数。
#:[[File:Wikifunctions function page with evaluation result.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
'''结果:'''
# 输出结果是否如你所预期?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<span id="Create_a_Function"></span>
== 创建函数 ==
你能够在Wikifunctions中加入自己的函数!你可以自行创建一个新函数的-{zh-cn:实现;zh-tw:實作}-,同时分享给其他人使用。你可以使用你所偏好的-{zh-cn:编程;zh-tw:程式設計}-语言编写新函数。
'''步骤:'''
# 前往[{{MediaWiki:Createfunction-url}} 函数创建页面]。
#:[[File:Wikifunctions create a new function page 01.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 给你的函数取一个名字。
#:[[File:Wikifunctions create a new function page with name filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 定义该函数的输入参数:
## 添加、删除输入参数。
## 定义每一个输入参数的-{zh-cn:类型;zh-tw:型別}-。
## 为每一个输入参数命名。
#:[[File:Wikifunctions create a new function page with input type and label filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 定义该函数的输出参数。
#:[[File:Wikifunctions create a new function page with output type filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 你还可以选择性地为以下字段提供多语言的值:
#* 函数名称、函数别名、输入参数标签。
#:[[File:Wikifunctions create a new function page with labels in another language.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 发佈你的函数。
#:[[File:Wikifunctions create a new function page publish button.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
'''结果:'''
# 函数是否已發佈成功?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<span id="Edit_a_Function"></span>
== 编辑函数 ==
你可以通过编辑Wikifunctions的函数库来做出贡献,包括添加或编辑函数的多语言信息,扩展和修改函数的定义。
'''步骤:'''
# 在[[Wikifunctions:Main Page|首页]]上挑选一个函数。
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 瀏覽函数的页面。
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 点击“编辑-{zh-hans:源代码;zh-hant:原始碼}-”以查看该函数的编辑选项。
#:[[File:Edit function that converts a roman numeral to its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 你可以选择性地修改以下-{zh-cn:字段;zh-tw:欄位}-的值:
## 函数名称;
## 函数别名;
## 输入参数列表
### 添加、删除输入参数
### 编辑输入参数的-{zh-cn:类型;zh-tw:型別}-
### 编辑输入参数标签
## 输出参数-{zh-cn:类型;zh-tw:型別}-。
# 你还可以选择性地为以下-{zh-cn:字段;zh-tw:欄位}-提供多语言的值:
## 函数名称;
## 函数别名;
## 输入参数标签。
# 发布你所做的更新。
'''结果:'''
# 你的编辑是否已發佈成功?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<span id="Create_tests"></span>
== 创建测试 ==
你可以在Wikifunctions中为你的函数实现创建测试,以确保它们能正常工作。
'''步骤:'''
# 在[[Wikifunctions:Main Page|首页]]上挑选一个函数,或者也可以使用你在之前流程中所创建的函数。
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 瀏覽函数的页面。
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 点击那個測試表上的“+”。
#:[[File:Details view of a function that turns a roman numeral into its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 在“-{zh-cn:调用;zh-tw:呼叫}-”下点击“{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}”。
## 在“函数”-{zh-cn:字段;zh-tw:欄位}-下,输入你想要测试的函数的名称,并在其出现时选择该函数。
## 在相应的-{zh-cn:字段;zh-tw:欄位}-中添加输入参数的值。
#:[[File:Add call to function test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 在“结果验证”下点击“{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}”。在“函数”-{zh-cn:字段;zh-tw:欄位}-下,输入你想要用来检查结果的函数的名称。
#* 对于输出类型为字符串的函数,应选择“-{zh-cn:字符串;zh-tw:字串}-相等”。而对于输出类型为-{zh-cn:布尔;zh-tw:布林}-值的函数,应选择“-{zh-cn:布尔;zh-tw:布林}-值相等”。
#* 在相应的-{zh-cn:字段;zh-tw:欄位}-(“第二个-{zh-cn:字符串;zh-tw:字串}-”或“第二个-{zh-cn:布尔;zh-tw:布林}-值”)中添加预期值。
#:[[File:Create a new test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 发布你所做的更新。
'''结果:'''
# 测试是否已發佈成功?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<span id="Create_an_implementation"></span>
== 创建-{zh-cn:实现;zh-tw:實作}- ==
函数通过具体的-{zh-cn:实现;zh-tw:實作}-而得以发挥作用。你可以在Wikifunctions创建的-{zh-cn:实现;zh-tw:實作}-中运行或者重新组合函数。下一部分将会介绍如何[[#Connect an Implementation or Test to a Function|将你的-{zh-cn:实现;zh-tw:實作}-与函数连接起来]]。在创建-{zh-cn:实现;zh-tw:實作}-之前,我们建议先[[#Create tests|创建并连接一个测试]]。有关创建-{zh-cn:实现;zh-tw:實作}-的更详细指南可以参考{{ll|Wikifunctions:How to create implementations}}。
'''步骤:'''
# 在[[Wikifunctions:Main Page|首页]]上挑选一个函数。
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 瀏覽函数的页面。
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 点击那個-{zh-cn:实现;zh-tw:實作}-表上的“+”。
# 你可以通过以下两种方式之一创建新的-{zh-cn:实现;zh-tw:實作}-:
## '''-{zh-cn:代码;zh-tw:程式碼}-'''
##* 选择所需的-{zh-cn:编程;zh-tw:程式設計}-语言来编写函数-{zh-cn:代码;zh-tw:程式碼}-。
##* 输入你的-{zh-cn:代码;zh-tw:程式碼}-。
## '''组合''':
##* 使用现有函数创建一个组合。
#:[[File:Create a new implementation on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 在运行测试(点击{{int|wikilambda-function-test-cases-table-header}}框右侧的圆形箭头)后,发佈你的更新。
'''结果:'''
# -{zh-cn:实现;zh-tw:實作}-是否已發佈成功?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<span id="Connect_an_Implementation_or_Test_to_a_Function"></span>
== 将-{zh-cn:实现;zh-tw:實作}-或测试与函数相连接 ==
:''注意:此功能仅限于 [[Special:MyLanguage/Wikifunctions:Functioneers|函数员]]使用。''
将测试或实现与你的函数相连接,使其得以发挥作用。
'''步骤:'''
# 在[[Wikifunctions:Main Page|首页]]上挑选一个函数。
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 瀏覽函数的页面。
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 选择一个或多个测试,或者选择一个或多个-{zh-cn:实现;zh-tw:實作}-。
#:[[File:A function detail page with with inactive implementations and tests selected.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 点击“{{int|wikilambda-function-details-table-approve}}”按钮。
'''结果:'''
# {{int|wikilambda-function-tester-state-approved}}或{{int|wikilambda-function-tester-state-deactivated}}是否更改成功?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<div lang="en" dir="ltr" class="mw-content-ltr">
== Insert a Function in a Wikipedia article ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Now it is time to insert a function in a Wikipedia article and see the magic unfold.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Open the article you want to add a function to.</span>
#:[[File:How to insert a function 01.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Go to the edit tab and open visual editor.</span>
#:[[File:How to insert a function 02.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on the “Insert” menu at the top of the visual editor. Scroll down and click on “Function”. A dialog box will open.</span>
#:[[File:How to insert a function 03.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Search for the function you want to insert and click on it. Or, try one of the Suggested Functions below the search bar.</span>
#:[[File:How to insert a function 04.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Enter the necessary inputs and click on the “Insert” button at the top right to insert the function into the article.</span>
#:[[File:How to insert a function 05.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">You can now see the output of your function in the article. You can proceed to publish the changes.</span>
#:[[File:How to insert a function 06.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">If you want to edit the function, click on it. A tooltip will appear with the function name and description. Click on the “Edit” button.</span>
#:[[File:How to insert a function 07.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Then you can make changes to the inputs and click on “Apply changes” when you are done editing.</span>
#:[[File:How to insert a function 08.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the output what you expected?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
[[Category:Introduction| {{#translation:}}]]
sb0kv01odp4ank8ql1cxgl7wkasrls4
200000
199998
2025-07-03T09:31:39Z
Winston Sung
2672
200000
wikitext
text/x-wiki
<languages/>
函数是基于所提供数据进行计算、并回答相关问题的计算机指令。例如,当你询问语音助手一公里相当于多少英里时,语音助手可以调用一个函数以计算相应结果。
Wikifunctions是一个开源项目,任何人都能在其中创建各种函数,并分享给其他人使用、重组、测试和学习。
请跟随以下操作指南尝试Wikifunctions的基本功能。我们期待你的[[Special:MyLanguage/Wikifunctions:Report a technical problem|反馈]]与贡献!
<span id="Evaluate_a_Function"></span>
== 运行函数 ==
你可以在Wikifunctions上尝试由社区贡献的函数。先从我们的''[[Wikifunctions:Main Page#Functions to try out|函数库]]''中挑选一个函数,然后输入相应的参数值以查看输出结果。
'''步骤:'''
# 在[[Wikifunctions:Main Page|首页]]上挑选一个函数。
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 瀏覽某個函数的页面。
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 填入输入参数。
#:[[File:Wikifunctions function page with evaluation input filled.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 运行该函数。
#:[[File:Wikifunctions function page with evaluation result.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
'''结果:'''
# 输出结果是否如你所预期?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<span id="Create_a_Function"></span>
== 创建函数 ==
你能够在Wikifunctions中加入自己的函数!你可以自行创建一个新函数的-{zh-cn:实现;zh-tw:實作}-,同时分享给其他人使用。你可以使用你所偏好的-{zh-cn:编程;zh-tw:程式設計}-语言编写新函数。
'''步骤:'''
# 前往[{{MediaWiki:Createfunction-url}} 函数创建页面]。
#:[[File:Wikifunctions create a new function page 01.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 给你的函数取一个名字。
#:[[File:Wikifunctions create a new function page with name filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 定义该函数的输入参数:
## 添加、删除输入参数。
## 定义每一个输入参数的-{zh-cn:类型;zh-tw:型別}-。
## 为每一个输入参数命名。
#:[[File:Wikifunctions create a new function page with input type and label filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 定义该函数的输出参数。
#:[[File:Wikifunctions create a new function page with output type filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 你还可以选择性地为以下字段提供多语言的值:
#* 函数名称、函数别名、输入参数标签。
#:[[File:Wikifunctions create a new function page with labels in another language.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 发佈你的函数。
#:[[File:Wikifunctions create a new function page publish button.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
'''结果:'''
# 函数是否已發佈成功?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<span id="Edit_a_Function"></span>
== 编辑函数 ==
你可以通过编辑Wikifunctions的函数库来做出贡献,包括添加或编辑函数的多语言信息,扩展和修改函数的定义。
'''步骤:'''
# 在[[Wikifunctions:Main Page|首页]]上挑选一个函数。
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 瀏覽函数的页面。
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 点击“编辑-{zh-hans:源代码;zh-hant:原始碼}-”以查看该函数的编辑选项。
#:[[File:Edit function that converts a roman numeral to its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 你可以选择性地修改以下-{zh-cn:字段;zh-tw:欄位}-的值:
## 函数名称;
## 函数别名;
## 输入参数列表
### 添加、删除输入参数
### 编辑输入参数的-{zh-cn:类型;zh-tw:型別}-
### 编辑输入参数标签
## 输出参数-{zh-cn:类型;zh-tw:型別}-。
# 你还可以选择性地为以下-{zh-cn:字段;zh-tw:欄位}-提供多语言的值:
## 函数名称;
## 函数别名;
## 输入参数标签。
# 发布你所做的更新。
'''结果:'''
# 你的编辑是否已發佈成功?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<span id="Create_tests"></span>
== 创建测试 ==
你可以在Wikifunctions中为你的函数实现创建测试,以确保它们能正常工作。
'''步骤:'''
# 在[[Wikifunctions:Main Page|首页]]上挑选一个函数,或者也可以使用你在之前流程中所创建的函数。
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 瀏覽函数的页面。
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 点击那個測試表上的“+”。
#:[[File:Details view of a function that turns a roman numeral into its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 在“-{zh-cn:调用;zh-tw:呼叫}-”下点击“{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}”。
## 在“函数”-{zh-cn:字段;zh-tw:欄位}-下,输入你想要测试的函数的名称,并在其出现时选择该函数。
## 在相应的-{zh-cn:字段;zh-tw:欄位}-中添加输入参数的值。
#:[[File:Add call to function test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 在“结果验证”下点击“{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}”。在“函数”-{zh-cn:字段;zh-tw:欄位}-下,输入你想要用来检查结果的函数的名称。
#* 对于输出类型为字符串的函数,应选择“-{zh-cn:字符串;zh-tw:字串}-相等”。而对于输出类型为-{zh-cn:布尔;zh-tw:布林}-值的函数,应选择“-{zh-cn:布尔;zh-tw:布林}-值相等”。
#* 在相应的-{zh-cn:字段;zh-tw:欄位}-(“第二个-{zh-cn:字符串;zh-tw:字串}-”或“第二个-{zh-cn:布尔;zh-tw:布林}-值”)中添加预期值。
#:[[File:Create a new test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 发布你所做的更新。
'''结果:'''
# 测试是否已發佈成功?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<span id="Create_an_implementation"></span>
== 创建-{zh-cn:实现;zh-tw:實作}- ==
函数通过具体的-{zh-cn:实现;zh-tw:實作}-而得以发挥作用。你可以在Wikifunctions创建的-{zh-cn:实现;zh-tw:實作}-中运行或者重新组合函数。下一部分将会介绍如何[[#Connect an Implementation or Test to a Function|将你的-{zh-cn:实现;zh-tw:實作}-与函数连接起来]]。在创建-{zh-cn:实现;zh-tw:實作}-之前,我们建议先[[#Create tests|创建并连接一个测试]]。有关创建-{zh-cn:实现;zh-tw:實作}-的更详细指南可以参考{{ll|Wikifunctions:How to create implementations}}。
'''步骤:'''
# 在[[Wikifunctions:Main Page|首页]]上挑选一个函数。
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 瀏覽函数的页面。
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 点击那個-{zh-cn:实现;zh-tw:實作}-表上的“+”。
# 你可以通过以下两种方式之一创建新的-{zh-cn:实现;zh-tw:實作}-:
## '''-{zh-cn:代码;zh-tw:程式碼}-'''
##* 选择所需的-{zh-cn:编程;zh-tw:程式設計}-语言来编写函数-{zh-cn:代码;zh-tw:程式碼}-。
##* 输入你的-{zh-cn:代码;zh-tw:程式碼}-。
## '''组合''':
##* 使用现有函数创建一个组合。
#:[[File:Create a new implementation on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 在运行测试(点击{{int|wikilambda-function-test-cases-table-header}}框右侧的圆形箭头)后,发佈你的更新。
'''结果:'''
# -{zh-cn:实现;zh-tw:實作}-是否已發佈成功?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<span id="Connect_an_Implementation_or_Test_to_a_Function"></span>
== 将-{zh-cn:实现;zh-tw:實作}-或测试与函数相连接 ==
:''注意:此功能仅限于 [[Special:MyLanguage/Wikifunctions:Functioneers|函数员]]使用。''
将测试或实现与你的函数相连接,使其得以发挥作用。
'''步骤:'''
# 在[[Wikifunctions:Main Page|首页]]上挑选一个函数。
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 瀏覽函数的页面。
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 选择一个或多个测试,或者选择一个或多个-{zh-cn:实现;zh-tw:實作}-。
#:[[File:A function detail page with with inactive implementations and tests selected.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 点击“{{int|wikilambda-function-details-table-approve}}”按钮。
'''结果:'''
# {{int|wikilambda-function-tester-state-approved}}或{{int|wikilambda-function-tester-state-deactivated}}是否更改成功?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<div lang="en" dir="ltr" class="mw-content-ltr">
== Insert a Function in a Wikipedia article ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Now it is time to insert a function in a Wikipedia article and see the magic unfold.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Open the article you want to add a function to.</span>
#:[[File:How to insert a function 01.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Go to the edit tab and open visual editor.</span>
#:[[File:How to insert a function 02.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on the “Insert” menu at the top of the visual editor. Scroll down and click on “Function”. A dialog box will open.</span>
#:[[File:How to insert a function 03.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Search for the function you want to insert and click on it. Or, try one of the Suggested Functions below the search bar.</span>
#:[[File:How to insert a function 04.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Enter the necessary inputs and click on the “Insert” button at the top right to insert the function into the article.</span>
#:[[File:How to insert a function 05.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">You can now see the output of your function in the article. You can proceed to publish the changes.</span>
#:[[File:How to insert a function 06.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">If you want to edit the function, click on it. A tooltip will appear with the function name and description. Click on the “Edit” button.</span>
#:[[File:How to insert a function 07.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Then you can make changes to the inputs and click on “Apply changes” when you are done editing.</span>
#:[[File:How to insert a function 08.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the output what you expected?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
[[Category:Introduction| {{#translation:}}]]
kfgxb2o43cqaytl7ivqsavxl7z8wmtb
200002
200000
2025-07-03T09:32:30Z
Winston Sung
2672
200002
wikitext
text/x-wiki
<languages/>
函数是基于所提供数据进行计算、并回答相关问题的计算机指令。例如,当你询问语音助手一公里相当于多少英里时,语音助手可以调用一个函数以计算相应结果。
Wikifunctions是一个开源项目,任何人都能在其中创建各种函数,并分享给其他人使用、重组、测试和学习。
请跟随以下操作指南尝试Wikifunctions的基本功能。我们期待你的[[Special:MyLanguage/Wikifunctions:Report a technical problem|反馈]]与贡献!
<span id="Evaluate_a_Function"></span>
== 运行函数 ==
你可以在Wikifunctions上尝试由社区贡献的函数。先从我们的''[[Wikifunctions:Main Page#Functions to try out|函数库]]''中挑选一个函数,然后输入相应的参数值以查看输出结果。
'''步骤:'''
# 在[[Wikifunctions:Main Page|首页]]上挑选一个函数。
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 瀏覽某個函数的页面。
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 填入输入参数。
#:[[File:Wikifunctions function page with evaluation input filled.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 运行该函数。
#:[[File:Wikifunctions function page with evaluation result.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
'''结果:'''
# 输出结果是否如你所预期?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<span id="Create_a_Function"></span>
== 创建函数 ==
你能够在Wikifunctions中加入自己的函数!你可以自行创建新的函数实现,同时分享给其他人使用。你可以使用你所偏好的编程语言编写新函数。
'''步骤:'''
# 前往[{{MediaWiki:Createfunction-url}} 函数创建页面]。
#:[[File:Wikifunctions create a new function page 01.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 给你的函数取一个名字。
#:[[File:Wikifunctions create a new function page with name filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 定义该函数的输入参数:
## 添加、删除输入参数。
## 定义每一个输入参数的-{zh-cn:类型;zh-tw:型別}-。
## 为每一个输入参数命名。
#:[[File:Wikifunctions create a new function page with input type and label filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 定义该函数的输出参数。
#:[[File:Wikifunctions create a new function page with output type filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 你还可以选择性地为以下字段提供多语言的值:
#* 函数名称、函数别名、输入参数标签。
#:[[File:Wikifunctions create a new function page with labels in another language.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 发佈你的函数。
#:[[File:Wikifunctions create a new function page publish button.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
'''结果:'''
# 函数是否已發佈成功?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<span id="Edit_a_Function"></span>
== 编辑函数 ==
你可以通过编辑Wikifunctions的函数库来做出贡献,包括添加或编辑函数的多语言信息,扩展和修改函数的定义。
'''步骤:'''
# 在[[Wikifunctions:Main Page|首页]]上挑选一个函数。
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 瀏覽函数的页面。
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 点击“编辑-{zh-hans:源代码;zh-hant:原始碼}-”以查看该函数的编辑选项。
#:[[File:Edit function that converts a roman numeral to its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 你可以选择性地修改以下-{zh-cn:字段;zh-tw:欄位}-的值:
## 函数名称;
## 函数别名;
## 输入参数列表
### 添加、删除输入参数
### 编辑输入参数的-{zh-cn:类型;zh-tw:型別}-
### 编辑输入参数标签
## 输出参数-{zh-cn:类型;zh-tw:型別}-。
# 你还可以选择性地为以下-{zh-cn:字段;zh-tw:欄位}-提供多语言的值:
## 函数名称;
## 函数别名;
## 输入参数标签。
# 发布你所做的更新。
'''结果:'''
# 你的编辑是否已發佈成功?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<span id="Create_tests"></span>
== 创建测试 ==
你可以在Wikifunctions中为你的函数实现创建测试,以确保它们能正常工作。
'''步骤:'''
# 在[[Wikifunctions:Main Page|首页]]上挑选一个函数,或者也可以使用你在之前流程中所创建的函数。
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 瀏覽函数的页面。
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 点击那個測試表上的“+”。
#:[[File:Details view of a function that turns a roman numeral into its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 在“-{zh-cn:调用;zh-tw:呼叫}-”下点击“{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}”。
## 在“函数”-{zh-cn:字段;zh-tw:欄位}-下,输入你想要测试的函数的名称,并在其出现时选择该函数。
## 在相应的-{zh-cn:字段;zh-tw:欄位}-中添加输入参数的值。
#:[[File:Add call to function test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 在“结果验证”下点击“{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}”。在“函数”-{zh-cn:字段;zh-tw:欄位}-下,输入你想要用来检查结果的函数的名称。
#* 对于输出类型为字符串的函数,应选择“-{zh-cn:字符串;zh-tw:字串}-相等”。而对于输出类型为-{zh-cn:布尔;zh-tw:布林}-值的函数,应选择“-{zh-cn:布尔;zh-tw:布林}-值相等”。
#* 在相应的-{zh-cn:字段;zh-tw:欄位}-(“第二个-{zh-cn:字符串;zh-tw:字串}-”或“第二个-{zh-cn:布尔;zh-tw:布林}-值”)中添加预期值。
#:[[File:Create a new test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 发布你所做的更新。
'''结果:'''
# 测试是否已發佈成功?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<span id="Create_an_implementation"></span>
== 创建-{zh-cn:实现;zh-tw:實作}- ==
函数通过具体的-{zh-cn:实现;zh-tw:實作}-而得以发挥作用。你可以在Wikifunctions创建的-{zh-cn:实现;zh-tw:實作}-中运行或者重新组合函数。下一部分将会介绍如何[[#Connect an Implementation or Test to a Function|将你的-{zh-cn:实现;zh-tw:實作}-与函数连接起来]]。在创建-{zh-cn:实现;zh-tw:實作}-之前,我们建议先[[#Create tests|创建并连接一个测试]]。有关创建-{zh-cn:实现;zh-tw:實作}-的更详细指南可以参考{{ll|Wikifunctions:How to create implementations}}。
'''步骤:'''
# 在[[Wikifunctions:Main Page|首页]]上挑选一个函数。
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 瀏覽函数的页面。
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 点击那個-{zh-cn:实现;zh-tw:實作}-表上的“+”。
# 你可以通过以下两种方式之一创建新的-{zh-cn:实现;zh-tw:實作}-:
## '''-{zh-cn:代码;zh-tw:程式碼}-'''
##* 选择所需的-{zh-cn:编程;zh-tw:程式設計}-语言来编写函数-{zh-cn:代码;zh-tw:程式碼}-。
##* 输入你的-{zh-cn:代码;zh-tw:程式碼}-。
## '''组合''':
##* 使用现有函数创建一个组合。
#:[[File:Create a new implementation on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 在运行测试(点击{{int|wikilambda-function-test-cases-table-header}}框右侧的圆形箭头)后,发佈你的更新。
'''结果:'''
# -{zh-cn:实现;zh-tw:實作}-是否已發佈成功?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<span id="Connect_an_Implementation_or_Test_to_a_Function"></span>
== 将-{zh-cn:实现;zh-tw:實作}-或测试与函数相连接 ==
:''注意:此功能仅限于 [[Special:MyLanguage/Wikifunctions:Functioneers|函数员]]使用。''
将测试或实现与你的函数相连接,使其得以发挥作用。
'''步骤:'''
# 在[[Wikifunctions:Main Page|首页]]上挑选一个函数。
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 瀏覽函数的页面。
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 选择一个或多个测试,或者选择一个或多个-{zh-cn:实现;zh-tw:實作}-。
#:[[File:A function detail page with with inactive implementations and tests selected.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 点击“{{int|wikilambda-function-details-table-approve}}”按钮。
'''结果:'''
# {{int|wikilambda-function-tester-state-approved}}或{{int|wikilambda-function-tester-state-deactivated}}是否更改成功?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<div lang="en" dir="ltr" class="mw-content-ltr">
== Insert a Function in a Wikipedia article ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Now it is time to insert a function in a Wikipedia article and see the magic unfold.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Open the article you want to add a function to.</span>
#:[[File:How to insert a function 01.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Go to the edit tab and open visual editor.</span>
#:[[File:How to insert a function 02.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on the “Insert” menu at the top of the visual editor. Scroll down and click on “Function”. A dialog box will open.</span>
#:[[File:How to insert a function 03.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Search for the function you want to insert and click on it. Or, try one of the Suggested Functions below the search bar.</span>
#:[[File:How to insert a function 04.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Enter the necessary inputs and click on the “Insert” button at the top right to insert the function into the article.</span>
#:[[File:How to insert a function 05.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">You can now see the output of your function in the article. You can proceed to publish the changes.</span>
#:[[File:How to insert a function 06.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">If you want to edit the function, click on it. A tooltip will appear with the function name and description. Click on the “Edit” button.</span>
#:[[File:How to insert a function 07.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Then you can make changes to the inputs and click on “Apply changes” when you are done editing.</span>
#:[[File:How to insert a function 08.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the output what you expected?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
[[Category:Introduction| {{#translation:}}]]
ngsxnt55e7894bag227u78xtjncal1a
200004
200002
2025-07-03T09:32:41Z
Winston Sung
2672
200004
wikitext
text/x-wiki
<languages/>
函数是基于所提供数据进行计算、并回答相关问题的计算机指令。例如,当你询问语音助手一公里相当于多少英里时,语音助手可以调用一个函数以计算相应结果。
Wikifunctions是一个开源项目,任何人都能在其中创建各种函数,并分享给其他人使用、重组、测试和学习。
请跟随以下操作指南尝试Wikifunctions的基本功能。我们期待你的[[Special:MyLanguage/Wikifunctions:Report a technical problem|反馈]]与贡献!
<span id="Evaluate_a_Function"></span>
== 运行函数 ==
你可以在Wikifunctions上尝试由社区贡献的函数。先从我们的''[[Wikifunctions:Main Page#Functions to try out|函数库]]''中挑选一个函数,然后输入相应的参数值以查看输出结果。
'''步骤:'''
# 在[[Wikifunctions:Main Page|首页]]上挑选一个函数。
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 瀏覽某個函数的页面。
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 填入输入参数。
#:[[File:Wikifunctions function page with evaluation input filled.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 运行该函数。
#:[[File:Wikifunctions function page with evaluation result.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
'''结果:'''
# 输出结果是否如你所预期?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<span id="Create_a_Function"></span>
== 创建函数 ==
你能够在Wikifunctions中加入自己的函数!你可以自行创建新的函数实现,同时分享给其他人使用。你可以使用你所偏好的编程语言编写新函数。
'''步骤:'''
# 前往[{{MediaWiki:Createfunction-url}} 函数创建页面]。
#:[[File:Wikifunctions create a new function page 01.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 给你的函数取一个名字。
#:[[File:Wikifunctions create a new function page with name filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 定义该函数的输入参数:
## 添加、删除输入参数。
## 定义每一个输入参数的类型。
## 为每一个输入参数命名。
#:[[File:Wikifunctions create a new function page with input type and label filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 定义该函数的输出参数。
#:[[File:Wikifunctions create a new function page with output type filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 你还可以选择性地为以下字段提供多语言的值:
#* 函数名称、函数别名、输入参数标签。
#:[[File:Wikifunctions create a new function page with labels in another language.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 发佈你的函数。
#:[[File:Wikifunctions create a new function page publish button.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
'''结果:'''
# 函数是否已發佈成功?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<span id="Edit_a_Function"></span>
== 编辑函数 ==
你可以通过编辑Wikifunctions的函数库来做出贡献,包括添加或编辑函数的多语言信息,扩展和修改函数的定义。
'''步骤:'''
# 在[[Wikifunctions:Main Page|首页]]上挑选一个函数。
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 瀏覽函数的页面。
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 点击“编辑-{zh-hans:源代码;zh-hant:原始碼}-”以查看该函数的编辑选项。
#:[[File:Edit function that converts a roman numeral to its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 你可以选择性地修改以下-{zh-cn:字段;zh-tw:欄位}-的值:
## 函数名称;
## 函数别名;
## 输入参数列表
### 添加、删除输入参数
### 编辑输入参数的-{zh-cn:类型;zh-tw:型別}-
### 编辑输入参数标签
## 输出参数-{zh-cn:类型;zh-tw:型別}-。
# 你还可以选择性地为以下-{zh-cn:字段;zh-tw:欄位}-提供多语言的值:
## 函数名称;
## 函数别名;
## 输入参数标签。
# 发布你所做的更新。
'''结果:'''
# 你的编辑是否已發佈成功?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<span id="Create_tests"></span>
== 创建测试 ==
你可以在Wikifunctions中为你的函数实现创建测试,以确保它们能正常工作。
'''步骤:'''
# 在[[Wikifunctions:Main Page|首页]]上挑选一个函数,或者也可以使用你在之前流程中所创建的函数。
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 瀏覽函数的页面。
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 点击那個測試表上的“+”。
#:[[File:Details view of a function that turns a roman numeral into its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 在“-{zh-cn:调用;zh-tw:呼叫}-”下点击“{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}”。
## 在“函数”-{zh-cn:字段;zh-tw:欄位}-下,输入你想要测试的函数的名称,并在其出现时选择该函数。
## 在相应的-{zh-cn:字段;zh-tw:欄位}-中添加输入参数的值。
#:[[File:Add call to function test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 在“结果验证”下点击“{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}”。在“函数”-{zh-cn:字段;zh-tw:欄位}-下,输入你想要用来检查结果的函数的名称。
#* 对于输出类型为字符串的函数,应选择“-{zh-cn:字符串;zh-tw:字串}-相等”。而对于输出类型为-{zh-cn:布尔;zh-tw:布林}-值的函数,应选择“-{zh-cn:布尔;zh-tw:布林}-值相等”。
#* 在相应的-{zh-cn:字段;zh-tw:欄位}-(“第二个-{zh-cn:字符串;zh-tw:字串}-”或“第二个-{zh-cn:布尔;zh-tw:布林}-值”)中添加预期值。
#:[[File:Create a new test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 发布你所做的更新。
'''结果:'''
# 测试是否已發佈成功?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<span id="Create_an_implementation"></span>
== 创建-{zh-cn:实现;zh-tw:實作}- ==
函数通过具体的-{zh-cn:实现;zh-tw:實作}-而得以发挥作用。你可以在Wikifunctions创建的-{zh-cn:实现;zh-tw:實作}-中运行或者重新组合函数。下一部分将会介绍如何[[#Connect an Implementation or Test to a Function|将你的-{zh-cn:实现;zh-tw:實作}-与函数连接起来]]。在创建-{zh-cn:实现;zh-tw:實作}-之前,我们建议先[[#Create tests|创建并连接一个测试]]。有关创建-{zh-cn:实现;zh-tw:實作}-的更详细指南可以参考{{ll|Wikifunctions:How to create implementations}}。
'''步骤:'''
# 在[[Wikifunctions:Main Page|首页]]上挑选一个函数。
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 瀏覽函数的页面。
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 点击那個-{zh-cn:实现;zh-tw:實作}-表上的“+”。
# 你可以通过以下两种方式之一创建新的-{zh-cn:实现;zh-tw:實作}-:
## '''-{zh-cn:代码;zh-tw:程式碼}-'''
##* 选择所需的-{zh-cn:编程;zh-tw:程式設計}-语言来编写函数-{zh-cn:代码;zh-tw:程式碼}-。
##* 输入你的-{zh-cn:代码;zh-tw:程式碼}-。
## '''组合''':
##* 使用现有函数创建一个组合。
#:[[File:Create a new implementation on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 在运行测试(点击{{int|wikilambda-function-test-cases-table-header}}框右侧的圆形箭头)后,发佈你的更新。
'''结果:'''
# -{zh-cn:实现;zh-tw:實作}-是否已發佈成功?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<span id="Connect_an_Implementation_or_Test_to_a_Function"></span>
== 将-{zh-cn:实现;zh-tw:實作}-或测试与函数相连接 ==
:''注意:此功能仅限于 [[Special:MyLanguage/Wikifunctions:Functioneers|函数员]]使用。''
将测试或实现与你的函数相连接,使其得以发挥作用。
'''步骤:'''
# 在[[Wikifunctions:Main Page|首页]]上挑选一个函数。
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 瀏覽函数的页面。
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 选择一个或多个测试,或者选择一个或多个-{zh-cn:实现;zh-tw:實作}-。
#:[[File:A function detail page with with inactive implementations and tests selected.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 点击“{{int|wikilambda-function-details-table-approve}}”按钮。
'''结果:'''
# {{int|wikilambda-function-tester-state-approved}}或{{int|wikilambda-function-tester-state-deactivated}}是否更改成功?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<div lang="en" dir="ltr" class="mw-content-ltr">
== Insert a Function in a Wikipedia article ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Now it is time to insert a function in a Wikipedia article and see the magic unfold.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Open the article you want to add a function to.</span>
#:[[File:How to insert a function 01.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Go to the edit tab and open visual editor.</span>
#:[[File:How to insert a function 02.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on the “Insert” menu at the top of the visual editor. Scroll down and click on “Function”. A dialog box will open.</span>
#:[[File:How to insert a function 03.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Search for the function you want to insert and click on it. Or, try one of the Suggested Functions below the search bar.</span>
#:[[File:How to insert a function 04.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Enter the necessary inputs and click on the “Insert” button at the top right to insert the function into the article.</span>
#:[[File:How to insert a function 05.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">You can now see the output of your function in the article. You can proceed to publish the changes.</span>
#:[[File:How to insert a function 06.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">If you want to edit the function, click on it. A tooltip will appear with the function name and description. Click on the “Edit” button.</span>
#:[[File:How to insert a function 07.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Then you can make changes to the inputs and click on “Apply changes” when you are done editing.</span>
#:[[File:How to insert a function 08.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the output what you expected?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
[[Category:Introduction| {{#translation:}}]]
175xvic9uglchog9zelz304vz3bztzu
200006
200004
2025-07-03T09:33:03Z
Winston Sung
2672
200006
wikitext
text/x-wiki
<languages/>
函数是基于所提供数据进行计算、并回答相关问题的计算机指令。例如,当你询问语音助手一公里相当于多少英里时,语音助手可以调用一个函数以计算相应结果。
Wikifunctions是一个开源项目,任何人都能在其中创建各种函数,并分享给其他人使用、重组、测试和学习。
请跟随以下操作指南尝试Wikifunctions的基本功能。我们期待你的[[Special:MyLanguage/Wikifunctions:Report a technical problem|反馈]]与贡献!
<span id="Evaluate_a_Function"></span>
== 运行函数 ==
你可以在Wikifunctions上尝试由社区贡献的函数。先从我们的''[[Wikifunctions:Main Page#Functions to try out|函数库]]''中挑选一个函数,然后输入相应的参数值以查看输出结果。
'''步骤:'''
# 在[[Wikifunctions:Main Page|首页]]上挑选一个函数。
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 瀏覽某個函数的页面。
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 填入输入参数。
#:[[File:Wikifunctions function page with evaluation input filled.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 运行该函数。
#:[[File:Wikifunctions function page with evaluation result.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
'''结果:'''
# 输出结果是否如你所预期?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<span id="Create_a_Function"></span>
== 创建函数 ==
你能够在Wikifunctions中加入自己的函数!你可以自行创建新的函数实现,同时分享给其他人使用。你可以使用你所偏好的编程语言编写新函数。
'''步骤:'''
# 前往[{{MediaWiki:Createfunction-url}} 函数创建页面]。
#:[[File:Wikifunctions create a new function page 01.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 给你的函数取一个名字。
#:[[File:Wikifunctions create a new function page with name filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 定义该函数的输入参数:
## 添加、删除输入参数。
## 定义每一个输入参数的类型。
## 为每一个输入参数命名。
#:[[File:Wikifunctions create a new function page with input type and label filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 定义该函数的输出参数。
#:[[File:Wikifunctions create a new function page with output type filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 你还可以选择性地为以下字段提供多语言的值:
#* 函数名称、函数别名、输入参数标签。
#:[[File:Wikifunctions create a new function page with labels in another language.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 发佈你的函数。
#:[[File:Wikifunctions create a new function page publish button.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
'''结果:'''
# 函数是否已發佈成功?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<span id="Edit_a_Function"></span>
== 编辑函数 ==
你可以通过编辑Wikifunctions的函数库来做出贡献,包括添加或编辑函数的多语言信息,扩展和修改函数的定义。
'''步骤:'''
# 在[[Wikifunctions:Main Page|首页]]上挑选一个函数。
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 瀏覽函数的页面。
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 点击“编辑源代码”以查看该函数的编辑选项。
#:[[File:Edit function that converts a roman numeral to its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 你可以选择性地修改以下-{zh-cn:字段;zh-tw:欄位}-的值:
## 函数名称;
## 函数别名;
## 输入参数列表
### 添加、删除输入参数
### 编辑输入参数的-{zh-cn:类型;zh-tw:型別}-
### 编辑输入参数标签
## 输出参数-{zh-cn:类型;zh-tw:型別}-。
# 你还可以选择性地为以下-{zh-cn:字段;zh-tw:欄位}-提供多语言的值:
## 函数名称;
## 函数别名;
## 输入参数标签。
# 发布你所做的更新。
'''结果:'''
# 你的编辑是否已發佈成功?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<span id="Create_tests"></span>
== 创建测试 ==
你可以在Wikifunctions中为你的函数实现创建测试,以确保它们能正常工作。
'''步骤:'''
# 在[[Wikifunctions:Main Page|首页]]上挑选一个函数,或者也可以使用你在之前流程中所创建的函数。
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 瀏覽函数的页面。
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 点击那個測試表上的“+”。
#:[[File:Details view of a function that turns a roman numeral into its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 在“-{zh-cn:调用;zh-tw:呼叫}-”下点击“{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}”。
## 在“函数”-{zh-cn:字段;zh-tw:欄位}-下,输入你想要测试的函数的名称,并在其出现时选择该函数。
## 在相应的-{zh-cn:字段;zh-tw:欄位}-中添加输入参数的值。
#:[[File:Add call to function test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 在“结果验证”下点击“{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}”。在“函数”-{zh-cn:字段;zh-tw:欄位}-下,输入你想要用来检查结果的函数的名称。
#* 对于输出类型为字符串的函数,应选择“-{zh-cn:字符串;zh-tw:字串}-相等”。而对于输出类型为-{zh-cn:布尔;zh-tw:布林}-值的函数,应选择“-{zh-cn:布尔;zh-tw:布林}-值相等”。
#* 在相应的-{zh-cn:字段;zh-tw:欄位}-(“第二个-{zh-cn:字符串;zh-tw:字串}-”或“第二个-{zh-cn:布尔;zh-tw:布林}-值”)中添加预期值。
#:[[File:Create a new test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 发布你所做的更新。
'''结果:'''
# 测试是否已發佈成功?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<span id="Create_an_implementation"></span>
== 创建-{zh-cn:实现;zh-tw:實作}- ==
函数通过具体的-{zh-cn:实现;zh-tw:實作}-而得以发挥作用。你可以在Wikifunctions创建的-{zh-cn:实现;zh-tw:實作}-中运行或者重新组合函数。下一部分将会介绍如何[[#Connect an Implementation or Test to a Function|将你的-{zh-cn:实现;zh-tw:實作}-与函数连接起来]]。在创建-{zh-cn:实现;zh-tw:實作}-之前,我们建议先[[#Create tests|创建并连接一个测试]]。有关创建-{zh-cn:实现;zh-tw:實作}-的更详细指南可以参考{{ll|Wikifunctions:How to create implementations}}。
'''步骤:'''
# 在[[Wikifunctions:Main Page|首页]]上挑选一个函数。
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 瀏覽函数的页面。
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 点击那個-{zh-cn:实现;zh-tw:實作}-表上的“+”。
# 你可以通过以下两种方式之一创建新的-{zh-cn:实现;zh-tw:實作}-:
## '''-{zh-cn:代码;zh-tw:程式碼}-'''
##* 选择所需的-{zh-cn:编程;zh-tw:程式設計}-语言来编写函数-{zh-cn:代码;zh-tw:程式碼}-。
##* 输入你的-{zh-cn:代码;zh-tw:程式碼}-。
## '''组合''':
##* 使用现有函数创建一个组合。
#:[[File:Create a new implementation on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 在运行测试(点击{{int|wikilambda-function-test-cases-table-header}}框右侧的圆形箭头)后,发佈你的更新。
'''结果:'''
# -{zh-cn:实现;zh-tw:實作}-是否已發佈成功?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<span id="Connect_an_Implementation_or_Test_to_a_Function"></span>
== 将-{zh-cn:实现;zh-tw:實作}-或测试与函数相连接 ==
:''注意:此功能仅限于 [[Special:MyLanguage/Wikifunctions:Functioneers|函数员]]使用。''
将测试或实现与你的函数相连接,使其得以发挥作用。
'''步骤:'''
# 在[[Wikifunctions:Main Page|首页]]上挑选一个函数。
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 瀏覽函数的页面。
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 选择一个或多个测试,或者选择一个或多个-{zh-cn:实现;zh-tw:實作}-。
#:[[File:A function detail page with with inactive implementations and tests selected.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 点击“{{int|wikilambda-function-details-table-approve}}”按钮。
'''结果:'''
# {{int|wikilambda-function-tester-state-approved}}或{{int|wikilambda-function-tester-state-deactivated}}是否更改成功?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<div lang="en" dir="ltr" class="mw-content-ltr">
== Insert a Function in a Wikipedia article ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Now it is time to insert a function in a Wikipedia article and see the magic unfold.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Open the article you want to add a function to.</span>
#:[[File:How to insert a function 01.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Go to the edit tab and open visual editor.</span>
#:[[File:How to insert a function 02.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on the “Insert” menu at the top of the visual editor. Scroll down and click on “Function”. A dialog box will open.</span>
#:[[File:How to insert a function 03.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Search for the function you want to insert and click on it. Or, try one of the Suggested Functions below the search bar.</span>
#:[[File:How to insert a function 04.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Enter the necessary inputs and click on the “Insert” button at the top right to insert the function into the article.</span>
#:[[File:How to insert a function 05.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">You can now see the output of your function in the article. You can proceed to publish the changes.</span>
#:[[File:How to insert a function 06.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">If you want to edit the function, click on it. A tooltip will appear with the function name and description. Click on the “Edit” button.</span>
#:[[File:How to insert a function 07.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Then you can make changes to the inputs and click on “Apply changes” when you are done editing.</span>
#:[[File:How to insert a function 08.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the output what you expected?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
[[Category:Introduction| {{#translation:}}]]
mgizjfkwgj80jacct3002txxak9ptdk
200008
200006
2025-07-03T09:33:11Z
Winston Sung
2672
200008
wikitext
text/x-wiki
<languages/>
函数是基于所提供数据进行计算、并回答相关问题的计算机指令。例如,当你询问语音助手一公里相当于多少英里时,语音助手可以调用一个函数以计算相应结果。
Wikifunctions是一个开源项目,任何人都能在其中创建各种函数,并分享给其他人使用、重组、测试和学习。
请跟随以下操作指南尝试Wikifunctions的基本功能。我们期待你的[[Special:MyLanguage/Wikifunctions:Report a technical problem|反馈]]与贡献!
<span id="Evaluate_a_Function"></span>
== 运行函数 ==
你可以在Wikifunctions上尝试由社区贡献的函数。先从我们的''[[Wikifunctions:Main Page#Functions to try out|函数库]]''中挑选一个函数,然后输入相应的参数值以查看输出结果。
'''步骤:'''
# 在[[Wikifunctions:Main Page|首页]]上挑选一个函数。
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 瀏覽某個函数的页面。
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 填入输入参数。
#:[[File:Wikifunctions function page with evaluation input filled.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 运行该函数。
#:[[File:Wikifunctions function page with evaluation result.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
'''结果:'''
# 输出结果是否如你所预期?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<span id="Create_a_Function"></span>
== 创建函数 ==
你能够在Wikifunctions中加入自己的函数!你可以自行创建新的函数实现,同时分享给其他人使用。你可以使用你所偏好的编程语言编写新函数。
'''步骤:'''
# 前往[{{MediaWiki:Createfunction-url}} 函数创建页面]。
#:[[File:Wikifunctions create a new function page 01.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 给你的函数取一个名字。
#:[[File:Wikifunctions create a new function page with name filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 定义该函数的输入参数:
## 添加、删除输入参数。
## 定义每一个输入参数的类型。
## 为每一个输入参数命名。
#:[[File:Wikifunctions create a new function page with input type and label filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 定义该函数的输出参数。
#:[[File:Wikifunctions create a new function page with output type filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 你还可以选择性地为以下字段提供多语言的值:
#* 函数名称、函数别名、输入参数标签。
#:[[File:Wikifunctions create a new function page with labels in another language.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 发佈你的函数。
#:[[File:Wikifunctions create a new function page publish button.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
'''结果:'''
# 函数是否已發佈成功?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<span id="Edit_a_Function"></span>
== 编辑函数 ==
你可以通过编辑Wikifunctions的函数库来做出贡献,包括添加或编辑函数的多语言信息,扩展和修改函数的定义。
'''步骤:'''
# 在[[Wikifunctions:Main Page|首页]]上挑选一个函数。
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 瀏覽函数的页面。
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 点击“编辑源代码”以查看该函数的编辑选项。
#:[[File:Edit function that converts a roman numeral to its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 你可以选择性地修改以下字段的值:
## 函数名称;
## 函数别名;
## 输入参数列表
### 添加、删除输入参数
### 编辑输入参数的-{zh-cn:类型;zh-tw:型別}-
### 编辑输入参数标签
## 输出参数-{zh-cn:类型;zh-tw:型別}-。
# 你还可以选择性地为以下-{zh-cn:字段;zh-tw:欄位}-提供多语言的值:
## 函数名称;
## 函数别名;
## 输入参数标签。
# 发布你所做的更新。
'''结果:'''
# 你的编辑是否已發佈成功?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<span id="Create_tests"></span>
== 创建测试 ==
你可以在Wikifunctions中为你的函数实现创建测试,以确保它们能正常工作。
'''步骤:'''
# 在[[Wikifunctions:Main Page|首页]]上挑选一个函数,或者也可以使用你在之前流程中所创建的函数。
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 瀏覽函数的页面。
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 点击那個測試表上的“+”。
#:[[File:Details view of a function that turns a roman numeral into its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 在“-{zh-cn:调用;zh-tw:呼叫}-”下点击“{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}”。
## 在“函数”-{zh-cn:字段;zh-tw:欄位}-下,输入你想要测试的函数的名称,并在其出现时选择该函数。
## 在相应的-{zh-cn:字段;zh-tw:欄位}-中添加输入参数的值。
#:[[File:Add call to function test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 在“结果验证”下点击“{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}”。在“函数”-{zh-cn:字段;zh-tw:欄位}-下,输入你想要用来检查结果的函数的名称。
#* 对于输出类型为字符串的函数,应选择“-{zh-cn:字符串;zh-tw:字串}-相等”。而对于输出类型为-{zh-cn:布尔;zh-tw:布林}-值的函数,应选择“-{zh-cn:布尔;zh-tw:布林}-值相等”。
#* 在相应的-{zh-cn:字段;zh-tw:欄位}-(“第二个-{zh-cn:字符串;zh-tw:字串}-”或“第二个-{zh-cn:布尔;zh-tw:布林}-值”)中添加预期值。
#:[[File:Create a new test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 发布你所做的更新。
'''结果:'''
# 测试是否已發佈成功?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<span id="Create_an_implementation"></span>
== 创建-{zh-cn:实现;zh-tw:實作}- ==
函数通过具体的-{zh-cn:实现;zh-tw:實作}-而得以发挥作用。你可以在Wikifunctions创建的-{zh-cn:实现;zh-tw:實作}-中运行或者重新组合函数。下一部分将会介绍如何[[#Connect an Implementation or Test to a Function|将你的-{zh-cn:实现;zh-tw:實作}-与函数连接起来]]。在创建-{zh-cn:实现;zh-tw:實作}-之前,我们建议先[[#Create tests|创建并连接一个测试]]。有关创建-{zh-cn:实现;zh-tw:實作}-的更详细指南可以参考{{ll|Wikifunctions:How to create implementations}}。
'''步骤:'''
# 在[[Wikifunctions:Main Page|首页]]上挑选一个函数。
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 瀏覽函数的页面。
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 点击那個-{zh-cn:实现;zh-tw:實作}-表上的“+”。
# 你可以通过以下两种方式之一创建新的-{zh-cn:实现;zh-tw:實作}-:
## '''-{zh-cn:代码;zh-tw:程式碼}-'''
##* 选择所需的-{zh-cn:编程;zh-tw:程式設計}-语言来编写函数-{zh-cn:代码;zh-tw:程式碼}-。
##* 输入你的-{zh-cn:代码;zh-tw:程式碼}-。
## '''组合''':
##* 使用现有函数创建一个组合。
#:[[File:Create a new implementation on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 在运行测试(点击{{int|wikilambda-function-test-cases-table-header}}框右侧的圆形箭头)后,发佈你的更新。
'''结果:'''
# -{zh-cn:实现;zh-tw:實作}-是否已發佈成功?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<span id="Connect_an_Implementation_or_Test_to_a_Function"></span>
== 将-{zh-cn:实现;zh-tw:實作}-或测试与函数相连接 ==
:''注意:此功能仅限于 [[Special:MyLanguage/Wikifunctions:Functioneers|函数员]]使用。''
将测试或实现与你的函数相连接,使其得以发挥作用。
'''步骤:'''
# 在[[Wikifunctions:Main Page|首页]]上挑选一个函数。
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 瀏覽函数的页面。
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 选择一个或多个测试,或者选择一个或多个-{zh-cn:实现;zh-tw:實作}-。
#:[[File:A function detail page with with inactive implementations and tests selected.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 点击“{{int|wikilambda-function-details-table-approve}}”按钮。
'''结果:'''
# {{int|wikilambda-function-tester-state-approved}}或{{int|wikilambda-function-tester-state-deactivated}}是否更改成功?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<div lang="en" dir="ltr" class="mw-content-ltr">
== Insert a Function in a Wikipedia article ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Now it is time to insert a function in a Wikipedia article and see the magic unfold.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Open the article you want to add a function to.</span>
#:[[File:How to insert a function 01.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Go to the edit tab and open visual editor.</span>
#:[[File:How to insert a function 02.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on the “Insert” menu at the top of the visual editor. Scroll down and click on “Function”. A dialog box will open.</span>
#:[[File:How to insert a function 03.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Search for the function you want to insert and click on it. Or, try one of the Suggested Functions below the search bar.</span>
#:[[File:How to insert a function 04.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Enter the necessary inputs and click on the “Insert” button at the top right to insert the function into the article.</span>
#:[[File:How to insert a function 05.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">You can now see the output of your function in the article. You can proceed to publish the changes.</span>
#:[[File:How to insert a function 06.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">If you want to edit the function, click on it. A tooltip will appear with the function name and description. Click on the “Edit” button.</span>
#:[[File:How to insert a function 07.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Then you can make changes to the inputs and click on “Apply changes” when you are done editing.</span>
#:[[File:How to insert a function 08.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the output what you expected?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
[[Category:Introduction| {{#translation:}}]]
8miu8hwor9e6q4w03fmghiucp3gq0w6
200010
200008
2025-07-03T09:33:22Z
Winston Sung
2672
200010
wikitext
text/x-wiki
<languages/>
函数是基于所提供数据进行计算、并回答相关问题的计算机指令。例如,当你询问语音助手一公里相当于多少英里时,语音助手可以调用一个函数以计算相应结果。
Wikifunctions是一个开源项目,任何人都能在其中创建各种函数,并分享给其他人使用、重组、测试和学习。
请跟随以下操作指南尝试Wikifunctions的基本功能。我们期待你的[[Special:MyLanguage/Wikifunctions:Report a technical problem|反馈]]与贡献!
<span id="Evaluate_a_Function"></span>
== 运行函数 ==
你可以在Wikifunctions上尝试由社区贡献的函数。先从我们的''[[Wikifunctions:Main Page#Functions to try out|函数库]]''中挑选一个函数,然后输入相应的参数值以查看输出结果。
'''步骤:'''
# 在[[Wikifunctions:Main Page|首页]]上挑选一个函数。
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 瀏覽某個函数的页面。
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 填入输入参数。
#:[[File:Wikifunctions function page with evaluation input filled.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 运行该函数。
#:[[File:Wikifunctions function page with evaluation result.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
'''结果:'''
# 输出结果是否如你所预期?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<span id="Create_a_Function"></span>
== 创建函数 ==
你能够在Wikifunctions中加入自己的函数!你可以自行创建新的函数实现,同时分享给其他人使用。你可以使用你所偏好的编程语言编写新函数。
'''步骤:'''
# 前往[{{MediaWiki:Createfunction-url}} 函数创建页面]。
#:[[File:Wikifunctions create a new function page 01.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 给你的函数取一个名字。
#:[[File:Wikifunctions create a new function page with name filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 定义该函数的输入参数:
## 添加、删除输入参数。
## 定义每一个输入参数的类型。
## 为每一个输入参数命名。
#:[[File:Wikifunctions create a new function page with input type and label filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 定义该函数的输出参数。
#:[[File:Wikifunctions create a new function page with output type filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 你还可以选择性地为以下字段提供多语言的值:
#* 函数名称、函数别名、输入参数标签。
#:[[File:Wikifunctions create a new function page with labels in another language.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 发佈你的函数。
#:[[File:Wikifunctions create a new function page publish button.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
'''结果:'''
# 函数是否已發佈成功?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<span id="Edit_a_Function"></span>
== 编辑函数 ==
你可以通过编辑Wikifunctions的函数库来做出贡献,包括添加或编辑函数的多语言信息,扩展和修改函数的定义。
'''步骤:'''
# 在[[Wikifunctions:Main Page|首页]]上挑选一个函数。
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 瀏覽函数的页面。
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 点击“编辑源代码”以查看该函数的编辑选项。
#:[[File:Edit function that converts a roman numeral to its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 你可以选择性地修改以下字段的值:
## 函数名称;
## 函数别名;
## 输入参数列表
### 添加、删除输入参数
### 编辑输入参数的类型
### 编辑输入参数标签
## 输出参数-{zh-cn:类型;zh-tw:型別}-。
# 你还可以选择性地为以下-{zh-cn:字段;zh-tw:欄位}-提供多语言的值:
## 函数名称;
## 函数别名;
## 输入参数标签。
# 发布你所做的更新。
'''结果:'''
# 你的编辑是否已發佈成功?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<span id="Create_tests"></span>
== 创建测试 ==
你可以在Wikifunctions中为你的函数实现创建测试,以确保它们能正常工作。
'''步骤:'''
# 在[[Wikifunctions:Main Page|首页]]上挑选一个函数,或者也可以使用你在之前流程中所创建的函数。
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 瀏覽函数的页面。
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 点击那個測試表上的“+”。
#:[[File:Details view of a function that turns a roman numeral into its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 在“-{zh-cn:调用;zh-tw:呼叫}-”下点击“{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}”。
## 在“函数”-{zh-cn:字段;zh-tw:欄位}-下,输入你想要测试的函数的名称,并在其出现时选择该函数。
## 在相应的-{zh-cn:字段;zh-tw:欄位}-中添加输入参数的值。
#:[[File:Add call to function test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 在“结果验证”下点击“{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}”。在“函数”-{zh-cn:字段;zh-tw:欄位}-下,输入你想要用来检查结果的函数的名称。
#* 对于输出类型为字符串的函数,应选择“-{zh-cn:字符串;zh-tw:字串}-相等”。而对于输出类型为-{zh-cn:布尔;zh-tw:布林}-值的函数,应选择“-{zh-cn:布尔;zh-tw:布林}-值相等”。
#* 在相应的-{zh-cn:字段;zh-tw:欄位}-(“第二个-{zh-cn:字符串;zh-tw:字串}-”或“第二个-{zh-cn:布尔;zh-tw:布林}-值”)中添加预期值。
#:[[File:Create a new test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 发布你所做的更新。
'''结果:'''
# 测试是否已發佈成功?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<span id="Create_an_implementation"></span>
== 创建-{zh-cn:实现;zh-tw:實作}- ==
函数通过具体的-{zh-cn:实现;zh-tw:實作}-而得以发挥作用。你可以在Wikifunctions创建的-{zh-cn:实现;zh-tw:實作}-中运行或者重新组合函数。下一部分将会介绍如何[[#Connect an Implementation or Test to a Function|将你的-{zh-cn:实现;zh-tw:實作}-与函数连接起来]]。在创建-{zh-cn:实现;zh-tw:實作}-之前,我们建议先[[#Create tests|创建并连接一个测试]]。有关创建-{zh-cn:实现;zh-tw:實作}-的更详细指南可以参考{{ll|Wikifunctions:How to create implementations}}。
'''步骤:'''
# 在[[Wikifunctions:Main Page|首页]]上挑选一个函数。
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 瀏覽函数的页面。
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 点击那個-{zh-cn:实现;zh-tw:實作}-表上的“+”。
# 你可以通过以下两种方式之一创建新的-{zh-cn:实现;zh-tw:實作}-:
## '''-{zh-cn:代码;zh-tw:程式碼}-'''
##* 选择所需的-{zh-cn:编程;zh-tw:程式設計}-语言来编写函数-{zh-cn:代码;zh-tw:程式碼}-。
##* 输入你的-{zh-cn:代码;zh-tw:程式碼}-。
## '''组合''':
##* 使用现有函数创建一个组合。
#:[[File:Create a new implementation on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 在运行测试(点击{{int|wikilambda-function-test-cases-table-header}}框右侧的圆形箭头)后,发佈你的更新。
'''结果:'''
# -{zh-cn:实现;zh-tw:實作}-是否已發佈成功?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<span id="Connect_an_Implementation_or_Test_to_a_Function"></span>
== 将-{zh-cn:实现;zh-tw:實作}-或测试与函数相连接 ==
:''注意:此功能仅限于 [[Special:MyLanguage/Wikifunctions:Functioneers|函数员]]使用。''
将测试或实现与你的函数相连接,使其得以发挥作用。
'''步骤:'''
# 在[[Wikifunctions:Main Page|首页]]上挑选一个函数。
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 瀏覽函数的页面。
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 选择一个或多个测试,或者选择一个或多个-{zh-cn:实现;zh-tw:實作}-。
#:[[File:A function detail page with with inactive implementations and tests selected.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 点击“{{int|wikilambda-function-details-table-approve}}”按钮。
'''结果:'''
# {{int|wikilambda-function-tester-state-approved}}或{{int|wikilambda-function-tester-state-deactivated}}是否更改成功?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<div lang="en" dir="ltr" class="mw-content-ltr">
== Insert a Function in a Wikipedia article ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Now it is time to insert a function in a Wikipedia article and see the magic unfold.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Open the article you want to add a function to.</span>
#:[[File:How to insert a function 01.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Go to the edit tab and open visual editor.</span>
#:[[File:How to insert a function 02.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on the “Insert” menu at the top of the visual editor. Scroll down and click on “Function”. A dialog box will open.</span>
#:[[File:How to insert a function 03.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Search for the function you want to insert and click on it. Or, try one of the Suggested Functions below the search bar.</span>
#:[[File:How to insert a function 04.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Enter the necessary inputs and click on the “Insert” button at the top right to insert the function into the article.</span>
#:[[File:How to insert a function 05.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">You can now see the output of your function in the article. You can proceed to publish the changes.</span>
#:[[File:How to insert a function 06.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">If you want to edit the function, click on it. A tooltip will appear with the function name and description. Click on the “Edit” button.</span>
#:[[File:How to insert a function 07.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Then you can make changes to the inputs and click on “Apply changes” when you are done editing.</span>
#:[[File:How to insert a function 08.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the output what you expected?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
[[Category:Introduction| {{#translation:}}]]
1sesk14tum71tk1xt8354lol5jr3tlo
200012
200010
2025-07-03T09:33:32Z
Winston Sung
2672
200012
wikitext
text/x-wiki
<languages/>
函数是基于所提供数据进行计算、并回答相关问题的计算机指令。例如,当你询问语音助手一公里相当于多少英里时,语音助手可以调用一个函数以计算相应结果。
Wikifunctions是一个开源项目,任何人都能在其中创建各种函数,并分享给其他人使用、重组、测试和学习。
请跟随以下操作指南尝试Wikifunctions的基本功能。我们期待你的[[Special:MyLanguage/Wikifunctions:Report a technical problem|反馈]]与贡献!
<span id="Evaluate_a_Function"></span>
== 运行函数 ==
你可以在Wikifunctions上尝试由社区贡献的函数。先从我们的''[[Wikifunctions:Main Page#Functions to try out|函数库]]''中挑选一个函数,然后输入相应的参数值以查看输出结果。
'''步骤:'''
# 在[[Wikifunctions:Main Page|首页]]上挑选一个函数。
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 瀏覽某個函数的页面。
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 填入输入参数。
#:[[File:Wikifunctions function page with evaluation input filled.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 运行该函数。
#:[[File:Wikifunctions function page with evaluation result.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
'''结果:'''
# 输出结果是否如你所预期?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<span id="Create_a_Function"></span>
== 创建函数 ==
你能够在Wikifunctions中加入自己的函数!你可以自行创建新的函数实现,同时分享给其他人使用。你可以使用你所偏好的编程语言编写新函数。
'''步骤:'''
# 前往[{{MediaWiki:Createfunction-url}} 函数创建页面]。
#:[[File:Wikifunctions create a new function page 01.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 给你的函数取一个名字。
#:[[File:Wikifunctions create a new function page with name filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 定义该函数的输入参数:
## 添加、删除输入参数。
## 定义每一个输入参数的类型。
## 为每一个输入参数命名。
#:[[File:Wikifunctions create a new function page with input type and label filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 定义该函数的输出参数。
#:[[File:Wikifunctions create a new function page with output type filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 你还可以选择性地为以下字段提供多语言的值:
#* 函数名称、函数别名、输入参数标签。
#:[[File:Wikifunctions create a new function page with labels in another language.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 发佈你的函数。
#:[[File:Wikifunctions create a new function page publish button.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
'''结果:'''
# 函数是否已發佈成功?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<span id="Edit_a_Function"></span>
== 编辑函数 ==
你可以通过编辑Wikifunctions的函数库来做出贡献,包括添加或编辑函数的多语言信息,扩展和修改函数的定义。
'''步骤:'''
# 在[[Wikifunctions:Main Page|首页]]上挑选一个函数。
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 瀏覽函数的页面。
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 点击“编辑源代码”以查看该函数的编辑选项。
#:[[File:Edit function that converts a roman numeral to its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 你可以选择性地修改以下字段的值:
## 函数名称;
## 函数别名;
## 输入参数列表
### 添加、删除输入参数
### 编辑输入参数的类型
### 编辑输入参数标签
## 输出参数类型。
# 你还可以选择性地为以下-{zh-cn:字段;zh-tw:欄位}-提供多语言的值:
## 函数名称;
## 函数别名;
## 输入参数标签。
# 发布你所做的更新。
'''结果:'''
# 你的编辑是否已發佈成功?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<span id="Create_tests"></span>
== 创建测试 ==
你可以在Wikifunctions中为你的函数实现创建测试,以确保它们能正常工作。
'''步骤:'''
# 在[[Wikifunctions:Main Page|首页]]上挑选一个函数,或者也可以使用你在之前流程中所创建的函数。
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 瀏覽函数的页面。
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 点击那個測試表上的“+”。
#:[[File:Details view of a function that turns a roman numeral into its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 在“-{zh-cn:调用;zh-tw:呼叫}-”下点击“{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}”。
## 在“函数”-{zh-cn:字段;zh-tw:欄位}-下,输入你想要测试的函数的名称,并在其出现时选择该函数。
## 在相应的-{zh-cn:字段;zh-tw:欄位}-中添加输入参数的值。
#:[[File:Add call to function test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 在“结果验证”下点击“{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}”。在“函数”-{zh-cn:字段;zh-tw:欄位}-下,输入你想要用来检查结果的函数的名称。
#* 对于输出类型为字符串的函数,应选择“-{zh-cn:字符串;zh-tw:字串}-相等”。而对于输出类型为-{zh-cn:布尔;zh-tw:布林}-值的函数,应选择“-{zh-cn:布尔;zh-tw:布林}-值相等”。
#* 在相应的-{zh-cn:字段;zh-tw:欄位}-(“第二个-{zh-cn:字符串;zh-tw:字串}-”或“第二个-{zh-cn:布尔;zh-tw:布林}-值”)中添加预期值。
#:[[File:Create a new test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 发布你所做的更新。
'''结果:'''
# 测试是否已發佈成功?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<span id="Create_an_implementation"></span>
== 创建-{zh-cn:实现;zh-tw:實作}- ==
函数通过具体的-{zh-cn:实现;zh-tw:實作}-而得以发挥作用。你可以在Wikifunctions创建的-{zh-cn:实现;zh-tw:實作}-中运行或者重新组合函数。下一部分将会介绍如何[[#Connect an Implementation or Test to a Function|将你的-{zh-cn:实现;zh-tw:實作}-与函数连接起来]]。在创建-{zh-cn:实现;zh-tw:實作}-之前,我们建议先[[#Create tests|创建并连接一个测试]]。有关创建-{zh-cn:实现;zh-tw:實作}-的更详细指南可以参考{{ll|Wikifunctions:How to create implementations}}。
'''步骤:'''
# 在[[Wikifunctions:Main Page|首页]]上挑选一个函数。
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 瀏覽函数的页面。
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 点击那個-{zh-cn:实现;zh-tw:實作}-表上的“+”。
# 你可以通过以下两种方式之一创建新的-{zh-cn:实现;zh-tw:實作}-:
## '''-{zh-cn:代码;zh-tw:程式碼}-'''
##* 选择所需的-{zh-cn:编程;zh-tw:程式設計}-语言来编写函数-{zh-cn:代码;zh-tw:程式碼}-。
##* 输入你的-{zh-cn:代码;zh-tw:程式碼}-。
## '''组合''':
##* 使用现有函数创建一个组合。
#:[[File:Create a new implementation on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 在运行测试(点击{{int|wikilambda-function-test-cases-table-header}}框右侧的圆形箭头)后,发佈你的更新。
'''结果:'''
# -{zh-cn:实现;zh-tw:實作}-是否已發佈成功?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<span id="Connect_an_Implementation_or_Test_to_a_Function"></span>
== 将-{zh-cn:实现;zh-tw:實作}-或测试与函数相连接 ==
:''注意:此功能仅限于 [[Special:MyLanguage/Wikifunctions:Functioneers|函数员]]使用。''
将测试或实现与你的函数相连接,使其得以发挥作用。
'''步骤:'''
# 在[[Wikifunctions:Main Page|首页]]上挑选一个函数。
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 瀏覽函数的页面。
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 选择一个或多个测试,或者选择一个或多个-{zh-cn:实现;zh-tw:實作}-。
#:[[File:A function detail page with with inactive implementations and tests selected.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 点击“{{int|wikilambda-function-details-table-approve}}”按钮。
'''结果:'''
# {{int|wikilambda-function-tester-state-approved}}或{{int|wikilambda-function-tester-state-deactivated}}是否更改成功?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<div lang="en" dir="ltr" class="mw-content-ltr">
== Insert a Function in a Wikipedia article ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Now it is time to insert a function in a Wikipedia article and see the magic unfold.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Open the article you want to add a function to.</span>
#:[[File:How to insert a function 01.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Go to the edit tab and open visual editor.</span>
#:[[File:How to insert a function 02.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on the “Insert” menu at the top of the visual editor. Scroll down and click on “Function”. A dialog box will open.</span>
#:[[File:How to insert a function 03.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Search for the function you want to insert and click on it. Or, try one of the Suggested Functions below the search bar.</span>
#:[[File:How to insert a function 04.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Enter the necessary inputs and click on the “Insert” button at the top right to insert the function into the article.</span>
#:[[File:How to insert a function 05.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">You can now see the output of your function in the article. You can proceed to publish the changes.</span>
#:[[File:How to insert a function 06.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">If you want to edit the function, click on it. A tooltip will appear with the function name and description. Click on the “Edit” button.</span>
#:[[File:How to insert a function 07.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Then you can make changes to the inputs and click on “Apply changes” when you are done editing.</span>
#:[[File:How to insert a function 08.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the output what you expected?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
[[Category:Introduction| {{#translation:}}]]
9v9lfwiqdnm5gc1tlfrte80dr8o7irs
200014
200012
2025-07-03T09:33:39Z
Winston Sung
2672
200014
wikitext
text/x-wiki
<languages/>
函数是基于所提供数据进行计算、并回答相关问题的计算机指令。例如,当你询问语音助手一公里相当于多少英里时,语音助手可以调用一个函数以计算相应结果。
Wikifunctions是一个开源项目,任何人都能在其中创建各种函数,并分享给其他人使用、重组、测试和学习。
请跟随以下操作指南尝试Wikifunctions的基本功能。我们期待你的[[Special:MyLanguage/Wikifunctions:Report a technical problem|反馈]]与贡献!
<span id="Evaluate_a_Function"></span>
== 运行函数 ==
你可以在Wikifunctions上尝试由社区贡献的函数。先从我们的''[[Wikifunctions:Main Page#Functions to try out|函数库]]''中挑选一个函数,然后输入相应的参数值以查看输出结果。
'''步骤:'''
# 在[[Wikifunctions:Main Page|首页]]上挑选一个函数。
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 瀏覽某個函数的页面。
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 填入输入参数。
#:[[File:Wikifunctions function page with evaluation input filled.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 运行该函数。
#:[[File:Wikifunctions function page with evaluation result.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
'''结果:'''
# 输出结果是否如你所预期?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<span id="Create_a_Function"></span>
== 创建函数 ==
你能够在Wikifunctions中加入自己的函数!你可以自行创建新的函数实现,同时分享给其他人使用。你可以使用你所偏好的编程语言编写新函数。
'''步骤:'''
# 前往[{{MediaWiki:Createfunction-url}} 函数创建页面]。
#:[[File:Wikifunctions create a new function page 01.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 给你的函数取一个名字。
#:[[File:Wikifunctions create a new function page with name filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 定义该函数的输入参数:
## 添加、删除输入参数。
## 定义每一个输入参数的类型。
## 为每一个输入参数命名。
#:[[File:Wikifunctions create a new function page with input type and label filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 定义该函数的输出参数。
#:[[File:Wikifunctions create a new function page with output type filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 你还可以选择性地为以下字段提供多语言的值:
#* 函数名称、函数别名、输入参数标签。
#:[[File:Wikifunctions create a new function page with labels in another language.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 发佈你的函数。
#:[[File:Wikifunctions create a new function page publish button.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
'''结果:'''
# 函数是否已發佈成功?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<span id="Edit_a_Function"></span>
== 编辑函数 ==
你可以通过编辑Wikifunctions的函数库来做出贡献,包括添加或编辑函数的多语言信息,扩展和修改函数的定义。
'''步骤:'''
# 在[[Wikifunctions:Main Page|首页]]上挑选一个函数。
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 瀏覽函数的页面。
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 点击“编辑源代码”以查看该函数的编辑选项。
#:[[File:Edit function that converts a roman numeral to its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 你可以选择性地修改以下字段的值:
## 函数名称;
## 函数别名;
## 输入参数列表
### 添加、删除输入参数
### 编辑输入参数的类型
### 编辑输入参数标签
## 输出参数类型。
# 你还可以选择性地为以下字段提供多语言的值:
## 函数名称;
## 函数别名;
## 输入参数标签。
# 发布你所做的更新。
'''结果:'''
# 你的编辑是否已發佈成功?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<span id="Create_tests"></span>
== 创建测试 ==
你可以在Wikifunctions中为你的函数实现创建测试,以确保它们能正常工作。
'''步骤:'''
# 在[[Wikifunctions:Main Page|首页]]上挑选一个函数,或者也可以使用你在之前流程中所创建的函数。
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 瀏覽函数的页面。
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 点击那個測試表上的“+”。
#:[[File:Details view of a function that turns a roman numeral into its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 在“-{zh-cn:调用;zh-tw:呼叫}-”下点击“{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}”。
## 在“函数”-{zh-cn:字段;zh-tw:欄位}-下,输入你想要测试的函数的名称,并在其出现时选择该函数。
## 在相应的-{zh-cn:字段;zh-tw:欄位}-中添加输入参数的值。
#:[[File:Add call to function test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 在“结果验证”下点击“{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}”。在“函数”-{zh-cn:字段;zh-tw:欄位}-下,输入你想要用来检查结果的函数的名称。
#* 对于输出类型为字符串的函数,应选择“-{zh-cn:字符串;zh-tw:字串}-相等”。而对于输出类型为-{zh-cn:布尔;zh-tw:布林}-值的函数,应选择“-{zh-cn:布尔;zh-tw:布林}-值相等”。
#* 在相应的-{zh-cn:字段;zh-tw:欄位}-(“第二个-{zh-cn:字符串;zh-tw:字串}-”或“第二个-{zh-cn:布尔;zh-tw:布林}-值”)中添加预期值。
#:[[File:Create a new test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 发布你所做的更新。
'''结果:'''
# 测试是否已發佈成功?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<span id="Create_an_implementation"></span>
== 创建-{zh-cn:实现;zh-tw:實作}- ==
函数通过具体的-{zh-cn:实现;zh-tw:實作}-而得以发挥作用。你可以在Wikifunctions创建的-{zh-cn:实现;zh-tw:實作}-中运行或者重新组合函数。下一部分将会介绍如何[[#Connect an Implementation or Test to a Function|将你的-{zh-cn:实现;zh-tw:實作}-与函数连接起来]]。在创建-{zh-cn:实现;zh-tw:實作}-之前,我们建议先[[#Create tests|创建并连接一个测试]]。有关创建-{zh-cn:实现;zh-tw:實作}-的更详细指南可以参考{{ll|Wikifunctions:How to create implementations}}。
'''步骤:'''
# 在[[Wikifunctions:Main Page|首页]]上挑选一个函数。
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 瀏覽函数的页面。
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 点击那個-{zh-cn:实现;zh-tw:實作}-表上的“+”。
# 你可以通过以下两种方式之一创建新的-{zh-cn:实现;zh-tw:實作}-:
## '''-{zh-cn:代码;zh-tw:程式碼}-'''
##* 选择所需的-{zh-cn:编程;zh-tw:程式設計}-语言来编写函数-{zh-cn:代码;zh-tw:程式碼}-。
##* 输入你的-{zh-cn:代码;zh-tw:程式碼}-。
## '''组合''':
##* 使用现有函数创建一个组合。
#:[[File:Create a new implementation on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 在运行测试(点击{{int|wikilambda-function-test-cases-table-header}}框右侧的圆形箭头)后,发佈你的更新。
'''结果:'''
# -{zh-cn:实现;zh-tw:實作}-是否已發佈成功?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<span id="Connect_an_Implementation_or_Test_to_a_Function"></span>
== 将-{zh-cn:实现;zh-tw:實作}-或测试与函数相连接 ==
:''注意:此功能仅限于 [[Special:MyLanguage/Wikifunctions:Functioneers|函数员]]使用。''
将测试或实现与你的函数相连接,使其得以发挥作用。
'''步骤:'''
# 在[[Wikifunctions:Main Page|首页]]上挑选一个函数。
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 瀏覽函数的页面。
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 选择一个或多个测试,或者选择一个或多个-{zh-cn:实现;zh-tw:實作}-。
#:[[File:A function detail page with with inactive implementations and tests selected.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 点击“{{int|wikilambda-function-details-table-approve}}”按钮。
'''结果:'''
# {{int|wikilambda-function-tester-state-approved}}或{{int|wikilambda-function-tester-state-deactivated}}是否更改成功?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<div lang="en" dir="ltr" class="mw-content-ltr">
== Insert a Function in a Wikipedia article ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Now it is time to insert a function in a Wikipedia article and see the magic unfold.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Open the article you want to add a function to.</span>
#:[[File:How to insert a function 01.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Go to the edit tab and open visual editor.</span>
#:[[File:How to insert a function 02.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on the “Insert” menu at the top of the visual editor. Scroll down and click on “Function”. A dialog box will open.</span>
#:[[File:How to insert a function 03.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Search for the function you want to insert and click on it. Or, try one of the Suggested Functions below the search bar.</span>
#:[[File:How to insert a function 04.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Enter the necessary inputs and click on the “Insert” button at the top right to insert the function into the article.</span>
#:[[File:How to insert a function 05.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">You can now see the output of your function in the article. You can proceed to publish the changes.</span>
#:[[File:How to insert a function 06.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">If you want to edit the function, click on it. A tooltip will appear with the function name and description. Click on the “Edit” button.</span>
#:[[File:How to insert a function 07.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Then you can make changes to the inputs and click on “Apply changes” when you are done editing.</span>
#:[[File:How to insert a function 08.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the output what you expected?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
[[Category:Introduction| {{#translation:}}]]
ln2u8k6xdx5cd1duqnwjrvqyjm2gdmi
200016
200014
2025-07-03T09:33:51Z
Winston Sung
2672
200016
wikitext
text/x-wiki
<languages/>
函数是基于所提供数据进行计算、并回答相关问题的计算机指令。例如,当你询问语音助手一公里相当于多少英里时,语音助手可以调用一个函数以计算相应结果。
Wikifunctions是一个开源项目,任何人都能在其中创建各种函数,并分享给其他人使用、重组、测试和学习。
请跟随以下操作指南尝试Wikifunctions的基本功能。我们期待你的[[Special:MyLanguage/Wikifunctions:Report a technical problem|反馈]]与贡献!
<span id="Evaluate_a_Function"></span>
== 运行函数 ==
你可以在Wikifunctions上尝试由社区贡献的函数。先从我们的''[[Wikifunctions:Main Page#Functions to try out|函数库]]''中挑选一个函数,然后输入相应的参数值以查看输出结果。
'''步骤:'''
# 在[[Wikifunctions:Main Page|首页]]上挑选一个函数。
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 瀏覽某個函数的页面。
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 填入输入参数。
#:[[File:Wikifunctions function page with evaluation input filled.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 运行该函数。
#:[[File:Wikifunctions function page with evaluation result.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
'''结果:'''
# 输出结果是否如你所预期?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<span id="Create_a_Function"></span>
== 创建函数 ==
你能够在Wikifunctions中加入自己的函数!你可以自行创建新的函数实现,同时分享给其他人使用。你可以使用你所偏好的编程语言编写新函数。
'''步骤:'''
# 前往[{{MediaWiki:Createfunction-url}} 函数创建页面]。
#:[[File:Wikifunctions create a new function page 01.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 给你的函数取一个名字。
#:[[File:Wikifunctions create a new function page with name filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 定义该函数的输入参数:
## 添加、删除输入参数。
## 定义每一个输入参数的类型。
## 为每一个输入参数命名。
#:[[File:Wikifunctions create a new function page with input type and label filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 定义该函数的输出参数。
#:[[File:Wikifunctions create a new function page with output type filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 你还可以选择性地为以下字段提供多语言的值:
#* 函数名称、函数别名、输入参数标签。
#:[[File:Wikifunctions create a new function page with labels in another language.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 发佈你的函数。
#:[[File:Wikifunctions create a new function page publish button.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
'''结果:'''
# 函数是否已發佈成功?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<span id="Edit_a_Function"></span>
== 编辑函数 ==
你可以通过编辑Wikifunctions的函数库来做出贡献,包括添加或编辑函数的多语言信息,扩展和修改函数的定义。
'''步骤:'''
# 在[[Wikifunctions:Main Page|首页]]上挑选一个函数。
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 瀏覽函数的页面。
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 点击“编辑源代码”以查看该函数的编辑选项。
#:[[File:Edit function that converts a roman numeral to its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 你可以选择性地修改以下字段的值:
## 函数名称;
## 函数别名;
## 输入参数列表
### 添加、删除输入参数
### 编辑输入参数的类型
### 编辑输入参数标签
## 输出参数类型。
# 你还可以选择性地为以下字段提供多语言的值:
## 函数名称;
## 函数别名;
## 输入参数标签。
# 发布你所做的更新。
'''结果:'''
# 你的编辑是否已發佈成功?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<span id="Create_tests"></span>
== 创建测试 ==
你可以在Wikifunctions中为你的函数实现创建测试,以确保它们能正常工作。
'''步骤:'''
# 在[[Wikifunctions:Main Page|首页]]上挑选一个函数,或者也可以使用你在之前流程中所创建的函数。
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 瀏覽函数的页面。
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 点击那個測試表上的“+”。
#:[[File:Details view of a function that turns a roman numeral into its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 在“调用”下点击“{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}”。
## 在“函数”-{zh-cn:字段;zh-tw:欄位}-下,输入你想要测试的函数的名称,并在其出现时选择该函数。
## 在相应的-{zh-cn:字段;zh-tw:欄位}-中添加输入参数的值。
#:[[File:Add call to function test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 在“结果验证”下点击“{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}”。在“函数”-{zh-cn:字段;zh-tw:欄位}-下,输入你想要用来检查结果的函数的名称。
#* 对于输出类型为字符串的函数,应选择“-{zh-cn:字符串;zh-tw:字串}-相等”。而对于输出类型为-{zh-cn:布尔;zh-tw:布林}-值的函数,应选择“-{zh-cn:布尔;zh-tw:布林}-值相等”。
#* 在相应的-{zh-cn:字段;zh-tw:欄位}-(“第二个-{zh-cn:字符串;zh-tw:字串}-”或“第二个-{zh-cn:布尔;zh-tw:布林}-值”)中添加预期值。
#:[[File:Create a new test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 发布你所做的更新。
'''结果:'''
# 测试是否已發佈成功?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<span id="Create_an_implementation"></span>
== 创建-{zh-cn:实现;zh-tw:實作}- ==
函数通过具体的-{zh-cn:实现;zh-tw:實作}-而得以发挥作用。你可以在Wikifunctions创建的-{zh-cn:实现;zh-tw:實作}-中运行或者重新组合函数。下一部分将会介绍如何[[#Connect an Implementation or Test to a Function|将你的-{zh-cn:实现;zh-tw:實作}-与函数连接起来]]。在创建-{zh-cn:实现;zh-tw:實作}-之前,我们建议先[[#Create tests|创建并连接一个测试]]。有关创建-{zh-cn:实现;zh-tw:實作}-的更详细指南可以参考{{ll|Wikifunctions:How to create implementations}}。
'''步骤:'''
# 在[[Wikifunctions:Main Page|首页]]上挑选一个函数。
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 瀏覽函数的页面。
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 点击那個-{zh-cn:实现;zh-tw:實作}-表上的“+”。
# 你可以通过以下两种方式之一创建新的-{zh-cn:实现;zh-tw:實作}-:
## '''-{zh-cn:代码;zh-tw:程式碼}-'''
##* 选择所需的-{zh-cn:编程;zh-tw:程式設計}-语言来编写函数-{zh-cn:代码;zh-tw:程式碼}-。
##* 输入你的-{zh-cn:代码;zh-tw:程式碼}-。
## '''组合''':
##* 使用现有函数创建一个组合。
#:[[File:Create a new implementation on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 在运行测试(点击{{int|wikilambda-function-test-cases-table-header}}框右侧的圆形箭头)后,发佈你的更新。
'''结果:'''
# -{zh-cn:实现;zh-tw:實作}-是否已發佈成功?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<span id="Connect_an_Implementation_or_Test_to_a_Function"></span>
== 将-{zh-cn:实现;zh-tw:實作}-或测试与函数相连接 ==
:''注意:此功能仅限于 [[Special:MyLanguage/Wikifunctions:Functioneers|函数员]]使用。''
将测试或实现与你的函数相连接,使其得以发挥作用。
'''步骤:'''
# 在[[Wikifunctions:Main Page|首页]]上挑选一个函数。
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 瀏覽函数的页面。
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 选择一个或多个测试,或者选择一个或多个-{zh-cn:实现;zh-tw:實作}-。
#:[[File:A function detail page with with inactive implementations and tests selected.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 点击“{{int|wikilambda-function-details-table-approve}}”按钮。
'''结果:'''
# {{int|wikilambda-function-tester-state-approved}}或{{int|wikilambda-function-tester-state-deactivated}}是否更改成功?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<div lang="en" dir="ltr" class="mw-content-ltr">
== Insert a Function in a Wikipedia article ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Now it is time to insert a function in a Wikipedia article and see the magic unfold.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Open the article you want to add a function to.</span>
#:[[File:How to insert a function 01.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Go to the edit tab and open visual editor.</span>
#:[[File:How to insert a function 02.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on the “Insert” menu at the top of the visual editor. Scroll down and click on “Function”. A dialog box will open.</span>
#:[[File:How to insert a function 03.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Search for the function you want to insert and click on it. Or, try one of the Suggested Functions below the search bar.</span>
#:[[File:How to insert a function 04.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Enter the necessary inputs and click on the “Insert” button at the top right to insert the function into the article.</span>
#:[[File:How to insert a function 05.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">You can now see the output of your function in the article. You can proceed to publish the changes.</span>
#:[[File:How to insert a function 06.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">If you want to edit the function, click on it. A tooltip will appear with the function name and description. Click on the “Edit” button.</span>
#:[[File:How to insert a function 07.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Then you can make changes to the inputs and click on “Apply changes” when you are done editing.</span>
#:[[File:How to insert a function 08.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the output what you expected?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
[[Category:Introduction| {{#translation:}}]]
09x26oteza04bfd2ptp8tqg89pamj0e
200018
200016
2025-07-03T09:33:58Z
Winston Sung
2672
200018
wikitext
text/x-wiki
<languages/>
函数是基于所提供数据进行计算、并回答相关问题的计算机指令。例如,当你询问语音助手一公里相当于多少英里时,语音助手可以调用一个函数以计算相应结果。
Wikifunctions是一个开源项目,任何人都能在其中创建各种函数,并分享给其他人使用、重组、测试和学习。
请跟随以下操作指南尝试Wikifunctions的基本功能。我们期待你的[[Special:MyLanguage/Wikifunctions:Report a technical problem|反馈]]与贡献!
<span id="Evaluate_a_Function"></span>
== 运行函数 ==
你可以在Wikifunctions上尝试由社区贡献的函数。先从我们的''[[Wikifunctions:Main Page#Functions to try out|函数库]]''中挑选一个函数,然后输入相应的参数值以查看输出结果。
'''步骤:'''
# 在[[Wikifunctions:Main Page|首页]]上挑选一个函数。
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 瀏覽某個函数的页面。
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 填入输入参数。
#:[[File:Wikifunctions function page with evaluation input filled.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 运行该函数。
#:[[File:Wikifunctions function page with evaluation result.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
'''结果:'''
# 输出结果是否如你所预期?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<span id="Create_a_Function"></span>
== 创建函数 ==
你能够在Wikifunctions中加入自己的函数!你可以自行创建新的函数实现,同时分享给其他人使用。你可以使用你所偏好的编程语言编写新函数。
'''步骤:'''
# 前往[{{MediaWiki:Createfunction-url}} 函数创建页面]。
#:[[File:Wikifunctions create a new function page 01.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 给你的函数取一个名字。
#:[[File:Wikifunctions create a new function page with name filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 定义该函数的输入参数:
## 添加、删除输入参数。
## 定义每一个输入参数的类型。
## 为每一个输入参数命名。
#:[[File:Wikifunctions create a new function page with input type and label filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 定义该函数的输出参数。
#:[[File:Wikifunctions create a new function page with output type filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 你还可以选择性地为以下字段提供多语言的值:
#* 函数名称、函数别名、输入参数标签。
#:[[File:Wikifunctions create a new function page with labels in another language.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 发佈你的函数。
#:[[File:Wikifunctions create a new function page publish button.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
'''结果:'''
# 函数是否已發佈成功?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<span id="Edit_a_Function"></span>
== 编辑函数 ==
你可以通过编辑Wikifunctions的函数库来做出贡献,包括添加或编辑函数的多语言信息,扩展和修改函数的定义。
'''步骤:'''
# 在[[Wikifunctions:Main Page|首页]]上挑选一个函数。
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 瀏覽函数的页面。
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 点击“编辑源代码”以查看该函数的编辑选项。
#:[[File:Edit function that converts a roman numeral to its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 你可以选择性地修改以下字段的值:
## 函数名称;
## 函数别名;
## 输入参数列表
### 添加、删除输入参数
### 编辑输入参数的类型
### 编辑输入参数标签
## 输出参数类型。
# 你还可以选择性地为以下字段提供多语言的值:
## 函数名称;
## 函数别名;
## 输入参数标签。
# 发布你所做的更新。
'''结果:'''
# 你的编辑是否已發佈成功?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<span id="Create_tests"></span>
== 创建测试 ==
你可以在Wikifunctions中为你的函数实现创建测试,以确保它们能正常工作。
'''步骤:'''
# 在[[Wikifunctions:Main Page|首页]]上挑选一个函数,或者也可以使用你在之前流程中所创建的函数。
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 瀏覽函数的页面。
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 点击那個測試表上的“+”。
#:[[File:Details view of a function that turns a roman numeral into its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 在“调用”下点击“{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}”。
## 在“函数”字段下,输入你想要测试的函数的名称,并在其出现时选择该函数。
## 在相应的-{zh-cn:字段;zh-tw:欄位}-中添加输入参数的值。
#:[[File:Add call to function test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 在“结果验证”下点击“{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}”。在“函数”-{zh-cn:字段;zh-tw:欄位}-下,输入你想要用来检查结果的函数的名称。
#* 对于输出类型为字符串的函数,应选择“-{zh-cn:字符串;zh-tw:字串}-相等”。而对于输出类型为-{zh-cn:布尔;zh-tw:布林}-值的函数,应选择“-{zh-cn:布尔;zh-tw:布林}-值相等”。
#* 在相应的-{zh-cn:字段;zh-tw:欄位}-(“第二个-{zh-cn:字符串;zh-tw:字串}-”或“第二个-{zh-cn:布尔;zh-tw:布林}-值”)中添加预期值。
#:[[File:Create a new test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 发布你所做的更新。
'''结果:'''
# 测试是否已發佈成功?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<span id="Create_an_implementation"></span>
== 创建-{zh-cn:实现;zh-tw:實作}- ==
函数通过具体的-{zh-cn:实现;zh-tw:實作}-而得以发挥作用。你可以在Wikifunctions创建的-{zh-cn:实现;zh-tw:實作}-中运行或者重新组合函数。下一部分将会介绍如何[[#Connect an Implementation or Test to a Function|将你的-{zh-cn:实现;zh-tw:實作}-与函数连接起来]]。在创建-{zh-cn:实现;zh-tw:實作}-之前,我们建议先[[#Create tests|创建并连接一个测试]]。有关创建-{zh-cn:实现;zh-tw:實作}-的更详细指南可以参考{{ll|Wikifunctions:How to create implementations}}。
'''步骤:'''
# 在[[Wikifunctions:Main Page|首页]]上挑选一个函数。
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 瀏覽函数的页面。
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 点击那個-{zh-cn:实现;zh-tw:實作}-表上的“+”。
# 你可以通过以下两种方式之一创建新的-{zh-cn:实现;zh-tw:實作}-:
## '''-{zh-cn:代码;zh-tw:程式碼}-'''
##* 选择所需的-{zh-cn:编程;zh-tw:程式設計}-语言来编写函数-{zh-cn:代码;zh-tw:程式碼}-。
##* 输入你的-{zh-cn:代码;zh-tw:程式碼}-。
## '''组合''':
##* 使用现有函数创建一个组合。
#:[[File:Create a new implementation on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 在运行测试(点击{{int|wikilambda-function-test-cases-table-header}}框右侧的圆形箭头)后,发佈你的更新。
'''结果:'''
# -{zh-cn:实现;zh-tw:實作}-是否已發佈成功?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<span id="Connect_an_Implementation_or_Test_to_a_Function"></span>
== 将-{zh-cn:实现;zh-tw:實作}-或测试与函数相连接 ==
:''注意:此功能仅限于 [[Special:MyLanguage/Wikifunctions:Functioneers|函数员]]使用。''
将测试或实现与你的函数相连接,使其得以发挥作用。
'''步骤:'''
# 在[[Wikifunctions:Main Page|首页]]上挑选一个函数。
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 瀏覽函数的页面。
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 选择一个或多个测试,或者选择一个或多个-{zh-cn:实现;zh-tw:實作}-。
#:[[File:A function detail page with with inactive implementations and tests selected.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 点击“{{int|wikilambda-function-details-table-approve}}”按钮。
'''结果:'''
# {{int|wikilambda-function-tester-state-approved}}或{{int|wikilambda-function-tester-state-deactivated}}是否更改成功?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<div lang="en" dir="ltr" class="mw-content-ltr">
== Insert a Function in a Wikipedia article ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Now it is time to insert a function in a Wikipedia article and see the magic unfold.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Open the article you want to add a function to.</span>
#:[[File:How to insert a function 01.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Go to the edit tab and open visual editor.</span>
#:[[File:How to insert a function 02.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on the “Insert” menu at the top of the visual editor. Scroll down and click on “Function”. A dialog box will open.</span>
#:[[File:How to insert a function 03.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Search for the function you want to insert and click on it. Or, try one of the Suggested Functions below the search bar.</span>
#:[[File:How to insert a function 04.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Enter the necessary inputs and click on the “Insert” button at the top right to insert the function into the article.</span>
#:[[File:How to insert a function 05.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">You can now see the output of your function in the article. You can proceed to publish the changes.</span>
#:[[File:How to insert a function 06.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">If you want to edit the function, click on it. A tooltip will appear with the function name and description. Click on the “Edit” button.</span>
#:[[File:How to insert a function 07.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Then you can make changes to the inputs and click on “Apply changes” when you are done editing.</span>
#:[[File:How to insert a function 08.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the output what you expected?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
[[Category:Introduction| {{#translation:}}]]
g6b0fh6pb6j74g5tcjr9bd9yuz2ogpq
200020
200018
2025-07-03T09:34:05Z
Winston Sung
2672
200020
wikitext
text/x-wiki
<languages/>
函数是基于所提供数据进行计算、并回答相关问题的计算机指令。例如,当你询问语音助手一公里相当于多少英里时,语音助手可以调用一个函数以计算相应结果。
Wikifunctions是一个开源项目,任何人都能在其中创建各种函数,并分享给其他人使用、重组、测试和学习。
请跟随以下操作指南尝试Wikifunctions的基本功能。我们期待你的[[Special:MyLanguage/Wikifunctions:Report a technical problem|反馈]]与贡献!
<span id="Evaluate_a_Function"></span>
== 运行函数 ==
你可以在Wikifunctions上尝试由社区贡献的函数。先从我们的''[[Wikifunctions:Main Page#Functions to try out|函数库]]''中挑选一个函数,然后输入相应的参数值以查看输出结果。
'''步骤:'''
# 在[[Wikifunctions:Main Page|首页]]上挑选一个函数。
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 瀏覽某個函数的页面。
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 填入输入参数。
#:[[File:Wikifunctions function page with evaluation input filled.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 运行该函数。
#:[[File:Wikifunctions function page with evaluation result.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
'''结果:'''
# 输出结果是否如你所预期?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<span id="Create_a_Function"></span>
== 创建函数 ==
你能够在Wikifunctions中加入自己的函数!你可以自行创建新的函数实现,同时分享给其他人使用。你可以使用你所偏好的编程语言编写新函数。
'''步骤:'''
# 前往[{{MediaWiki:Createfunction-url}} 函数创建页面]。
#:[[File:Wikifunctions create a new function page 01.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 给你的函数取一个名字。
#:[[File:Wikifunctions create a new function page with name filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 定义该函数的输入参数:
## 添加、删除输入参数。
## 定义每一个输入参数的类型。
## 为每一个输入参数命名。
#:[[File:Wikifunctions create a new function page with input type and label filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 定义该函数的输出参数。
#:[[File:Wikifunctions create a new function page with output type filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 你还可以选择性地为以下字段提供多语言的值:
#* 函数名称、函数别名、输入参数标签。
#:[[File:Wikifunctions create a new function page with labels in another language.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 发佈你的函数。
#:[[File:Wikifunctions create a new function page publish button.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
'''结果:'''
# 函数是否已發佈成功?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<span id="Edit_a_Function"></span>
== 编辑函数 ==
你可以通过编辑Wikifunctions的函数库来做出贡献,包括添加或编辑函数的多语言信息,扩展和修改函数的定义。
'''步骤:'''
# 在[[Wikifunctions:Main Page|首页]]上挑选一个函数。
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 瀏覽函数的页面。
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 点击“编辑源代码”以查看该函数的编辑选项。
#:[[File:Edit function that converts a roman numeral to its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 你可以选择性地修改以下字段的值:
## 函数名称;
## 函数别名;
## 输入参数列表
### 添加、删除输入参数
### 编辑输入参数的类型
### 编辑输入参数标签
## 输出参数类型。
# 你还可以选择性地为以下字段提供多语言的值:
## 函数名称;
## 函数别名;
## 输入参数标签。
# 发布你所做的更新。
'''结果:'''
# 你的编辑是否已發佈成功?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<span id="Create_tests"></span>
== 创建测试 ==
你可以在Wikifunctions中为你的函数实现创建测试,以确保它们能正常工作。
'''步骤:'''
# 在[[Wikifunctions:Main Page|首页]]上挑选一个函数,或者也可以使用你在之前流程中所创建的函数。
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 瀏覽函数的页面。
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 点击那個測試表上的“+”。
#:[[File:Details view of a function that turns a roman numeral into its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 在“调用”下点击“{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}”。
## 在“函数”字段下,输入你想要测试的函数的名称,并在其出现时选择该函数。
## 在相应的字段中添加输入参数的值。
#:[[File:Add call to function test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 在“结果验证”下点击“{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}”。在“函数”-{zh-cn:字段;zh-tw:欄位}-下,输入你想要用来检查结果的函数的名称。
#* 对于输出类型为字符串的函数,应选择“-{zh-cn:字符串;zh-tw:字串}-相等”。而对于输出类型为-{zh-cn:布尔;zh-tw:布林}-值的函数,应选择“-{zh-cn:布尔;zh-tw:布林}-值相等”。
#* 在相应的-{zh-cn:字段;zh-tw:欄位}-(“第二个-{zh-cn:字符串;zh-tw:字串}-”或“第二个-{zh-cn:布尔;zh-tw:布林}-值”)中添加预期值。
#:[[File:Create a new test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 发布你所做的更新。
'''结果:'''
# 测试是否已發佈成功?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<span id="Create_an_implementation"></span>
== 创建-{zh-cn:实现;zh-tw:實作}- ==
函数通过具体的-{zh-cn:实现;zh-tw:實作}-而得以发挥作用。你可以在Wikifunctions创建的-{zh-cn:实现;zh-tw:實作}-中运行或者重新组合函数。下一部分将会介绍如何[[#Connect an Implementation or Test to a Function|将你的-{zh-cn:实现;zh-tw:實作}-与函数连接起来]]。在创建-{zh-cn:实现;zh-tw:實作}-之前,我们建议先[[#Create tests|创建并连接一个测试]]。有关创建-{zh-cn:实现;zh-tw:實作}-的更详细指南可以参考{{ll|Wikifunctions:How to create implementations}}。
'''步骤:'''
# 在[[Wikifunctions:Main Page|首页]]上挑选一个函数。
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 瀏覽函数的页面。
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 点击那個-{zh-cn:实现;zh-tw:實作}-表上的“+”。
# 你可以通过以下两种方式之一创建新的-{zh-cn:实现;zh-tw:實作}-:
## '''-{zh-cn:代码;zh-tw:程式碼}-'''
##* 选择所需的-{zh-cn:编程;zh-tw:程式設計}-语言来编写函数-{zh-cn:代码;zh-tw:程式碼}-。
##* 输入你的-{zh-cn:代码;zh-tw:程式碼}-。
## '''组合''':
##* 使用现有函数创建一个组合。
#:[[File:Create a new implementation on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 在运行测试(点击{{int|wikilambda-function-test-cases-table-header}}框右侧的圆形箭头)后,发佈你的更新。
'''结果:'''
# -{zh-cn:实现;zh-tw:實作}-是否已發佈成功?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<span id="Connect_an_Implementation_or_Test_to_a_Function"></span>
== 将-{zh-cn:实现;zh-tw:實作}-或测试与函数相连接 ==
:''注意:此功能仅限于 [[Special:MyLanguage/Wikifunctions:Functioneers|函数员]]使用。''
将测试或实现与你的函数相连接,使其得以发挥作用。
'''步骤:'''
# 在[[Wikifunctions:Main Page|首页]]上挑选一个函数。
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 瀏覽函数的页面。
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 选择一个或多个测试,或者选择一个或多个-{zh-cn:实现;zh-tw:實作}-。
#:[[File:A function detail page with with inactive implementations and tests selected.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 点击“{{int|wikilambda-function-details-table-approve}}”按钮。
'''结果:'''
# {{int|wikilambda-function-tester-state-approved}}或{{int|wikilambda-function-tester-state-deactivated}}是否更改成功?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<div lang="en" dir="ltr" class="mw-content-ltr">
== Insert a Function in a Wikipedia article ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Now it is time to insert a function in a Wikipedia article and see the magic unfold.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Open the article you want to add a function to.</span>
#:[[File:How to insert a function 01.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Go to the edit tab and open visual editor.</span>
#:[[File:How to insert a function 02.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on the “Insert” menu at the top of the visual editor. Scroll down and click on “Function”. A dialog box will open.</span>
#:[[File:How to insert a function 03.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Search for the function you want to insert and click on it. Or, try one of the Suggested Functions below the search bar.</span>
#:[[File:How to insert a function 04.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Enter the necessary inputs and click on the “Insert” button at the top right to insert the function into the article.</span>
#:[[File:How to insert a function 05.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">You can now see the output of your function in the article. You can proceed to publish the changes.</span>
#:[[File:How to insert a function 06.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">If you want to edit the function, click on it. A tooltip will appear with the function name and description. Click on the “Edit” button.</span>
#:[[File:How to insert a function 07.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Then you can make changes to the inputs and click on “Apply changes” when you are done editing.</span>
#:[[File:How to insert a function 08.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the output what you expected?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
[[Category:Introduction| {{#translation:}}]]
57t4idwqw7bk6f9ki2nsnyf9zoth5ku
200022
200020
2025-07-03T09:34:15Z
Winston Sung
2672
200022
wikitext
text/x-wiki
<languages/>
函数是基于所提供数据进行计算、并回答相关问题的计算机指令。例如,当你询问语音助手一公里相当于多少英里时,语音助手可以调用一个函数以计算相应结果。
Wikifunctions是一个开源项目,任何人都能在其中创建各种函数,并分享给其他人使用、重组、测试和学习。
请跟随以下操作指南尝试Wikifunctions的基本功能。我们期待你的[[Special:MyLanguage/Wikifunctions:Report a technical problem|反馈]]与贡献!
<span id="Evaluate_a_Function"></span>
== 运行函数 ==
你可以在Wikifunctions上尝试由社区贡献的函数。先从我们的''[[Wikifunctions:Main Page#Functions to try out|函数库]]''中挑选一个函数,然后输入相应的参数值以查看输出结果。
'''步骤:'''
# 在[[Wikifunctions:Main Page|首页]]上挑选一个函数。
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 瀏覽某個函数的页面。
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 填入输入参数。
#:[[File:Wikifunctions function page with evaluation input filled.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 运行该函数。
#:[[File:Wikifunctions function page with evaluation result.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
'''结果:'''
# 输出结果是否如你所预期?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<span id="Create_a_Function"></span>
== 创建函数 ==
你能够在Wikifunctions中加入自己的函数!你可以自行创建新的函数实现,同时分享给其他人使用。你可以使用你所偏好的编程语言编写新函数。
'''步骤:'''
# 前往[{{MediaWiki:Createfunction-url}} 函数创建页面]。
#:[[File:Wikifunctions create a new function page 01.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 给你的函数取一个名字。
#:[[File:Wikifunctions create a new function page with name filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 定义该函数的输入参数:
## 添加、删除输入参数。
## 定义每一个输入参数的类型。
## 为每一个输入参数命名。
#:[[File:Wikifunctions create a new function page with input type and label filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 定义该函数的输出参数。
#:[[File:Wikifunctions create a new function page with output type filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 你还可以选择性地为以下字段提供多语言的值:
#* 函数名称、函数别名、输入参数标签。
#:[[File:Wikifunctions create a new function page with labels in another language.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 发佈你的函数。
#:[[File:Wikifunctions create a new function page publish button.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
'''结果:'''
# 函数是否已發佈成功?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<span id="Edit_a_Function"></span>
== 编辑函数 ==
你可以通过编辑Wikifunctions的函数库来做出贡献,包括添加或编辑函数的多语言信息,扩展和修改函数的定义。
'''步骤:'''
# 在[[Wikifunctions:Main Page|首页]]上挑选一个函数。
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 瀏覽函数的页面。
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 点击“编辑源代码”以查看该函数的编辑选项。
#:[[File:Edit function that converts a roman numeral to its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 你可以选择性地修改以下字段的值:
## 函数名称;
## 函数别名;
## 输入参数列表
### 添加、删除输入参数
### 编辑输入参数的类型
### 编辑输入参数标签
## 输出参数类型。
# 你还可以选择性地为以下字段提供多语言的值:
## 函数名称;
## 函数别名;
## 输入参数标签。
# 发布你所做的更新。
'''结果:'''
# 你的编辑是否已發佈成功?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<span id="Create_tests"></span>
== 创建测试 ==
你可以在Wikifunctions中为你的函数实现创建测试,以确保它们能正常工作。
'''步骤:'''
# 在[[Wikifunctions:Main Page|首页]]上挑选一个函数,或者也可以使用你在之前流程中所创建的函数。
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 瀏覽函数的页面。
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 点击那個測試表上的“+”。
#:[[File:Details view of a function that turns a roman numeral into its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 在“调用”下点击“{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}”。
## 在“函数”字段下,输入你想要测试的函数的名称,并在其出现时选择该函数。
## 在相应的字段中添加输入参数的值。
#:[[File:Add call to function test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 在“结果验证”下点击“{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}”。在“函数”字段下,输入你想要用来检查结果的函数的名称。
#* 对于输出类型为字符串的函数,应选择“-{zh-cn:字符串;zh-tw:字串}-相等”。而对于输出类型为-{zh-cn:布尔;zh-tw:布林}-值的函数,应选择“-{zh-cn:布尔;zh-tw:布林}-值相等”。
#* 在相应的-{zh-cn:字段;zh-tw:欄位}-(“第二个-{zh-cn:字符串;zh-tw:字串}-”或“第二个-{zh-cn:布尔;zh-tw:布林}-值”)中添加预期值。
#:[[File:Create a new test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 发布你所做的更新。
'''结果:'''
# 测试是否已發佈成功?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<span id="Create_an_implementation"></span>
== 创建-{zh-cn:实现;zh-tw:實作}- ==
函数通过具体的-{zh-cn:实现;zh-tw:實作}-而得以发挥作用。你可以在Wikifunctions创建的-{zh-cn:实现;zh-tw:實作}-中运行或者重新组合函数。下一部分将会介绍如何[[#Connect an Implementation or Test to a Function|将你的-{zh-cn:实现;zh-tw:實作}-与函数连接起来]]。在创建-{zh-cn:实现;zh-tw:實作}-之前,我们建议先[[#Create tests|创建并连接一个测试]]。有关创建-{zh-cn:实现;zh-tw:實作}-的更详细指南可以参考{{ll|Wikifunctions:How to create implementations}}。
'''步骤:'''
# 在[[Wikifunctions:Main Page|首页]]上挑选一个函数。
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 瀏覽函数的页面。
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 点击那個-{zh-cn:实现;zh-tw:實作}-表上的“+”。
# 你可以通过以下两种方式之一创建新的-{zh-cn:实现;zh-tw:實作}-:
## '''-{zh-cn:代码;zh-tw:程式碼}-'''
##* 选择所需的-{zh-cn:编程;zh-tw:程式設計}-语言来编写函数-{zh-cn:代码;zh-tw:程式碼}-。
##* 输入你的-{zh-cn:代码;zh-tw:程式碼}-。
## '''组合''':
##* 使用现有函数创建一个组合。
#:[[File:Create a new implementation on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 在运行测试(点击{{int|wikilambda-function-test-cases-table-header}}框右侧的圆形箭头)后,发佈你的更新。
'''结果:'''
# -{zh-cn:实现;zh-tw:實作}-是否已發佈成功?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<span id="Connect_an_Implementation_or_Test_to_a_Function"></span>
== 将-{zh-cn:实现;zh-tw:實作}-或测试与函数相连接 ==
:''注意:此功能仅限于 [[Special:MyLanguage/Wikifunctions:Functioneers|函数员]]使用。''
将测试或实现与你的函数相连接,使其得以发挥作用。
'''步骤:'''
# 在[[Wikifunctions:Main Page|首页]]上挑选一个函数。
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 瀏覽函数的页面。
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 选择一个或多个测试,或者选择一个或多个-{zh-cn:实现;zh-tw:實作}-。
#:[[File:A function detail page with with inactive implementations and tests selected.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 点击“{{int|wikilambda-function-details-table-approve}}”按钮。
'''结果:'''
# {{int|wikilambda-function-tester-state-approved}}或{{int|wikilambda-function-tester-state-deactivated}}是否更改成功?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<div lang="en" dir="ltr" class="mw-content-ltr">
== Insert a Function in a Wikipedia article ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Now it is time to insert a function in a Wikipedia article and see the magic unfold.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Open the article you want to add a function to.</span>
#:[[File:How to insert a function 01.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Go to the edit tab and open visual editor.</span>
#:[[File:How to insert a function 02.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on the “Insert” menu at the top of the visual editor. Scroll down and click on “Function”. A dialog box will open.</span>
#:[[File:How to insert a function 03.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Search for the function you want to insert and click on it. Or, try one of the Suggested Functions below the search bar.</span>
#:[[File:How to insert a function 04.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Enter the necessary inputs and click on the “Insert” button at the top right to insert the function into the article.</span>
#:[[File:How to insert a function 05.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">You can now see the output of your function in the article. You can proceed to publish the changes.</span>
#:[[File:How to insert a function 06.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">If you want to edit the function, click on it. A tooltip will appear with the function name and description. Click on the “Edit” button.</span>
#:[[File:How to insert a function 07.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Then you can make changes to the inputs and click on “Apply changes” when you are done editing.</span>
#:[[File:How to insert a function 08.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the output what you expected?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
[[Category:Introduction| {{#translation:}}]]
9439gztf4vm2f1ohcgbnjqhe0q15epo
200024
200022
2025-07-03T09:34:35Z
Winston Sung
2672
200024
wikitext
text/x-wiki
<languages/>
函数是基于所提供数据进行计算、并回答相关问题的计算机指令。例如,当你询问语音助手一公里相当于多少英里时,语音助手可以调用一个函数以计算相应结果。
Wikifunctions是一个开源项目,任何人都能在其中创建各种函数,并分享给其他人使用、重组、测试和学习。
请跟随以下操作指南尝试Wikifunctions的基本功能。我们期待你的[[Special:MyLanguage/Wikifunctions:Report a technical problem|反馈]]与贡献!
<span id="Evaluate_a_Function"></span>
== 运行函数 ==
你可以在Wikifunctions上尝试由社区贡献的函数。先从我们的''[[Wikifunctions:Main Page#Functions to try out|函数库]]''中挑选一个函数,然后输入相应的参数值以查看输出结果。
'''步骤:'''
# 在[[Wikifunctions:Main Page|首页]]上挑选一个函数。
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 瀏覽某個函数的页面。
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 填入输入参数。
#:[[File:Wikifunctions function page with evaluation input filled.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 运行该函数。
#:[[File:Wikifunctions function page with evaluation result.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
'''结果:'''
# 输出结果是否如你所预期?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<span id="Create_a_Function"></span>
== 创建函数 ==
你能够在Wikifunctions中加入自己的函数!你可以自行创建新的函数实现,同时分享给其他人使用。你可以使用你所偏好的编程语言编写新函数。
'''步骤:'''
# 前往[{{MediaWiki:Createfunction-url}} 函数创建页面]。
#:[[File:Wikifunctions create a new function page 01.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 给你的函数取一个名字。
#:[[File:Wikifunctions create a new function page with name filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 定义该函数的输入参数:
## 添加、删除输入参数。
## 定义每一个输入参数的类型。
## 为每一个输入参数命名。
#:[[File:Wikifunctions create a new function page with input type and label filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 定义该函数的输出参数。
#:[[File:Wikifunctions create a new function page with output type filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 你还可以选择性地为以下字段提供多语言的值:
#* 函数名称、函数别名、输入参数标签。
#:[[File:Wikifunctions create a new function page with labels in another language.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 发佈你的函数。
#:[[File:Wikifunctions create a new function page publish button.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
'''结果:'''
# 函数是否已發佈成功?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<span id="Edit_a_Function"></span>
== 编辑函数 ==
你可以通过编辑Wikifunctions的函数库来做出贡献,包括添加或编辑函数的多语言信息,扩展和修改函数的定义。
'''步骤:'''
# 在[[Wikifunctions:Main Page|首页]]上挑选一个函数。
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 瀏覽函数的页面。
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 点击“编辑源代码”以查看该函数的编辑选项。
#:[[File:Edit function that converts a roman numeral to its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 你可以选择性地修改以下字段的值:
## 函数名称;
## 函数别名;
## 输入参数列表
### 添加、删除输入参数
### 编辑输入参数的类型
### 编辑输入参数标签
## 输出参数类型。
# 你还可以选择性地为以下字段提供多语言的值:
## 函数名称;
## 函数别名;
## 输入参数标签。
# 发布你所做的更新。
'''结果:'''
# 你的编辑是否已發佈成功?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<span id="Create_tests"></span>
== 创建测试 ==
你可以在Wikifunctions中为你的函数实现创建测试,以确保它们能正常工作。
'''步骤:'''
# 在[[Wikifunctions:Main Page|首页]]上挑选一个函数,或者也可以使用你在之前流程中所创建的函数。
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 瀏覽函数的页面。
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 点击那個測試表上的“+”。
#:[[File:Details view of a function that turns a roman numeral into its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 在“调用”下点击“{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}”。
## 在“函数”字段下,输入你想要测试的函数的名称,并在其出现时选择该函数。
## 在相应的字段中添加输入参数的值。
#:[[File:Add call to function test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 在“结果验证”下点击“{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}”。在“函数”字段下,输入你想要用来检查结果的函数的名称。
#* 对于输出类型为字符串的函数,应选择“-{zh-cn:字符串;zh-tw:字串}-相等”。而对于输出类型为-{zh-cn:布尔;zh-tw:布林}-值的函数,应选择“-{zh-cn:布尔;zh-tw:布林}-值相等”。
#* 在相应的-{zh-cn:字段;zh-tw:欄位}-(“第二个-{zh-cn:字符串;zh-tw:字串}-”或“第二个-{zh-cn:布尔;zh-tw:布林}-值”)中添加预期值。
#:[[File:Create a new test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 发布你所做的更新。
'''结果:'''
# 测试是否已發佈成功?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<span id="Create_an_implementation"></span>
== 创建函数实现 ==
函数通过具体的-{zh-cn:实现;zh-tw:實作}-而得以发挥作用。你可以在Wikifunctions创建的-{zh-cn:实现;zh-tw:實作}-中运行或者重新组合函数。下一部分将会介绍如何[[#Connect an Implementation or Test to a Function|将你的-{zh-cn:实现;zh-tw:實作}-与函数连接起来]]。在创建-{zh-cn:实现;zh-tw:實作}-之前,我们建议先[[#Create tests|创建并连接一个测试]]。有关创建-{zh-cn:实现;zh-tw:實作}-的更详细指南可以参考{{ll|Wikifunctions:How to create implementations}}。
'''步骤:'''
# 在[[Wikifunctions:Main Page|首页]]上挑选一个函数。
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 瀏覽函数的页面。
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 点击那個-{zh-cn:实现;zh-tw:實作}-表上的“+”。
# 你可以通过以下两种方式之一创建新的-{zh-cn:实现;zh-tw:實作}-:
## '''-{zh-cn:代码;zh-tw:程式碼}-'''
##* 选择所需的-{zh-cn:编程;zh-tw:程式設計}-语言来编写函数-{zh-cn:代码;zh-tw:程式碼}-。
##* 输入你的-{zh-cn:代码;zh-tw:程式碼}-。
## '''组合''':
##* 使用现有函数创建一个组合。
#:[[File:Create a new implementation on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 在运行测试(点击{{int|wikilambda-function-test-cases-table-header}}框右侧的圆形箭头)后,发佈你的更新。
'''结果:'''
# -{zh-cn:实现;zh-tw:實作}-是否已發佈成功?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<span id="Connect_an_Implementation_or_Test_to_a_Function"></span>
== 将-{zh-cn:实现;zh-tw:實作}-或测试与函数相连接 ==
:''注意:此功能仅限于 [[Special:MyLanguage/Wikifunctions:Functioneers|函数员]]使用。''
将测试或实现与你的函数相连接,使其得以发挥作用。
'''步骤:'''
# 在[[Wikifunctions:Main Page|首页]]上挑选一个函数。
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 瀏覽函数的页面。
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 选择一个或多个测试,或者选择一个或多个-{zh-cn:实现;zh-tw:實作}-。
#:[[File:A function detail page with with inactive implementations and tests selected.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 点击“{{int|wikilambda-function-details-table-approve}}”按钮。
'''结果:'''
# {{int|wikilambda-function-tester-state-approved}}或{{int|wikilambda-function-tester-state-deactivated}}是否更改成功?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<div lang="en" dir="ltr" class="mw-content-ltr">
== Insert a Function in a Wikipedia article ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Now it is time to insert a function in a Wikipedia article and see the magic unfold.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Open the article you want to add a function to.</span>
#:[[File:How to insert a function 01.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Go to the edit tab and open visual editor.</span>
#:[[File:How to insert a function 02.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on the “Insert” menu at the top of the visual editor. Scroll down and click on “Function”. A dialog box will open.</span>
#:[[File:How to insert a function 03.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Search for the function you want to insert and click on it. Or, try one of the Suggested Functions below the search bar.</span>
#:[[File:How to insert a function 04.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Enter the necessary inputs and click on the “Insert” button at the top right to insert the function into the article.</span>
#:[[File:How to insert a function 05.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">You can now see the output of your function in the article. You can proceed to publish the changes.</span>
#:[[File:How to insert a function 06.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">If you want to edit the function, click on it. A tooltip will appear with the function name and description. Click on the “Edit” button.</span>
#:[[File:How to insert a function 07.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Then you can make changes to the inputs and click on “Apply changes” when you are done editing.</span>
#:[[File:How to insert a function 08.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the output what you expected?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
[[Category:Introduction| {{#translation:}}]]
aryd20dhc6swq73f4h41s82q0fgno1c
200029
200024
2025-07-03T09:36:14Z
Winston Sung
2672
200029
wikitext
text/x-wiki
<languages/>
函数是基于所提供数据进行计算、并回答相关问题的计算机指令。例如,当你询问语音助手一公里相当于多少英里时,语音助手可以调用一个函数以计算相应结果。
Wikifunctions是一个开源项目,任何人都能在其中创建各种函数,并分享给其他人使用、重组、测试和学习。
请跟随以下操作指南尝试Wikifunctions的基本功能。我们期待你的[[Special:MyLanguage/Wikifunctions:Report a technical problem|反馈]]与贡献!
<span id="Evaluate_a_Function"></span>
== 运行函数 ==
你可以在Wikifunctions上尝试由社群贡献的函数。先从我们的''[[Wikifunctions:Main Page#Functions to try out|函数库]]''中挑选一个函数,然后输入相应的参数值以查看输出结果。
'''步骤:'''
# 在[[Wikifunctions:Main Page|首页]]上挑选一个函数。
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 瀏覽某個函数的页面。
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 填入输入参数。
#:[[File:Wikifunctions function page with evaluation input filled.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 运行该函数。
#:[[File:Wikifunctions function page with evaluation result.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
'''结果:'''
# 输出结果是否如你所预期?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<span id="Create_a_Function"></span>
== 创建函数 ==
你能够在Wikifunctions中加入自己的函数!你可以自行创建新的函数实现,同时分享给其他人使用。你可以使用你所偏好的编程语言编写新函数。
'''步骤:'''
# 前往[{{MediaWiki:Createfunction-url}} 函数创建页面]。
#:[[File:Wikifunctions create a new function page 01.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 给你的函数取一个名字。
#:[[File:Wikifunctions create a new function page with name filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 定义该函数的输入参数:
## 添加、删除输入参数。
## 定义每一个输入参数的类型。
## 为每一个输入参数命名。
#:[[File:Wikifunctions create a new function page with input type and label filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 定义该函数的输出参数。
#:[[File:Wikifunctions create a new function page with output type filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 你还可以选择性地为以下字段提供多语言的值:
#* 函数名称、函数别名、输入参数标签。
#:[[File:Wikifunctions create a new function page with labels in another language.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 发佈你的函数。
#:[[File:Wikifunctions create a new function page publish button.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
'''结果:'''
# 函数是否已發佈成功?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<span id="Edit_a_Function"></span>
== 编辑函数 ==
你可以通过编辑Wikifunctions的函数库来做出贡献,包括添加或编辑函数的多语言信息,扩展和修改函数的定义。
'''步骤:'''
# 在[[Wikifunctions:Main Page|首页]]上挑选一个函数。
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 瀏覽函数的页面。
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 点击“编辑源代码”以查看该函数的编辑选项。
#:[[File:Edit function that converts a roman numeral to its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 你可以选择性地修改以下字段的值:
## 函数名称;
## 函数别名;
## 输入参数列表
### 添加、删除输入参数
### 编辑输入参数的类型
### 编辑输入参数标签
## 输出参数类型。
# 你还可以选择性地为以下字段提供多语言的值:
## 函数名称;
## 函数别名;
## 输入参数标签。
# 发布你所做的更新。
'''结果:'''
# 你的编辑是否已發佈成功?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<span id="Create_tests"></span>
== 创建测试 ==
你可以在Wikifunctions中为你的函数实现创建测试,以确保它们能正常工作。
'''步骤:'''
# 在[[Wikifunctions:Main Page|首页]]上挑选一个函数,或者也可以使用你在之前流程中所创建的函数。
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 瀏覽函数的页面。
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 点击那個測試表上的“+”。
#:[[File:Details view of a function that turns a roman numeral into its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 在“调用”下点击“{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}”。
## 在“函数”字段下,输入你想要测试的函数的名称,并在其出现时选择该函数。
## 在相应的字段中添加输入参数的值。
#:[[File:Add call to function test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 在“结果验证”下点击“{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}”。在“函数”字段下,输入你想要用来检查结果的函数的名称。
#* 对于输出类型为字符串的函数,应选择“-{zh-cn:字符串;zh-tw:字串}-相等”。而对于输出类型为-{zh-cn:布尔;zh-tw:布林}-值的函数,应选择“-{zh-cn:布尔;zh-tw:布林}-值相等”。
#* 在相应的-{zh-cn:字段;zh-tw:欄位}-(“第二个-{zh-cn:字符串;zh-tw:字串}-”或“第二个-{zh-cn:布尔;zh-tw:布林}-值”)中添加预期值。
#:[[File:Create a new test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 发布你所做的更新。
'''结果:'''
# 测试是否已發佈成功?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<span id="Create_an_implementation"></span>
== 创建函数实现 ==
函数通过具体的-{zh-cn:实现;zh-tw:實作}-而得以发挥作用。你可以在Wikifunctions创建的-{zh-cn:实现;zh-tw:實作}-中运行或者重新组合函数。下一部分将会介绍如何[[#Connect an Implementation or Test to a Function|将你的-{zh-cn:实现;zh-tw:實作}-与函数连接起来]]。在创建-{zh-cn:实现;zh-tw:實作}-之前,我们建议先[[#Create tests|创建并连接一个测试]]。有关创建-{zh-cn:实现;zh-tw:實作}-的更详细指南可以参考{{ll|Wikifunctions:How to create implementations}}。
'''步骤:'''
# 在[[Wikifunctions:Main Page|首页]]上挑选一个函数。
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 瀏覽函数的页面。
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 点击那個-{zh-cn:实现;zh-tw:實作}-表上的“+”。
# 你可以通过以下两种方式之一创建新的-{zh-cn:实现;zh-tw:實作}-:
## '''-{zh-cn:代码;zh-tw:程式碼}-'''
##* 选择所需的-{zh-cn:编程;zh-tw:程式設計}-语言来编写函数-{zh-cn:代码;zh-tw:程式碼}-。
##* 输入你的-{zh-cn:代码;zh-tw:程式碼}-。
## '''组合''':
##* 使用现有函数创建一个组合。
#:[[File:Create a new implementation on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 在运行测试(点击{{int|wikilambda-function-test-cases-table-header}}框右侧的圆形箭头)后,发佈你的更新。
'''结果:'''
# -{zh-cn:实现;zh-tw:實作}-是否已發佈成功?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<span id="Connect_an_Implementation_or_Test_to_a_Function"></span>
== 将-{zh-cn:实现;zh-tw:實作}-或测试与函数相连接 ==
:''注意:此功能仅限于 [[Special:MyLanguage/Wikifunctions:Functioneers|函数员]]使用。''
将测试或实现与你的函数相连接,使其得以发挥作用。
'''步骤:'''
# 在[[Wikifunctions:Main Page|首页]]上挑选一个函数。
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 瀏覽函数的页面。
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 选择一个或多个测试,或者选择一个或多个-{zh-cn:实现;zh-tw:實作}-。
#:[[File:A function detail page with with inactive implementations and tests selected.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 点击“{{int|wikilambda-function-details-table-approve}}”按钮。
'''结果:'''
# {{int|wikilambda-function-tester-state-approved}}或{{int|wikilambda-function-tester-state-deactivated}}是否更改成功?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<div lang="en" dir="ltr" class="mw-content-ltr">
== Insert a Function in a Wikipedia article ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Now it is time to insert a function in a Wikipedia article and see the magic unfold.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Open the article you want to add a function to.</span>
#:[[File:How to insert a function 01.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Go to the edit tab and open visual editor.</span>
#:[[File:How to insert a function 02.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on the “Insert” menu at the top of the visual editor. Scroll down and click on “Function”. A dialog box will open.</span>
#:[[File:How to insert a function 03.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Search for the function you want to insert and click on it. Or, try one of the Suggested Functions below the search bar.</span>
#:[[File:How to insert a function 04.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Enter the necessary inputs and click on the “Insert” button at the top right to insert the function into the article.</span>
#:[[File:How to insert a function 05.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">You can now see the output of your function in the article. You can proceed to publish the changes.</span>
#:[[File:How to insert a function 06.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">If you want to edit the function, click on it. A tooltip will appear with the function name and description. Click on the “Edit” button.</span>
#:[[File:How to insert a function 07.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Then you can make changes to the inputs and click on “Apply changes” when you are done editing.</span>
#:[[File:How to insert a function 08.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the output what you expected?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
[[Category:Introduction| {{#translation:}}]]
s8h6in801j9e1ltv6xye5819c56uldv
200093
200029
2025-07-03T09:45:05Z
Winston Sung
2672
200093
wikitext
text/x-wiki
<languages/>
函数是基于所提供数据进行计算、并回答相关问题的计算机指令。例如,当你询问语音助手一公里相当于多少英里时,语音助手可以调用一个函数以计算相应结果。
Wikifunctions是一个开源项目,任何人都能在其中创建各种函数,并分享给其他人使用、重组、测试和学习。
请跟随以下操作指南尝试Wikifunctions的基本功能。我们期待你的[[Special:MyLanguage/Wikifunctions:Report a technical problem|反馈]]与贡献!
<span id="Evaluate_a_Function"></span>
== 运行函数 ==
你可以在Wikifunctions上尝试由社群贡献的函数。先从我们的''[[Wikifunctions:Main Page#Functions to try out|函数库]]''中挑选一个函数,然后输入相应的参数值以查看输出结果。
'''步骤:'''
# 在[[Wikifunctions:Main Page|首页]]上挑选一个函数。
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 瀏覽某個函数的页面。
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 填入输入参数。
#:[[File:Wikifunctions function page with evaluation input filled.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 运行该函数。
#:[[File:Wikifunctions function page with evaluation result.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
'''结果:'''
# 输出结果是否如你所预期?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<span id="Create_a_Function"></span>
== 创建函数 ==
你能够在Wikifunctions中加入自己的函数!你可以自行创建新的函数实现,同时分享给其他人使用。你可以使用你所偏好的编程语言编写新函数。
'''步骤:'''
# 前往[{{MediaWiki:Createfunction-url}} 函数创建页面]。
#:[[File:Wikifunctions create a new function page 01.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 命名函数。
#:[[File:Wikifunctions create a new function page with name filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 定义该函数的输入参数:
## 添加、删除输入参数。
## 定义每一个输入参数的类型。
## 为每一个输入参数命名。
#:[[File:Wikifunctions create a new function page with input type and label filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 定义该函数的输出参数。
#:[[File:Wikifunctions create a new function page with output type filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 你还可以选择性地为以下字段提供多语言的值:
#* 函数名称、函数别名、输入参数标签。
#:[[File:Wikifunctions create a new function page with labels in another language.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 发佈你的函数。
#:[[File:Wikifunctions create a new function page publish button.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
'''结果:'''
# 函数是否已發佈成功?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<span id="Edit_a_Function"></span>
== 编辑函数 ==
你可以通过编辑Wikifunctions的函数库来做出贡献,包括添加或编辑函数的多语言信息,扩展和修改函数的定义。
'''步骤:'''
# 在[[Wikifunctions:Main Page|首页]]上挑选一个函数。
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 瀏覽函数的页面。
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 点击“编辑源代码”以查看该函数的编辑选项。
#:[[File:Edit function that converts a roman numeral to its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 你可以选择性地修改以下字段的值:
## 函数名称;
## 函数别名;
## 输入参数列表
### 添加、删除输入参数
### 编辑输入参数的类型
### 编辑输入参数标签
## 输出参数类型。
# 你还可以选择性地为以下字段提供多语言的值:
## 函数名称;
## 函数别名;
## 输入参数标签。
# 发布你所做的更新。
'''结果:'''
# 你的编辑是否已發佈成功?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<span id="Create_tests"></span>
== 创建测试 ==
你可以在Wikifunctions中为你的函数实现创建测试,以确保它们能正常工作。
'''步骤:'''
# 在[[Wikifunctions:Main Page|首页]]上挑选一个函数,或者也可以使用你在之前流程中所创建的函数。
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 瀏覽函数的页面。
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 点击那個測試表上的“+”。
#:[[File:Details view of a function that turns a roman numeral into its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 在“调用”下点击“{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}”。
## 在“函数”字段下,输入你想要测试的函数的名称,并在其出现时选择该函数。
## 在相应的字段中添加输入参数的值。
#:[[File:Add call to function test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 在“结果验证”下点击“{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}”。在“函数”字段下,输入你想要用来检查结果的函数的名称。
#* 对于输出类型为字符串的函数,应选择“-{zh-cn:字符串;zh-tw:字串}-相等”。而对于输出类型为-{zh-cn:布尔;zh-tw:布林}-值的函数,应选择“-{zh-cn:布尔;zh-tw:布林}-值相等”。
#* 在相应的-{zh-cn:字段;zh-tw:欄位}-(“第二个-{zh-cn:字符串;zh-tw:字串}-”或“第二个-{zh-cn:布尔;zh-tw:布林}-值”)中添加预期值。
#:[[File:Create a new test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 发布你所做的更新。
'''结果:'''
# 测试是否已發佈成功?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<span id="Create_an_implementation"></span>
== 创建函数实现 ==
函数通过具体的-{zh-cn:实现;zh-tw:實作}-而得以发挥作用。你可以在Wikifunctions创建的-{zh-cn:实现;zh-tw:實作}-中运行或者重新组合函数。下一部分将会介绍如何[[#Connect an Implementation or Test to a Function|将你的-{zh-cn:实现;zh-tw:實作}-与函数连接起来]]。在创建-{zh-cn:实现;zh-tw:實作}-之前,我们建议先[[#Create tests|创建并连接一个测试]]。有关创建-{zh-cn:实现;zh-tw:實作}-的更详细指南可以参考{{ll|Wikifunctions:How to create implementations}}。
'''步骤:'''
# 在[[Wikifunctions:Main Page|首页]]上挑选一个函数。
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 瀏覽函数的页面。
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 点击那個-{zh-cn:实现;zh-tw:實作}-表上的“+”。
# 你可以通过以下两种方式之一创建新的-{zh-cn:实现;zh-tw:實作}-:
## '''-{zh-cn:代码;zh-tw:程式碼}-'''
##* 选择所需的-{zh-cn:编程;zh-tw:程式設計}-语言来编写函数-{zh-cn:代码;zh-tw:程式碼}-。
##* 输入你的-{zh-cn:代码;zh-tw:程式碼}-。
## '''组合''':
##* 使用现有函数创建一个组合。
#:[[File:Create a new implementation on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 在运行测试(点击{{int|wikilambda-function-test-cases-table-header}}框右侧的圆形箭头)后,发佈你的更新。
'''结果:'''
# -{zh-cn:实现;zh-tw:實作}-是否已發佈成功?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<span id="Connect_an_Implementation_or_Test_to_a_Function"></span>
== 将-{zh-cn:实现;zh-tw:實作}-或测试与函数相连接 ==
:''注意:此功能仅限于 [[Special:MyLanguage/Wikifunctions:Functioneers|函数员]]使用。''
将测试或实现与你的函数相连接,使其得以发挥作用。
'''步骤:'''
# 在[[Wikifunctions:Main Page|首页]]上挑选一个函数。
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 瀏覽函数的页面。
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 选择一个或多个测试,或者选择一个或多个-{zh-cn:实现;zh-tw:實作}-。
#:[[File:A function detail page with with inactive implementations and tests selected.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 点击“{{int|wikilambda-function-details-table-approve}}”按钮。
'''结果:'''
# {{int|wikilambda-function-tester-state-approved}}或{{int|wikilambda-function-tester-state-deactivated}}是否更改成功?
# 你是否有任何更正或反馈想要[[Special:MyLanguage/Wikifunctions:Report a technical problem|提交]]?
<div lang="en" dir="ltr" class="mw-content-ltr">
== Insert a Function in a Wikipedia article ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Now it is time to insert a function in a Wikipedia article and see the magic unfold.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Open the article you want to add a function to.</span>
#:[[File:How to insert a function 01.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Go to the edit tab and open visual editor.</span>
#:[[File:How to insert a function 02.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on the “Insert” menu at the top of the visual editor. Scroll down and click on “Function”. A dialog box will open.</span>
#:[[File:How to insert a function 03.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Search for the function you want to insert and click on it. Or, try one of the Suggested Functions below the search bar.</span>
#:[[File:How to insert a function 04.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Enter the necessary inputs and click on the “Insert” button at the top right to insert the function into the article.</span>
#:[[File:How to insert a function 05.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">You can now see the output of your function in the article. You can proceed to publish the changes.</span>
#:[[File:How to insert a function 06.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">If you want to edit the function, click on it. A tooltip will appear with the function name and description. Click on the “Edit” button.</span>
#:[[File:How to insert a function 07.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Then you can make changes to the inputs and click on “Apply changes” when you are done editing.</span>
#:[[File:How to insert a function 08.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the output what you expected?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
[[Category:Introduction| {{#translation:}}]]
hjhatgh8j5t7ulhm7giw437xzlcyemn
Translations:Wikifunctions:Introduction/Page display title/zh-hant
1198
60334
200025
2025-07-03T09:35:03Z
Winston Sung
2672
Created page with "維基函式庫:介紹"
200025
wikitext
text/x-wiki
維基函式庫:介紹
9eka1ozsjvsakriqpdweopnmeoqj5l5
Translations:Wikifunctions:Introduction/99/zh-hant
1198
60335
200026
2025-07-03T09:35:54Z
Winston Sung
2672
Created page with "== 執行函式 =="
200026
wikitext
text/x-wiki
== 執行函式 ==
cqlam48ln3osomt1dl8arolb915hlvj
Wikifunctions:Introduction/zh-hant
4
60336
200027
2025-07-03T09:35:55Z
Winston Sung
2672
Created page with "== 執行函式 =="
200027
wikitext
text/x-wiki
<languages/>
<div lang="en" dir="ltr" class="mw-content-ltr">
Functions are computer instructions that make calculations on the data you provide, and answer questions you have about them. For example, when you ask a voice assistant how many miles are in a kilometer, the voice assistant calls a function to calculate it for you.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Wikifunctions is an open source project that enables anyone to create functions and share them for others to use, remix, test, and learn from.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Use the following how-to guides to try out the basic features of Wikifunctions. We are looking forward to your [[Special:MyLanguage/Wikifunctions:Report a technical problem|feedback]] and contributions!
</div>
<span id="Evaluate_a_Function"></span>
== 執行函式 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
You can try out community-contributed functions on Wikifunctions for yourself! Pick one from our ''[[Wikifunctions:Main Page#Functions to try out|library of functions]]'', and give input values to discover the output.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to a function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Enter the input values.</span>
#:[[File:Wikifunctions function page with evaluation input filled.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Run the function.</span>
#:[[File:Wikifunctions function page with evaluation result.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the output what you expected?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Create a Function ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
You can add your own functions to Wikifunctions! Create a new function for use in your own implementations and enable others to use it as well. New functions can be written in your preferred language.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Go to the ''[{{MediaWiki:Createfunction-url}} function creation page]''.</span>
#:[[File:Wikifunctions create a new function page 01.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Name your function.</span>
#:[[File:Wikifunctions create a new function page with name filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Define your function's inputs:</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Add/remove input fields.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Define each input type.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Name each input.</span>
#:[[File:Wikifunctions create a new function page with input type and label filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Define your function output type.</span>
#:[[File:Wikifunctions create a new function page with output type filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, provide multilingual values for any of these fields:</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">Function name, function aliases, input labels.</span>
#:[[File:Wikifunctions create a new function page with labels in another language.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Publish your function.</span>
#:[[File:Wikifunctions create a new function page publish button.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the function successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Edit a Function ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
You can contribute to Wikifunctions by editing its library of functions. Add or edit multilingual information to functions, and expand and alter the definitions of functions.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click Edit source to see the edit options for this function.</span>
#:[[File:Edit function that converts a roman numeral to its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, modify the values of:</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Function name,</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Function aliases,</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Input list</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Add/remove input fields</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Edit input type</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Edit input labels</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Output type.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, provide multilingual values for any of these fields:</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Function name</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Function aliases</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Input labels.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Publish your updates.</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Were your edits successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Create tests ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
You can create tests for your function implementations in Wikifunctions to ensure they are working properly.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]'' or the function you created in the previous workflow.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click the “+” link in the tests table.</span>
#:[[File:Details view of a function that turns a roman numeral into its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on "{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}" under "Call".</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">In the field under "Function", type in the name of the function you are testing and select the function when it shows up.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Add values for the inputs in the respective fields.</span>
#:[[File:Add call to function test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on "{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}" under "Result Validation". In the field under "Function", type in the name of the function you want to use to check the result.</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">For a function whose output is String, this will be "String equality", for a function whose output is Boolean, this will be "Boolean equality".</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">Add the expected value in the given field (either "Second String" or "Second Boolean").</span>
#:[[File:Create a new test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Publish your updates.</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the test successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Create an implementation ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Functions are brought to life in implementations created to suit your needs. Run, remix, and combine functions via implementations in Wikifunctions. See the section below to learn how to [[#Connect an Implementation or Test to a Function|connect your implementation to functions]]. We recommend [[#Create tests|creating and connecting a test]] before creating an implementation. A more comprehensive guide to creating implementations is available at {{ll|Wikifunctions:How to create implementations}}.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click the “+” link in the implementations table.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">You can create a new implementation in one of two ways:</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">'''Code'''</span>
##* <span lang="en" dir="ltr" class="mw-content-ltr">Select the required programming language to write the function code.</span>
##* <span lang="en" dir="ltr" class="mw-content-ltr">Input your code.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">'''Composition''':</span>
##* <span lang="en" dir="ltr" class="mw-content-ltr">Create a composition using existing functions.</span>
#:[[File:Create a new implementation on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Publish your updates (after running a test by clicking the round arrow on the right of the box titled {{int|wikilambda-function-test-cases-table-header}}).</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the implementation successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Connect an Implementation or Test to a Function ==
</div>
:<span lang="en" dir="ltr" class="mw-content-ltr">''Note: This feature is only available to [[Special:MyLanguage/Wikifunctions:Functioneers|Functioneers]].''</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
Connect tests and implementations to your function to see it come to life.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Select one or more tests, or one or more implementations.</span>
#:[[File:A function detail page with with inactive implementations and tests selected.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on the button “{{int|wikilambda-function-details-table-approve}}”.</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the {{int|wikilambda-function-tester-state-approved}}/{{int|wikilambda-function-tester-state-deactivated}} state successfully changed?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Insert a Function in a Wikipedia article ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Now it is time to insert a function in a Wikipedia article and see the magic unfold.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Open the article you want to add a function to.</span>
#:[[File:How to insert a function 01.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Go to the edit tab and open visual editor.</span>
#:[[File:How to insert a function 02.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on the “Insert” menu at the top of the visual editor. Scroll down and click on “Function”. A dialog box will open.</span>
#:[[File:How to insert a function 03.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Search for the function you want to insert and click on it. Or, try one of the Suggested Functions below the search bar.</span>
#:[[File:How to insert a function 04.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Enter the necessary inputs and click on the “Insert” button at the top right to insert the function into the article.</span>
#:[[File:How to insert a function 05.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">You can now see the output of your function in the article. You can proceed to publish the changes.</span>
#:[[File:How to insert a function 06.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">If you want to edit the function, click on it. A tooltip will appear with the function name and description. Click on the “Edit” button.</span>
#:[[File:How to insert a function 07.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Then you can make changes to the inputs and click on “Apply changes” when you are done editing.</span>
#:[[File:How to insert a function 08.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the output what you expected?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
[[Category:Introduction| {{#translation:}}]]
tk69b9ikhd0uk7p2wcxkcb4bzzpvb18
200031
200027
2025-07-03T09:36:36Z
Winston Sung
2672
Created page with "'''步驟:'''"
200031
wikitext
text/x-wiki
<languages/>
<div lang="en" dir="ltr" class="mw-content-ltr">
Functions are computer instructions that make calculations on the data you provide, and answer questions you have about them. For example, when you ask a voice assistant how many miles are in a kilometer, the voice assistant calls a function to calculate it for you.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Wikifunctions is an open source project that enables anyone to create functions and share them for others to use, remix, test, and learn from.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Use the following how-to guides to try out the basic features of Wikifunctions. We are looking forward to your [[Special:MyLanguage/Wikifunctions:Report a technical problem|feedback]] and contributions!
</div>
<span id="Evaluate_a_Function"></span>
== 執行函式 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
You can try out community-contributed functions on Wikifunctions for yourself! Pick one from our ''[[Wikifunctions:Main Page#Functions to try out|library of functions]]'', and give input values to discover the output.
</div>
'''步驟:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to a function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Enter the input values.</span>
#:[[File:Wikifunctions function page with evaluation input filled.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Run the function.</span>
#:[[File:Wikifunctions function page with evaluation result.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the output what you expected?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Create a Function ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
You can add your own functions to Wikifunctions! Create a new function for use in your own implementations and enable others to use it as well. New functions can be written in your preferred language.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Go to the ''[{{MediaWiki:Createfunction-url}} function creation page]''.</span>
#:[[File:Wikifunctions create a new function page 01.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Name your function.</span>
#:[[File:Wikifunctions create a new function page with name filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Define your function's inputs:</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Add/remove input fields.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Define each input type.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Name each input.</span>
#:[[File:Wikifunctions create a new function page with input type and label filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Define your function output type.</span>
#:[[File:Wikifunctions create a new function page with output type filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, provide multilingual values for any of these fields:</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">Function name, function aliases, input labels.</span>
#:[[File:Wikifunctions create a new function page with labels in another language.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Publish your function.</span>
#:[[File:Wikifunctions create a new function page publish button.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the function successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Edit a Function ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
You can contribute to Wikifunctions by editing its library of functions. Add or edit multilingual information to functions, and expand and alter the definitions of functions.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click Edit source to see the edit options for this function.</span>
#:[[File:Edit function that converts a roman numeral to its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, modify the values of:</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Function name,</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Function aliases,</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Input list</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Add/remove input fields</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Edit input type</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Edit input labels</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Output type.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, provide multilingual values for any of these fields:</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Function name</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Function aliases</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Input labels.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Publish your updates.</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Were your edits successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Create tests ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
You can create tests for your function implementations in Wikifunctions to ensure they are working properly.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]'' or the function you created in the previous workflow.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click the “+” link in the tests table.</span>
#:[[File:Details view of a function that turns a roman numeral into its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on "{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}" under "Call".</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">In the field under "Function", type in the name of the function you are testing and select the function when it shows up.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Add values for the inputs in the respective fields.</span>
#:[[File:Add call to function test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on "{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}" under "Result Validation". In the field under "Function", type in the name of the function you want to use to check the result.</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">For a function whose output is String, this will be "String equality", for a function whose output is Boolean, this will be "Boolean equality".</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">Add the expected value in the given field (either "Second String" or "Second Boolean").</span>
#:[[File:Create a new test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Publish your updates.</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the test successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Create an implementation ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Functions are brought to life in implementations created to suit your needs. Run, remix, and combine functions via implementations in Wikifunctions. See the section below to learn how to [[#Connect an Implementation or Test to a Function|connect your implementation to functions]]. We recommend [[#Create tests|creating and connecting a test]] before creating an implementation. A more comprehensive guide to creating implementations is available at {{ll|Wikifunctions:How to create implementations}}.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click the “+” link in the implementations table.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">You can create a new implementation in one of two ways:</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">'''Code'''</span>
##* <span lang="en" dir="ltr" class="mw-content-ltr">Select the required programming language to write the function code.</span>
##* <span lang="en" dir="ltr" class="mw-content-ltr">Input your code.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">'''Composition''':</span>
##* <span lang="en" dir="ltr" class="mw-content-ltr">Create a composition using existing functions.</span>
#:[[File:Create a new implementation on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Publish your updates (after running a test by clicking the round arrow on the right of the box titled {{int|wikilambda-function-test-cases-table-header}}).</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the implementation successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Connect an Implementation or Test to a Function ==
</div>
:<span lang="en" dir="ltr" class="mw-content-ltr">''Note: This feature is only available to [[Special:MyLanguage/Wikifunctions:Functioneers|Functioneers]].''</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
Connect tests and implementations to your function to see it come to life.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Select one or more tests, or one or more implementations.</span>
#:[[File:A function detail page with with inactive implementations and tests selected.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on the button “{{int|wikilambda-function-details-table-approve}}”.</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the {{int|wikilambda-function-tester-state-approved}}/{{int|wikilambda-function-tester-state-deactivated}} state successfully changed?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Insert a Function in a Wikipedia article ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Now it is time to insert a function in a Wikipedia article and see the magic unfold.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Open the article you want to add a function to.</span>
#:[[File:How to insert a function 01.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Go to the edit tab and open visual editor.</span>
#:[[File:How to insert a function 02.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on the “Insert” menu at the top of the visual editor. Scroll down and click on “Function”. A dialog box will open.</span>
#:[[File:How to insert a function 03.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Search for the function you want to insert and click on it. Or, try one of the Suggested Functions below the search bar.</span>
#:[[File:How to insert a function 04.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Enter the necessary inputs and click on the “Insert” button at the top right to insert the function into the article.</span>
#:[[File:How to insert a function 05.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">You can now see the output of your function in the article. You can proceed to publish the changes.</span>
#:[[File:How to insert a function 06.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">If you want to edit the function, click on it. A tooltip will appear with the function name and description. Click on the “Edit” button.</span>
#:[[File:How to insert a function 07.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Then you can make changes to the inputs and click on “Apply changes” when you are done editing.</span>
#:[[File:How to insert a function 08.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the output what you expected?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
[[Category:Introduction| {{#translation:}}]]
iaupz1pve7jqxosutr4r5zuz5ms7jfk
200033
200031
2025-07-03T09:37:15Z
Winston Sung
2672
Created page with "執行函式。"
200033
wikitext
text/x-wiki
<languages/>
<div lang="en" dir="ltr" class="mw-content-ltr">
Functions are computer instructions that make calculations on the data you provide, and answer questions you have about them. For example, when you ask a voice assistant how many miles are in a kilometer, the voice assistant calls a function to calculate it for you.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Wikifunctions is an open source project that enables anyone to create functions and share them for others to use, remix, test, and learn from.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Use the following how-to guides to try out the basic features of Wikifunctions. We are looking forward to your [[Special:MyLanguage/Wikifunctions:Report a technical problem|feedback]] and contributions!
</div>
<span id="Evaluate_a_Function"></span>
== 執行函式 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
You can try out community-contributed functions on Wikifunctions for yourself! Pick one from our ''[[Wikifunctions:Main Page#Functions to try out|library of functions]]'', and give input values to discover the output.
</div>
'''步驟:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to a function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Enter the input values.</span>
#:[[File:Wikifunctions function page with evaluation input filled.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 執行函式。
#:[[File:Wikifunctions function page with evaluation result.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the output what you expected?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Create a Function ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
You can add your own functions to Wikifunctions! Create a new function for use in your own implementations and enable others to use it as well. New functions can be written in your preferred language.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Go to the ''[{{MediaWiki:Createfunction-url}} function creation page]''.</span>
#:[[File:Wikifunctions create a new function page 01.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Name your function.</span>
#:[[File:Wikifunctions create a new function page with name filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Define your function's inputs:</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Add/remove input fields.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Define each input type.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Name each input.</span>
#:[[File:Wikifunctions create a new function page with input type and label filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Define your function output type.</span>
#:[[File:Wikifunctions create a new function page with output type filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, provide multilingual values for any of these fields:</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">Function name, function aliases, input labels.</span>
#:[[File:Wikifunctions create a new function page with labels in another language.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Publish your function.</span>
#:[[File:Wikifunctions create a new function page publish button.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the function successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Edit a Function ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
You can contribute to Wikifunctions by editing its library of functions. Add or edit multilingual information to functions, and expand and alter the definitions of functions.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click Edit source to see the edit options for this function.</span>
#:[[File:Edit function that converts a roman numeral to its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, modify the values of:</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Function name,</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Function aliases,</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Input list</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Add/remove input fields</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Edit input type</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Edit input labels</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Output type.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, provide multilingual values for any of these fields:</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Function name</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Function aliases</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Input labels.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Publish your updates.</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Were your edits successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Create tests ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
You can create tests for your function implementations in Wikifunctions to ensure they are working properly.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]'' or the function you created in the previous workflow.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click the “+” link in the tests table.</span>
#:[[File:Details view of a function that turns a roman numeral into its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on "{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}" under "Call".</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">In the field under "Function", type in the name of the function you are testing and select the function when it shows up.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Add values for the inputs in the respective fields.</span>
#:[[File:Add call to function test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on "{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}" under "Result Validation". In the field under "Function", type in the name of the function you want to use to check the result.</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">For a function whose output is String, this will be "String equality", for a function whose output is Boolean, this will be "Boolean equality".</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">Add the expected value in the given field (either "Second String" or "Second Boolean").</span>
#:[[File:Create a new test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Publish your updates.</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the test successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Create an implementation ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Functions are brought to life in implementations created to suit your needs. Run, remix, and combine functions via implementations in Wikifunctions. See the section below to learn how to [[#Connect an Implementation or Test to a Function|connect your implementation to functions]]. We recommend [[#Create tests|creating and connecting a test]] before creating an implementation. A more comprehensive guide to creating implementations is available at {{ll|Wikifunctions:How to create implementations}}.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click the “+” link in the implementations table.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">You can create a new implementation in one of two ways:</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">'''Code'''</span>
##* <span lang="en" dir="ltr" class="mw-content-ltr">Select the required programming language to write the function code.</span>
##* <span lang="en" dir="ltr" class="mw-content-ltr">Input your code.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">'''Composition''':</span>
##* <span lang="en" dir="ltr" class="mw-content-ltr">Create a composition using existing functions.</span>
#:[[File:Create a new implementation on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Publish your updates (after running a test by clicking the round arrow on the right of the box titled {{int|wikilambda-function-test-cases-table-header}}).</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the implementation successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Connect an Implementation or Test to a Function ==
</div>
:<span lang="en" dir="ltr" class="mw-content-ltr">''Note: This feature is only available to [[Special:MyLanguage/Wikifunctions:Functioneers|Functioneers]].''</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
Connect tests and implementations to your function to see it come to life.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Select one or more tests, or one or more implementations.</span>
#:[[File:A function detail page with with inactive implementations and tests selected.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on the button “{{int|wikilambda-function-details-table-approve}}”.</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the {{int|wikilambda-function-tester-state-approved}}/{{int|wikilambda-function-tester-state-deactivated}} state successfully changed?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Insert a Function in a Wikipedia article ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Now it is time to insert a function in a Wikipedia article and see the magic unfold.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Open the article you want to add a function to.</span>
#:[[File:How to insert a function 01.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Go to the edit tab and open visual editor.</span>
#:[[File:How to insert a function 02.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on the “Insert” menu at the top of the visual editor. Scroll down and click on “Function”. A dialog box will open.</span>
#:[[File:How to insert a function 03.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Search for the function you want to insert and click on it. Or, try one of the Suggested Functions below the search bar.</span>
#:[[File:How to insert a function 04.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Enter the necessary inputs and click on the “Insert” button at the top right to insert the function into the article.</span>
#:[[File:How to insert a function 05.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">You can now see the output of your function in the article. You can proceed to publish the changes.</span>
#:[[File:How to insert a function 06.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">If you want to edit the function, click on it. A tooltip will appear with the function name and description. Click on the “Edit” button.</span>
#:[[File:How to insert a function 07.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Then you can make changes to the inputs and click on “Apply changes” when you are done editing.</span>
#:[[File:How to insert a function 08.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the output what you expected?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
[[Category:Introduction| {{#translation:}}]]
7an49y12020j0dqv70v44uxhuxil6vr
200035
200033
2025-07-03T09:37:25Z
Winston Sung
2672
Created page with "'''結果:'''"
200035
wikitext
text/x-wiki
<languages/>
<div lang="en" dir="ltr" class="mw-content-ltr">
Functions are computer instructions that make calculations on the data you provide, and answer questions you have about them. For example, when you ask a voice assistant how many miles are in a kilometer, the voice assistant calls a function to calculate it for you.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Wikifunctions is an open source project that enables anyone to create functions and share them for others to use, remix, test, and learn from.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Use the following how-to guides to try out the basic features of Wikifunctions. We are looking forward to your [[Special:MyLanguage/Wikifunctions:Report a technical problem|feedback]] and contributions!
</div>
<span id="Evaluate_a_Function"></span>
== 執行函式 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
You can try out community-contributed functions on Wikifunctions for yourself! Pick one from our ''[[Wikifunctions:Main Page#Functions to try out|library of functions]]'', and give input values to discover the output.
</div>
'''步驟:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to a function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Enter the input values.</span>
#:[[File:Wikifunctions function page with evaluation input filled.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 執行函式。
#:[[File:Wikifunctions function page with evaluation result.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
'''結果:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the output what you expected?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Create a Function ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
You can add your own functions to Wikifunctions! Create a new function for use in your own implementations and enable others to use it as well. New functions can be written in your preferred language.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Go to the ''[{{MediaWiki:Createfunction-url}} function creation page]''.</span>
#:[[File:Wikifunctions create a new function page 01.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Name your function.</span>
#:[[File:Wikifunctions create a new function page with name filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Define your function's inputs:</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Add/remove input fields.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Define each input type.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Name each input.</span>
#:[[File:Wikifunctions create a new function page with input type and label filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Define your function output type.</span>
#:[[File:Wikifunctions create a new function page with output type filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, provide multilingual values for any of these fields:</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">Function name, function aliases, input labels.</span>
#:[[File:Wikifunctions create a new function page with labels in another language.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Publish your function.</span>
#:[[File:Wikifunctions create a new function page publish button.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the function successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Edit a Function ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
You can contribute to Wikifunctions by editing its library of functions. Add or edit multilingual information to functions, and expand and alter the definitions of functions.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click Edit source to see the edit options for this function.</span>
#:[[File:Edit function that converts a roman numeral to its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, modify the values of:</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Function name,</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Function aliases,</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Input list</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Add/remove input fields</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Edit input type</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Edit input labels</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Output type.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, provide multilingual values for any of these fields:</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Function name</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Function aliases</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Input labels.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Publish your updates.</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Were your edits successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Create tests ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
You can create tests for your function implementations in Wikifunctions to ensure they are working properly.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]'' or the function you created in the previous workflow.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click the “+” link in the tests table.</span>
#:[[File:Details view of a function that turns a roman numeral into its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on "{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}" under "Call".</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">In the field under "Function", type in the name of the function you are testing and select the function when it shows up.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Add values for the inputs in the respective fields.</span>
#:[[File:Add call to function test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on "{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}" under "Result Validation". In the field under "Function", type in the name of the function you want to use to check the result.</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">For a function whose output is String, this will be "String equality", for a function whose output is Boolean, this will be "Boolean equality".</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">Add the expected value in the given field (either "Second String" or "Second Boolean").</span>
#:[[File:Create a new test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Publish your updates.</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the test successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Create an implementation ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Functions are brought to life in implementations created to suit your needs. Run, remix, and combine functions via implementations in Wikifunctions. See the section below to learn how to [[#Connect an Implementation or Test to a Function|connect your implementation to functions]]. We recommend [[#Create tests|creating and connecting a test]] before creating an implementation. A more comprehensive guide to creating implementations is available at {{ll|Wikifunctions:How to create implementations}}.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click the “+” link in the implementations table.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">You can create a new implementation in one of two ways:</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">'''Code'''</span>
##* <span lang="en" dir="ltr" class="mw-content-ltr">Select the required programming language to write the function code.</span>
##* <span lang="en" dir="ltr" class="mw-content-ltr">Input your code.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">'''Composition''':</span>
##* <span lang="en" dir="ltr" class="mw-content-ltr">Create a composition using existing functions.</span>
#:[[File:Create a new implementation on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Publish your updates (after running a test by clicking the round arrow on the right of the box titled {{int|wikilambda-function-test-cases-table-header}}).</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the implementation successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Connect an Implementation or Test to a Function ==
</div>
:<span lang="en" dir="ltr" class="mw-content-ltr">''Note: This feature is only available to [[Special:MyLanguage/Wikifunctions:Functioneers|Functioneers]].''</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
Connect tests and implementations to your function to see it come to life.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Select one or more tests, or one or more implementations.</span>
#:[[File:A function detail page with with inactive implementations and tests selected.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on the button “{{int|wikilambda-function-details-table-approve}}”.</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the {{int|wikilambda-function-tester-state-approved}}/{{int|wikilambda-function-tester-state-deactivated}} state successfully changed?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Insert a Function in a Wikipedia article ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Now it is time to insert a function in a Wikipedia article and see the magic unfold.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Open the article you want to add a function to.</span>
#:[[File:How to insert a function 01.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Go to the edit tab and open visual editor.</span>
#:[[File:How to insert a function 02.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on the “Insert” menu at the top of the visual editor. Scroll down and click on “Function”. A dialog box will open.</span>
#:[[File:How to insert a function 03.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Search for the function you want to insert and click on it. Or, try one of the Suggested Functions below the search bar.</span>
#:[[File:How to insert a function 04.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Enter the necessary inputs and click on the “Insert” button at the top right to insert the function into the article.</span>
#:[[File:How to insert a function 05.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">You can now see the output of your function in the article. You can proceed to publish the changes.</span>
#:[[File:How to insert a function 06.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">If you want to edit the function, click on it. A tooltip will appear with the function name and description. Click on the “Edit” button.</span>
#:[[File:How to insert a function 07.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Then you can make changes to the inputs and click on “Apply changes” when you are done editing.</span>
#:[[File:How to insert a function 08.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the output what you expected?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
[[Category:Introduction| {{#translation:}}]]
6f7httif6lkzwv4qw89mqk5rc7vrybj
200037
200035
2025-07-03T09:37:37Z
Winston Sung
2672
Created page with "== 建立函式 =="
200037
wikitext
text/x-wiki
<languages/>
<div lang="en" dir="ltr" class="mw-content-ltr">
Functions are computer instructions that make calculations on the data you provide, and answer questions you have about them. For example, when you ask a voice assistant how many miles are in a kilometer, the voice assistant calls a function to calculate it for you.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Wikifunctions is an open source project that enables anyone to create functions and share them for others to use, remix, test, and learn from.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Use the following how-to guides to try out the basic features of Wikifunctions. We are looking forward to your [[Special:MyLanguage/Wikifunctions:Report a technical problem|feedback]] and contributions!
</div>
<span id="Evaluate_a_Function"></span>
== 執行函式 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
You can try out community-contributed functions on Wikifunctions for yourself! Pick one from our ''[[Wikifunctions:Main Page#Functions to try out|library of functions]]'', and give input values to discover the output.
</div>
'''步驟:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to a function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Enter the input values.</span>
#:[[File:Wikifunctions function page with evaluation input filled.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 執行函式。
#:[[File:Wikifunctions function page with evaluation result.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
'''結果:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the output what you expected?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<span id="Create_a_Function"></span>
== 建立函式 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
You can add your own functions to Wikifunctions! Create a new function for use in your own implementations and enable others to use it as well. New functions can be written in your preferred language.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Go to the ''[{{MediaWiki:Createfunction-url}} function creation page]''.</span>
#:[[File:Wikifunctions create a new function page 01.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Name your function.</span>
#:[[File:Wikifunctions create a new function page with name filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Define your function's inputs:</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Add/remove input fields.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Define each input type.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Name each input.</span>
#:[[File:Wikifunctions create a new function page with input type and label filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Define your function output type.</span>
#:[[File:Wikifunctions create a new function page with output type filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, provide multilingual values for any of these fields:</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">Function name, function aliases, input labels.</span>
#:[[File:Wikifunctions create a new function page with labels in another language.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Publish your function.</span>
#:[[File:Wikifunctions create a new function page publish button.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the function successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Edit a Function ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
You can contribute to Wikifunctions by editing its library of functions. Add or edit multilingual information to functions, and expand and alter the definitions of functions.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click Edit source to see the edit options for this function.</span>
#:[[File:Edit function that converts a roman numeral to its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, modify the values of:</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Function name,</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Function aliases,</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Input list</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Add/remove input fields</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Edit input type</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Edit input labels</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Output type.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, provide multilingual values for any of these fields:</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Function name</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Function aliases</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Input labels.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Publish your updates.</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Were your edits successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Create tests ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
You can create tests for your function implementations in Wikifunctions to ensure they are working properly.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]'' or the function you created in the previous workflow.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click the “+” link in the tests table.</span>
#:[[File:Details view of a function that turns a roman numeral into its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on "{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}" under "Call".</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">In the field under "Function", type in the name of the function you are testing and select the function when it shows up.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Add values for the inputs in the respective fields.</span>
#:[[File:Add call to function test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on "{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}" under "Result Validation". In the field under "Function", type in the name of the function you want to use to check the result.</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">For a function whose output is String, this will be "String equality", for a function whose output is Boolean, this will be "Boolean equality".</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">Add the expected value in the given field (either "Second String" or "Second Boolean").</span>
#:[[File:Create a new test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Publish your updates.</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the test successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Create an implementation ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Functions are brought to life in implementations created to suit your needs. Run, remix, and combine functions via implementations in Wikifunctions. See the section below to learn how to [[#Connect an Implementation or Test to a Function|connect your implementation to functions]]. We recommend [[#Create tests|creating and connecting a test]] before creating an implementation. A more comprehensive guide to creating implementations is available at {{ll|Wikifunctions:How to create implementations}}.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click the “+” link in the implementations table.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">You can create a new implementation in one of two ways:</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">'''Code'''</span>
##* <span lang="en" dir="ltr" class="mw-content-ltr">Select the required programming language to write the function code.</span>
##* <span lang="en" dir="ltr" class="mw-content-ltr">Input your code.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">'''Composition''':</span>
##* <span lang="en" dir="ltr" class="mw-content-ltr">Create a composition using existing functions.</span>
#:[[File:Create a new implementation on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Publish your updates (after running a test by clicking the round arrow on the right of the box titled {{int|wikilambda-function-test-cases-table-header}}).</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the implementation successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Connect an Implementation or Test to a Function ==
</div>
:<span lang="en" dir="ltr" class="mw-content-ltr">''Note: This feature is only available to [[Special:MyLanguage/Wikifunctions:Functioneers|Functioneers]].''</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
Connect tests and implementations to your function to see it come to life.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Select one or more tests, or one or more implementations.</span>
#:[[File:A function detail page with with inactive implementations and tests selected.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on the button “{{int|wikilambda-function-details-table-approve}}”.</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the {{int|wikilambda-function-tester-state-approved}}/{{int|wikilambda-function-tester-state-deactivated}} state successfully changed?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Insert a Function in a Wikipedia article ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Now it is time to insert a function in a Wikipedia article and see the magic unfold.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Open the article you want to add a function to.</span>
#:[[File:How to insert a function 01.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Go to the edit tab and open visual editor.</span>
#:[[File:How to insert a function 02.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on the “Insert” menu at the top of the visual editor. Scroll down and click on “Function”. A dialog box will open.</span>
#:[[File:How to insert a function 03.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Search for the function you want to insert and click on it. Or, try one of the Suggested Functions below the search bar.</span>
#:[[File:How to insert a function 04.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Enter the necessary inputs and click on the “Insert” button at the top right to insert the function into the article.</span>
#:[[File:How to insert a function 05.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">You can now see the output of your function in the article. You can proceed to publish the changes.</span>
#:[[File:How to insert a function 06.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">If you want to edit the function, click on it. A tooltip will appear with the function name and description. Click on the “Edit” button.</span>
#:[[File:How to insert a function 07.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Then you can make changes to the inputs and click on “Apply changes” when you are done editing.</span>
#:[[File:How to insert a function 08.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the output what you expected?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
[[Category:Introduction| {{#translation:}}]]
0rcq3bdyemvozmhk9obtm51ywb07fj3
200039
200037
2025-07-03T09:37:46Z
Winston Sung
2672
Created page with "'''步驟:'''"
200039
wikitext
text/x-wiki
<languages/>
<div lang="en" dir="ltr" class="mw-content-ltr">
Functions are computer instructions that make calculations on the data you provide, and answer questions you have about them. For example, when you ask a voice assistant how many miles are in a kilometer, the voice assistant calls a function to calculate it for you.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Wikifunctions is an open source project that enables anyone to create functions and share them for others to use, remix, test, and learn from.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Use the following how-to guides to try out the basic features of Wikifunctions. We are looking forward to your [[Special:MyLanguage/Wikifunctions:Report a technical problem|feedback]] and contributions!
</div>
<span id="Evaluate_a_Function"></span>
== 執行函式 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
You can try out community-contributed functions on Wikifunctions for yourself! Pick one from our ''[[Wikifunctions:Main Page#Functions to try out|library of functions]]'', and give input values to discover the output.
</div>
'''步驟:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to a function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Enter the input values.</span>
#:[[File:Wikifunctions function page with evaluation input filled.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 執行函式。
#:[[File:Wikifunctions function page with evaluation result.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
'''結果:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the output what you expected?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<span id="Create_a_Function"></span>
== 建立函式 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
You can add your own functions to Wikifunctions! Create a new function for use in your own implementations and enable others to use it as well. New functions can be written in your preferred language.
</div>
'''步驟:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Go to the ''[{{MediaWiki:Createfunction-url}} function creation page]''.</span>
#:[[File:Wikifunctions create a new function page 01.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Name your function.</span>
#:[[File:Wikifunctions create a new function page with name filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Define your function's inputs:</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Add/remove input fields.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Define each input type.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Name each input.</span>
#:[[File:Wikifunctions create a new function page with input type and label filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Define your function output type.</span>
#:[[File:Wikifunctions create a new function page with output type filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, provide multilingual values for any of these fields:</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">Function name, function aliases, input labels.</span>
#:[[File:Wikifunctions create a new function page with labels in another language.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Publish your function.</span>
#:[[File:Wikifunctions create a new function page publish button.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the function successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Edit a Function ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
You can contribute to Wikifunctions by editing its library of functions. Add or edit multilingual information to functions, and expand and alter the definitions of functions.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click Edit source to see the edit options for this function.</span>
#:[[File:Edit function that converts a roman numeral to its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, modify the values of:</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Function name,</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Function aliases,</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Input list</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Add/remove input fields</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Edit input type</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Edit input labels</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Output type.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, provide multilingual values for any of these fields:</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Function name</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Function aliases</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Input labels.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Publish your updates.</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Were your edits successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Create tests ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
You can create tests for your function implementations in Wikifunctions to ensure they are working properly.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]'' or the function you created in the previous workflow.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click the “+” link in the tests table.</span>
#:[[File:Details view of a function that turns a roman numeral into its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on "{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}" under "Call".</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">In the field under "Function", type in the name of the function you are testing and select the function when it shows up.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Add values for the inputs in the respective fields.</span>
#:[[File:Add call to function test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on "{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}" under "Result Validation". In the field under "Function", type in the name of the function you want to use to check the result.</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">For a function whose output is String, this will be "String equality", for a function whose output is Boolean, this will be "Boolean equality".</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">Add the expected value in the given field (either "Second String" or "Second Boolean").</span>
#:[[File:Create a new test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Publish your updates.</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the test successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Create an implementation ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Functions are brought to life in implementations created to suit your needs. Run, remix, and combine functions via implementations in Wikifunctions. See the section below to learn how to [[#Connect an Implementation or Test to a Function|connect your implementation to functions]]. We recommend [[#Create tests|creating and connecting a test]] before creating an implementation. A more comprehensive guide to creating implementations is available at {{ll|Wikifunctions:How to create implementations}}.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click the “+” link in the implementations table.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">You can create a new implementation in one of two ways:</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">'''Code'''</span>
##* <span lang="en" dir="ltr" class="mw-content-ltr">Select the required programming language to write the function code.</span>
##* <span lang="en" dir="ltr" class="mw-content-ltr">Input your code.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">'''Composition''':</span>
##* <span lang="en" dir="ltr" class="mw-content-ltr">Create a composition using existing functions.</span>
#:[[File:Create a new implementation on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Publish your updates (after running a test by clicking the round arrow on the right of the box titled {{int|wikilambda-function-test-cases-table-header}}).</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the implementation successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Connect an Implementation or Test to a Function ==
</div>
:<span lang="en" dir="ltr" class="mw-content-ltr">''Note: This feature is only available to [[Special:MyLanguage/Wikifunctions:Functioneers|Functioneers]].''</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
Connect tests and implementations to your function to see it come to life.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Select one or more tests, or one or more implementations.</span>
#:[[File:A function detail page with with inactive implementations and tests selected.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on the button “{{int|wikilambda-function-details-table-approve}}”.</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the {{int|wikilambda-function-tester-state-approved}}/{{int|wikilambda-function-tester-state-deactivated}} state successfully changed?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Insert a Function in a Wikipedia article ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Now it is time to insert a function in a Wikipedia article and see the magic unfold.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Open the article you want to add a function to.</span>
#:[[File:How to insert a function 01.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Go to the edit tab and open visual editor.</span>
#:[[File:How to insert a function 02.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on the “Insert” menu at the top of the visual editor. Scroll down and click on “Function”. A dialog box will open.</span>
#:[[File:How to insert a function 03.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Search for the function you want to insert and click on it. Or, try one of the Suggested Functions below the search bar.</span>
#:[[File:How to insert a function 04.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Enter the necessary inputs and click on the “Insert” button at the top right to insert the function into the article.</span>
#:[[File:How to insert a function 05.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">You can now see the output of your function in the article. You can proceed to publish the changes.</span>
#:[[File:How to insert a function 06.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">If you want to edit the function, click on it. A tooltip will appear with the function name and description. Click on the “Edit” button.</span>
#:[[File:How to insert a function 07.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Then you can make changes to the inputs and click on “Apply changes” when you are done editing.</span>
#:[[File:How to insert a function 08.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the output what you expected?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
[[Category:Introduction| {{#translation:}}]]
itbgz07rctfs5ofwe2ip3wapkih8i7w
200041
200039
2025-07-03T09:37:55Z
Winston Sung
2672
Created page with "前往"
200041
wikitext
text/x-wiki
<languages/>
<div lang="en" dir="ltr" class="mw-content-ltr">
Functions are computer instructions that make calculations on the data you provide, and answer questions you have about them. For example, when you ask a voice assistant how many miles are in a kilometer, the voice assistant calls a function to calculate it for you.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Wikifunctions is an open source project that enables anyone to create functions and share them for others to use, remix, test, and learn from.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Use the following how-to guides to try out the basic features of Wikifunctions. We are looking forward to your [[Special:MyLanguage/Wikifunctions:Report a technical problem|feedback]] and contributions!
</div>
<span id="Evaluate_a_Function"></span>
== 執行函式 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
You can try out community-contributed functions on Wikifunctions for yourself! Pick one from our ''[[Wikifunctions:Main Page#Functions to try out|library of functions]]'', and give input values to discover the output.
</div>
'''步驟:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to a function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Enter the input values.</span>
#:[[File:Wikifunctions function page with evaluation input filled.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 執行函式。
#:[[File:Wikifunctions function page with evaluation result.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
'''結果:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the output what you expected?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<span id="Create_a_Function"></span>
== 建立函式 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
You can add your own functions to Wikifunctions! Create a new function for use in your own implementations and enable others to use it as well. New functions can be written in your preferred language.
</div>
'''步驟:'''
# 前往
#:[[File:Wikifunctions create a new function page 01.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Name your function.</span>
#:[[File:Wikifunctions create a new function page with name filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Define your function's inputs:</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Add/remove input fields.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Define each input type.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Name each input.</span>
#:[[File:Wikifunctions create a new function page with input type and label filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Define your function output type.</span>
#:[[File:Wikifunctions create a new function page with output type filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, provide multilingual values for any of these fields:</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">Function name, function aliases, input labels.</span>
#:[[File:Wikifunctions create a new function page with labels in another language.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Publish your function.</span>
#:[[File:Wikifunctions create a new function page publish button.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the function successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Edit a Function ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
You can contribute to Wikifunctions by editing its library of functions. Add or edit multilingual information to functions, and expand and alter the definitions of functions.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click Edit source to see the edit options for this function.</span>
#:[[File:Edit function that converts a roman numeral to its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, modify the values of:</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Function name,</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Function aliases,</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Input list</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Add/remove input fields</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Edit input type</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Edit input labels</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Output type.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, provide multilingual values for any of these fields:</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Function name</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Function aliases</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Input labels.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Publish your updates.</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Were your edits successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Create tests ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
You can create tests for your function implementations in Wikifunctions to ensure they are working properly.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]'' or the function you created in the previous workflow.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click the “+” link in the tests table.</span>
#:[[File:Details view of a function that turns a roman numeral into its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on "{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}" under "Call".</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">In the field under "Function", type in the name of the function you are testing and select the function when it shows up.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Add values for the inputs in the respective fields.</span>
#:[[File:Add call to function test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on "{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}" under "Result Validation". In the field under "Function", type in the name of the function you want to use to check the result.</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">For a function whose output is String, this will be "String equality", for a function whose output is Boolean, this will be "Boolean equality".</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">Add the expected value in the given field (either "Second String" or "Second Boolean").</span>
#:[[File:Create a new test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Publish your updates.</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the test successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Create an implementation ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Functions are brought to life in implementations created to suit your needs. Run, remix, and combine functions via implementations in Wikifunctions. See the section below to learn how to [[#Connect an Implementation or Test to a Function|connect your implementation to functions]]. We recommend [[#Create tests|creating and connecting a test]] before creating an implementation. A more comprehensive guide to creating implementations is available at {{ll|Wikifunctions:How to create implementations}}.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click the “+” link in the implementations table.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">You can create a new implementation in one of two ways:</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">'''Code'''</span>
##* <span lang="en" dir="ltr" class="mw-content-ltr">Select the required programming language to write the function code.</span>
##* <span lang="en" dir="ltr" class="mw-content-ltr">Input your code.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">'''Composition''':</span>
##* <span lang="en" dir="ltr" class="mw-content-ltr">Create a composition using existing functions.</span>
#:[[File:Create a new implementation on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Publish your updates (after running a test by clicking the round arrow on the right of the box titled {{int|wikilambda-function-test-cases-table-header}}).</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the implementation successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Connect an Implementation or Test to a Function ==
</div>
:<span lang="en" dir="ltr" class="mw-content-ltr">''Note: This feature is only available to [[Special:MyLanguage/Wikifunctions:Functioneers|Functioneers]].''</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
Connect tests and implementations to your function to see it come to life.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Select one or more tests, or one or more implementations.</span>
#:[[File:A function detail page with with inactive implementations and tests selected.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on the button “{{int|wikilambda-function-details-table-approve}}”.</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the {{int|wikilambda-function-tester-state-approved}}/{{int|wikilambda-function-tester-state-deactivated}} state successfully changed?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Insert a Function in a Wikipedia article ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Now it is time to insert a function in a Wikipedia article and see the magic unfold.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Open the article you want to add a function to.</span>
#:[[File:How to insert a function 01.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Go to the edit tab and open visual editor.</span>
#:[[File:How to insert a function 02.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on the “Insert” menu at the top of the visual editor. Scroll down and click on “Function”. A dialog box will open.</span>
#:[[File:How to insert a function 03.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Search for the function you want to insert and click on it. Or, try one of the Suggested Functions below the search bar.</span>
#:[[File:How to insert a function 04.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Enter the necessary inputs and click on the “Insert” button at the top right to insert the function into the article.</span>
#:[[File:How to insert a function 05.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">You can now see the output of your function in the article. You can proceed to publish the changes.</span>
#:[[File:How to insert a function 06.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">If you want to edit the function, click on it. A tooltip will appear with the function name and description. Click on the “Edit” button.</span>
#:[[File:How to insert a function 07.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Then you can make changes to the inputs and click on “Apply changes” when you are done editing.</span>
#:[[File:How to insert a function 08.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the output what you expected?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
[[Category:Introduction| {{#translation:}}]]
mjvty3o1cbh2w634soxdry0ao12qmp3
200043
200041
2025-07-03T09:38:30Z
Winston Sung
2672
200043
wikitext
text/x-wiki
<languages/>
<div lang="en" dir="ltr" class="mw-content-ltr">
Functions are computer instructions that make calculations on the data you provide, and answer questions you have about them. For example, when you ask a voice assistant how many miles are in a kilometer, the voice assistant calls a function to calculate it for you.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Wikifunctions is an open source project that enables anyone to create functions and share them for others to use, remix, test, and learn from.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Use the following how-to guides to try out the basic features of Wikifunctions. We are looking forward to your [[Special:MyLanguage/Wikifunctions:Report a technical problem|feedback]] and contributions!
</div>
<span id="Evaluate_a_Function"></span>
== 執行函式 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
You can try out community-contributed functions on Wikifunctions for yourself! Pick one from our ''[[Wikifunctions:Main Page#Functions to try out|library of functions]]'', and give input values to discover the output.
</div>
'''步驟:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to a function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Enter the input values.</span>
#:[[File:Wikifunctions function page with evaluation input filled.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 執行函式。
#:[[File:Wikifunctions function page with evaluation result.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
'''結果:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the output what you expected?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<span id="Create_a_Function"></span>
== 建立函式 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
You can add your own functions to Wikifunctions! Create a new function for use in your own implementations and enable others to use it as well. New functions can be written in your preferred language.
</div>
'''步驟:'''
# 前往<u>[{{MediaWiki:Createfunction-url}} 函式建立頁面]</u>.
#:[[File:Wikifunctions create a new function page 01.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Name your function.</span>
#:[[File:Wikifunctions create a new function page with name filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Define your function's inputs:</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Add/remove input fields.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Define each input type.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Name each input.</span>
#:[[File:Wikifunctions create a new function page with input type and label filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Define your function output type.</span>
#:[[File:Wikifunctions create a new function page with output type filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, provide multilingual values for any of these fields:</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">Function name, function aliases, input labels.</span>
#:[[File:Wikifunctions create a new function page with labels in another language.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Publish your function.</span>
#:[[File:Wikifunctions create a new function page publish button.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the function successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Edit a Function ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
You can contribute to Wikifunctions by editing its library of functions. Add or edit multilingual information to functions, and expand and alter the definitions of functions.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click Edit source to see the edit options for this function.</span>
#:[[File:Edit function that converts a roman numeral to its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, modify the values of:</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Function name,</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Function aliases,</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Input list</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Add/remove input fields</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Edit input type</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Edit input labels</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Output type.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, provide multilingual values for any of these fields:</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Function name</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Function aliases</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Input labels.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Publish your updates.</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Were your edits successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Create tests ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
You can create tests for your function implementations in Wikifunctions to ensure they are working properly.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]'' or the function you created in the previous workflow.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click the “+” link in the tests table.</span>
#:[[File:Details view of a function that turns a roman numeral into its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on "{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}" under "Call".</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">In the field under "Function", type in the name of the function you are testing and select the function when it shows up.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Add values for the inputs in the respective fields.</span>
#:[[File:Add call to function test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on "{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}" under "Result Validation". In the field under "Function", type in the name of the function you want to use to check the result.</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">For a function whose output is String, this will be "String equality", for a function whose output is Boolean, this will be "Boolean equality".</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">Add the expected value in the given field (either "Second String" or "Second Boolean").</span>
#:[[File:Create a new test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Publish your updates.</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the test successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Create an implementation ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Functions are brought to life in implementations created to suit your needs. Run, remix, and combine functions via implementations in Wikifunctions. See the section below to learn how to [[#Connect an Implementation or Test to a Function|connect your implementation to functions]]. We recommend [[#Create tests|creating and connecting a test]] before creating an implementation. A more comprehensive guide to creating implementations is available at {{ll|Wikifunctions:How to create implementations}}.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click the “+” link in the implementations table.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">You can create a new implementation in one of two ways:</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">'''Code'''</span>
##* <span lang="en" dir="ltr" class="mw-content-ltr">Select the required programming language to write the function code.</span>
##* <span lang="en" dir="ltr" class="mw-content-ltr">Input your code.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">'''Composition''':</span>
##* <span lang="en" dir="ltr" class="mw-content-ltr">Create a composition using existing functions.</span>
#:[[File:Create a new implementation on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Publish your updates (after running a test by clicking the round arrow on the right of the box titled {{int|wikilambda-function-test-cases-table-header}}).</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the implementation successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Connect an Implementation or Test to a Function ==
</div>
:<span lang="en" dir="ltr" class="mw-content-ltr">''Note: This feature is only available to [[Special:MyLanguage/Wikifunctions:Functioneers|Functioneers]].''</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
Connect tests and implementations to your function to see it come to life.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Select one or more tests, or one or more implementations.</span>
#:[[File:A function detail page with with inactive implementations and tests selected.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on the button “{{int|wikilambda-function-details-table-approve}}”.</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the {{int|wikilambda-function-tester-state-approved}}/{{int|wikilambda-function-tester-state-deactivated}} state successfully changed?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Insert a Function in a Wikipedia article ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Now it is time to insert a function in a Wikipedia article and see the magic unfold.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Open the article you want to add a function to.</span>
#:[[File:How to insert a function 01.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Go to the edit tab and open visual editor.</span>
#:[[File:How to insert a function 02.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on the “Insert” menu at the top of the visual editor. Scroll down and click on “Function”. A dialog box will open.</span>
#:[[File:How to insert a function 03.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Search for the function you want to insert and click on it. Or, try one of the Suggested Functions below the search bar.</span>
#:[[File:How to insert a function 04.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Enter the necessary inputs and click on the “Insert” button at the top right to insert the function into the article.</span>
#:[[File:How to insert a function 05.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">You can now see the output of your function in the article. You can proceed to publish the changes.</span>
#:[[File:How to insert a function 06.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">If you want to edit the function, click on it. A tooltip will appear with the function name and description. Click on the “Edit” button.</span>
#:[[File:How to insert a function 07.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Then you can make changes to the inputs and click on “Apply changes” when you are done editing.</span>
#:[[File:How to insert a function 08.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the output what you expected?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
[[Category:Introduction| {{#translation:}}]]
dq6t3fsu3003aajzrbpnaesipc3zj57
200045
200043
2025-07-03T09:38:41Z
Winston Sung
2672
Created page with "命名函式。"
200045
wikitext
text/x-wiki
<languages/>
<div lang="en" dir="ltr" class="mw-content-ltr">
Functions are computer instructions that make calculations on the data you provide, and answer questions you have about them. For example, when you ask a voice assistant how many miles are in a kilometer, the voice assistant calls a function to calculate it for you.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Wikifunctions is an open source project that enables anyone to create functions and share them for others to use, remix, test, and learn from.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Use the following how-to guides to try out the basic features of Wikifunctions. We are looking forward to your [[Special:MyLanguage/Wikifunctions:Report a technical problem|feedback]] and contributions!
</div>
<span id="Evaluate_a_Function"></span>
== 執行函式 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
You can try out community-contributed functions on Wikifunctions for yourself! Pick one from our ''[[Wikifunctions:Main Page#Functions to try out|library of functions]]'', and give input values to discover the output.
</div>
'''步驟:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to a function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Enter the input values.</span>
#:[[File:Wikifunctions function page with evaluation input filled.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 執行函式。
#:[[File:Wikifunctions function page with evaluation result.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
'''結果:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the output what you expected?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<span id="Create_a_Function"></span>
== 建立函式 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
You can add your own functions to Wikifunctions! Create a new function for use in your own implementations and enable others to use it as well. New functions can be written in your preferred language.
</div>
'''步驟:'''
# 前往<u>[{{MediaWiki:Createfunction-url}} 函式建立頁面]</u>.
#:[[File:Wikifunctions create a new function page 01.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 命名函式。
#:[[File:Wikifunctions create a new function page with name filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Define your function's inputs:</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Add/remove input fields.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Define each input type.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Name each input.</span>
#:[[File:Wikifunctions create a new function page with input type and label filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Define your function output type.</span>
#:[[File:Wikifunctions create a new function page with output type filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, provide multilingual values for any of these fields:</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">Function name, function aliases, input labels.</span>
#:[[File:Wikifunctions create a new function page with labels in another language.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Publish your function.</span>
#:[[File:Wikifunctions create a new function page publish button.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the function successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Edit a Function ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
You can contribute to Wikifunctions by editing its library of functions. Add or edit multilingual information to functions, and expand and alter the definitions of functions.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click Edit source to see the edit options for this function.</span>
#:[[File:Edit function that converts a roman numeral to its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, modify the values of:</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Function name,</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Function aliases,</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Input list</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Add/remove input fields</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Edit input type</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Edit input labels</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Output type.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, provide multilingual values for any of these fields:</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Function name</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Function aliases</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Input labels.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Publish your updates.</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Were your edits successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Create tests ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
You can create tests for your function implementations in Wikifunctions to ensure they are working properly.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]'' or the function you created in the previous workflow.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click the “+” link in the tests table.</span>
#:[[File:Details view of a function that turns a roman numeral into its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on "{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}" under "Call".</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">In the field under "Function", type in the name of the function you are testing and select the function when it shows up.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Add values for the inputs in the respective fields.</span>
#:[[File:Add call to function test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on "{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}" under "Result Validation". In the field under "Function", type in the name of the function you want to use to check the result.</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">For a function whose output is String, this will be "String equality", for a function whose output is Boolean, this will be "Boolean equality".</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">Add the expected value in the given field (either "Second String" or "Second Boolean").</span>
#:[[File:Create a new test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Publish your updates.</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the test successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Create an implementation ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Functions are brought to life in implementations created to suit your needs. Run, remix, and combine functions via implementations in Wikifunctions. See the section below to learn how to [[#Connect an Implementation or Test to a Function|connect your implementation to functions]]. We recommend [[#Create tests|creating and connecting a test]] before creating an implementation. A more comprehensive guide to creating implementations is available at {{ll|Wikifunctions:How to create implementations}}.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click the “+” link in the implementations table.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">You can create a new implementation in one of two ways:</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">'''Code'''</span>
##* <span lang="en" dir="ltr" class="mw-content-ltr">Select the required programming language to write the function code.</span>
##* <span lang="en" dir="ltr" class="mw-content-ltr">Input your code.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">'''Composition''':</span>
##* <span lang="en" dir="ltr" class="mw-content-ltr">Create a composition using existing functions.</span>
#:[[File:Create a new implementation on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Publish your updates (after running a test by clicking the round arrow on the right of the box titled {{int|wikilambda-function-test-cases-table-header}}).</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the implementation successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Connect an Implementation or Test to a Function ==
</div>
:<span lang="en" dir="ltr" class="mw-content-ltr">''Note: This feature is only available to [[Special:MyLanguage/Wikifunctions:Functioneers|Functioneers]].''</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
Connect tests and implementations to your function to see it come to life.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Select one or more tests, or one or more implementations.</span>
#:[[File:A function detail page with with inactive implementations and tests selected.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on the button “{{int|wikilambda-function-details-table-approve}}”.</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the {{int|wikilambda-function-tester-state-approved}}/{{int|wikilambda-function-tester-state-deactivated}} state successfully changed?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Insert a Function in a Wikipedia article ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Now it is time to insert a function in a Wikipedia article and see the magic unfold.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Open the article you want to add a function to.</span>
#:[[File:How to insert a function 01.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Go to the edit tab and open visual editor.</span>
#:[[File:How to insert a function 02.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on the “Insert” menu at the top of the visual editor. Scroll down and click on “Function”. A dialog box will open.</span>
#:[[File:How to insert a function 03.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Search for the function you want to insert and click on it. Or, try one of the Suggested Functions below the search bar.</span>
#:[[File:How to insert a function 04.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Enter the necessary inputs and click on the “Insert” button at the top right to insert the function into the article.</span>
#:[[File:How to insert a function 05.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">You can now see the output of your function in the article. You can proceed to publish the changes.</span>
#:[[File:How to insert a function 06.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">If you want to edit the function, click on it. A tooltip will appear with the function name and description. Click on the “Edit” button.</span>
#:[[File:How to insert a function 07.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Then you can make changes to the inputs and click on “Apply changes” when you are done editing.</span>
#:[[File:How to insert a function 08.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the output what you expected?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
[[Category:Introduction| {{#translation:}}]]
3r77eev5uiyxmxopz4wxqo22nlfelju
200047
200045
2025-07-03T09:39:25Z
Winston Sung
2672
Created page with "發布函式。"
200047
wikitext
text/x-wiki
<languages/>
<div lang="en" dir="ltr" class="mw-content-ltr">
Functions are computer instructions that make calculations on the data you provide, and answer questions you have about them. For example, when you ask a voice assistant how many miles are in a kilometer, the voice assistant calls a function to calculate it for you.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Wikifunctions is an open source project that enables anyone to create functions and share them for others to use, remix, test, and learn from.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Use the following how-to guides to try out the basic features of Wikifunctions. We are looking forward to your [[Special:MyLanguage/Wikifunctions:Report a technical problem|feedback]] and contributions!
</div>
<span id="Evaluate_a_Function"></span>
== 執行函式 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
You can try out community-contributed functions on Wikifunctions for yourself! Pick one from our ''[[Wikifunctions:Main Page#Functions to try out|library of functions]]'', and give input values to discover the output.
</div>
'''步驟:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to a function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Enter the input values.</span>
#:[[File:Wikifunctions function page with evaluation input filled.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 執行函式。
#:[[File:Wikifunctions function page with evaluation result.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
'''結果:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the output what you expected?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<span id="Create_a_Function"></span>
== 建立函式 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
You can add your own functions to Wikifunctions! Create a new function for use in your own implementations and enable others to use it as well. New functions can be written in your preferred language.
</div>
'''步驟:'''
# 前往<u>[{{MediaWiki:Createfunction-url}} 函式建立頁面]</u>.
#:[[File:Wikifunctions create a new function page 01.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 命名函式。
#:[[File:Wikifunctions create a new function page with name filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Define your function's inputs:</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Add/remove input fields.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Define each input type.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Name each input.</span>
#:[[File:Wikifunctions create a new function page with input type and label filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Define your function output type.</span>
#:[[File:Wikifunctions create a new function page with output type filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, provide multilingual values for any of these fields:</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">Function name, function aliases, input labels.</span>
#:[[File:Wikifunctions create a new function page with labels in another language.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 發布函式。
#:[[File:Wikifunctions create a new function page publish button.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the function successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Edit a Function ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
You can contribute to Wikifunctions by editing its library of functions. Add or edit multilingual information to functions, and expand and alter the definitions of functions.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click Edit source to see the edit options for this function.</span>
#:[[File:Edit function that converts a roman numeral to its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, modify the values of:</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Function name,</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Function aliases,</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Input list</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Add/remove input fields</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Edit input type</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Edit input labels</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Output type.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, provide multilingual values for any of these fields:</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Function name</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Function aliases</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Input labels.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Publish your updates.</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Were your edits successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Create tests ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
You can create tests for your function implementations in Wikifunctions to ensure they are working properly.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]'' or the function you created in the previous workflow.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click the “+” link in the tests table.</span>
#:[[File:Details view of a function that turns a roman numeral into its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on "{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}" under "Call".</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">In the field under "Function", type in the name of the function you are testing and select the function when it shows up.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Add values for the inputs in the respective fields.</span>
#:[[File:Add call to function test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on "{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}" under "Result Validation". In the field under "Function", type in the name of the function you want to use to check the result.</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">For a function whose output is String, this will be "String equality", for a function whose output is Boolean, this will be "Boolean equality".</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">Add the expected value in the given field (either "Second String" or "Second Boolean").</span>
#:[[File:Create a new test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Publish your updates.</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the test successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Create an implementation ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Functions are brought to life in implementations created to suit your needs. Run, remix, and combine functions via implementations in Wikifunctions. See the section below to learn how to [[#Connect an Implementation or Test to a Function|connect your implementation to functions]]. We recommend [[#Create tests|creating and connecting a test]] before creating an implementation. A more comprehensive guide to creating implementations is available at {{ll|Wikifunctions:How to create implementations}}.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click the “+” link in the implementations table.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">You can create a new implementation in one of two ways:</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">'''Code'''</span>
##* <span lang="en" dir="ltr" class="mw-content-ltr">Select the required programming language to write the function code.</span>
##* <span lang="en" dir="ltr" class="mw-content-ltr">Input your code.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">'''Composition''':</span>
##* <span lang="en" dir="ltr" class="mw-content-ltr">Create a composition using existing functions.</span>
#:[[File:Create a new implementation on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Publish your updates (after running a test by clicking the round arrow on the right of the box titled {{int|wikilambda-function-test-cases-table-header}}).</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the implementation successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Connect an Implementation or Test to a Function ==
</div>
:<span lang="en" dir="ltr" class="mw-content-ltr">''Note: This feature is only available to [[Special:MyLanguage/Wikifunctions:Functioneers|Functioneers]].''</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
Connect tests and implementations to your function to see it come to life.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Select one or more tests, or one or more implementations.</span>
#:[[File:A function detail page with with inactive implementations and tests selected.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on the button “{{int|wikilambda-function-details-table-approve}}”.</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the {{int|wikilambda-function-tester-state-approved}}/{{int|wikilambda-function-tester-state-deactivated}} state successfully changed?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Insert a Function in a Wikipedia article ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Now it is time to insert a function in a Wikipedia article and see the magic unfold.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Open the article you want to add a function to.</span>
#:[[File:How to insert a function 01.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Go to the edit tab and open visual editor.</span>
#:[[File:How to insert a function 02.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on the “Insert” menu at the top of the visual editor. Scroll down and click on “Function”. A dialog box will open.</span>
#:[[File:How to insert a function 03.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Search for the function you want to insert and click on it. Or, try one of the Suggested Functions below the search bar.</span>
#:[[File:How to insert a function 04.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Enter the necessary inputs and click on the “Insert” button at the top right to insert the function into the article.</span>
#:[[File:How to insert a function 05.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">You can now see the output of your function in the article. You can proceed to publish the changes.</span>
#:[[File:How to insert a function 06.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">If you want to edit the function, click on it. A tooltip will appear with the function name and description. Click on the “Edit” button.</span>
#:[[File:How to insert a function 07.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Then you can make changes to the inputs and click on “Apply changes” when you are done editing.</span>
#:[[File:How to insert a function 08.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the output what you expected?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
[[Category:Introduction| {{#translation:}}]]
4al8ovsu9o8k12926aje8aztkjppunw
200049
200047
2025-07-03T09:39:28Z
Winston Sung
2672
Created page with "'''結果:'''"
200049
wikitext
text/x-wiki
<languages/>
<div lang="en" dir="ltr" class="mw-content-ltr">
Functions are computer instructions that make calculations on the data you provide, and answer questions you have about them. For example, when you ask a voice assistant how many miles are in a kilometer, the voice assistant calls a function to calculate it for you.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Wikifunctions is an open source project that enables anyone to create functions and share them for others to use, remix, test, and learn from.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Use the following how-to guides to try out the basic features of Wikifunctions. We are looking forward to your [[Special:MyLanguage/Wikifunctions:Report a technical problem|feedback]] and contributions!
</div>
<span id="Evaluate_a_Function"></span>
== 執行函式 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
You can try out community-contributed functions on Wikifunctions for yourself! Pick one from our ''[[Wikifunctions:Main Page#Functions to try out|library of functions]]'', and give input values to discover the output.
</div>
'''步驟:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to a function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Enter the input values.</span>
#:[[File:Wikifunctions function page with evaluation input filled.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 執行函式。
#:[[File:Wikifunctions function page with evaluation result.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
'''結果:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the output what you expected?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<span id="Create_a_Function"></span>
== 建立函式 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
You can add your own functions to Wikifunctions! Create a new function for use in your own implementations and enable others to use it as well. New functions can be written in your preferred language.
</div>
'''步驟:'''
# 前往<u>[{{MediaWiki:Createfunction-url}} 函式建立頁面]</u>.
#:[[File:Wikifunctions create a new function page 01.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 命名函式。
#:[[File:Wikifunctions create a new function page with name filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Define your function's inputs:</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Add/remove input fields.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Define each input type.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Name each input.</span>
#:[[File:Wikifunctions create a new function page with input type and label filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Define your function output type.</span>
#:[[File:Wikifunctions create a new function page with output type filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, provide multilingual values for any of these fields:</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">Function name, function aliases, input labels.</span>
#:[[File:Wikifunctions create a new function page with labels in another language.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 發布函式。
#:[[File:Wikifunctions create a new function page publish button.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
'''結果:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the function successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Edit a Function ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
You can contribute to Wikifunctions by editing its library of functions. Add or edit multilingual information to functions, and expand and alter the definitions of functions.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click Edit source to see the edit options for this function.</span>
#:[[File:Edit function that converts a roman numeral to its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, modify the values of:</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Function name,</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Function aliases,</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Input list</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Add/remove input fields</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Edit input type</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Edit input labels</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Output type.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, provide multilingual values for any of these fields:</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Function name</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Function aliases</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Input labels.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Publish your updates.</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Were your edits successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Create tests ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
You can create tests for your function implementations in Wikifunctions to ensure they are working properly.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]'' or the function you created in the previous workflow.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click the “+” link in the tests table.</span>
#:[[File:Details view of a function that turns a roman numeral into its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on "{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}" under "Call".</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">In the field under "Function", type in the name of the function you are testing and select the function when it shows up.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Add values for the inputs in the respective fields.</span>
#:[[File:Add call to function test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on "{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}" under "Result Validation". In the field under "Function", type in the name of the function you want to use to check the result.</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">For a function whose output is String, this will be "String equality", for a function whose output is Boolean, this will be "Boolean equality".</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">Add the expected value in the given field (either "Second String" or "Second Boolean").</span>
#:[[File:Create a new test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Publish your updates.</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the test successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Create an implementation ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Functions are brought to life in implementations created to suit your needs. Run, remix, and combine functions via implementations in Wikifunctions. See the section below to learn how to [[#Connect an Implementation or Test to a Function|connect your implementation to functions]]. We recommend [[#Create tests|creating and connecting a test]] before creating an implementation. A more comprehensive guide to creating implementations is available at {{ll|Wikifunctions:How to create implementations}}.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click the “+” link in the implementations table.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">You can create a new implementation in one of two ways:</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">'''Code'''</span>
##* <span lang="en" dir="ltr" class="mw-content-ltr">Select the required programming language to write the function code.</span>
##* <span lang="en" dir="ltr" class="mw-content-ltr">Input your code.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">'''Composition''':</span>
##* <span lang="en" dir="ltr" class="mw-content-ltr">Create a composition using existing functions.</span>
#:[[File:Create a new implementation on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Publish your updates (after running a test by clicking the round arrow on the right of the box titled {{int|wikilambda-function-test-cases-table-header}}).</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the implementation successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Connect an Implementation or Test to a Function ==
</div>
:<span lang="en" dir="ltr" class="mw-content-ltr">''Note: This feature is only available to [[Special:MyLanguage/Wikifunctions:Functioneers|Functioneers]].''</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
Connect tests and implementations to your function to see it come to life.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Select one or more tests, or one or more implementations.</span>
#:[[File:A function detail page with with inactive implementations and tests selected.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on the button “{{int|wikilambda-function-details-table-approve}}”.</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the {{int|wikilambda-function-tester-state-approved}}/{{int|wikilambda-function-tester-state-deactivated}} state successfully changed?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Insert a Function in a Wikipedia article ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Now it is time to insert a function in a Wikipedia article and see the magic unfold.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Open the article you want to add a function to.</span>
#:[[File:How to insert a function 01.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Go to the edit tab and open visual editor.</span>
#:[[File:How to insert a function 02.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on the “Insert” menu at the top of the visual editor. Scroll down and click on “Function”. A dialog box will open.</span>
#:[[File:How to insert a function 03.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Search for the function you want to insert and click on it. Or, try one of the Suggested Functions below the search bar.</span>
#:[[File:How to insert a function 04.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Enter the necessary inputs and click on the “Insert” button at the top right to insert the function into the article.</span>
#:[[File:How to insert a function 05.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">You can now see the output of your function in the article. You can proceed to publish the changes.</span>
#:[[File:How to insert a function 06.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">If you want to edit the function, click on it. A tooltip will appear with the function name and description. Click on the “Edit” button.</span>
#:[[File:How to insert a function 07.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Then you can make changes to the inputs and click on “Apply changes” when you are done editing.</span>
#:[[File:How to insert a function 08.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the output what you expected?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
[[Category:Introduction| {{#translation:}}]]
jrw5zjofii0yihgkmpgyym4gq6gikxn
200051
200049
2025-07-03T09:39:39Z
Winston Sung
2672
Created page with "== 編輯函式 =="
200051
wikitext
text/x-wiki
<languages/>
<div lang="en" dir="ltr" class="mw-content-ltr">
Functions are computer instructions that make calculations on the data you provide, and answer questions you have about them. For example, when you ask a voice assistant how many miles are in a kilometer, the voice assistant calls a function to calculate it for you.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Wikifunctions is an open source project that enables anyone to create functions and share them for others to use, remix, test, and learn from.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Use the following how-to guides to try out the basic features of Wikifunctions. We are looking forward to your [[Special:MyLanguage/Wikifunctions:Report a technical problem|feedback]] and contributions!
</div>
<span id="Evaluate_a_Function"></span>
== 執行函式 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
You can try out community-contributed functions on Wikifunctions for yourself! Pick one from our ''[[Wikifunctions:Main Page#Functions to try out|library of functions]]'', and give input values to discover the output.
</div>
'''步驟:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to a function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Enter the input values.</span>
#:[[File:Wikifunctions function page with evaluation input filled.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 執行函式。
#:[[File:Wikifunctions function page with evaluation result.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
'''結果:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the output what you expected?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<span id="Create_a_Function"></span>
== 建立函式 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
You can add your own functions to Wikifunctions! Create a new function for use in your own implementations and enable others to use it as well. New functions can be written in your preferred language.
</div>
'''步驟:'''
# 前往<u>[{{MediaWiki:Createfunction-url}} 函式建立頁面]</u>.
#:[[File:Wikifunctions create a new function page 01.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 命名函式。
#:[[File:Wikifunctions create a new function page with name filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Define your function's inputs:</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Add/remove input fields.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Define each input type.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Name each input.</span>
#:[[File:Wikifunctions create a new function page with input type and label filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Define your function output type.</span>
#:[[File:Wikifunctions create a new function page with output type filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, provide multilingual values for any of these fields:</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">Function name, function aliases, input labels.</span>
#:[[File:Wikifunctions create a new function page with labels in another language.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 發布函式。
#:[[File:Wikifunctions create a new function page publish button.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
'''結果:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the function successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<span id="Edit_a_Function"></span>
== 編輯函式 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
You can contribute to Wikifunctions by editing its library of functions. Add or edit multilingual information to functions, and expand and alter the definitions of functions.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click Edit source to see the edit options for this function.</span>
#:[[File:Edit function that converts a roman numeral to its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, modify the values of:</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Function name,</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Function aliases,</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Input list</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Add/remove input fields</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Edit input type</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Edit input labels</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Output type.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, provide multilingual values for any of these fields:</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Function name</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Function aliases</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Input labels.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Publish your updates.</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Were your edits successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Create tests ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
You can create tests for your function implementations in Wikifunctions to ensure they are working properly.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]'' or the function you created in the previous workflow.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click the “+” link in the tests table.</span>
#:[[File:Details view of a function that turns a roman numeral into its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on "{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}" under "Call".</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">In the field under "Function", type in the name of the function you are testing and select the function when it shows up.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Add values for the inputs in the respective fields.</span>
#:[[File:Add call to function test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on "{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}" under "Result Validation". In the field under "Function", type in the name of the function you want to use to check the result.</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">For a function whose output is String, this will be "String equality", for a function whose output is Boolean, this will be "Boolean equality".</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">Add the expected value in the given field (either "Second String" or "Second Boolean").</span>
#:[[File:Create a new test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Publish your updates.</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the test successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Create an implementation ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Functions are brought to life in implementations created to suit your needs. Run, remix, and combine functions via implementations in Wikifunctions. See the section below to learn how to [[#Connect an Implementation or Test to a Function|connect your implementation to functions]]. We recommend [[#Create tests|creating and connecting a test]] before creating an implementation. A more comprehensive guide to creating implementations is available at {{ll|Wikifunctions:How to create implementations}}.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click the “+” link in the implementations table.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">You can create a new implementation in one of two ways:</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">'''Code'''</span>
##* <span lang="en" dir="ltr" class="mw-content-ltr">Select the required programming language to write the function code.</span>
##* <span lang="en" dir="ltr" class="mw-content-ltr">Input your code.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">'''Composition''':</span>
##* <span lang="en" dir="ltr" class="mw-content-ltr">Create a composition using existing functions.</span>
#:[[File:Create a new implementation on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Publish your updates (after running a test by clicking the round arrow on the right of the box titled {{int|wikilambda-function-test-cases-table-header}}).</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the implementation successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Connect an Implementation or Test to a Function ==
</div>
:<span lang="en" dir="ltr" class="mw-content-ltr">''Note: This feature is only available to [[Special:MyLanguage/Wikifunctions:Functioneers|Functioneers]].''</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
Connect tests and implementations to your function to see it come to life.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Select one or more tests, or one or more implementations.</span>
#:[[File:A function detail page with with inactive implementations and tests selected.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on the button “{{int|wikilambda-function-details-table-approve}}”.</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the {{int|wikilambda-function-tester-state-approved}}/{{int|wikilambda-function-tester-state-deactivated}} state successfully changed?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Insert a Function in a Wikipedia article ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Now it is time to insert a function in a Wikipedia article and see the magic unfold.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Open the article you want to add a function to.</span>
#:[[File:How to insert a function 01.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Go to the edit tab and open visual editor.</span>
#:[[File:How to insert a function 02.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on the “Insert” menu at the top of the visual editor. Scroll down and click on “Function”. A dialog box will open.</span>
#:[[File:How to insert a function 03.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Search for the function you want to insert and click on it. Or, try one of the Suggested Functions below the search bar.</span>
#:[[File:How to insert a function 04.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Enter the necessary inputs and click on the “Insert” button at the top right to insert the function into the article.</span>
#:[[File:How to insert a function 05.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">You can now see the output of your function in the article. You can proceed to publish the changes.</span>
#:[[File:How to insert a function 06.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">If you want to edit the function, click on it. A tooltip will appear with the function name and description. Click on the “Edit” button.</span>
#:[[File:How to insert a function 07.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Then you can make changes to the inputs and click on “Apply changes” when you are done editing.</span>
#:[[File:How to insert a function 08.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the output what you expected?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
[[Category:Introduction| {{#translation:}}]]
0dasr8dbibqm61trovxqqebd3czxg9y
200053
200051
2025-07-03T09:39:47Z
Winston Sung
2672
Created page with "'''步驟:'''"
200053
wikitext
text/x-wiki
<languages/>
<div lang="en" dir="ltr" class="mw-content-ltr">
Functions are computer instructions that make calculations on the data you provide, and answer questions you have about them. For example, when you ask a voice assistant how many miles are in a kilometer, the voice assistant calls a function to calculate it for you.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Wikifunctions is an open source project that enables anyone to create functions and share them for others to use, remix, test, and learn from.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Use the following how-to guides to try out the basic features of Wikifunctions. We are looking forward to your [[Special:MyLanguage/Wikifunctions:Report a technical problem|feedback]] and contributions!
</div>
<span id="Evaluate_a_Function"></span>
== 執行函式 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
You can try out community-contributed functions on Wikifunctions for yourself! Pick one from our ''[[Wikifunctions:Main Page#Functions to try out|library of functions]]'', and give input values to discover the output.
</div>
'''步驟:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to a function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Enter the input values.</span>
#:[[File:Wikifunctions function page with evaluation input filled.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 執行函式。
#:[[File:Wikifunctions function page with evaluation result.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
'''結果:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the output what you expected?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<span id="Create_a_Function"></span>
== 建立函式 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
You can add your own functions to Wikifunctions! Create a new function for use in your own implementations and enable others to use it as well. New functions can be written in your preferred language.
</div>
'''步驟:'''
# 前往<u>[{{MediaWiki:Createfunction-url}} 函式建立頁面]</u>.
#:[[File:Wikifunctions create a new function page 01.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 命名函式。
#:[[File:Wikifunctions create a new function page with name filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Define your function's inputs:</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Add/remove input fields.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Define each input type.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Name each input.</span>
#:[[File:Wikifunctions create a new function page with input type and label filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Define your function output type.</span>
#:[[File:Wikifunctions create a new function page with output type filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, provide multilingual values for any of these fields:</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">Function name, function aliases, input labels.</span>
#:[[File:Wikifunctions create a new function page with labels in another language.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 發布函式。
#:[[File:Wikifunctions create a new function page publish button.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
'''結果:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the function successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<span id="Edit_a_Function"></span>
== 編輯函式 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
You can contribute to Wikifunctions by editing its library of functions. Add or edit multilingual information to functions, and expand and alter the definitions of functions.
</div>
'''步驟:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click Edit source to see the edit options for this function.</span>
#:[[File:Edit function that converts a roman numeral to its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, modify the values of:</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Function name,</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Function aliases,</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Input list</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Add/remove input fields</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Edit input type</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Edit input labels</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Output type.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, provide multilingual values for any of these fields:</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Function name</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Function aliases</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Input labels.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Publish your updates.</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Were your edits successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Create tests ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
You can create tests for your function implementations in Wikifunctions to ensure they are working properly.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]'' or the function you created in the previous workflow.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click the “+” link in the tests table.</span>
#:[[File:Details view of a function that turns a roman numeral into its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on "{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}" under "Call".</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">In the field under "Function", type in the name of the function you are testing and select the function when it shows up.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Add values for the inputs in the respective fields.</span>
#:[[File:Add call to function test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on "{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}" under "Result Validation". In the field under "Function", type in the name of the function you want to use to check the result.</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">For a function whose output is String, this will be "String equality", for a function whose output is Boolean, this will be "Boolean equality".</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">Add the expected value in the given field (either "Second String" or "Second Boolean").</span>
#:[[File:Create a new test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Publish your updates.</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the test successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Create an implementation ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Functions are brought to life in implementations created to suit your needs. Run, remix, and combine functions via implementations in Wikifunctions. See the section below to learn how to [[#Connect an Implementation or Test to a Function|connect your implementation to functions]]. We recommend [[#Create tests|creating and connecting a test]] before creating an implementation. A more comprehensive guide to creating implementations is available at {{ll|Wikifunctions:How to create implementations}}.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click the “+” link in the implementations table.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">You can create a new implementation in one of two ways:</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">'''Code'''</span>
##* <span lang="en" dir="ltr" class="mw-content-ltr">Select the required programming language to write the function code.</span>
##* <span lang="en" dir="ltr" class="mw-content-ltr">Input your code.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">'''Composition''':</span>
##* <span lang="en" dir="ltr" class="mw-content-ltr">Create a composition using existing functions.</span>
#:[[File:Create a new implementation on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Publish your updates (after running a test by clicking the round arrow on the right of the box titled {{int|wikilambda-function-test-cases-table-header}}).</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the implementation successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Connect an Implementation or Test to a Function ==
</div>
:<span lang="en" dir="ltr" class="mw-content-ltr">''Note: This feature is only available to [[Special:MyLanguage/Wikifunctions:Functioneers|Functioneers]].''</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
Connect tests and implementations to your function to see it come to life.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Select one or more tests, or one or more implementations.</span>
#:[[File:A function detail page with with inactive implementations and tests selected.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on the button “{{int|wikilambda-function-details-table-approve}}”.</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the {{int|wikilambda-function-tester-state-approved}}/{{int|wikilambda-function-tester-state-deactivated}} state successfully changed?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Insert a Function in a Wikipedia article ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Now it is time to insert a function in a Wikipedia article and see the magic unfold.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Open the article you want to add a function to.</span>
#:[[File:How to insert a function 01.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Go to the edit tab and open visual editor.</span>
#:[[File:How to insert a function 02.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on the “Insert” menu at the top of the visual editor. Scroll down and click on “Function”. A dialog box will open.</span>
#:[[File:How to insert a function 03.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Search for the function you want to insert and click on it. Or, try one of the Suggested Functions below the search bar.</span>
#:[[File:How to insert a function 04.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Enter the necessary inputs and click on the “Insert” button at the top right to insert the function into the article.</span>
#:[[File:How to insert a function 05.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">You can now see the output of your function in the article. You can proceed to publish the changes.</span>
#:[[File:How to insert a function 06.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">If you want to edit the function, click on it. A tooltip will appear with the function name and description. Click on the “Edit” button.</span>
#:[[File:How to insert a function 07.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Then you can make changes to the inputs and click on “Apply changes” when you are done editing.</span>
#:[[File:How to insert a function 08.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the output what you expected?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
[[Category:Introduction| {{#translation:}}]]
5fvbms6nz7l2y8ikzm2rnk4o0rv0esx
200055
200053
2025-07-03T09:40:01Z
Winston Sung
2672
Created page with "函式名稱、"
200055
wikitext
text/x-wiki
<languages/>
<div lang="en" dir="ltr" class="mw-content-ltr">
Functions are computer instructions that make calculations on the data you provide, and answer questions you have about them. For example, when you ask a voice assistant how many miles are in a kilometer, the voice assistant calls a function to calculate it for you.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Wikifunctions is an open source project that enables anyone to create functions and share them for others to use, remix, test, and learn from.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Use the following how-to guides to try out the basic features of Wikifunctions. We are looking forward to your [[Special:MyLanguage/Wikifunctions:Report a technical problem|feedback]] and contributions!
</div>
<span id="Evaluate_a_Function"></span>
== 執行函式 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
You can try out community-contributed functions on Wikifunctions for yourself! Pick one from our ''[[Wikifunctions:Main Page#Functions to try out|library of functions]]'', and give input values to discover the output.
</div>
'''步驟:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to a function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Enter the input values.</span>
#:[[File:Wikifunctions function page with evaluation input filled.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 執行函式。
#:[[File:Wikifunctions function page with evaluation result.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
'''結果:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the output what you expected?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<span id="Create_a_Function"></span>
== 建立函式 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
You can add your own functions to Wikifunctions! Create a new function for use in your own implementations and enable others to use it as well. New functions can be written in your preferred language.
</div>
'''步驟:'''
# 前往<u>[{{MediaWiki:Createfunction-url}} 函式建立頁面]</u>.
#:[[File:Wikifunctions create a new function page 01.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 命名函式。
#:[[File:Wikifunctions create a new function page with name filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Define your function's inputs:</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Add/remove input fields.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Define each input type.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Name each input.</span>
#:[[File:Wikifunctions create a new function page with input type and label filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Define your function output type.</span>
#:[[File:Wikifunctions create a new function page with output type filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, provide multilingual values for any of these fields:</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">Function name, function aliases, input labels.</span>
#:[[File:Wikifunctions create a new function page with labels in another language.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 發布函式。
#:[[File:Wikifunctions create a new function page publish button.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
'''結果:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the function successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<span id="Edit_a_Function"></span>
== 編輯函式 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
You can contribute to Wikifunctions by editing its library of functions. Add or edit multilingual information to functions, and expand and alter the definitions of functions.
</div>
'''步驟:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click Edit source to see the edit options for this function.</span>
#:[[File:Edit function that converts a roman numeral to its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, modify the values of:</span>
## 函式名稱、
## <span lang="en" dir="ltr" class="mw-content-ltr">Function aliases,</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Input list</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Add/remove input fields</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Edit input type</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Edit input labels</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Output type.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, provide multilingual values for any of these fields:</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Function name</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Function aliases</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Input labels.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Publish your updates.</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Were your edits successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Create tests ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
You can create tests for your function implementations in Wikifunctions to ensure they are working properly.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]'' or the function you created in the previous workflow.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click the “+” link in the tests table.</span>
#:[[File:Details view of a function that turns a roman numeral into its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on "{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}" under "Call".</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">In the field under "Function", type in the name of the function you are testing and select the function when it shows up.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Add values for the inputs in the respective fields.</span>
#:[[File:Add call to function test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on "{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}" under "Result Validation". In the field under "Function", type in the name of the function you want to use to check the result.</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">For a function whose output is String, this will be "String equality", for a function whose output is Boolean, this will be "Boolean equality".</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">Add the expected value in the given field (either "Second String" or "Second Boolean").</span>
#:[[File:Create a new test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Publish your updates.</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the test successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Create an implementation ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Functions are brought to life in implementations created to suit your needs. Run, remix, and combine functions via implementations in Wikifunctions. See the section below to learn how to [[#Connect an Implementation or Test to a Function|connect your implementation to functions]]. We recommend [[#Create tests|creating and connecting a test]] before creating an implementation. A more comprehensive guide to creating implementations is available at {{ll|Wikifunctions:How to create implementations}}.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click the “+” link in the implementations table.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">You can create a new implementation in one of two ways:</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">'''Code'''</span>
##* <span lang="en" dir="ltr" class="mw-content-ltr">Select the required programming language to write the function code.</span>
##* <span lang="en" dir="ltr" class="mw-content-ltr">Input your code.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">'''Composition''':</span>
##* <span lang="en" dir="ltr" class="mw-content-ltr">Create a composition using existing functions.</span>
#:[[File:Create a new implementation on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Publish your updates (after running a test by clicking the round arrow on the right of the box titled {{int|wikilambda-function-test-cases-table-header}}).</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the implementation successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Connect an Implementation or Test to a Function ==
</div>
:<span lang="en" dir="ltr" class="mw-content-ltr">''Note: This feature is only available to [[Special:MyLanguage/Wikifunctions:Functioneers|Functioneers]].''</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
Connect tests and implementations to your function to see it come to life.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Select one or more tests, or one or more implementations.</span>
#:[[File:A function detail page with with inactive implementations and tests selected.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on the button “{{int|wikilambda-function-details-table-approve}}”.</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the {{int|wikilambda-function-tester-state-approved}}/{{int|wikilambda-function-tester-state-deactivated}} state successfully changed?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Insert a Function in a Wikipedia article ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Now it is time to insert a function in a Wikipedia article and see the magic unfold.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Open the article you want to add a function to.</span>
#:[[File:How to insert a function 01.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Go to the edit tab and open visual editor.</span>
#:[[File:How to insert a function 02.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on the “Insert” menu at the top of the visual editor. Scroll down and click on “Function”. A dialog box will open.</span>
#:[[File:How to insert a function 03.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Search for the function you want to insert and click on it. Or, try one of the Suggested Functions below the search bar.</span>
#:[[File:How to insert a function 04.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Enter the necessary inputs and click on the “Insert” button at the top right to insert the function into the article.</span>
#:[[File:How to insert a function 05.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">You can now see the output of your function in the article. You can proceed to publish the changes.</span>
#:[[File:How to insert a function 06.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">If you want to edit the function, click on it. A tooltip will appear with the function name and description. Click on the “Edit” button.</span>
#:[[File:How to insert a function 07.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Then you can make changes to the inputs and click on “Apply changes” when you are done editing.</span>
#:[[File:How to insert a function 08.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the output what you expected?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
[[Category:Introduction| {{#translation:}}]]
n418k822ndv86sifupzlc64v0zvamtt
200057
200055
2025-07-03T09:40:14Z
Winston Sung
2672
Created page with "函式別名、"
200057
wikitext
text/x-wiki
<languages/>
<div lang="en" dir="ltr" class="mw-content-ltr">
Functions are computer instructions that make calculations on the data you provide, and answer questions you have about them. For example, when you ask a voice assistant how many miles are in a kilometer, the voice assistant calls a function to calculate it for you.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Wikifunctions is an open source project that enables anyone to create functions and share them for others to use, remix, test, and learn from.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Use the following how-to guides to try out the basic features of Wikifunctions. We are looking forward to your [[Special:MyLanguage/Wikifunctions:Report a technical problem|feedback]] and contributions!
</div>
<span id="Evaluate_a_Function"></span>
== 執行函式 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
You can try out community-contributed functions on Wikifunctions for yourself! Pick one from our ''[[Wikifunctions:Main Page#Functions to try out|library of functions]]'', and give input values to discover the output.
</div>
'''步驟:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to a function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Enter the input values.</span>
#:[[File:Wikifunctions function page with evaluation input filled.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 執行函式。
#:[[File:Wikifunctions function page with evaluation result.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
'''結果:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the output what you expected?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<span id="Create_a_Function"></span>
== 建立函式 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
You can add your own functions to Wikifunctions! Create a new function for use in your own implementations and enable others to use it as well. New functions can be written in your preferred language.
</div>
'''步驟:'''
# 前往<u>[{{MediaWiki:Createfunction-url}} 函式建立頁面]</u>.
#:[[File:Wikifunctions create a new function page 01.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 命名函式。
#:[[File:Wikifunctions create a new function page with name filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Define your function's inputs:</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Add/remove input fields.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Define each input type.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Name each input.</span>
#:[[File:Wikifunctions create a new function page with input type and label filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Define your function output type.</span>
#:[[File:Wikifunctions create a new function page with output type filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, provide multilingual values for any of these fields:</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">Function name, function aliases, input labels.</span>
#:[[File:Wikifunctions create a new function page with labels in another language.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 發布函式。
#:[[File:Wikifunctions create a new function page publish button.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
'''結果:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the function successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<span id="Edit_a_Function"></span>
== 編輯函式 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
You can contribute to Wikifunctions by editing its library of functions. Add or edit multilingual information to functions, and expand and alter the definitions of functions.
</div>
'''步驟:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click Edit source to see the edit options for this function.</span>
#:[[File:Edit function that converts a roman numeral to its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, modify the values of:</span>
## 函式名稱、
## 函式別名、
## <span lang="en" dir="ltr" class="mw-content-ltr">Input list</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Add/remove input fields</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Edit input type</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Edit input labels</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Output type.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, provide multilingual values for any of these fields:</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Function name</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Function aliases</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Input labels.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Publish your updates.</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Were your edits successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Create tests ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
You can create tests for your function implementations in Wikifunctions to ensure they are working properly.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]'' or the function you created in the previous workflow.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click the “+” link in the tests table.</span>
#:[[File:Details view of a function that turns a roman numeral into its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on "{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}" under "Call".</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">In the field under "Function", type in the name of the function you are testing and select the function when it shows up.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Add values for the inputs in the respective fields.</span>
#:[[File:Add call to function test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on "{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}" under "Result Validation". In the field under "Function", type in the name of the function you want to use to check the result.</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">For a function whose output is String, this will be "String equality", for a function whose output is Boolean, this will be "Boolean equality".</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">Add the expected value in the given field (either "Second String" or "Second Boolean").</span>
#:[[File:Create a new test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Publish your updates.</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the test successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Create an implementation ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Functions are brought to life in implementations created to suit your needs. Run, remix, and combine functions via implementations in Wikifunctions. See the section below to learn how to [[#Connect an Implementation or Test to a Function|connect your implementation to functions]]. We recommend [[#Create tests|creating and connecting a test]] before creating an implementation. A more comprehensive guide to creating implementations is available at {{ll|Wikifunctions:How to create implementations}}.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click the “+” link in the implementations table.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">You can create a new implementation in one of two ways:</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">'''Code'''</span>
##* <span lang="en" dir="ltr" class="mw-content-ltr">Select the required programming language to write the function code.</span>
##* <span lang="en" dir="ltr" class="mw-content-ltr">Input your code.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">'''Composition''':</span>
##* <span lang="en" dir="ltr" class="mw-content-ltr">Create a composition using existing functions.</span>
#:[[File:Create a new implementation on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Publish your updates (after running a test by clicking the round arrow on the right of the box titled {{int|wikilambda-function-test-cases-table-header}}).</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the implementation successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Connect an Implementation or Test to a Function ==
</div>
:<span lang="en" dir="ltr" class="mw-content-ltr">''Note: This feature is only available to [[Special:MyLanguage/Wikifunctions:Functioneers|Functioneers]].''</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
Connect tests and implementations to your function to see it come to life.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Select one or more tests, or one or more implementations.</span>
#:[[File:A function detail page with with inactive implementations and tests selected.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on the button “{{int|wikilambda-function-details-table-approve}}”.</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the {{int|wikilambda-function-tester-state-approved}}/{{int|wikilambda-function-tester-state-deactivated}} state successfully changed?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Insert a Function in a Wikipedia article ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Now it is time to insert a function in a Wikipedia article and see the magic unfold.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Open the article you want to add a function to.</span>
#:[[File:How to insert a function 01.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Go to the edit tab and open visual editor.</span>
#:[[File:How to insert a function 02.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on the “Insert” menu at the top of the visual editor. Scroll down and click on “Function”. A dialog box will open.</span>
#:[[File:How to insert a function 03.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Search for the function you want to insert and click on it. Or, try one of the Suggested Functions below the search bar.</span>
#:[[File:How to insert a function 04.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Enter the necessary inputs and click on the “Insert” button at the top right to insert the function into the article.</span>
#:[[File:How to insert a function 05.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">You can now see the output of your function in the article. You can proceed to publish the changes.</span>
#:[[File:How to insert a function 06.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">If you want to edit the function, click on it. A tooltip will appear with the function name and description. Click on the “Edit” button.</span>
#:[[File:How to insert a function 07.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Then you can make changes to the inputs and click on “Apply changes” when you are done editing.</span>
#:[[File:How to insert a function 08.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the output what you expected?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
[[Category:Introduction| {{#translation:}}]]
bf8gz5290dp6r5cbe7wcesd6ty7ys4j
200059
200057
2025-07-03T09:40:36Z
Winston Sung
2672
Created page with "函式名稱"
200059
wikitext
text/x-wiki
<languages/>
<div lang="en" dir="ltr" class="mw-content-ltr">
Functions are computer instructions that make calculations on the data you provide, and answer questions you have about them. For example, when you ask a voice assistant how many miles are in a kilometer, the voice assistant calls a function to calculate it for you.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Wikifunctions is an open source project that enables anyone to create functions and share them for others to use, remix, test, and learn from.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Use the following how-to guides to try out the basic features of Wikifunctions. We are looking forward to your [[Special:MyLanguage/Wikifunctions:Report a technical problem|feedback]] and contributions!
</div>
<span id="Evaluate_a_Function"></span>
== 執行函式 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
You can try out community-contributed functions on Wikifunctions for yourself! Pick one from our ''[[Wikifunctions:Main Page#Functions to try out|library of functions]]'', and give input values to discover the output.
</div>
'''步驟:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to a function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Enter the input values.</span>
#:[[File:Wikifunctions function page with evaluation input filled.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 執行函式。
#:[[File:Wikifunctions function page with evaluation result.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
'''結果:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the output what you expected?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<span id="Create_a_Function"></span>
== 建立函式 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
You can add your own functions to Wikifunctions! Create a new function for use in your own implementations and enable others to use it as well. New functions can be written in your preferred language.
</div>
'''步驟:'''
# 前往<u>[{{MediaWiki:Createfunction-url}} 函式建立頁面]</u>.
#:[[File:Wikifunctions create a new function page 01.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 命名函式。
#:[[File:Wikifunctions create a new function page with name filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Define your function's inputs:</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Add/remove input fields.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Define each input type.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Name each input.</span>
#:[[File:Wikifunctions create a new function page with input type and label filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Define your function output type.</span>
#:[[File:Wikifunctions create a new function page with output type filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, provide multilingual values for any of these fields:</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">Function name, function aliases, input labels.</span>
#:[[File:Wikifunctions create a new function page with labels in another language.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 發布函式。
#:[[File:Wikifunctions create a new function page publish button.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
'''結果:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the function successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<span id="Edit_a_Function"></span>
== 編輯函式 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
You can contribute to Wikifunctions by editing its library of functions. Add or edit multilingual information to functions, and expand and alter the definitions of functions.
</div>
'''步驟:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click Edit source to see the edit options for this function.</span>
#:[[File:Edit function that converts a roman numeral to its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, modify the values of:</span>
## 函式名稱、
## 函式別名、
## <span lang="en" dir="ltr" class="mw-content-ltr">Input list</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Add/remove input fields</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Edit input type</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Edit input labels</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Output type.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, provide multilingual values for any of these fields:</span>
## 函式名稱
## <span lang="en" dir="ltr" class="mw-content-ltr">Function aliases</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Input labels.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Publish your updates.</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Were your edits successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Create tests ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
You can create tests for your function implementations in Wikifunctions to ensure they are working properly.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]'' or the function you created in the previous workflow.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click the “+” link in the tests table.</span>
#:[[File:Details view of a function that turns a roman numeral into its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on "{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}" under "Call".</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">In the field under "Function", type in the name of the function you are testing and select the function when it shows up.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Add values for the inputs in the respective fields.</span>
#:[[File:Add call to function test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on "{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}" under "Result Validation". In the field under "Function", type in the name of the function you want to use to check the result.</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">For a function whose output is String, this will be "String equality", for a function whose output is Boolean, this will be "Boolean equality".</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">Add the expected value in the given field (either "Second String" or "Second Boolean").</span>
#:[[File:Create a new test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Publish your updates.</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the test successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Create an implementation ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Functions are brought to life in implementations created to suit your needs. Run, remix, and combine functions via implementations in Wikifunctions. See the section below to learn how to [[#Connect an Implementation or Test to a Function|connect your implementation to functions]]. We recommend [[#Create tests|creating and connecting a test]] before creating an implementation. A more comprehensive guide to creating implementations is available at {{ll|Wikifunctions:How to create implementations}}.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click the “+” link in the implementations table.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">You can create a new implementation in one of two ways:</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">'''Code'''</span>
##* <span lang="en" dir="ltr" class="mw-content-ltr">Select the required programming language to write the function code.</span>
##* <span lang="en" dir="ltr" class="mw-content-ltr">Input your code.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">'''Composition''':</span>
##* <span lang="en" dir="ltr" class="mw-content-ltr">Create a composition using existing functions.</span>
#:[[File:Create a new implementation on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Publish your updates (after running a test by clicking the round arrow on the right of the box titled {{int|wikilambda-function-test-cases-table-header}}).</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the implementation successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Connect an Implementation or Test to a Function ==
</div>
:<span lang="en" dir="ltr" class="mw-content-ltr">''Note: This feature is only available to [[Special:MyLanguage/Wikifunctions:Functioneers|Functioneers]].''</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
Connect tests and implementations to your function to see it come to life.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Select one or more tests, or one or more implementations.</span>
#:[[File:A function detail page with with inactive implementations and tests selected.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on the button “{{int|wikilambda-function-details-table-approve}}”.</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the {{int|wikilambda-function-tester-state-approved}}/{{int|wikilambda-function-tester-state-deactivated}} state successfully changed?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Insert a Function in a Wikipedia article ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Now it is time to insert a function in a Wikipedia article and see the magic unfold.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Open the article you want to add a function to.</span>
#:[[File:How to insert a function 01.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Go to the edit tab and open visual editor.</span>
#:[[File:How to insert a function 02.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on the “Insert” menu at the top of the visual editor. Scroll down and click on “Function”. A dialog box will open.</span>
#:[[File:How to insert a function 03.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Search for the function you want to insert and click on it. Or, try one of the Suggested Functions below the search bar.</span>
#:[[File:How to insert a function 04.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Enter the necessary inputs and click on the “Insert” button at the top right to insert the function into the article.</span>
#:[[File:How to insert a function 05.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">You can now see the output of your function in the article. You can proceed to publish the changes.</span>
#:[[File:How to insert a function 06.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">If you want to edit the function, click on it. A tooltip will appear with the function name and description. Click on the “Edit” button.</span>
#:[[File:How to insert a function 07.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Then you can make changes to the inputs and click on “Apply changes” when you are done editing.</span>
#:[[File:How to insert a function 08.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the output what you expected?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
[[Category:Introduction| {{#translation:}}]]
bxsy5rn87dwpc74ni7ehcwujfqw8y1k
200061
200059
2025-07-03T09:40:39Z
Winston Sung
2672
Created page with "函式別名"
200061
wikitext
text/x-wiki
<languages/>
<div lang="en" dir="ltr" class="mw-content-ltr">
Functions are computer instructions that make calculations on the data you provide, and answer questions you have about them. For example, when you ask a voice assistant how many miles are in a kilometer, the voice assistant calls a function to calculate it for you.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Wikifunctions is an open source project that enables anyone to create functions and share them for others to use, remix, test, and learn from.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Use the following how-to guides to try out the basic features of Wikifunctions. We are looking forward to your [[Special:MyLanguage/Wikifunctions:Report a technical problem|feedback]] and contributions!
</div>
<span id="Evaluate_a_Function"></span>
== 執行函式 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
You can try out community-contributed functions on Wikifunctions for yourself! Pick one from our ''[[Wikifunctions:Main Page#Functions to try out|library of functions]]'', and give input values to discover the output.
</div>
'''步驟:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to a function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Enter the input values.</span>
#:[[File:Wikifunctions function page with evaluation input filled.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 執行函式。
#:[[File:Wikifunctions function page with evaluation result.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
'''結果:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the output what you expected?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<span id="Create_a_Function"></span>
== 建立函式 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
You can add your own functions to Wikifunctions! Create a new function for use in your own implementations and enable others to use it as well. New functions can be written in your preferred language.
</div>
'''步驟:'''
# 前往<u>[{{MediaWiki:Createfunction-url}} 函式建立頁面]</u>.
#:[[File:Wikifunctions create a new function page 01.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 命名函式。
#:[[File:Wikifunctions create a new function page with name filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Define your function's inputs:</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Add/remove input fields.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Define each input type.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Name each input.</span>
#:[[File:Wikifunctions create a new function page with input type and label filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Define your function output type.</span>
#:[[File:Wikifunctions create a new function page with output type filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, provide multilingual values for any of these fields:</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">Function name, function aliases, input labels.</span>
#:[[File:Wikifunctions create a new function page with labels in another language.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 發布函式。
#:[[File:Wikifunctions create a new function page publish button.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
'''結果:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the function successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<span id="Edit_a_Function"></span>
== 編輯函式 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
You can contribute to Wikifunctions by editing its library of functions. Add or edit multilingual information to functions, and expand and alter the definitions of functions.
</div>
'''步驟:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click Edit source to see the edit options for this function.</span>
#:[[File:Edit function that converts a roman numeral to its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, modify the values of:</span>
## 函式名稱、
## 函式別名、
## <span lang="en" dir="ltr" class="mw-content-ltr">Input list</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Add/remove input fields</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Edit input type</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Edit input labels</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Output type.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, provide multilingual values for any of these fields:</span>
## 函式名稱
## 函式別名
## <span lang="en" dir="ltr" class="mw-content-ltr">Input labels.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Publish your updates.</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Were your edits successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Create tests ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
You can create tests for your function implementations in Wikifunctions to ensure they are working properly.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]'' or the function you created in the previous workflow.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click the “+” link in the tests table.</span>
#:[[File:Details view of a function that turns a roman numeral into its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on "{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}" under "Call".</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">In the field under "Function", type in the name of the function you are testing and select the function when it shows up.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Add values for the inputs in the respective fields.</span>
#:[[File:Add call to function test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on "{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}" under "Result Validation". In the field under "Function", type in the name of the function you want to use to check the result.</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">For a function whose output is String, this will be "String equality", for a function whose output is Boolean, this will be "Boolean equality".</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">Add the expected value in the given field (either "Second String" or "Second Boolean").</span>
#:[[File:Create a new test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Publish your updates.</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the test successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Create an implementation ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Functions are brought to life in implementations created to suit your needs. Run, remix, and combine functions via implementations in Wikifunctions. See the section below to learn how to [[#Connect an Implementation or Test to a Function|connect your implementation to functions]]. We recommend [[#Create tests|creating and connecting a test]] before creating an implementation. A more comprehensive guide to creating implementations is available at {{ll|Wikifunctions:How to create implementations}}.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click the “+” link in the implementations table.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">You can create a new implementation in one of two ways:</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">'''Code'''</span>
##* <span lang="en" dir="ltr" class="mw-content-ltr">Select the required programming language to write the function code.</span>
##* <span lang="en" dir="ltr" class="mw-content-ltr">Input your code.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">'''Composition''':</span>
##* <span lang="en" dir="ltr" class="mw-content-ltr">Create a composition using existing functions.</span>
#:[[File:Create a new implementation on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Publish your updates (after running a test by clicking the round arrow on the right of the box titled {{int|wikilambda-function-test-cases-table-header}}).</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the implementation successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Connect an Implementation or Test to a Function ==
</div>
:<span lang="en" dir="ltr" class="mw-content-ltr">''Note: This feature is only available to [[Special:MyLanguage/Wikifunctions:Functioneers|Functioneers]].''</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
Connect tests and implementations to your function to see it come to life.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Select one or more tests, or one or more implementations.</span>
#:[[File:A function detail page with with inactive implementations and tests selected.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on the button “{{int|wikilambda-function-details-table-approve}}”.</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the {{int|wikilambda-function-tester-state-approved}}/{{int|wikilambda-function-tester-state-deactivated}} state successfully changed?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Insert a Function in a Wikipedia article ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Now it is time to insert a function in a Wikipedia article and see the magic unfold.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Open the article you want to add a function to.</span>
#:[[File:How to insert a function 01.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Go to the edit tab and open visual editor.</span>
#:[[File:How to insert a function 02.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on the “Insert” menu at the top of the visual editor. Scroll down and click on “Function”. A dialog box will open.</span>
#:[[File:How to insert a function 03.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Search for the function you want to insert and click on it. Or, try one of the Suggested Functions below the search bar.</span>
#:[[File:How to insert a function 04.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Enter the necessary inputs and click on the “Insert” button at the top right to insert the function into the article.</span>
#:[[File:How to insert a function 05.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">You can now see the output of your function in the article. You can proceed to publish the changes.</span>
#:[[File:How to insert a function 06.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">If you want to edit the function, click on it. A tooltip will appear with the function name and description. Click on the “Edit” button.</span>
#:[[File:How to insert a function 07.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Then you can make changes to the inputs and click on “Apply changes” when you are done editing.</span>
#:[[File:How to insert a function 08.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the output what you expected?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
[[Category:Introduction| {{#translation:}}]]
7v3sfxz6q8kjeooen1j3ycyv3kkmwd5
200063
200061
2025-07-03T09:40:51Z
Winston Sung
2672
Created page with "發布更新。"
200063
wikitext
text/x-wiki
<languages/>
<div lang="en" dir="ltr" class="mw-content-ltr">
Functions are computer instructions that make calculations on the data you provide, and answer questions you have about them. For example, when you ask a voice assistant how many miles are in a kilometer, the voice assistant calls a function to calculate it for you.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Wikifunctions is an open source project that enables anyone to create functions and share them for others to use, remix, test, and learn from.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Use the following how-to guides to try out the basic features of Wikifunctions. We are looking forward to your [[Special:MyLanguage/Wikifunctions:Report a technical problem|feedback]] and contributions!
</div>
<span id="Evaluate_a_Function"></span>
== 執行函式 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
You can try out community-contributed functions on Wikifunctions for yourself! Pick one from our ''[[Wikifunctions:Main Page#Functions to try out|library of functions]]'', and give input values to discover the output.
</div>
'''步驟:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to a function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Enter the input values.</span>
#:[[File:Wikifunctions function page with evaluation input filled.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 執行函式。
#:[[File:Wikifunctions function page with evaluation result.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
'''結果:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the output what you expected?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<span id="Create_a_Function"></span>
== 建立函式 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
You can add your own functions to Wikifunctions! Create a new function for use in your own implementations and enable others to use it as well. New functions can be written in your preferred language.
</div>
'''步驟:'''
# 前往<u>[{{MediaWiki:Createfunction-url}} 函式建立頁面]</u>.
#:[[File:Wikifunctions create a new function page 01.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 命名函式。
#:[[File:Wikifunctions create a new function page with name filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Define your function's inputs:</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Add/remove input fields.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Define each input type.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Name each input.</span>
#:[[File:Wikifunctions create a new function page with input type and label filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Define your function output type.</span>
#:[[File:Wikifunctions create a new function page with output type filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, provide multilingual values for any of these fields:</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">Function name, function aliases, input labels.</span>
#:[[File:Wikifunctions create a new function page with labels in another language.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 發布函式。
#:[[File:Wikifunctions create a new function page publish button.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
'''結果:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the function successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<span id="Edit_a_Function"></span>
== 編輯函式 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
You can contribute to Wikifunctions by editing its library of functions. Add or edit multilingual information to functions, and expand and alter the definitions of functions.
</div>
'''步驟:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click Edit source to see the edit options for this function.</span>
#:[[File:Edit function that converts a roman numeral to its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, modify the values of:</span>
## 函式名稱、
## 函式別名、
## <span lang="en" dir="ltr" class="mw-content-ltr">Input list</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Add/remove input fields</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Edit input type</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Edit input labels</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Output type.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, provide multilingual values for any of these fields:</span>
## 函式名稱
## 函式別名
## <span lang="en" dir="ltr" class="mw-content-ltr">Input labels.</span>
# 發布更新。
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Were your edits successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Create tests ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
You can create tests for your function implementations in Wikifunctions to ensure they are working properly.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]'' or the function you created in the previous workflow.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click the “+” link in the tests table.</span>
#:[[File:Details view of a function that turns a roman numeral into its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on "{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}" under "Call".</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">In the field under "Function", type in the name of the function you are testing and select the function when it shows up.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Add values for the inputs in the respective fields.</span>
#:[[File:Add call to function test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on "{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}" under "Result Validation". In the field under "Function", type in the name of the function you want to use to check the result.</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">For a function whose output is String, this will be "String equality", for a function whose output is Boolean, this will be "Boolean equality".</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">Add the expected value in the given field (either "Second String" or "Second Boolean").</span>
#:[[File:Create a new test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Publish your updates.</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the test successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Create an implementation ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Functions are brought to life in implementations created to suit your needs. Run, remix, and combine functions via implementations in Wikifunctions. See the section below to learn how to [[#Connect an Implementation or Test to a Function|connect your implementation to functions]]. We recommend [[#Create tests|creating and connecting a test]] before creating an implementation. A more comprehensive guide to creating implementations is available at {{ll|Wikifunctions:How to create implementations}}.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click the “+” link in the implementations table.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">You can create a new implementation in one of two ways:</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">'''Code'''</span>
##* <span lang="en" dir="ltr" class="mw-content-ltr">Select the required programming language to write the function code.</span>
##* <span lang="en" dir="ltr" class="mw-content-ltr">Input your code.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">'''Composition''':</span>
##* <span lang="en" dir="ltr" class="mw-content-ltr">Create a composition using existing functions.</span>
#:[[File:Create a new implementation on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Publish your updates (after running a test by clicking the round arrow on the right of the box titled {{int|wikilambda-function-test-cases-table-header}}).</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the implementation successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Connect an Implementation or Test to a Function ==
</div>
:<span lang="en" dir="ltr" class="mw-content-ltr">''Note: This feature is only available to [[Special:MyLanguage/Wikifunctions:Functioneers|Functioneers]].''</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
Connect tests and implementations to your function to see it come to life.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Select one or more tests, or one or more implementations.</span>
#:[[File:A function detail page with with inactive implementations and tests selected.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on the button “{{int|wikilambda-function-details-table-approve}}”.</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the {{int|wikilambda-function-tester-state-approved}}/{{int|wikilambda-function-tester-state-deactivated}} state successfully changed?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Insert a Function in a Wikipedia article ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Now it is time to insert a function in a Wikipedia article and see the magic unfold.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Open the article you want to add a function to.</span>
#:[[File:How to insert a function 01.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Go to the edit tab and open visual editor.</span>
#:[[File:How to insert a function 02.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on the “Insert” menu at the top of the visual editor. Scroll down and click on “Function”. A dialog box will open.</span>
#:[[File:How to insert a function 03.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Search for the function you want to insert and click on it. Or, try one of the Suggested Functions below the search bar.</span>
#:[[File:How to insert a function 04.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Enter the necessary inputs and click on the “Insert” button at the top right to insert the function into the article.</span>
#:[[File:How to insert a function 05.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">You can now see the output of your function in the article. You can proceed to publish the changes.</span>
#:[[File:How to insert a function 06.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">If you want to edit the function, click on it. A tooltip will appear with the function name and description. Click on the “Edit” button.</span>
#:[[File:How to insert a function 07.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Then you can make changes to the inputs and click on “Apply changes” when you are done editing.</span>
#:[[File:How to insert a function 08.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the output what you expected?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
[[Category:Introduction| {{#translation:}}]]
leo9s5cjut9mff2b7x5tfh6wo9izaj8
200065
200063
2025-07-03T09:40:55Z
Winston Sung
2672
Created page with "'''結果:'''"
200065
wikitext
text/x-wiki
<languages/>
<div lang="en" dir="ltr" class="mw-content-ltr">
Functions are computer instructions that make calculations on the data you provide, and answer questions you have about them. For example, when you ask a voice assistant how many miles are in a kilometer, the voice assistant calls a function to calculate it for you.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Wikifunctions is an open source project that enables anyone to create functions and share them for others to use, remix, test, and learn from.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Use the following how-to guides to try out the basic features of Wikifunctions. We are looking forward to your [[Special:MyLanguage/Wikifunctions:Report a technical problem|feedback]] and contributions!
</div>
<span id="Evaluate_a_Function"></span>
== 執行函式 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
You can try out community-contributed functions on Wikifunctions for yourself! Pick one from our ''[[Wikifunctions:Main Page#Functions to try out|library of functions]]'', and give input values to discover the output.
</div>
'''步驟:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to a function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Enter the input values.</span>
#:[[File:Wikifunctions function page with evaluation input filled.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 執行函式。
#:[[File:Wikifunctions function page with evaluation result.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
'''結果:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the output what you expected?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<span id="Create_a_Function"></span>
== 建立函式 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
You can add your own functions to Wikifunctions! Create a new function for use in your own implementations and enable others to use it as well. New functions can be written in your preferred language.
</div>
'''步驟:'''
# 前往<u>[{{MediaWiki:Createfunction-url}} 函式建立頁面]</u>.
#:[[File:Wikifunctions create a new function page 01.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 命名函式。
#:[[File:Wikifunctions create a new function page with name filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Define your function's inputs:</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Add/remove input fields.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Define each input type.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Name each input.</span>
#:[[File:Wikifunctions create a new function page with input type and label filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Define your function output type.</span>
#:[[File:Wikifunctions create a new function page with output type filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, provide multilingual values for any of these fields:</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">Function name, function aliases, input labels.</span>
#:[[File:Wikifunctions create a new function page with labels in another language.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 發布函式。
#:[[File:Wikifunctions create a new function page publish button.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
'''結果:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the function successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<span id="Edit_a_Function"></span>
== 編輯函式 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
You can contribute to Wikifunctions by editing its library of functions. Add or edit multilingual information to functions, and expand and alter the definitions of functions.
</div>
'''步驟:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click Edit source to see the edit options for this function.</span>
#:[[File:Edit function that converts a roman numeral to its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, modify the values of:</span>
## 函式名稱、
## 函式別名、
## <span lang="en" dir="ltr" class="mw-content-ltr">Input list</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Add/remove input fields</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Edit input type</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Edit input labels</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Output type.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, provide multilingual values for any of these fields:</span>
## 函式名稱
## 函式別名
## <span lang="en" dir="ltr" class="mw-content-ltr">Input labels.</span>
# 發布更新。
'''結果:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Were your edits successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Create tests ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
You can create tests for your function implementations in Wikifunctions to ensure they are working properly.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]'' or the function you created in the previous workflow.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click the “+” link in the tests table.</span>
#:[[File:Details view of a function that turns a roman numeral into its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on "{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}" under "Call".</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">In the field under "Function", type in the name of the function you are testing and select the function when it shows up.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Add values for the inputs in the respective fields.</span>
#:[[File:Add call to function test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on "{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}" under "Result Validation". In the field under "Function", type in the name of the function you want to use to check the result.</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">For a function whose output is String, this will be "String equality", for a function whose output is Boolean, this will be "Boolean equality".</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">Add the expected value in the given field (either "Second String" or "Second Boolean").</span>
#:[[File:Create a new test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Publish your updates.</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the test successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Create an implementation ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Functions are brought to life in implementations created to suit your needs. Run, remix, and combine functions via implementations in Wikifunctions. See the section below to learn how to [[#Connect an Implementation or Test to a Function|connect your implementation to functions]]. We recommend [[#Create tests|creating and connecting a test]] before creating an implementation. A more comprehensive guide to creating implementations is available at {{ll|Wikifunctions:How to create implementations}}.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click the “+” link in the implementations table.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">You can create a new implementation in one of two ways:</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">'''Code'''</span>
##* <span lang="en" dir="ltr" class="mw-content-ltr">Select the required programming language to write the function code.</span>
##* <span lang="en" dir="ltr" class="mw-content-ltr">Input your code.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">'''Composition''':</span>
##* <span lang="en" dir="ltr" class="mw-content-ltr">Create a composition using existing functions.</span>
#:[[File:Create a new implementation on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Publish your updates (after running a test by clicking the round arrow on the right of the box titled {{int|wikilambda-function-test-cases-table-header}}).</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the implementation successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Connect an Implementation or Test to a Function ==
</div>
:<span lang="en" dir="ltr" class="mw-content-ltr">''Note: This feature is only available to [[Special:MyLanguage/Wikifunctions:Functioneers|Functioneers]].''</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
Connect tests and implementations to your function to see it come to life.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Select one or more tests, or one or more implementations.</span>
#:[[File:A function detail page with with inactive implementations and tests selected.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on the button “{{int|wikilambda-function-details-table-approve}}”.</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the {{int|wikilambda-function-tester-state-approved}}/{{int|wikilambda-function-tester-state-deactivated}} state successfully changed?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Insert a Function in a Wikipedia article ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Now it is time to insert a function in a Wikipedia article and see the magic unfold.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Open the article you want to add a function to.</span>
#:[[File:How to insert a function 01.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Go to the edit tab and open visual editor.</span>
#:[[File:How to insert a function 02.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on the “Insert” menu at the top of the visual editor. Scroll down and click on “Function”. A dialog box will open.</span>
#:[[File:How to insert a function 03.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Search for the function you want to insert and click on it. Or, try one of the Suggested Functions below the search bar.</span>
#:[[File:How to insert a function 04.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Enter the necessary inputs and click on the “Insert” button at the top right to insert the function into the article.</span>
#:[[File:How to insert a function 05.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">You can now see the output of your function in the article. You can proceed to publish the changes.</span>
#:[[File:How to insert a function 06.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">If you want to edit the function, click on it. A tooltip will appear with the function name and description. Click on the “Edit” button.</span>
#:[[File:How to insert a function 07.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Then you can make changes to the inputs and click on “Apply changes” when you are done editing.</span>
#:[[File:How to insert a function 08.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the output what you expected?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
[[Category:Introduction| {{#translation:}}]]
lg2rvux944je1r67kefn3u5m39e2jum
200067
200065
2025-07-03T09:41:06Z
Winston Sung
2672
Created page with "== 建立測試 =="
200067
wikitext
text/x-wiki
<languages/>
<div lang="en" dir="ltr" class="mw-content-ltr">
Functions are computer instructions that make calculations on the data you provide, and answer questions you have about them. For example, when you ask a voice assistant how many miles are in a kilometer, the voice assistant calls a function to calculate it for you.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Wikifunctions is an open source project that enables anyone to create functions and share them for others to use, remix, test, and learn from.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Use the following how-to guides to try out the basic features of Wikifunctions. We are looking forward to your [[Special:MyLanguage/Wikifunctions:Report a technical problem|feedback]] and contributions!
</div>
<span id="Evaluate_a_Function"></span>
== 執行函式 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
You can try out community-contributed functions on Wikifunctions for yourself! Pick one from our ''[[Wikifunctions:Main Page#Functions to try out|library of functions]]'', and give input values to discover the output.
</div>
'''步驟:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to a function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Enter the input values.</span>
#:[[File:Wikifunctions function page with evaluation input filled.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 執行函式。
#:[[File:Wikifunctions function page with evaluation result.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
'''結果:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the output what you expected?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<span id="Create_a_Function"></span>
== 建立函式 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
You can add your own functions to Wikifunctions! Create a new function for use in your own implementations and enable others to use it as well. New functions can be written in your preferred language.
</div>
'''步驟:'''
# 前往<u>[{{MediaWiki:Createfunction-url}} 函式建立頁面]</u>.
#:[[File:Wikifunctions create a new function page 01.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 命名函式。
#:[[File:Wikifunctions create a new function page with name filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Define your function's inputs:</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Add/remove input fields.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Define each input type.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Name each input.</span>
#:[[File:Wikifunctions create a new function page with input type and label filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Define your function output type.</span>
#:[[File:Wikifunctions create a new function page with output type filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, provide multilingual values for any of these fields:</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">Function name, function aliases, input labels.</span>
#:[[File:Wikifunctions create a new function page with labels in another language.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 發布函式。
#:[[File:Wikifunctions create a new function page publish button.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
'''結果:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the function successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<span id="Edit_a_Function"></span>
== 編輯函式 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
You can contribute to Wikifunctions by editing its library of functions. Add or edit multilingual information to functions, and expand and alter the definitions of functions.
</div>
'''步驟:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click Edit source to see the edit options for this function.</span>
#:[[File:Edit function that converts a roman numeral to its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, modify the values of:</span>
## 函式名稱、
## 函式別名、
## <span lang="en" dir="ltr" class="mw-content-ltr">Input list</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Add/remove input fields</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Edit input type</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Edit input labels</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Output type.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, provide multilingual values for any of these fields:</span>
## 函式名稱
## 函式別名
## <span lang="en" dir="ltr" class="mw-content-ltr">Input labels.</span>
# 發布更新。
'''結果:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Were your edits successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<span id="Create_tests"></span>
== 建立測試 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
You can create tests for your function implementations in Wikifunctions to ensure they are working properly.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]'' or the function you created in the previous workflow.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click the “+” link in the tests table.</span>
#:[[File:Details view of a function that turns a roman numeral into its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on "{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}" under "Call".</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">In the field under "Function", type in the name of the function you are testing and select the function when it shows up.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Add values for the inputs in the respective fields.</span>
#:[[File:Add call to function test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on "{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}" under "Result Validation". In the field under "Function", type in the name of the function you want to use to check the result.</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">For a function whose output is String, this will be "String equality", for a function whose output is Boolean, this will be "Boolean equality".</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">Add the expected value in the given field (either "Second String" or "Second Boolean").</span>
#:[[File:Create a new test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Publish your updates.</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the test successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Create an implementation ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Functions are brought to life in implementations created to suit your needs. Run, remix, and combine functions via implementations in Wikifunctions. See the section below to learn how to [[#Connect an Implementation or Test to a Function|connect your implementation to functions]]. We recommend [[#Create tests|creating and connecting a test]] before creating an implementation. A more comprehensive guide to creating implementations is available at {{ll|Wikifunctions:How to create implementations}}.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click the “+” link in the implementations table.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">You can create a new implementation in one of two ways:</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">'''Code'''</span>
##* <span lang="en" dir="ltr" class="mw-content-ltr">Select the required programming language to write the function code.</span>
##* <span lang="en" dir="ltr" class="mw-content-ltr">Input your code.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">'''Composition''':</span>
##* <span lang="en" dir="ltr" class="mw-content-ltr">Create a composition using existing functions.</span>
#:[[File:Create a new implementation on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Publish your updates (after running a test by clicking the round arrow on the right of the box titled {{int|wikilambda-function-test-cases-table-header}}).</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the implementation successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Connect an Implementation or Test to a Function ==
</div>
:<span lang="en" dir="ltr" class="mw-content-ltr">''Note: This feature is only available to [[Special:MyLanguage/Wikifunctions:Functioneers|Functioneers]].''</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
Connect tests and implementations to your function to see it come to life.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Select one or more tests, or one or more implementations.</span>
#:[[File:A function detail page with with inactive implementations and tests selected.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on the button “{{int|wikilambda-function-details-table-approve}}”.</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the {{int|wikilambda-function-tester-state-approved}}/{{int|wikilambda-function-tester-state-deactivated}} state successfully changed?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Insert a Function in a Wikipedia article ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Now it is time to insert a function in a Wikipedia article and see the magic unfold.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Open the article you want to add a function to.</span>
#:[[File:How to insert a function 01.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Go to the edit tab and open visual editor.</span>
#:[[File:How to insert a function 02.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on the “Insert” menu at the top of the visual editor. Scroll down and click on “Function”. A dialog box will open.</span>
#:[[File:How to insert a function 03.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Search for the function you want to insert and click on it. Or, try one of the Suggested Functions below the search bar.</span>
#:[[File:How to insert a function 04.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Enter the necessary inputs and click on the “Insert” button at the top right to insert the function into the article.</span>
#:[[File:How to insert a function 05.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">You can now see the output of your function in the article. You can proceed to publish the changes.</span>
#:[[File:How to insert a function 06.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">If you want to edit the function, click on it. A tooltip will appear with the function name and description. Click on the “Edit” button.</span>
#:[[File:How to insert a function 07.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Then you can make changes to the inputs and click on “Apply changes” when you are done editing.</span>
#:[[File:How to insert a function 08.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the output what you expected?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
[[Category:Introduction| {{#translation:}}]]
s6n61iuif1jfvk1p5iw2rmpan4fg16v
200069
200067
2025-07-03T09:41:15Z
Winston Sung
2672
Created page with "'''步驟:'''"
200069
wikitext
text/x-wiki
<languages/>
<div lang="en" dir="ltr" class="mw-content-ltr">
Functions are computer instructions that make calculations on the data you provide, and answer questions you have about them. For example, when you ask a voice assistant how many miles are in a kilometer, the voice assistant calls a function to calculate it for you.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Wikifunctions is an open source project that enables anyone to create functions and share them for others to use, remix, test, and learn from.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Use the following how-to guides to try out the basic features of Wikifunctions. We are looking forward to your [[Special:MyLanguage/Wikifunctions:Report a technical problem|feedback]] and contributions!
</div>
<span id="Evaluate_a_Function"></span>
== 執行函式 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
You can try out community-contributed functions on Wikifunctions for yourself! Pick one from our ''[[Wikifunctions:Main Page#Functions to try out|library of functions]]'', and give input values to discover the output.
</div>
'''步驟:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to a function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Enter the input values.</span>
#:[[File:Wikifunctions function page with evaluation input filled.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 執行函式。
#:[[File:Wikifunctions function page with evaluation result.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
'''結果:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the output what you expected?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<span id="Create_a_Function"></span>
== 建立函式 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
You can add your own functions to Wikifunctions! Create a new function for use in your own implementations and enable others to use it as well. New functions can be written in your preferred language.
</div>
'''步驟:'''
# 前往<u>[{{MediaWiki:Createfunction-url}} 函式建立頁面]</u>.
#:[[File:Wikifunctions create a new function page 01.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 命名函式。
#:[[File:Wikifunctions create a new function page with name filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Define your function's inputs:</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Add/remove input fields.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Define each input type.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Name each input.</span>
#:[[File:Wikifunctions create a new function page with input type and label filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Define your function output type.</span>
#:[[File:Wikifunctions create a new function page with output type filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, provide multilingual values for any of these fields:</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">Function name, function aliases, input labels.</span>
#:[[File:Wikifunctions create a new function page with labels in another language.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 發布函式。
#:[[File:Wikifunctions create a new function page publish button.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
'''結果:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the function successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<span id="Edit_a_Function"></span>
== 編輯函式 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
You can contribute to Wikifunctions by editing its library of functions. Add or edit multilingual information to functions, and expand and alter the definitions of functions.
</div>
'''步驟:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click Edit source to see the edit options for this function.</span>
#:[[File:Edit function that converts a roman numeral to its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, modify the values of:</span>
## 函式名稱、
## 函式別名、
## <span lang="en" dir="ltr" class="mw-content-ltr">Input list</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Add/remove input fields</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Edit input type</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Edit input labels</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Output type.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, provide multilingual values for any of these fields:</span>
## 函式名稱
## 函式別名
## <span lang="en" dir="ltr" class="mw-content-ltr">Input labels.</span>
# 發布更新。
'''結果:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Were your edits successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<span id="Create_tests"></span>
== 建立測試 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
You can create tests for your function implementations in Wikifunctions to ensure they are working properly.
</div>
'''步驟:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]'' or the function you created in the previous workflow.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click the “+” link in the tests table.</span>
#:[[File:Details view of a function that turns a roman numeral into its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on "{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}" under "Call".</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">In the field under "Function", type in the name of the function you are testing and select the function when it shows up.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Add values for the inputs in the respective fields.</span>
#:[[File:Add call to function test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on "{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}" under "Result Validation". In the field under "Function", type in the name of the function you want to use to check the result.</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">For a function whose output is String, this will be "String equality", for a function whose output is Boolean, this will be "Boolean equality".</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">Add the expected value in the given field (either "Second String" or "Second Boolean").</span>
#:[[File:Create a new test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Publish your updates.</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the test successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Create an implementation ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Functions are brought to life in implementations created to suit your needs. Run, remix, and combine functions via implementations in Wikifunctions. See the section below to learn how to [[#Connect an Implementation or Test to a Function|connect your implementation to functions]]. We recommend [[#Create tests|creating and connecting a test]] before creating an implementation. A more comprehensive guide to creating implementations is available at {{ll|Wikifunctions:How to create implementations}}.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click the “+” link in the implementations table.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">You can create a new implementation in one of two ways:</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">'''Code'''</span>
##* <span lang="en" dir="ltr" class="mw-content-ltr">Select the required programming language to write the function code.</span>
##* <span lang="en" dir="ltr" class="mw-content-ltr">Input your code.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">'''Composition''':</span>
##* <span lang="en" dir="ltr" class="mw-content-ltr">Create a composition using existing functions.</span>
#:[[File:Create a new implementation on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Publish your updates (after running a test by clicking the round arrow on the right of the box titled {{int|wikilambda-function-test-cases-table-header}}).</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the implementation successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Connect an Implementation or Test to a Function ==
</div>
:<span lang="en" dir="ltr" class="mw-content-ltr">''Note: This feature is only available to [[Special:MyLanguage/Wikifunctions:Functioneers|Functioneers]].''</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
Connect tests and implementations to your function to see it come to life.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Select one or more tests, or one or more implementations.</span>
#:[[File:A function detail page with with inactive implementations and tests selected.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on the button “{{int|wikilambda-function-details-table-approve}}”.</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the {{int|wikilambda-function-tester-state-approved}}/{{int|wikilambda-function-tester-state-deactivated}} state successfully changed?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Insert a Function in a Wikipedia article ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Now it is time to insert a function in a Wikipedia article and see the magic unfold.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Open the article you want to add a function to.</span>
#:[[File:How to insert a function 01.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Go to the edit tab and open visual editor.</span>
#:[[File:How to insert a function 02.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on the “Insert” menu at the top of the visual editor. Scroll down and click on “Function”. A dialog box will open.</span>
#:[[File:How to insert a function 03.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Search for the function you want to insert and click on it. Or, try one of the Suggested Functions below the search bar.</span>
#:[[File:How to insert a function 04.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Enter the necessary inputs and click on the “Insert” button at the top right to insert the function into the article.</span>
#:[[File:How to insert a function 05.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">You can now see the output of your function in the article. You can proceed to publish the changes.</span>
#:[[File:How to insert a function 06.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">If you want to edit the function, click on it. A tooltip will appear with the function name and description. Click on the “Edit” button.</span>
#:[[File:How to insert a function 07.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Then you can make changes to the inputs and click on “Apply changes” when you are done editing.</span>
#:[[File:How to insert a function 08.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the output what you expected?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
[[Category:Introduction| {{#translation:}}]]
4dnh8k80opjctut9jwlwu0lj6nlyk4b
200071
200069
2025-07-03T09:41:29Z
Winston Sung
2672
Created page with "發布更新。"
200071
wikitext
text/x-wiki
<languages/>
<div lang="en" dir="ltr" class="mw-content-ltr">
Functions are computer instructions that make calculations on the data you provide, and answer questions you have about them. For example, when you ask a voice assistant how many miles are in a kilometer, the voice assistant calls a function to calculate it for you.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Wikifunctions is an open source project that enables anyone to create functions and share them for others to use, remix, test, and learn from.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Use the following how-to guides to try out the basic features of Wikifunctions. We are looking forward to your [[Special:MyLanguage/Wikifunctions:Report a technical problem|feedback]] and contributions!
</div>
<span id="Evaluate_a_Function"></span>
== 執行函式 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
You can try out community-contributed functions on Wikifunctions for yourself! Pick one from our ''[[Wikifunctions:Main Page#Functions to try out|library of functions]]'', and give input values to discover the output.
</div>
'''步驟:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to a function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Enter the input values.</span>
#:[[File:Wikifunctions function page with evaluation input filled.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 執行函式。
#:[[File:Wikifunctions function page with evaluation result.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
'''結果:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the output what you expected?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<span id="Create_a_Function"></span>
== 建立函式 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
You can add your own functions to Wikifunctions! Create a new function for use in your own implementations and enable others to use it as well. New functions can be written in your preferred language.
</div>
'''步驟:'''
# 前往<u>[{{MediaWiki:Createfunction-url}} 函式建立頁面]</u>.
#:[[File:Wikifunctions create a new function page 01.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 命名函式。
#:[[File:Wikifunctions create a new function page with name filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Define your function's inputs:</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Add/remove input fields.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Define each input type.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Name each input.</span>
#:[[File:Wikifunctions create a new function page with input type and label filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Define your function output type.</span>
#:[[File:Wikifunctions create a new function page with output type filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, provide multilingual values for any of these fields:</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">Function name, function aliases, input labels.</span>
#:[[File:Wikifunctions create a new function page with labels in another language.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 發布函式。
#:[[File:Wikifunctions create a new function page publish button.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
'''結果:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the function successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<span id="Edit_a_Function"></span>
== 編輯函式 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
You can contribute to Wikifunctions by editing its library of functions. Add or edit multilingual information to functions, and expand and alter the definitions of functions.
</div>
'''步驟:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click Edit source to see the edit options for this function.</span>
#:[[File:Edit function that converts a roman numeral to its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, modify the values of:</span>
## 函式名稱、
## 函式別名、
## <span lang="en" dir="ltr" class="mw-content-ltr">Input list</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Add/remove input fields</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Edit input type</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Edit input labels</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Output type.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, provide multilingual values for any of these fields:</span>
## 函式名稱
## 函式別名
## <span lang="en" dir="ltr" class="mw-content-ltr">Input labels.</span>
# 發布更新。
'''結果:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Were your edits successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<span id="Create_tests"></span>
== 建立測試 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
You can create tests for your function implementations in Wikifunctions to ensure they are working properly.
</div>
'''步驟:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]'' or the function you created in the previous workflow.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click the “+” link in the tests table.</span>
#:[[File:Details view of a function that turns a roman numeral into its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on "{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}" under "Call".</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">In the field under "Function", type in the name of the function you are testing and select the function when it shows up.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Add values for the inputs in the respective fields.</span>
#:[[File:Add call to function test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on "{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}" under "Result Validation". In the field under "Function", type in the name of the function you want to use to check the result.</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">For a function whose output is String, this will be "String equality", for a function whose output is Boolean, this will be "Boolean equality".</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">Add the expected value in the given field (either "Second String" or "Second Boolean").</span>
#:[[File:Create a new test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 發布更新。
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the test successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Create an implementation ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Functions are brought to life in implementations created to suit your needs. Run, remix, and combine functions via implementations in Wikifunctions. See the section below to learn how to [[#Connect an Implementation or Test to a Function|connect your implementation to functions]]. We recommend [[#Create tests|creating and connecting a test]] before creating an implementation. A more comprehensive guide to creating implementations is available at {{ll|Wikifunctions:How to create implementations}}.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click the “+” link in the implementations table.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">You can create a new implementation in one of two ways:</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">'''Code'''</span>
##* <span lang="en" dir="ltr" class="mw-content-ltr">Select the required programming language to write the function code.</span>
##* <span lang="en" dir="ltr" class="mw-content-ltr">Input your code.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">'''Composition''':</span>
##* <span lang="en" dir="ltr" class="mw-content-ltr">Create a composition using existing functions.</span>
#:[[File:Create a new implementation on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Publish your updates (after running a test by clicking the round arrow on the right of the box titled {{int|wikilambda-function-test-cases-table-header}}).</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the implementation successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Connect an Implementation or Test to a Function ==
</div>
:<span lang="en" dir="ltr" class="mw-content-ltr">''Note: This feature is only available to [[Special:MyLanguage/Wikifunctions:Functioneers|Functioneers]].''</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
Connect tests and implementations to your function to see it come to life.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Select one or more tests, or one or more implementations.</span>
#:[[File:A function detail page with with inactive implementations and tests selected.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on the button “{{int|wikilambda-function-details-table-approve}}”.</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the {{int|wikilambda-function-tester-state-approved}}/{{int|wikilambda-function-tester-state-deactivated}} state successfully changed?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Insert a Function in a Wikipedia article ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Now it is time to insert a function in a Wikipedia article and see the magic unfold.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Open the article you want to add a function to.</span>
#:[[File:How to insert a function 01.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Go to the edit tab and open visual editor.</span>
#:[[File:How to insert a function 02.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on the “Insert” menu at the top of the visual editor. Scroll down and click on “Function”. A dialog box will open.</span>
#:[[File:How to insert a function 03.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Search for the function you want to insert and click on it. Or, try one of the Suggested Functions below the search bar.</span>
#:[[File:How to insert a function 04.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Enter the necessary inputs and click on the “Insert” button at the top right to insert the function into the article.</span>
#:[[File:How to insert a function 05.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">You can now see the output of your function in the article. You can proceed to publish the changes.</span>
#:[[File:How to insert a function 06.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">If you want to edit the function, click on it. A tooltip will appear with the function name and description. Click on the “Edit” button.</span>
#:[[File:How to insert a function 07.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Then you can make changes to the inputs and click on “Apply changes” when you are done editing.</span>
#:[[File:How to insert a function 08.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the output what you expected?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
[[Category:Introduction| {{#translation:}}]]
aumf79fhb9o4z08fcnpk5qz6ccbw9w7
200073
200071
2025-07-03T09:41:33Z
Winston Sung
2672
Created page with "'''結果:'''"
200073
wikitext
text/x-wiki
<languages/>
<div lang="en" dir="ltr" class="mw-content-ltr">
Functions are computer instructions that make calculations on the data you provide, and answer questions you have about them. For example, when you ask a voice assistant how many miles are in a kilometer, the voice assistant calls a function to calculate it for you.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Wikifunctions is an open source project that enables anyone to create functions and share them for others to use, remix, test, and learn from.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Use the following how-to guides to try out the basic features of Wikifunctions. We are looking forward to your [[Special:MyLanguage/Wikifunctions:Report a technical problem|feedback]] and contributions!
</div>
<span id="Evaluate_a_Function"></span>
== 執行函式 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
You can try out community-contributed functions on Wikifunctions for yourself! Pick one from our ''[[Wikifunctions:Main Page#Functions to try out|library of functions]]'', and give input values to discover the output.
</div>
'''步驟:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to a function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Enter the input values.</span>
#:[[File:Wikifunctions function page with evaluation input filled.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 執行函式。
#:[[File:Wikifunctions function page with evaluation result.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
'''結果:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the output what you expected?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<span id="Create_a_Function"></span>
== 建立函式 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
You can add your own functions to Wikifunctions! Create a new function for use in your own implementations and enable others to use it as well. New functions can be written in your preferred language.
</div>
'''步驟:'''
# 前往<u>[{{MediaWiki:Createfunction-url}} 函式建立頁面]</u>.
#:[[File:Wikifunctions create a new function page 01.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 命名函式。
#:[[File:Wikifunctions create a new function page with name filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Define your function's inputs:</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Add/remove input fields.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Define each input type.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Name each input.</span>
#:[[File:Wikifunctions create a new function page with input type and label filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Define your function output type.</span>
#:[[File:Wikifunctions create a new function page with output type filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, provide multilingual values for any of these fields:</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">Function name, function aliases, input labels.</span>
#:[[File:Wikifunctions create a new function page with labels in another language.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 發布函式。
#:[[File:Wikifunctions create a new function page publish button.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
'''結果:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the function successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<span id="Edit_a_Function"></span>
== 編輯函式 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
You can contribute to Wikifunctions by editing its library of functions. Add or edit multilingual information to functions, and expand and alter the definitions of functions.
</div>
'''步驟:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click Edit source to see the edit options for this function.</span>
#:[[File:Edit function that converts a roman numeral to its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, modify the values of:</span>
## 函式名稱、
## 函式別名、
## <span lang="en" dir="ltr" class="mw-content-ltr">Input list</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Add/remove input fields</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Edit input type</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Edit input labels</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Output type.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, provide multilingual values for any of these fields:</span>
## 函式名稱
## 函式別名
## <span lang="en" dir="ltr" class="mw-content-ltr">Input labels.</span>
# 發布更新。
'''結果:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Were your edits successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<span id="Create_tests"></span>
== 建立測試 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
You can create tests for your function implementations in Wikifunctions to ensure they are working properly.
</div>
'''步驟:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]'' or the function you created in the previous workflow.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click the “+” link in the tests table.</span>
#:[[File:Details view of a function that turns a roman numeral into its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on "{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}" under "Call".</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">In the field under "Function", type in the name of the function you are testing and select the function when it shows up.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Add values for the inputs in the respective fields.</span>
#:[[File:Add call to function test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on "{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}" under "Result Validation". In the field under "Function", type in the name of the function you want to use to check the result.</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">For a function whose output is String, this will be "String equality", for a function whose output is Boolean, this will be "Boolean equality".</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">Add the expected value in the given field (either "Second String" or "Second Boolean").</span>
#:[[File:Create a new test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 發布更新。
'''結果:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the test successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Create an implementation ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Functions are brought to life in implementations created to suit your needs. Run, remix, and combine functions via implementations in Wikifunctions. See the section below to learn how to [[#Connect an Implementation or Test to a Function|connect your implementation to functions]]. We recommend [[#Create tests|creating and connecting a test]] before creating an implementation. A more comprehensive guide to creating implementations is available at {{ll|Wikifunctions:How to create implementations}}.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click the “+” link in the implementations table.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">You can create a new implementation in one of two ways:</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">'''Code'''</span>
##* <span lang="en" dir="ltr" class="mw-content-ltr">Select the required programming language to write the function code.</span>
##* <span lang="en" dir="ltr" class="mw-content-ltr">Input your code.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">'''Composition''':</span>
##* <span lang="en" dir="ltr" class="mw-content-ltr">Create a composition using existing functions.</span>
#:[[File:Create a new implementation on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Publish your updates (after running a test by clicking the round arrow on the right of the box titled {{int|wikilambda-function-test-cases-table-header}}).</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the implementation successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Connect an Implementation or Test to a Function ==
</div>
:<span lang="en" dir="ltr" class="mw-content-ltr">''Note: This feature is only available to [[Special:MyLanguage/Wikifunctions:Functioneers|Functioneers]].''</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
Connect tests and implementations to your function to see it come to life.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Select one or more tests, or one or more implementations.</span>
#:[[File:A function detail page with with inactive implementations and tests selected.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on the button “{{int|wikilambda-function-details-table-approve}}”.</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the {{int|wikilambda-function-tester-state-approved}}/{{int|wikilambda-function-tester-state-deactivated}} state successfully changed?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Insert a Function in a Wikipedia article ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Now it is time to insert a function in a Wikipedia article and see the magic unfold.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Open the article you want to add a function to.</span>
#:[[File:How to insert a function 01.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Go to the edit tab and open visual editor.</span>
#:[[File:How to insert a function 02.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on the “Insert” menu at the top of the visual editor. Scroll down and click on “Function”. A dialog box will open.</span>
#:[[File:How to insert a function 03.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Search for the function you want to insert and click on it. Or, try one of the Suggested Functions below the search bar.</span>
#:[[File:How to insert a function 04.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Enter the necessary inputs and click on the “Insert” button at the top right to insert the function into the article.</span>
#:[[File:How to insert a function 05.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">You can now see the output of your function in the article. You can proceed to publish the changes.</span>
#:[[File:How to insert a function 06.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">If you want to edit the function, click on it. A tooltip will appear with the function name and description. Click on the “Edit” button.</span>
#:[[File:How to insert a function 07.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Then you can make changes to the inputs and click on “Apply changes” when you are done editing.</span>
#:[[File:How to insert a function 08.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the output what you expected?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
[[Category:Introduction| {{#translation:}}]]
7fob1enu9tnlavbvdjppo60h3drigqs
200075
200073
2025-07-03T09:41:51Z
Winston Sung
2672
Created page with "== 建立函式實作 =="
200075
wikitext
text/x-wiki
<languages/>
<div lang="en" dir="ltr" class="mw-content-ltr">
Functions are computer instructions that make calculations on the data you provide, and answer questions you have about them. For example, when you ask a voice assistant how many miles are in a kilometer, the voice assistant calls a function to calculate it for you.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Wikifunctions is an open source project that enables anyone to create functions and share them for others to use, remix, test, and learn from.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Use the following how-to guides to try out the basic features of Wikifunctions. We are looking forward to your [[Special:MyLanguage/Wikifunctions:Report a technical problem|feedback]] and contributions!
</div>
<span id="Evaluate_a_Function"></span>
== 執行函式 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
You can try out community-contributed functions on Wikifunctions for yourself! Pick one from our ''[[Wikifunctions:Main Page#Functions to try out|library of functions]]'', and give input values to discover the output.
</div>
'''步驟:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to a function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Enter the input values.</span>
#:[[File:Wikifunctions function page with evaluation input filled.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 執行函式。
#:[[File:Wikifunctions function page with evaluation result.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
'''結果:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the output what you expected?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<span id="Create_a_Function"></span>
== 建立函式 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
You can add your own functions to Wikifunctions! Create a new function for use in your own implementations and enable others to use it as well. New functions can be written in your preferred language.
</div>
'''步驟:'''
# 前往<u>[{{MediaWiki:Createfunction-url}} 函式建立頁面]</u>.
#:[[File:Wikifunctions create a new function page 01.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 命名函式。
#:[[File:Wikifunctions create a new function page with name filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Define your function's inputs:</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Add/remove input fields.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Define each input type.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Name each input.</span>
#:[[File:Wikifunctions create a new function page with input type and label filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Define your function output type.</span>
#:[[File:Wikifunctions create a new function page with output type filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, provide multilingual values for any of these fields:</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">Function name, function aliases, input labels.</span>
#:[[File:Wikifunctions create a new function page with labels in another language.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 發布函式。
#:[[File:Wikifunctions create a new function page publish button.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
'''結果:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the function successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<span id="Edit_a_Function"></span>
== 編輯函式 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
You can contribute to Wikifunctions by editing its library of functions. Add or edit multilingual information to functions, and expand and alter the definitions of functions.
</div>
'''步驟:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click Edit source to see the edit options for this function.</span>
#:[[File:Edit function that converts a roman numeral to its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, modify the values of:</span>
## 函式名稱、
## 函式別名、
## <span lang="en" dir="ltr" class="mw-content-ltr">Input list</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Add/remove input fields</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Edit input type</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Edit input labels</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Output type.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, provide multilingual values for any of these fields:</span>
## 函式名稱
## 函式別名
## <span lang="en" dir="ltr" class="mw-content-ltr">Input labels.</span>
# 發布更新。
'''結果:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Were your edits successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<span id="Create_tests"></span>
== 建立測試 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
You can create tests for your function implementations in Wikifunctions to ensure they are working properly.
</div>
'''步驟:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]'' or the function you created in the previous workflow.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click the “+” link in the tests table.</span>
#:[[File:Details view of a function that turns a roman numeral into its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on "{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}" under "Call".</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">In the field under "Function", type in the name of the function you are testing and select the function when it shows up.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Add values for the inputs in the respective fields.</span>
#:[[File:Add call to function test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on "{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}" under "Result Validation". In the field under "Function", type in the name of the function you want to use to check the result.</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">For a function whose output is String, this will be "String equality", for a function whose output is Boolean, this will be "Boolean equality".</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">Add the expected value in the given field (either "Second String" or "Second Boolean").</span>
#:[[File:Create a new test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 發布更新。
'''結果:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the test successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<span id="Create_an_implementation"></span>
== 建立函式實作 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
Functions are brought to life in implementations created to suit your needs. Run, remix, and combine functions via implementations in Wikifunctions. See the section below to learn how to [[#Connect an Implementation or Test to a Function|connect your implementation to functions]]. We recommend [[#Create tests|creating and connecting a test]] before creating an implementation. A more comprehensive guide to creating implementations is available at {{ll|Wikifunctions:How to create implementations}}.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click the “+” link in the implementations table.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">You can create a new implementation in one of two ways:</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">'''Code'''</span>
##* <span lang="en" dir="ltr" class="mw-content-ltr">Select the required programming language to write the function code.</span>
##* <span lang="en" dir="ltr" class="mw-content-ltr">Input your code.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">'''Composition''':</span>
##* <span lang="en" dir="ltr" class="mw-content-ltr">Create a composition using existing functions.</span>
#:[[File:Create a new implementation on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Publish your updates (after running a test by clicking the round arrow on the right of the box titled {{int|wikilambda-function-test-cases-table-header}}).</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the implementation successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Connect an Implementation or Test to a Function ==
</div>
:<span lang="en" dir="ltr" class="mw-content-ltr">''Note: This feature is only available to [[Special:MyLanguage/Wikifunctions:Functioneers|Functioneers]].''</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
Connect tests and implementations to your function to see it come to life.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Select one or more tests, or one or more implementations.</span>
#:[[File:A function detail page with with inactive implementations and tests selected.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on the button “{{int|wikilambda-function-details-table-approve}}”.</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the {{int|wikilambda-function-tester-state-approved}}/{{int|wikilambda-function-tester-state-deactivated}} state successfully changed?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Insert a Function in a Wikipedia article ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Now it is time to insert a function in a Wikipedia article and see the magic unfold.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Open the article you want to add a function to.</span>
#:[[File:How to insert a function 01.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Go to the edit tab and open visual editor.</span>
#:[[File:How to insert a function 02.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on the “Insert” menu at the top of the visual editor. Scroll down and click on “Function”. A dialog box will open.</span>
#:[[File:How to insert a function 03.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Search for the function you want to insert and click on it. Or, try one of the Suggested Functions below the search bar.</span>
#:[[File:How to insert a function 04.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Enter the necessary inputs and click on the “Insert” button at the top right to insert the function into the article.</span>
#:[[File:How to insert a function 05.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">You can now see the output of your function in the article. You can proceed to publish the changes.</span>
#:[[File:How to insert a function 06.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">If you want to edit the function, click on it. A tooltip will appear with the function name and description. Click on the “Edit” button.</span>
#:[[File:How to insert a function 07.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Then you can make changes to the inputs and click on “Apply changes” when you are done editing.</span>
#:[[File:How to insert a function 08.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the output what you expected?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
[[Category:Introduction| {{#translation:}}]]
567qk44teounf1vi912w23rg1xe90xb
200077
200075
2025-07-03T09:41:59Z
Winston Sung
2672
Created page with "'''步驟:'''"
200077
wikitext
text/x-wiki
<languages/>
<div lang="en" dir="ltr" class="mw-content-ltr">
Functions are computer instructions that make calculations on the data you provide, and answer questions you have about them. For example, when you ask a voice assistant how many miles are in a kilometer, the voice assistant calls a function to calculate it for you.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Wikifunctions is an open source project that enables anyone to create functions and share them for others to use, remix, test, and learn from.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Use the following how-to guides to try out the basic features of Wikifunctions. We are looking forward to your [[Special:MyLanguage/Wikifunctions:Report a technical problem|feedback]] and contributions!
</div>
<span id="Evaluate_a_Function"></span>
== 執行函式 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
You can try out community-contributed functions on Wikifunctions for yourself! Pick one from our ''[[Wikifunctions:Main Page#Functions to try out|library of functions]]'', and give input values to discover the output.
</div>
'''步驟:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to a function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Enter the input values.</span>
#:[[File:Wikifunctions function page with evaluation input filled.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 執行函式。
#:[[File:Wikifunctions function page with evaluation result.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
'''結果:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the output what you expected?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<span id="Create_a_Function"></span>
== 建立函式 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
You can add your own functions to Wikifunctions! Create a new function for use in your own implementations and enable others to use it as well. New functions can be written in your preferred language.
</div>
'''步驟:'''
# 前往<u>[{{MediaWiki:Createfunction-url}} 函式建立頁面]</u>.
#:[[File:Wikifunctions create a new function page 01.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 命名函式。
#:[[File:Wikifunctions create a new function page with name filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Define your function's inputs:</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Add/remove input fields.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Define each input type.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Name each input.</span>
#:[[File:Wikifunctions create a new function page with input type and label filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Define your function output type.</span>
#:[[File:Wikifunctions create a new function page with output type filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, provide multilingual values for any of these fields:</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">Function name, function aliases, input labels.</span>
#:[[File:Wikifunctions create a new function page with labels in another language.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 發布函式。
#:[[File:Wikifunctions create a new function page publish button.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
'''結果:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the function successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<span id="Edit_a_Function"></span>
== 編輯函式 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
You can contribute to Wikifunctions by editing its library of functions. Add or edit multilingual information to functions, and expand and alter the definitions of functions.
</div>
'''步驟:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click Edit source to see the edit options for this function.</span>
#:[[File:Edit function that converts a roman numeral to its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, modify the values of:</span>
## 函式名稱、
## 函式別名、
## <span lang="en" dir="ltr" class="mw-content-ltr">Input list</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Add/remove input fields</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Edit input type</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Edit input labels</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Output type.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, provide multilingual values for any of these fields:</span>
## 函式名稱
## 函式別名
## <span lang="en" dir="ltr" class="mw-content-ltr">Input labels.</span>
# 發布更新。
'''結果:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Were your edits successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<span id="Create_tests"></span>
== 建立測試 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
You can create tests for your function implementations in Wikifunctions to ensure they are working properly.
</div>
'''步驟:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]'' or the function you created in the previous workflow.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click the “+” link in the tests table.</span>
#:[[File:Details view of a function that turns a roman numeral into its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on "{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}" under "Call".</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">In the field under "Function", type in the name of the function you are testing and select the function when it shows up.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Add values for the inputs in the respective fields.</span>
#:[[File:Add call to function test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on "{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}" under "Result Validation". In the field under "Function", type in the name of the function you want to use to check the result.</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">For a function whose output is String, this will be "String equality", for a function whose output is Boolean, this will be "Boolean equality".</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">Add the expected value in the given field (either "Second String" or "Second Boolean").</span>
#:[[File:Create a new test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 發布更新。
'''結果:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the test successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<span id="Create_an_implementation"></span>
== 建立函式實作 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
Functions are brought to life in implementations created to suit your needs. Run, remix, and combine functions via implementations in Wikifunctions. See the section below to learn how to [[#Connect an Implementation or Test to a Function|connect your implementation to functions]]. We recommend [[#Create tests|creating and connecting a test]] before creating an implementation. A more comprehensive guide to creating implementations is available at {{ll|Wikifunctions:How to create implementations}}.
</div>
'''步驟:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click the “+” link in the implementations table.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">You can create a new implementation in one of two ways:</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">'''Code'''</span>
##* <span lang="en" dir="ltr" class="mw-content-ltr">Select the required programming language to write the function code.</span>
##* <span lang="en" dir="ltr" class="mw-content-ltr">Input your code.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">'''Composition''':</span>
##* <span lang="en" dir="ltr" class="mw-content-ltr">Create a composition using existing functions.</span>
#:[[File:Create a new implementation on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Publish your updates (after running a test by clicking the round arrow on the right of the box titled {{int|wikilambda-function-test-cases-table-header}}).</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the implementation successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Connect an Implementation or Test to a Function ==
</div>
:<span lang="en" dir="ltr" class="mw-content-ltr">''Note: This feature is only available to [[Special:MyLanguage/Wikifunctions:Functioneers|Functioneers]].''</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
Connect tests and implementations to your function to see it come to life.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Select one or more tests, or one or more implementations.</span>
#:[[File:A function detail page with with inactive implementations and tests selected.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on the button “{{int|wikilambda-function-details-table-approve}}”.</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the {{int|wikilambda-function-tester-state-approved}}/{{int|wikilambda-function-tester-state-deactivated}} state successfully changed?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Insert a Function in a Wikipedia article ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Now it is time to insert a function in a Wikipedia article and see the magic unfold.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Open the article you want to add a function to.</span>
#:[[File:How to insert a function 01.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Go to the edit tab and open visual editor.</span>
#:[[File:How to insert a function 02.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on the “Insert” menu at the top of the visual editor. Scroll down and click on “Function”. A dialog box will open.</span>
#:[[File:How to insert a function 03.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Search for the function you want to insert and click on it. Or, try one of the Suggested Functions below the search bar.</span>
#:[[File:How to insert a function 04.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Enter the necessary inputs and click on the “Insert” button at the top right to insert the function into the article.</span>
#:[[File:How to insert a function 05.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">You can now see the output of your function in the article. You can proceed to publish the changes.</span>
#:[[File:How to insert a function 06.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">If you want to edit the function, click on it. A tooltip will appear with the function name and description. Click on the “Edit” button.</span>
#:[[File:How to insert a function 07.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Then you can make changes to the inputs and click on “Apply changes” when you are done editing.</span>
#:[[File:How to insert a function 08.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the output what you expected?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
[[Category:Introduction| {{#translation:}}]]
1f5vau9cu9scgy07d4tsw2x63gfeeg0
200079
200077
2025-07-03T09:42:09Z
Winston Sung
2672
Created page with "'''程式碼'''"
200079
wikitext
text/x-wiki
<languages/>
<div lang="en" dir="ltr" class="mw-content-ltr">
Functions are computer instructions that make calculations on the data you provide, and answer questions you have about them. For example, when you ask a voice assistant how many miles are in a kilometer, the voice assistant calls a function to calculate it for you.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Wikifunctions is an open source project that enables anyone to create functions and share them for others to use, remix, test, and learn from.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Use the following how-to guides to try out the basic features of Wikifunctions. We are looking forward to your [[Special:MyLanguage/Wikifunctions:Report a technical problem|feedback]] and contributions!
</div>
<span id="Evaluate_a_Function"></span>
== 執行函式 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
You can try out community-contributed functions on Wikifunctions for yourself! Pick one from our ''[[Wikifunctions:Main Page#Functions to try out|library of functions]]'', and give input values to discover the output.
</div>
'''步驟:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to a function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Enter the input values.</span>
#:[[File:Wikifunctions function page with evaluation input filled.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 執行函式。
#:[[File:Wikifunctions function page with evaluation result.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
'''結果:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the output what you expected?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<span id="Create_a_Function"></span>
== 建立函式 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
You can add your own functions to Wikifunctions! Create a new function for use in your own implementations and enable others to use it as well. New functions can be written in your preferred language.
</div>
'''步驟:'''
# 前往<u>[{{MediaWiki:Createfunction-url}} 函式建立頁面]</u>.
#:[[File:Wikifunctions create a new function page 01.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 命名函式。
#:[[File:Wikifunctions create a new function page with name filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Define your function's inputs:</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Add/remove input fields.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Define each input type.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Name each input.</span>
#:[[File:Wikifunctions create a new function page with input type and label filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Define your function output type.</span>
#:[[File:Wikifunctions create a new function page with output type filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, provide multilingual values for any of these fields:</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">Function name, function aliases, input labels.</span>
#:[[File:Wikifunctions create a new function page with labels in another language.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 發布函式。
#:[[File:Wikifunctions create a new function page publish button.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
'''結果:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the function successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<span id="Edit_a_Function"></span>
== 編輯函式 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
You can contribute to Wikifunctions by editing its library of functions. Add or edit multilingual information to functions, and expand and alter the definitions of functions.
</div>
'''步驟:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click Edit source to see the edit options for this function.</span>
#:[[File:Edit function that converts a roman numeral to its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, modify the values of:</span>
## 函式名稱、
## 函式別名、
## <span lang="en" dir="ltr" class="mw-content-ltr">Input list</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Add/remove input fields</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Edit input type</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Edit input labels</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Output type.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, provide multilingual values for any of these fields:</span>
## 函式名稱
## 函式別名
## <span lang="en" dir="ltr" class="mw-content-ltr">Input labels.</span>
# 發布更新。
'''結果:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Were your edits successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<span id="Create_tests"></span>
== 建立測試 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
You can create tests for your function implementations in Wikifunctions to ensure they are working properly.
</div>
'''步驟:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]'' or the function you created in the previous workflow.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click the “+” link in the tests table.</span>
#:[[File:Details view of a function that turns a roman numeral into its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on "{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}" under "Call".</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">In the field under "Function", type in the name of the function you are testing and select the function when it shows up.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Add values for the inputs in the respective fields.</span>
#:[[File:Add call to function test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on "{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}" under "Result Validation". In the field under "Function", type in the name of the function you want to use to check the result.</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">For a function whose output is String, this will be "String equality", for a function whose output is Boolean, this will be "Boolean equality".</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">Add the expected value in the given field (either "Second String" or "Second Boolean").</span>
#:[[File:Create a new test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 發布更新。
'''結果:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the test successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<span id="Create_an_implementation"></span>
== 建立函式實作 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
Functions are brought to life in implementations created to suit your needs. Run, remix, and combine functions via implementations in Wikifunctions. See the section below to learn how to [[#Connect an Implementation or Test to a Function|connect your implementation to functions]]. We recommend [[#Create tests|creating and connecting a test]] before creating an implementation. A more comprehensive guide to creating implementations is available at {{ll|Wikifunctions:How to create implementations}}.
</div>
'''步驟:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click the “+” link in the implementations table.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">You can create a new implementation in one of two ways:</span>
## '''程式碼'''
##* <span lang="en" dir="ltr" class="mw-content-ltr">Select the required programming language to write the function code.</span>
##* <span lang="en" dir="ltr" class="mw-content-ltr">Input your code.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">'''Composition''':</span>
##* <span lang="en" dir="ltr" class="mw-content-ltr">Create a composition using existing functions.</span>
#:[[File:Create a new implementation on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Publish your updates (after running a test by clicking the round arrow on the right of the box titled {{int|wikilambda-function-test-cases-table-header}}).</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the implementation successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Connect an Implementation or Test to a Function ==
</div>
:<span lang="en" dir="ltr" class="mw-content-ltr">''Note: This feature is only available to [[Special:MyLanguage/Wikifunctions:Functioneers|Functioneers]].''</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
Connect tests and implementations to your function to see it come to life.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Select one or more tests, or one or more implementations.</span>
#:[[File:A function detail page with with inactive implementations and tests selected.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on the button “{{int|wikilambda-function-details-table-approve}}”.</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the {{int|wikilambda-function-tester-state-approved}}/{{int|wikilambda-function-tester-state-deactivated}} state successfully changed?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Insert a Function in a Wikipedia article ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Now it is time to insert a function in a Wikipedia article and see the magic unfold.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Open the article you want to add a function to.</span>
#:[[File:How to insert a function 01.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Go to the edit tab and open visual editor.</span>
#:[[File:How to insert a function 02.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on the “Insert” menu at the top of the visual editor. Scroll down and click on “Function”. A dialog box will open.</span>
#:[[File:How to insert a function 03.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Search for the function you want to insert and click on it. Or, try one of the Suggested Functions below the search bar.</span>
#:[[File:How to insert a function 04.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Enter the necessary inputs and click on the “Insert” button at the top right to insert the function into the article.</span>
#:[[File:How to insert a function 05.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">You can now see the output of your function in the article. You can proceed to publish the changes.</span>
#:[[File:How to insert a function 06.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">If you want to edit the function, click on it. A tooltip will appear with the function name and description. Click on the “Edit” button.</span>
#:[[File:How to insert a function 07.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Then you can make changes to the inputs and click on “Apply changes” when you are done editing.</span>
#:[[File:How to insert a function 08.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the output what you expected?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
[[Category:Introduction| {{#translation:}}]]
s2i73xrf2mxaeipkilxalaj8zbns6gu
200081
200079
2025-07-03T09:42:20Z
Winston Sung
2672
Created page with "'''結果:'''"
200081
wikitext
text/x-wiki
<languages/>
<div lang="en" dir="ltr" class="mw-content-ltr">
Functions are computer instructions that make calculations on the data you provide, and answer questions you have about them. For example, when you ask a voice assistant how many miles are in a kilometer, the voice assistant calls a function to calculate it for you.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Wikifunctions is an open source project that enables anyone to create functions and share them for others to use, remix, test, and learn from.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Use the following how-to guides to try out the basic features of Wikifunctions. We are looking forward to your [[Special:MyLanguage/Wikifunctions:Report a technical problem|feedback]] and contributions!
</div>
<span id="Evaluate_a_Function"></span>
== 執行函式 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
You can try out community-contributed functions on Wikifunctions for yourself! Pick one from our ''[[Wikifunctions:Main Page#Functions to try out|library of functions]]'', and give input values to discover the output.
</div>
'''步驟:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to a function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Enter the input values.</span>
#:[[File:Wikifunctions function page with evaluation input filled.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 執行函式。
#:[[File:Wikifunctions function page with evaluation result.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
'''結果:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the output what you expected?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<span id="Create_a_Function"></span>
== 建立函式 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
You can add your own functions to Wikifunctions! Create a new function for use in your own implementations and enable others to use it as well. New functions can be written in your preferred language.
</div>
'''步驟:'''
# 前往<u>[{{MediaWiki:Createfunction-url}} 函式建立頁面]</u>.
#:[[File:Wikifunctions create a new function page 01.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 命名函式。
#:[[File:Wikifunctions create a new function page with name filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Define your function's inputs:</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Add/remove input fields.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Define each input type.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Name each input.</span>
#:[[File:Wikifunctions create a new function page with input type and label filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Define your function output type.</span>
#:[[File:Wikifunctions create a new function page with output type filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, provide multilingual values for any of these fields:</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">Function name, function aliases, input labels.</span>
#:[[File:Wikifunctions create a new function page with labels in another language.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 發布函式。
#:[[File:Wikifunctions create a new function page publish button.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
'''結果:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the function successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<span id="Edit_a_Function"></span>
== 編輯函式 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
You can contribute to Wikifunctions by editing its library of functions. Add or edit multilingual information to functions, and expand and alter the definitions of functions.
</div>
'''步驟:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click Edit source to see the edit options for this function.</span>
#:[[File:Edit function that converts a roman numeral to its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, modify the values of:</span>
## 函式名稱、
## 函式別名、
## <span lang="en" dir="ltr" class="mw-content-ltr">Input list</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Add/remove input fields</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Edit input type</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Edit input labels</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Output type.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, provide multilingual values for any of these fields:</span>
## 函式名稱
## 函式別名
## <span lang="en" dir="ltr" class="mw-content-ltr">Input labels.</span>
# 發布更新。
'''結果:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Were your edits successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<span id="Create_tests"></span>
== 建立測試 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
You can create tests for your function implementations in Wikifunctions to ensure they are working properly.
</div>
'''步驟:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]'' or the function you created in the previous workflow.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click the “+” link in the tests table.</span>
#:[[File:Details view of a function that turns a roman numeral into its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on "{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}" under "Call".</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">In the field under "Function", type in the name of the function you are testing and select the function when it shows up.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Add values for the inputs in the respective fields.</span>
#:[[File:Add call to function test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on "{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}" under "Result Validation". In the field under "Function", type in the name of the function you want to use to check the result.</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">For a function whose output is String, this will be "String equality", for a function whose output is Boolean, this will be "Boolean equality".</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">Add the expected value in the given field (either "Second String" or "Second Boolean").</span>
#:[[File:Create a new test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 發布更新。
'''結果:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the test successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<span id="Create_an_implementation"></span>
== 建立函式實作 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
Functions are brought to life in implementations created to suit your needs. Run, remix, and combine functions via implementations in Wikifunctions. See the section below to learn how to [[#Connect an Implementation or Test to a Function|connect your implementation to functions]]. We recommend [[#Create tests|creating and connecting a test]] before creating an implementation. A more comprehensive guide to creating implementations is available at {{ll|Wikifunctions:How to create implementations}}.
</div>
'''步驟:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click the “+” link in the implementations table.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">You can create a new implementation in one of two ways:</span>
## '''程式碼'''
##* <span lang="en" dir="ltr" class="mw-content-ltr">Select the required programming language to write the function code.</span>
##* <span lang="en" dir="ltr" class="mw-content-ltr">Input your code.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">'''Composition''':</span>
##* <span lang="en" dir="ltr" class="mw-content-ltr">Create a composition using existing functions.</span>
#:[[File:Create a new implementation on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Publish your updates (after running a test by clicking the round arrow on the right of the box titled {{int|wikilambda-function-test-cases-table-header}}).</span>
'''結果:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the implementation successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Connect an Implementation or Test to a Function ==
</div>
:<span lang="en" dir="ltr" class="mw-content-ltr">''Note: This feature is only available to [[Special:MyLanguage/Wikifunctions:Functioneers|Functioneers]].''</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
Connect tests and implementations to your function to see it come to life.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Select one or more tests, or one or more implementations.</span>
#:[[File:A function detail page with with inactive implementations and tests selected.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on the button “{{int|wikilambda-function-details-table-approve}}”.</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the {{int|wikilambda-function-tester-state-approved}}/{{int|wikilambda-function-tester-state-deactivated}} state successfully changed?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Insert a Function in a Wikipedia article ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Now it is time to insert a function in a Wikipedia article and see the magic unfold.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Open the article you want to add a function to.</span>
#:[[File:How to insert a function 01.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Go to the edit tab and open visual editor.</span>
#:[[File:How to insert a function 02.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on the “Insert” menu at the top of the visual editor. Scroll down and click on “Function”. A dialog box will open.</span>
#:[[File:How to insert a function 03.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Search for the function you want to insert and click on it. Or, try one of the Suggested Functions below the search bar.</span>
#:[[File:How to insert a function 04.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Enter the necessary inputs and click on the “Insert” button at the top right to insert the function into the article.</span>
#:[[File:How to insert a function 05.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">You can now see the output of your function in the article. You can proceed to publish the changes.</span>
#:[[File:How to insert a function 06.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">If you want to edit the function, click on it. A tooltip will appear with the function name and description. Click on the “Edit” button.</span>
#:[[File:How to insert a function 07.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Then you can make changes to the inputs and click on “Apply changes” when you are done editing.</span>
#:[[File:How to insert a function 08.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the output what you expected?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
[[Category:Introduction| {{#translation:}}]]
i3yavx8hlpevl2av02uyjgmhsctvq68
200083
200081
2025-07-03T09:42:33Z
Winston Sung
2672
Created page with "'''步驟:'''"
200083
wikitext
text/x-wiki
<languages/>
<div lang="en" dir="ltr" class="mw-content-ltr">
Functions are computer instructions that make calculations on the data you provide, and answer questions you have about them. For example, when you ask a voice assistant how many miles are in a kilometer, the voice assistant calls a function to calculate it for you.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Wikifunctions is an open source project that enables anyone to create functions and share them for others to use, remix, test, and learn from.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Use the following how-to guides to try out the basic features of Wikifunctions. We are looking forward to your [[Special:MyLanguage/Wikifunctions:Report a technical problem|feedback]] and contributions!
</div>
<span id="Evaluate_a_Function"></span>
== 執行函式 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
You can try out community-contributed functions on Wikifunctions for yourself! Pick one from our ''[[Wikifunctions:Main Page#Functions to try out|library of functions]]'', and give input values to discover the output.
</div>
'''步驟:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to a function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Enter the input values.</span>
#:[[File:Wikifunctions function page with evaluation input filled.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 執行函式。
#:[[File:Wikifunctions function page with evaluation result.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
'''結果:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the output what you expected?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<span id="Create_a_Function"></span>
== 建立函式 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
You can add your own functions to Wikifunctions! Create a new function for use in your own implementations and enable others to use it as well. New functions can be written in your preferred language.
</div>
'''步驟:'''
# 前往<u>[{{MediaWiki:Createfunction-url}} 函式建立頁面]</u>.
#:[[File:Wikifunctions create a new function page 01.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 命名函式。
#:[[File:Wikifunctions create a new function page with name filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Define your function's inputs:</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Add/remove input fields.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Define each input type.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Name each input.</span>
#:[[File:Wikifunctions create a new function page with input type and label filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Define your function output type.</span>
#:[[File:Wikifunctions create a new function page with output type filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, provide multilingual values for any of these fields:</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">Function name, function aliases, input labels.</span>
#:[[File:Wikifunctions create a new function page with labels in another language.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 發布函式。
#:[[File:Wikifunctions create a new function page publish button.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
'''結果:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the function successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<span id="Edit_a_Function"></span>
== 編輯函式 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
You can contribute to Wikifunctions by editing its library of functions. Add or edit multilingual information to functions, and expand and alter the definitions of functions.
</div>
'''步驟:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click Edit source to see the edit options for this function.</span>
#:[[File:Edit function that converts a roman numeral to its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, modify the values of:</span>
## 函式名稱、
## 函式別名、
## <span lang="en" dir="ltr" class="mw-content-ltr">Input list</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Add/remove input fields</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Edit input type</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Edit input labels</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Output type.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, provide multilingual values for any of these fields:</span>
## 函式名稱
## 函式別名
## <span lang="en" dir="ltr" class="mw-content-ltr">Input labels.</span>
# 發布更新。
'''結果:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Were your edits successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<span id="Create_tests"></span>
== 建立測試 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
You can create tests for your function implementations in Wikifunctions to ensure they are working properly.
</div>
'''步驟:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]'' or the function you created in the previous workflow.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click the “+” link in the tests table.</span>
#:[[File:Details view of a function that turns a roman numeral into its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on "{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}" under "Call".</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">In the field under "Function", type in the name of the function you are testing and select the function when it shows up.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Add values for the inputs in the respective fields.</span>
#:[[File:Add call to function test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on "{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}" under "Result Validation". In the field under "Function", type in the name of the function you want to use to check the result.</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">For a function whose output is String, this will be "String equality", for a function whose output is Boolean, this will be "Boolean equality".</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">Add the expected value in the given field (either "Second String" or "Second Boolean").</span>
#:[[File:Create a new test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 發布更新。
'''結果:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the test successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<span id="Create_an_implementation"></span>
== 建立函式實作 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
Functions are brought to life in implementations created to suit your needs. Run, remix, and combine functions via implementations in Wikifunctions. See the section below to learn how to [[#Connect an Implementation or Test to a Function|connect your implementation to functions]]. We recommend [[#Create tests|creating and connecting a test]] before creating an implementation. A more comprehensive guide to creating implementations is available at {{ll|Wikifunctions:How to create implementations}}.
</div>
'''步驟:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click the “+” link in the implementations table.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">You can create a new implementation in one of two ways:</span>
## '''程式碼'''
##* <span lang="en" dir="ltr" class="mw-content-ltr">Select the required programming language to write the function code.</span>
##* <span lang="en" dir="ltr" class="mw-content-ltr">Input your code.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">'''Composition''':</span>
##* <span lang="en" dir="ltr" class="mw-content-ltr">Create a composition using existing functions.</span>
#:[[File:Create a new implementation on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Publish your updates (after running a test by clicking the round arrow on the right of the box titled {{int|wikilambda-function-test-cases-table-header}}).</span>
'''結果:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the implementation successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Connect an Implementation or Test to a Function ==
</div>
:<span lang="en" dir="ltr" class="mw-content-ltr">''Note: This feature is only available to [[Special:MyLanguage/Wikifunctions:Functioneers|Functioneers]].''</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
Connect tests and implementations to your function to see it come to life.
</div>
'''步驟:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Select one or more tests, or one or more implementations.</span>
#:[[File:A function detail page with with inactive implementations and tests selected.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on the button “{{int|wikilambda-function-details-table-approve}}”.</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the {{int|wikilambda-function-tester-state-approved}}/{{int|wikilambda-function-tester-state-deactivated}} state successfully changed?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Insert a Function in a Wikipedia article ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Now it is time to insert a function in a Wikipedia article and see the magic unfold.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Open the article you want to add a function to.</span>
#:[[File:How to insert a function 01.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Go to the edit tab and open visual editor.</span>
#:[[File:How to insert a function 02.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on the “Insert” menu at the top of the visual editor. Scroll down and click on “Function”. A dialog box will open.</span>
#:[[File:How to insert a function 03.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Search for the function you want to insert and click on it. Or, try one of the Suggested Functions below the search bar.</span>
#:[[File:How to insert a function 04.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Enter the necessary inputs and click on the “Insert” button at the top right to insert the function into the article.</span>
#:[[File:How to insert a function 05.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">You can now see the output of your function in the article. You can proceed to publish the changes.</span>
#:[[File:How to insert a function 06.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">If you want to edit the function, click on it. A tooltip will appear with the function name and description. Click on the “Edit” button.</span>
#:[[File:How to insert a function 07.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Then you can make changes to the inputs and click on “Apply changes” when you are done editing.</span>
#:[[File:How to insert a function 08.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the output what you expected?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
[[Category:Introduction| {{#translation:}}]]
b07iclpn9m22cz6lylb2x14z5fguh47
200085
200083
2025-07-03T09:42:42Z
Winston Sung
2672
Created page with "'''結果:'''"
200085
wikitext
text/x-wiki
<languages/>
<div lang="en" dir="ltr" class="mw-content-ltr">
Functions are computer instructions that make calculations on the data you provide, and answer questions you have about them. For example, when you ask a voice assistant how many miles are in a kilometer, the voice assistant calls a function to calculate it for you.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Wikifunctions is an open source project that enables anyone to create functions and share them for others to use, remix, test, and learn from.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Use the following how-to guides to try out the basic features of Wikifunctions. We are looking forward to your [[Special:MyLanguage/Wikifunctions:Report a technical problem|feedback]] and contributions!
</div>
<span id="Evaluate_a_Function"></span>
== 執行函式 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
You can try out community-contributed functions on Wikifunctions for yourself! Pick one from our ''[[Wikifunctions:Main Page#Functions to try out|library of functions]]'', and give input values to discover the output.
</div>
'''步驟:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to a function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Enter the input values.</span>
#:[[File:Wikifunctions function page with evaluation input filled.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 執行函式。
#:[[File:Wikifunctions function page with evaluation result.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
'''結果:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the output what you expected?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<span id="Create_a_Function"></span>
== 建立函式 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
You can add your own functions to Wikifunctions! Create a new function for use in your own implementations and enable others to use it as well. New functions can be written in your preferred language.
</div>
'''步驟:'''
# 前往<u>[{{MediaWiki:Createfunction-url}} 函式建立頁面]</u>.
#:[[File:Wikifunctions create a new function page 01.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 命名函式。
#:[[File:Wikifunctions create a new function page with name filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Define your function's inputs:</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Add/remove input fields.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Define each input type.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Name each input.</span>
#:[[File:Wikifunctions create a new function page with input type and label filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Define your function output type.</span>
#:[[File:Wikifunctions create a new function page with output type filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, provide multilingual values for any of these fields:</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">Function name, function aliases, input labels.</span>
#:[[File:Wikifunctions create a new function page with labels in another language.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 發布函式。
#:[[File:Wikifunctions create a new function page publish button.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
'''結果:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the function successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<span id="Edit_a_Function"></span>
== 編輯函式 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
You can contribute to Wikifunctions by editing its library of functions. Add or edit multilingual information to functions, and expand and alter the definitions of functions.
</div>
'''步驟:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click Edit source to see the edit options for this function.</span>
#:[[File:Edit function that converts a roman numeral to its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, modify the values of:</span>
## 函式名稱、
## 函式別名、
## <span lang="en" dir="ltr" class="mw-content-ltr">Input list</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Add/remove input fields</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Edit input type</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Edit input labels</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Output type.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, provide multilingual values for any of these fields:</span>
## 函式名稱
## 函式別名
## <span lang="en" dir="ltr" class="mw-content-ltr">Input labels.</span>
# 發布更新。
'''結果:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Were your edits successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<span id="Create_tests"></span>
== 建立測試 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
You can create tests for your function implementations in Wikifunctions to ensure they are working properly.
</div>
'''步驟:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]'' or the function you created in the previous workflow.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click the “+” link in the tests table.</span>
#:[[File:Details view of a function that turns a roman numeral into its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on "{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}" under "Call".</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">In the field under "Function", type in the name of the function you are testing and select the function when it shows up.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Add values for the inputs in the respective fields.</span>
#:[[File:Add call to function test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on "{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}" under "Result Validation". In the field under "Function", type in the name of the function you want to use to check the result.</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">For a function whose output is String, this will be "String equality", for a function whose output is Boolean, this will be "Boolean equality".</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">Add the expected value in the given field (either "Second String" or "Second Boolean").</span>
#:[[File:Create a new test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 發布更新。
'''結果:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the test successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<span id="Create_an_implementation"></span>
== 建立函式實作 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
Functions are brought to life in implementations created to suit your needs. Run, remix, and combine functions via implementations in Wikifunctions. See the section below to learn how to [[#Connect an Implementation or Test to a Function|connect your implementation to functions]]. We recommend [[#Create tests|creating and connecting a test]] before creating an implementation. A more comprehensive guide to creating implementations is available at {{ll|Wikifunctions:How to create implementations}}.
</div>
'''步驟:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click the “+” link in the implementations table.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">You can create a new implementation in one of two ways:</span>
## '''程式碼'''
##* <span lang="en" dir="ltr" class="mw-content-ltr">Select the required programming language to write the function code.</span>
##* <span lang="en" dir="ltr" class="mw-content-ltr">Input your code.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">'''Composition''':</span>
##* <span lang="en" dir="ltr" class="mw-content-ltr">Create a composition using existing functions.</span>
#:[[File:Create a new implementation on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Publish your updates (after running a test by clicking the round arrow on the right of the box titled {{int|wikilambda-function-test-cases-table-header}}).</span>
'''結果:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the implementation successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Connect an Implementation or Test to a Function ==
</div>
:<span lang="en" dir="ltr" class="mw-content-ltr">''Note: This feature is only available to [[Special:MyLanguage/Wikifunctions:Functioneers|Functioneers]].''</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
Connect tests and implementations to your function to see it come to life.
</div>
'''步驟:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Select one or more tests, or one or more implementations.</span>
#:[[File:A function detail page with with inactive implementations and tests selected.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on the button “{{int|wikilambda-function-details-table-approve}}”.</span>
'''結果:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the {{int|wikilambda-function-tester-state-approved}}/{{int|wikilambda-function-tester-state-deactivated}} state successfully changed?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Insert a Function in a Wikipedia article ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Now it is time to insert a function in a Wikipedia article and see the magic unfold.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Steps:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Open the article you want to add a function to.</span>
#:[[File:How to insert a function 01.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Go to the edit tab and open visual editor.</span>
#:[[File:How to insert a function 02.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on the “Insert” menu at the top of the visual editor. Scroll down and click on “Function”. A dialog box will open.</span>
#:[[File:How to insert a function 03.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Search for the function you want to insert and click on it. Or, try one of the Suggested Functions below the search bar.</span>
#:[[File:How to insert a function 04.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Enter the necessary inputs and click on the “Insert” button at the top right to insert the function into the article.</span>
#:[[File:How to insert a function 05.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">You can now see the output of your function in the article. You can proceed to publish the changes.</span>
#:[[File:How to insert a function 06.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">If you want to edit the function, click on it. A tooltip will appear with the function name and description. Click on the “Edit” button.</span>
#:[[File:How to insert a function 07.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Then you can make changes to the inputs and click on “Apply changes” when you are done editing.</span>
#:[[File:How to insert a function 08.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the output what you expected?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
[[Category:Introduction| {{#translation:}}]]
cbq9otscmjeiw80ajbdv31b8qfrb7l4
200087
200085
2025-07-03T09:42:55Z
Winston Sung
2672
Created page with "'''步驟:'''"
200087
wikitext
text/x-wiki
<languages/>
<div lang="en" dir="ltr" class="mw-content-ltr">
Functions are computer instructions that make calculations on the data you provide, and answer questions you have about them. For example, when you ask a voice assistant how many miles are in a kilometer, the voice assistant calls a function to calculate it for you.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Wikifunctions is an open source project that enables anyone to create functions and share them for others to use, remix, test, and learn from.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Use the following how-to guides to try out the basic features of Wikifunctions. We are looking forward to your [[Special:MyLanguage/Wikifunctions:Report a technical problem|feedback]] and contributions!
</div>
<span id="Evaluate_a_Function"></span>
== 執行函式 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
You can try out community-contributed functions on Wikifunctions for yourself! Pick one from our ''[[Wikifunctions:Main Page#Functions to try out|library of functions]]'', and give input values to discover the output.
</div>
'''步驟:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to a function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Enter the input values.</span>
#:[[File:Wikifunctions function page with evaluation input filled.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 執行函式。
#:[[File:Wikifunctions function page with evaluation result.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
'''結果:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the output what you expected?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<span id="Create_a_Function"></span>
== 建立函式 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
You can add your own functions to Wikifunctions! Create a new function for use in your own implementations and enable others to use it as well. New functions can be written in your preferred language.
</div>
'''步驟:'''
# 前往<u>[{{MediaWiki:Createfunction-url}} 函式建立頁面]</u>.
#:[[File:Wikifunctions create a new function page 01.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 命名函式。
#:[[File:Wikifunctions create a new function page with name filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Define your function's inputs:</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Add/remove input fields.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Define each input type.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Name each input.</span>
#:[[File:Wikifunctions create a new function page with input type and label filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Define your function output type.</span>
#:[[File:Wikifunctions create a new function page with output type filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, provide multilingual values for any of these fields:</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">Function name, function aliases, input labels.</span>
#:[[File:Wikifunctions create a new function page with labels in another language.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 發布函式。
#:[[File:Wikifunctions create a new function page publish button.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
'''結果:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the function successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<span id="Edit_a_Function"></span>
== 編輯函式 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
You can contribute to Wikifunctions by editing its library of functions. Add or edit multilingual information to functions, and expand and alter the definitions of functions.
</div>
'''步驟:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click Edit source to see the edit options for this function.</span>
#:[[File:Edit function that converts a roman numeral to its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, modify the values of:</span>
## 函式名稱、
## 函式別名、
## <span lang="en" dir="ltr" class="mw-content-ltr">Input list</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Add/remove input fields</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Edit input type</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Edit input labels</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Output type.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, provide multilingual values for any of these fields:</span>
## 函式名稱
## 函式別名
## <span lang="en" dir="ltr" class="mw-content-ltr">Input labels.</span>
# 發布更新。
'''結果:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Were your edits successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<span id="Create_tests"></span>
== 建立測試 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
You can create tests for your function implementations in Wikifunctions to ensure they are working properly.
</div>
'''步驟:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]'' or the function you created in the previous workflow.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click the “+” link in the tests table.</span>
#:[[File:Details view of a function that turns a roman numeral into its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on "{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}" under "Call".</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">In the field under "Function", type in the name of the function you are testing and select the function when it shows up.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Add values for the inputs in the respective fields.</span>
#:[[File:Add call to function test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on "{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}" under "Result Validation". In the field under "Function", type in the name of the function you want to use to check the result.</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">For a function whose output is String, this will be "String equality", for a function whose output is Boolean, this will be "Boolean equality".</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">Add the expected value in the given field (either "Second String" or "Second Boolean").</span>
#:[[File:Create a new test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 發布更新。
'''結果:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the test successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<span id="Create_an_implementation"></span>
== 建立函式實作 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
Functions are brought to life in implementations created to suit your needs. Run, remix, and combine functions via implementations in Wikifunctions. See the section below to learn how to [[#Connect an Implementation or Test to a Function|connect your implementation to functions]]. We recommend [[#Create tests|creating and connecting a test]] before creating an implementation. A more comprehensive guide to creating implementations is available at {{ll|Wikifunctions:How to create implementations}}.
</div>
'''步驟:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click the “+” link in the implementations table.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">You can create a new implementation in one of two ways:</span>
## '''程式碼'''
##* <span lang="en" dir="ltr" class="mw-content-ltr">Select the required programming language to write the function code.</span>
##* <span lang="en" dir="ltr" class="mw-content-ltr">Input your code.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">'''Composition''':</span>
##* <span lang="en" dir="ltr" class="mw-content-ltr">Create a composition using existing functions.</span>
#:[[File:Create a new implementation on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Publish your updates (after running a test by clicking the round arrow on the right of the box titled {{int|wikilambda-function-test-cases-table-header}}).</span>
'''結果:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the implementation successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Connect an Implementation or Test to a Function ==
</div>
:<span lang="en" dir="ltr" class="mw-content-ltr">''Note: This feature is only available to [[Special:MyLanguage/Wikifunctions:Functioneers|Functioneers]].''</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
Connect tests and implementations to your function to see it come to life.
</div>
'''步驟:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Select one or more tests, or one or more implementations.</span>
#:[[File:A function detail page with with inactive implementations and tests selected.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on the button “{{int|wikilambda-function-details-table-approve}}”.</span>
'''結果:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the {{int|wikilambda-function-tester-state-approved}}/{{int|wikilambda-function-tester-state-deactivated}} state successfully changed?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Insert a Function in a Wikipedia article ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Now it is time to insert a function in a Wikipedia article and see the magic unfold.
</div>
'''步驟:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Open the article you want to add a function to.</span>
#:[[File:How to insert a function 01.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Go to the edit tab and open visual editor.</span>
#:[[File:How to insert a function 02.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on the “Insert” menu at the top of the visual editor. Scroll down and click on “Function”. A dialog box will open.</span>
#:[[File:How to insert a function 03.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Search for the function you want to insert and click on it. Or, try one of the Suggested Functions below the search bar.</span>
#:[[File:How to insert a function 04.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Enter the necessary inputs and click on the “Insert” button at the top right to insert the function into the article.</span>
#:[[File:How to insert a function 05.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">You can now see the output of your function in the article. You can proceed to publish the changes.</span>
#:[[File:How to insert a function 06.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">If you want to edit the function, click on it. A tooltip will appear with the function name and description. Click on the “Edit” button.</span>
#:[[File:How to insert a function 07.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Then you can make changes to the inputs and click on “Apply changes” when you are done editing.</span>
#:[[File:How to insert a function 08.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Results:'''
</div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the output what you expected?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
[[Category:Introduction| {{#translation:}}]]
dr8d3owtl0bhjc0780dj5vg9zvms9vo
200089
200087
2025-07-03T09:43:08Z
Winston Sung
2672
Created page with "'''結果:'''"
200089
wikitext
text/x-wiki
<languages/>
<div lang="en" dir="ltr" class="mw-content-ltr">
Functions are computer instructions that make calculations on the data you provide, and answer questions you have about them. For example, when you ask a voice assistant how many miles are in a kilometer, the voice assistant calls a function to calculate it for you.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Wikifunctions is an open source project that enables anyone to create functions and share them for others to use, remix, test, and learn from.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Use the following how-to guides to try out the basic features of Wikifunctions. We are looking forward to your [[Special:MyLanguage/Wikifunctions:Report a technical problem|feedback]] and contributions!
</div>
<span id="Evaluate_a_Function"></span>
== 執行函式 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
You can try out community-contributed functions on Wikifunctions for yourself! Pick one from our ''[[Wikifunctions:Main Page#Functions to try out|library of functions]]'', and give input values to discover the output.
</div>
'''步驟:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to a function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Enter the input values.</span>
#:[[File:Wikifunctions function page with evaluation input filled.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 執行函式。
#:[[File:Wikifunctions function page with evaluation result.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
'''結果:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the output what you expected?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<span id="Create_a_Function"></span>
== 建立函式 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
You can add your own functions to Wikifunctions! Create a new function for use in your own implementations and enable others to use it as well. New functions can be written in your preferred language.
</div>
'''步驟:'''
# 前往<u>[{{MediaWiki:Createfunction-url}} 函式建立頁面]</u>.
#:[[File:Wikifunctions create a new function page 01.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 命名函式。
#:[[File:Wikifunctions create a new function page with name filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Define your function's inputs:</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Add/remove input fields.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Define each input type.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Name each input.</span>
#:[[File:Wikifunctions create a new function page with input type and label filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Define your function output type.</span>
#:[[File:Wikifunctions create a new function page with output type filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, provide multilingual values for any of these fields:</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">Function name, function aliases, input labels.</span>
#:[[File:Wikifunctions create a new function page with labels in another language.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 發布函式。
#:[[File:Wikifunctions create a new function page publish button.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
'''結果:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the function successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<span id="Edit_a_Function"></span>
== 編輯函式 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
You can contribute to Wikifunctions by editing its library of functions. Add or edit multilingual information to functions, and expand and alter the definitions of functions.
</div>
'''步驟:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click Edit source to see the edit options for this function.</span>
#:[[File:Edit function that converts a roman numeral to its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, modify the values of:</span>
## 函式名稱、
## 函式別名、
## <span lang="en" dir="ltr" class="mw-content-ltr">Input list</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Add/remove input fields</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Edit input type</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Edit input labels</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Output type.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, provide multilingual values for any of these fields:</span>
## 函式名稱
## 函式別名
## <span lang="en" dir="ltr" class="mw-content-ltr">Input labels.</span>
# 發布更新。
'''結果:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Were your edits successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<span id="Create_tests"></span>
== 建立測試 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
You can create tests for your function implementations in Wikifunctions to ensure they are working properly.
</div>
'''步驟:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]'' or the function you created in the previous workflow.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click the “+” link in the tests table.</span>
#:[[File:Details view of a function that turns a roman numeral into its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on "{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}" under "Call".</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">In the field under "Function", type in the name of the function you are testing and select the function when it shows up.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Add values for the inputs in the respective fields.</span>
#:[[File:Add call to function test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on "{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}" under "Result Validation". In the field under "Function", type in the name of the function you want to use to check the result.</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">For a function whose output is String, this will be "String equality", for a function whose output is Boolean, this will be "Boolean equality".</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">Add the expected value in the given field (either "Second String" or "Second Boolean").</span>
#:[[File:Create a new test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 發布更新。
'''結果:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the test successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<span id="Create_an_implementation"></span>
== 建立函式實作 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
Functions are brought to life in implementations created to suit your needs. Run, remix, and combine functions via implementations in Wikifunctions. See the section below to learn how to [[#Connect an Implementation or Test to a Function|connect your implementation to functions]]. We recommend [[#Create tests|creating and connecting a test]] before creating an implementation. A more comprehensive guide to creating implementations is available at {{ll|Wikifunctions:How to create implementations}}.
</div>
'''步驟:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click the “+” link in the implementations table.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">You can create a new implementation in one of two ways:</span>
## '''程式碼'''
##* <span lang="en" dir="ltr" class="mw-content-ltr">Select the required programming language to write the function code.</span>
##* <span lang="en" dir="ltr" class="mw-content-ltr">Input your code.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">'''Composition''':</span>
##* <span lang="en" dir="ltr" class="mw-content-ltr">Create a composition using existing functions.</span>
#:[[File:Create a new implementation on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Publish your updates (after running a test by clicking the round arrow on the right of the box titled {{int|wikilambda-function-test-cases-table-header}}).</span>
'''結果:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the implementation successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Connect an Implementation or Test to a Function ==
</div>
:<span lang="en" dir="ltr" class="mw-content-ltr">''Note: This feature is only available to [[Special:MyLanguage/Wikifunctions:Functioneers|Functioneers]].''</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
Connect tests and implementations to your function to see it come to life.
</div>
'''步驟:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Select one or more tests, or one or more implementations.</span>
#:[[File:A function detail page with with inactive implementations and tests selected.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on the button “{{int|wikilambda-function-details-table-approve}}”.</span>
'''結果:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the {{int|wikilambda-function-tester-state-approved}}/{{int|wikilambda-function-tester-state-deactivated}} state successfully changed?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Insert a Function in a Wikipedia article ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Now it is time to insert a function in a Wikipedia article and see the magic unfold.
</div>
'''步驟:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Open the article you want to add a function to.</span>
#:[[File:How to insert a function 01.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Go to the edit tab and open visual editor.</span>
#:[[File:How to insert a function 02.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on the “Insert” menu at the top of the visual editor. Scroll down and click on “Function”. A dialog box will open.</span>
#:[[File:How to insert a function 03.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Search for the function you want to insert and click on it. Or, try one of the Suggested Functions below the search bar.</span>
#:[[File:How to insert a function 04.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Enter the necessary inputs and click on the “Insert” button at the top right to insert the function into the article.</span>
#:[[File:How to insert a function 05.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">You can now see the output of your function in the article. You can proceed to publish the changes.</span>
#:[[File:How to insert a function 06.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">If you want to edit the function, click on it. A tooltip will appear with the function name and description. Click on the “Edit” button.</span>
#:[[File:How to insert a function 07.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Then you can make changes to the inputs and click on “Apply changes” when you are done editing.</span>
#:[[File:How to insert a function 08.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
'''結果:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the output what you expected?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
[[Category:Introduction| {{#translation:}}]]
mxdzvm51n3cpxi54emr64fvwh7sqw46
200091
200089
2025-07-03T09:43:59Z
Winston Sung
2672
200091
wikitext
text/x-wiki
<languages/>
<div lang="en" dir="ltr" class="mw-content-ltr">
Functions are computer instructions that make calculations on the data you provide, and answer questions you have about them. For example, when you ask a voice assistant how many miles are in a kilometer, the voice assistant calls a function to calculate it for you.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Wikifunctions is an open source project that enables anyone to create functions and share them for others to use, remix, test, and learn from.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Use the following how-to guides to try out the basic features of Wikifunctions. We are looking forward to your [[Special:MyLanguage/Wikifunctions:Report a technical problem|feedback]] and contributions!
</div>
<span id="Evaluate_a_Function"></span>
== 執行函式 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
You can try out community-contributed functions on Wikifunctions for yourself! Pick one from our ''[[Wikifunctions:Main Page#Functions to try out|library of functions]]'', and give input values to discover the output.
</div>
'''步驟:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to a function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Enter the input values.</span>
#:[[File:Wikifunctions function page with evaluation input filled.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 執行函式。
#:[[File:Wikifunctions function page with evaluation result.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
'''結果:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the output what you expected?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<span id="Create_a_Function"></span>
== 建立函式 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
You can add your own functions to Wikifunctions! Create a new function for use in your own implementations and enable others to use it as well. New functions can be written in your preferred language.
</div>
'''步驟:'''
# 前往<u>[{{MediaWiki:Createfunction-url}} 函式建立頁面]</u>。
#:[[File:Wikifunctions create a new function page 01.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 命名函式。
#:[[File:Wikifunctions create a new function page with name filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Define your function's inputs:</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Add/remove input fields.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Define each input type.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Name each input.</span>
#:[[File:Wikifunctions create a new function page with input type and label filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Define your function output type.</span>
#:[[File:Wikifunctions create a new function page with output type filled in.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, provide multilingual values for any of these fields:</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">Function name, function aliases, input labels.</span>
#:[[File:Wikifunctions create a new function page with labels in another language.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 發布函式。
#:[[File:Wikifunctions create a new function page publish button.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
'''結果:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the function successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<span id="Edit_a_Function"></span>
== 編輯函式 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
You can contribute to Wikifunctions by editing its library of functions. Add or edit multilingual information to functions, and expand and alter the definitions of functions.
</div>
'''步驟:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click Edit source to see the edit options for this function.</span>
#:[[File:Edit function that converts a roman numeral to its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, modify the values of:</span>
## 函式名稱、
## 函式別名、
## <span lang="en" dir="ltr" class="mw-content-ltr">Input list</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Add/remove input fields</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Edit input type</span>
### <span lang="en" dir="ltr" class="mw-content-ltr">Edit input labels</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Output type.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Optionally, provide multilingual values for any of these fields:</span>
## 函式名稱
## 函式別名
## <span lang="en" dir="ltr" class="mw-content-ltr">Input labels.</span>
# 發布更新。
'''結果:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Were your edits successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<span id="Create_tests"></span>
== 建立測試 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
You can create tests for your function implementations in Wikifunctions to ensure they are working properly.
</div>
'''步驟:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]'' or the function you created in the previous workflow.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click the “+” link in the tests table.</span>
#:[[File:Details view of a function that turns a roman numeral into its decimal form.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on "{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}" under "Call".</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">In the field under "Function", type in the name of the function you are testing and select the function when it shows up.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">Add values for the inputs in the respective fields.</span>
#:[[File:Add call to function test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on "{{int|wikilambda-zobject-to-string-select-object|{{#invoke:Wikifunctions label|getLabel|zid=Z8|lang={{CURRENTCONTENTLANGUAGE}}}}}}" under "Result Validation". In the field under "Function", type in the name of the function you want to use to check the result.</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">For a function whose output is String, this will be "String equality", for a function whose output is Boolean, this will be "Boolean equality".</span>
#* <span lang="en" dir="ltr" class="mw-content-ltr">Add the expected value in the given field (either "Second String" or "Second Boolean").</span>
#:[[File:Create a new test on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# 發布更新。
'''結果:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the test successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<span id="Create_an_implementation"></span>
== 建立函式實作 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
Functions are brought to life in implementations created to suit your needs. Run, remix, and combine functions via implementations in Wikifunctions. See the section below to learn how to [[#Connect an Implementation or Test to a Function|connect your implementation to functions]]. We recommend [[#Create tests|creating and connecting a test]] before creating an implementation. A more comprehensive guide to creating implementations is available at {{ll|Wikifunctions:How to create implementations}}.
</div>
'''步驟:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click the “+” link in the implementations table.</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">You can create a new implementation in one of two ways:</span>
## '''程式碼'''
##* <span lang="en" dir="ltr" class="mw-content-ltr">Select the required programming language to write the function code.</span>
##* <span lang="en" dir="ltr" class="mw-content-ltr">Input your code.</span>
## <span lang="en" dir="ltr" class="mw-content-ltr">'''Composition''':</span>
##* <span lang="en" dir="ltr" class="mw-content-ltr">Create a composition using existing functions.</span>
#:[[File:Create a new implementation on Wikifunctions.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Publish your updates (after running a test by clicking the round arrow on the right of the box titled {{int|wikilambda-function-test-cases-table-header}}).</span>
'''結果:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the implementation successfully published?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Connect an Implementation or Test to a Function ==
</div>
:<span lang="en" dir="ltr" class="mw-content-ltr">''Note: This feature is only available to [[Special:MyLanguage/Wikifunctions:Functioneers|Functioneers]].''</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
Connect tests and implementations to your function to see it come to life.
</div>
'''步驟:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Find a function on the ''[[Wikifunctions:Main Page|Main Page]]''.</span>
#:[[File:Wikifunctions main page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Navigate to the function page.</span>
#:[[File:Wikifunctions function page.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Select one or more tests, or one or more implementations.</span>
#:[[File:A function detail page with with inactive implementations and tests selected.jpg|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on the button “{{int|wikilambda-function-details-table-approve}}”.</span>
'''結果:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the {{int|wikilambda-function-tester-state-approved}}/{{int|wikilambda-function-tester-state-deactivated}} state successfully changed?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
== Insert a Function in a Wikipedia article ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Now it is time to insert a function in a Wikipedia article and see the magic unfold.
</div>
'''步驟:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Open the article you want to add a function to.</span>
#:[[File:How to insert a function 01.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Go to the edit tab and open visual editor.</span>
#:[[File:How to insert a function 02.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Click on the “Insert” menu at the top of the visual editor. Scroll down and click on “Function”. A dialog box will open.</span>
#:[[File:How to insert a function 03.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Search for the function you want to insert and click on it. Or, try one of the Suggested Functions below the search bar.</span>
#:[[File:How to insert a function 04.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Enter the necessary inputs and click on the “Insert” button at the top right to insert the function into the article.</span>
#:[[File:How to insert a function 05.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">You can now see the output of your function in the article. You can proceed to publish the changes.</span>
#:[[File:How to insert a function 06.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">If you want to edit the function, click on it. A tooltip will appear with the function name and description. Click on the “Edit” button.</span>
#:[[File:How to insert a function 07.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
# <span lang="en" dir="ltr" class="mw-content-ltr">Then you can make changes to the inputs and click on “Apply changes” when you are done editing.</span>
#:[[File:How to insert a function 08.png|border|{{#ifeq:{{#dir:{{PAGELANGUAGE}}}}|rtl|right|left}}|300px]]<div style="clear:both;"></div>
'''結果:'''
# <span lang="en" dir="ltr" class="mw-content-ltr">Was the output what you expected?</span>
# <span lang="en" dir="ltr" class="mw-content-ltr">Do you have corrections or feedback to [[Special:MyLanguage/Wikifunctions:Report a technical problem|''report'']]?</span>
[[Category:Introduction| {{#translation:}}]]
9e2m4m8blt94vxz8oh8w6w7fhkbytkv
Translations:Wikifunctions:Introduction/6/zh-hant
1198
60337
200030
2025-07-03T09:36:35Z
Winston Sung
2672
Created page with "'''步驟:'''"
200030
wikitext
text/x-wiki
'''步驟:'''
342baydz3rvoogwxwq6lrjyfzcwgpzr
Translations:Wikifunctions:Introduction/10/zh-hant
1198
60338
200032
2025-07-03T09:37:14Z
Winston Sung
2672
Created page with "執行函式。"
200032
wikitext
text/x-wiki
執行函式。
jd9rogeieerw5dxklg9er0ybkzjqvyg
Translations:Wikifunctions:Introduction/11/zh-hant
1198
60339
200034
2025-07-03T09:37:24Z
Winston Sung
2672
Created page with "'''結果:'''"
200034
wikitext
text/x-wiki
'''結果:'''
s7szmtr6b8b1wqgzgkqv5aru6713awa
Translations:Wikifunctions:Introduction/100/zh-hant
1198
60340
200036
2025-07-03T09:37:36Z
Winston Sung
2672
Created page with "== 建立函式 =="
200036
wikitext
text/x-wiki
== 建立函式 ==
cvimo2zhpmcwphf86qalhgpahdwwnly
Translations:Wikifunctions:Introduction/17/zh-hant
1198
60341
200038
2025-07-03T09:37:45Z
Winston Sung
2672
Created page with "'''步驟:'''"
200038
wikitext
text/x-wiki
'''步驟:'''
342baydz3rvoogwxwq6lrjyfzcwgpzr
Translations:Wikifunctions:Introduction/18/zh-hant
1198
60342
200040
2025-07-03T09:37:54Z
Winston Sung
2672
Created page with "前往"
200040
wikitext
text/x-wiki
前往
45l57j2pp4raekf2utgc2uq1rbq3os6
200042
200040
2025-07-03T09:38:29Z
Winston Sung
2672
200042
wikitext
text/x-wiki
前往<u>[$1 函式建立頁面]</u>.
e6zdrdd58cqv1l37e61j22glmqeco20
200090
200042
2025-07-03T09:43:58Z
Winston Sung
2672
200090
wikitext
text/x-wiki
前往<u>[$1 函式建立頁面]</u>。
pued6vjk1me6zyv2t9qjuow9ujy8mfm
Translations:Wikifunctions:Introduction/19/zh-hant
1198
60343
200044
2025-07-03T09:38:40Z
Winston Sung
2672
Created page with "命名函式。"
200044
wikitext
text/x-wiki
命名函式。
hcra2jhp5bhaupw480wgoskho1yuntq
Translations:Wikifunctions:Introduction/27/zh-hant
1198
60344
200046
2025-07-03T09:39:24Z
Winston Sung
2672
Created page with "發布函式。"
200046
wikitext
text/x-wiki
發布函式。
hhcv0q5smd7zy4rdh7b64jmnamllbht
Translations:Wikifunctions:Introduction/28/zh-hant
1198
60345
200048
2025-07-03T09:39:28Z
Winston Sung
2672
Created page with "'''結果:'''"
200048
wikitext
text/x-wiki
'''結果:'''
s7szmtr6b8b1wqgzgkqv5aru6713awa
Translations:Wikifunctions:Introduction/101/zh-hant
1198
60346
200050
2025-07-03T09:39:38Z
Winston Sung
2672
Created page with "== 編輯函式 =="
200050
wikitext
text/x-wiki
== 編輯函式 ==
bwp1d80vo5y2bc537hl04baee77uzwd
Translations:Wikifunctions:Introduction/34/zh-hant
1198
60347
200052
2025-07-03T09:39:46Z
Winston Sung
2672
Created page with "'''步驟:'''"
200052
wikitext
text/x-wiki
'''步驟:'''
342baydz3rvoogwxwq6lrjyfzcwgpzr
Translations:Wikifunctions:Introduction/39/zh-hant
1198
60348
200054
2025-07-03T09:40:00Z
Winston Sung
2672
Created page with "函式名稱、"
200054
wikitext
text/x-wiki
函式名稱、
7dptkpt56ewubm9g6mx38rce5nnywae
Translations:Wikifunctions:Introduction/40/zh-hant
1198
60349
200056
2025-07-03T09:40:13Z
Winston Sung
2672
Created page with "函式別名、"
200056
wikitext
text/x-wiki
函式別名、
ehuw16lct8tapabwl6ubcld35v0ie4p
Translations:Wikifunctions:Introduction/47/zh-hant
1198
60350
200058
2025-07-03T09:40:35Z
Winston Sung
2672
Created page with "函式名稱"
200058
wikitext
text/x-wiki
函式名稱
pp8f3xp8g34ftrzpy5hq96agqx8ty2i
Translations:Wikifunctions:Introduction/48/zh-hant
1198
60351
200060
2025-07-03T09:40:38Z
Winston Sung
2672
Created page with "函式別名"
200060
wikitext
text/x-wiki
函式別名
h9sckltqs01hnoqbfu66z54wokw9obi
Translations:Wikifunctions:Introduction/50/zh-hant
1198
60352
200062
2025-07-03T09:40:50Z
Winston Sung
2672
Created page with "發布更新。"
200062
wikitext
text/x-wiki
發布更新。
rx8c9jy4v9s7bquhed4ttct2egcrbt0
Translations:Wikifunctions:Introduction/51/zh-hant
1198
60353
200064
2025-07-03T09:40:53Z
Winston Sung
2672
Created page with "'''結果:'''"
200064
wikitext
text/x-wiki
'''結果:'''
s7szmtr6b8b1wqgzgkqv5aru6713awa
Translations:Wikifunctions:Introduction/102/zh-hant
1198
60354
200066
2025-07-03T09:41:05Z
Winston Sung
2672
Created page with "== 建立測試 =="
200066
wikitext
text/x-wiki
== 建立測試 ==
np1nm16j4sx7a8ciec68yeq3dut8xmm
Translations:Wikifunctions:Introduction/57/zh-hant
1198
60355
200068
2025-07-03T09:41:14Z
Winston Sung
2672
Created page with "'''步驟:'''"
200068
wikitext
text/x-wiki
'''步驟:'''
342baydz3rvoogwxwq6lrjyfzcwgpzr
Translations:Wikifunctions:Introduction/67/zh-hant
1198
60356
200070
2025-07-03T09:41:28Z
Winston Sung
2672
Created page with "發布更新。"
200070
wikitext
text/x-wiki
發布更新。
rx8c9jy4v9s7bquhed4ttct2egcrbt0
Translations:Wikifunctions:Introduction/68/zh-hant
1198
60357
200072
2025-07-03T09:41:32Z
Winston Sung
2672
Created page with "'''結果:'''"
200072
wikitext
text/x-wiki
'''結果:'''
s7szmtr6b8b1wqgzgkqv5aru6713awa
Translations:Wikifunctions:Introduction/103/zh-hant
1198
60358
200074
2025-07-03T09:41:50Z
Winston Sung
2672
Created page with "== 建立函式實作 =="
200074
wikitext
text/x-wiki
== 建立函式實作 ==
rjmcm61jsudjixwjh950mw5h6q5paqs
Translations:Wikifunctions:Introduction/74/zh-hant
1198
60359
200076
2025-07-03T09:41:58Z
Winston Sung
2672
Created page with "'''步驟:'''"
200076
wikitext
text/x-wiki
'''步驟:'''
342baydz3rvoogwxwq6lrjyfzcwgpzr
Translations:Wikifunctions:Introduction/79/zh-hant
1198
60360
200078
2025-07-03T09:42:08Z
Winston Sung
2672
Created page with "'''程式碼'''"
200078
wikitext
text/x-wiki
'''程式碼'''
n97800rk8e5vrf4hkfbg6uj61lrlnjn
Translations:Wikifunctions:Introduction/85/zh-hant
1198
60361
200080
2025-07-03T09:42:19Z
Winston Sung
2672
Created page with "'''結果:'''"
200080
wikitext
text/x-wiki
'''結果:'''
s7szmtr6b8b1wqgzgkqv5aru6713awa
Translations:Wikifunctions:Introduction/91/zh-hant
1198
60362
200082
2025-07-03T09:42:32Z
Winston Sung
2672
Created page with "'''步驟:'''"
200082
wikitext
text/x-wiki
'''步驟:'''
342baydz3rvoogwxwq6lrjyfzcwgpzr
Translations:Wikifunctions:Introduction/96/zh-hant
1198
60363
200084
2025-07-03T09:42:42Z
Winston Sung
2672
Created page with "'''結果:'''"
200084
wikitext
text/x-wiki
'''結果:'''
s7szmtr6b8b1wqgzgkqv5aru6713awa
Translations:Wikifunctions:Introduction/108/zh-hant
1198
60364
200086
2025-07-03T09:42:54Z
Winston Sung
2672
Created page with "'''步驟:'''"
200086
wikitext
text/x-wiki
'''步驟:'''
342baydz3rvoogwxwq6lrjyfzcwgpzr
Translations:Wikifunctions:Introduction/117/zh-hant
1198
60365
200088
2025-07-03T09:43:07Z
Winston Sung
2672
Created page with "'''結果:'''"
200088
wikitext
text/x-wiki
'''結果:'''
s7szmtr6b8b1wqgzgkqv5aru6713awa
Translations:Wikifunctions:Glossary/124/zh-hant
1198
60366
200104
2025-07-03T10:06:06Z
Winston Sung
2672
Created page with "識別物件"
200104
wikitext
text/x-wiki
識別物件
a1osnkff8vtn3mo6b3t6k7nbmkgzl1u
Translations:Wikifunctions:Glossary/8/zh-hant
1198
60367
200106
2025-07-03T10:06:49Z
Winston Sung
2672
Created page with "抽象維基百科"
200106
wikitext
text/x-wiki
抽象維基百科
bfrwl7mvkvwn93vl9717ptdura8ixgi
Translations:Wikifunctions:Glossary/191/zh-hant
1198
60368
200108
2025-07-03T10:07:02Z
Winston Sung
2672
Created page with "引數"
200108
wikitext
text/x-wiki
引數
adla0590njpxa8abdra6xsxdoz9245w
Translations:Wikifunctions:Glossary/193/zh-hant
1198
60369
200110
2025-07-03T10:07:14Z
Winston Sung
2672
Created page with "引數參照"
200110
wikitext
text/x-wiki
引數參照
7goonea5u740vq8qw9gif9vo4mzeob5
Translations:Wikifunctions:Glossary/172/zh-hant
1198
60370
200112
2025-07-03T10:07:22Z
Winston Sung
2672
Created page with "呼叫"
200112
wikitext
text/x-wiki
呼叫
gj84pqyhw0tuy7dqr4xr05xmh8vjdgm
Translations:Wikifunctions:Glossary/20/zh-hant
1198
60371
200114
2025-07-03T10:08:00Z
Winston Sung
2672
Created page with "開發專案"
200114
wikitext
text/x-wiki
開發專案
1jcv73ktiv8iw6k9d9pid7o63t793fv
Translations:Wikifunctions:Glossary/114/zh-hant
1198
60372
200116
2025-07-03T10:08:30Z
Winston Sung
2672
Created page with "函式呼叫"
200116
wikitext
text/x-wiki
函式呼叫
ff4ruc1crfft2ra0fww4b5weegddrvp
Translations:Wikifunctions:Glossary/116/zh-hant
1198
60373
200118
2025-07-03T10:08:43Z
Winston Sung
2672
Created page with "函式模型"
200118
wikitext
text/x-wiki
函式模型
9hbo7h2uzu88pxvbc8d7heyki00k8ih
Translations:Wikifunctions:Glossary/117/zh-hant
1198
60374
200120
2025-07-03T10:09:05Z
Winston Sung
2672
Created page with "請參閱[[$fm|函式模型]]。"
200120
wikitext
text/x-wiki
請參閱[[$fm|函式模型]]。
tq8wj64idogrdv7z5ms6ov24mu0axdc
Translations:Wikifunctions:Glossary/174/zh-hant
1198
60375
200122
2025-07-03T10:09:44Z
Winston Sung
2672
Created page with "調用"
200122
wikitext
text/x-wiki
調用
tgf19kkk0ws8j1x3vc4suji9k97yto7
Translations:Wikifunctions:Glossary/132/zh-hant
1198
60376
200124
2025-07-03T10:10:28Z
Winston Sung
2672
Created page with "串列"
200124
wikitext
text/x-wiki
串列
24lx2f8ivhzwwq890ny729ng3rb2cvs
Translations:Wikifunctions:Glossary/41/zh-hant
1198
60377
200126
2025-07-03T10:10:49Z
Winston Sung
2672
Created page with "自然語言"
200126
wikitext
text/x-wiki
自然語言
o6woj0i4l00dubo8ssyvmf8qteoyez6
Translations:Wikifunctions:Glossary/226/zh-hant
1198
60378
200128
2025-07-03T10:11:22Z
Winston Sung
2672
Created page with "轉譯函式"
200128
wikitext
text/x-wiki
轉譯函式
4ts9r9wmood0xxj86by4rujwwdxntwq
Translations:Wikifunctions:Glossary/163/zh-hant
1198
60379
200132
2025-07-03T10:13:08Z
Winston Sung
2672
Created page with "驗證函式"
200132
wikitext
text/x-wiki
驗證函式
speg4rtqtifnnvz996074vzwqf5fk44
Translations:Wikifunctions:Glossary/199/zh-hant
1198
60380
200134
2025-07-03T10:13:14Z
Winston Sung
2672
Created page with "驗證"
200134
wikitext
text/x-wiki
驗證
hwkir7xa8npt9pozigtlda75o4vagbq
Translations:Wikifunctions:Glossary/165/zh-hant
1198
60381
200136
2025-07-03T10:13:20Z
Winston Sung
2672
Created page with "WikiLambda"
200136
wikitext
text/x-wiki
WikiLambda
ri7ots7356hkcbqvnowa4b6rwurbj5j
Translations:Wikifunctions:Glossary/213/zh-hant
1198
60382
200138
2025-07-03T10:13:28Z
Winston Sung
2672
Created page with "WikiLambda system"
200138
wikitext
text/x-wiki
WikiLambda system
3o9hkbzycym1mntmyw9j9sgrc7w5989
Translations:Wikifunctions:Glossary/68/zh-hant
1198
60383
200140
2025-07-03T10:13:36Z
Winston Sung
2672
Created page with "維基百科"
200140
wikitext
text/x-wiki
維基百科
6qwxb43tqtw0or31ise7kp40e97hm7y