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.
Get started
Functions to try out
- is a palindrome (Z10096): test if a string is the same when read forward and backward (see Z10553 for one with Unicode grapheme support)
- get English weekday from date (Z13163): returns the weekday as a string when given a date as year, month and day of the month
- is prime (Z12427): Checks if the provided integer is prime or not.
- English cardinal (Z13587): expresses a natural number in English words
- is pangram (Latin alphabet) (Z12626): checks whether a string of characters possesses every letter from the Latin alphabet at least once
- Caesar cipher (Latin alphabet) (Z12812): rotates letters in the Latin alphabet forward by a defined number of places
- reverse string (Z10012): Inverts the order of the characters in a String (see Z10548 for one with Unicode grapheme support)
- substring exists (Z10070): Check if a substring exists within another string
Learn and contribute
- Learn about Wikifunctions
- Contribute to other areas
- Get help
- Questions? Ask at the Project chat or our Telegram/IRC channel!
- Report a technical problem
- Status page lists major known issues and problems
News
- Upcoming meetings
- The next Volunteers' Corner will be on 2024-07-01, 17:30 UTC on Google Meet at meet.google.com/xuy-njxh-rkw.
- Recent updates about Wikifunctions
- 2024-06-13: New Type: Igbo calendar months
- 2024-06-06: New Type: Sign
- 2024-05-30: A single singular or a plurality of plurals?
- 2024-05-22: New Type: Gregorian calendar months
- 2024-05-15: Call for Functions: Spell out the number!
- 2024-05-10: Flagship type for enumerations: Months of the Gregorian calendar
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 - Wikinews
Free-content news - Wikiquote
Collection of quotations - Wikisource
Free-content library - Wikiversity
Learning resources - Wikivoyage
Travel guides - Wikispecies
Directory of species - Incubator
New language versions - Meta-Wiki
Project coordination - MediaWiki
MediaWiki development