Wikifunctions Jump to content Main menu Main menu move to sidebar hide Navigation Main page Community portal Project chat Recent changes Random page Create a Function Create an Object Function catalogue Current status Help Special pages In other languages Search Search Appearance Donate Create account Log in Personal tools Donate Create account Log in Wikifunctions:Main Page Main Page Discussion English Read View source View history Tools Tools move to sidebar hide Actions Read View source View history General What links here Related changes Upload file Permanent link Page information Get shortened URL Switch to legacy parser Print/export Download as PDF Printable version In other projects Abstract Wikipedia Wikimedia Commons Wikimedia Foundation MediaWiki Meta-Wiki Wikimedia Outreach Multilingual Wikisource Wikispecies Wikibooks Wikidata Wikimania Wikinews Wikipedia Wikiquote Wikisource Wikiversity Wikivoyage Wiktionary Wikidata item Appearance move to sidebar hide From Wikifunctions Welcome to Wikifunctions the free library of 4,747 functions that anyone can edit. Welcome! Wikifunctions is a Wikimedia project for everyone to collaboratively create and maintain a library of code functions to support the Wikimedia projects and beyond, in the world's natural and programming languages. A "function" is a sequence of programming instructions that makes a calculation based on data you provide. Functions can answer questions, such as how many days have passed between two dates, or the distance between two cities. We are currently primarily focused on functions related to Wikidata Lexemes. The Lexicographical data from Wikidata and functions to process it are essential for the goal of an Abstract Wikipedia. A tutorial on how Wikifunctions can be used with Wikidata right now is available. Get started Wikifunctions in 7 minutes Run a function Project chat Community portal Suggest a function Catalogue of available functions Functions to try out is pangram (Latin alphabet) (Z12626): checks whether a string of characters possesses every letter from the Latin alphabet at least once English cardinal (Z13587): expresses a natural number in English words age (Z20756): returns the difference between two dates on the Gregorian calendar in years how many days between two days in the year (Z20733): number of days (non-inclusive) between two days of the year 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, returns 0. simple tense of verb (Z19514): returns simple tense of inputted verb more functions… Learn and contribute Learn about Wikifunctions About Wikifunctions Wikifunctions introduction FAQ Glossary Contribute to Wikifunctions Create an object Get involved as a translator Get help with Wikifunctions Questions? Ask at the Project chat or our Telegram/IRC channel! Report a technical problem Status page lists major known issues and problems News Volunteer's Corners The next Volunteers' Corner will be at 17:30 UTC on 2026-09-07 on Google Meet at meet.google.com/xuy-njxh-rkw. The most recent Volunteer's Corner is available on Commons Recent status updates about Wikifunctions 2026-07-16: Beyond syntactic tables 2026-07-08: Moving toward our first Abstract Wikipedia integration milestone 2026-07-01: Integration on test wiki and annual plan 2026-06-26: Working on Functions, together 2026-06-19: The or not the, this is (the?) question More news Wikifunctions is part of the non-profit, multilingual, free-content Wikimedia family. Wikipedia Encyclopedia Wikidata Knowledge base Wikimedia Commons Media repository Wiktionary Dictionary and thesaurus Wikibooks Textbooks and manuals Wikiquote Collection of quotations Wikisource Library Wikiversity Learning resources Wikivoyage Travel guides Wikispecies Directory of species Incubator New language versions Meta-Wiki Project coordination MediaWiki MediaWiki development Wikimania Event coordination Retrieved from "https://www.wikifunctions.org/w/index.php?title=Wikifunctions:Main_Page&oldid=195267" This page was last edited on 20 June 2025, at 09:24. Page was rendered with Parsoid. All function definitions, labels, and documentation in the main namespace are available under the Creative Commons CC0 License. All code fragments and implementations in the main namespace are available under the Apache 2.0 License. Text in other namespaces is available under the Creative Commons Attribution-ShareAlike License; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Privacy policy About Wikifunctions Disclaimers Legal & safety contacts Code of Conduct Developers Statistics Cookie statement Search Search Wikifunctions:Main Page Add topic