Template:Main page/zh
Appearance
欢迎!
Wikifunctions是一个维基媒体,供所有人一同协作创建和维护一个代码函数库,使用世界上的各種自然语言和编程语言支持维基媒体项目及其他更多领域。
“函数”是一個程序指令的序列,可以基于所提供的数据进行相应计算。函数可以回答各种问题,例如两个日期之间相隔的天数、或者两个城市之间的距离。
我們目前主要專注於與維基數據詞條相關的函式。維基數據的詞條資料以及處理這些資料的函式,對於實現抽象維基百科的目標至關重要。Wikifunctions目前如何與維基數據一起使用的教學可供使用。
可供尝试的函数
- is a palindrome (Z10096): test if a string is the same when read forward and backward (see Z10553 for one with Unicode grapheme support)
- has substring (Z10070): Check if a substring exists within another string. Case-sensitive. For a case-insensitivity support see: Z22812
- age (Z20756): Age in years
- how many days between two days in the Roman year (Z20733): dans une année romaine, détermine le nombre de jours entre deux jours définis ; l'année peut être bissextile
- is Gregorian year leap year? (Z20181): returns True if the specified year in the Gregorian calendar (the one currently used in most parts of the world) has 366 days (February 29th added), and False if the year has 365 days
- Bayes' theorem conditional probability P(A|B) (Z20000): The probability of A occurring given that B is known to have occurred. Given by Bayes' theorem: P(A|B) = P(A)*P(B|A)/P(B)
- minimum of natural number list (Z19509): Returns the smallest element from a list of natural numbers. If the list is empty, return 0.
- Simple tense of verb (Z19514): Returns simple tense of inputted verb.
了解与贡献
新闻
- 角落活动
- 下一次志愿者角落活动将于17:30 UTC on 2025-04-07在Google Meet上举行(meet.google.com/xuy-njxh-rkw)。
- 可在共享資源上瀏覽最近的志工角落活动。
- 维基函数最近的狀態更新
- 2025-04-16: Wikifunctions integrated in Dagbani - and Wikifunctions; and the date of Easter
- 2025-04-11: Quarter in review
- 2025-04-05: Quarterly Planning for April–June 2025; We are looking for a Senior Product Manager
- 2025-03-28: 时机已到
- 2025-03-20: Wikidata-based simple enumerations

Wikifunctions是非营利、多语言、内容开放的维基媒体家族的一部分。
- Wikipedia
百科全书 - Wikidata
知识库 - Wikimedia Commons
多媒体资料库 - Wiktionary
字词典 - Wikibooks
教科书和手册 - Wikinews
新聞 - Wikiquote
名人名言录 - Wikisource
图书馆 - Wikiversity
研习资源 - Wikivoyage
旅行指南 - Wikispecies
物种目录 - 维基孵育场
新语言版本 - Meta-Wiki
协调各维基计划 - MediaWiki
MediaWiki开发 - Wikimania
活動統籌