Wikifunctions:Main Page
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
- reverse string (Z10012): Inverts the order of the characters in a String (see Z10548 for one with Unicode grapheme support)
- is palindrome (Z10096): test if a string is the same when read forward and backward (see Z10553 for one with Unicode grapheme support)
- substring exists (Z10070): Check if a substring exists within another string
- To Uppercase (Z10018): Convert a string to uppercase letters
- To Lowercase (Z10047): Convert a string to lowercase letters
- join strings (Z10000): combine two strings, one after the other
- Trim String (Z10079): Remove starting and ending whitespaces
- is empty string (Z10008): true if the input string is empty
- string equality (Z866): True if the first string and the second string are the same
- Boolean equality (Z844): returns true only if both inputs are equal
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 at 2024-02-05, 18:30 UTC on Google Meet at meet.google.com/xuy-njxh-rkw.
- Recent updates about Wikifunctions
- 2024-01-17: Refreshing the Function page; Function of the Week: ROT13
- 2024-01-11: The Joy of Collaboration; Introducing the Function of the Week: reverse string
- 2024-01-03: Introducing our first new type: Lists
- 2023-12-13: Looking back at 2023
- 2023-12-06: Announcing Wikifunctions on the Wikimedia Foundation blog. Looking for feedback on the Function page proposal.
- 2023-11-30: Appointing Functioneers now by community; recent software changes; next Volunteers' Corner meeting
- 2023-11-16: What types next?
- 2023-11-07: Wikifunctions, the library of functions that anyone can use and edit
- 2023-11-03: Python in WebAssembly; Improvements on Object Selector; Next Volunteer's Corner
- 2023-10-25: Running on WebAssembly

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