Featured
MediaWiki PHP, JS
The collaborative editing engine that runs Wikipedia.
VisualEditor JS
Rich text visual editor for the browser with a MediaWiki integration. WYSIWYG, based on HTML5+RDFa and ContentEditable.
Localisation
CLDRPluralRuleParser PHP
Parse CLDR plural rules from Unicode.
CSSJanus JS
Convert stylesheets from left-to-right to right-to-left.
cssjanus-php PHP
Convert stylesheets from left-to-right to right-to-left. (PHP port)
jQuery.i18n JS
Interface text localisation with support for CLDR plural rules, language fallbacks, Banana JSON files, and more.
UnicodeJS JS
String manipulation based on Unicode standard word breaks, graphemes, and character classes.
utfnormal PHP
Unicode normalization routines to produce NFC/UTF-8 strings.
User experience
OOUI JS, PHP
Rapidly create web-applications in JS or PHP. Cross-browser, i18n and a11y ready.
Wikimedia Design Style Guide
Consistent look and behavior for our products.
WikimediaUI Base CSS, LESS
Stylesheet containing Wikimedia Design style values.
Apps
Who Wrote That JS
Explore authorship and revision informationon Wikipedia with this browser app.
Wikipedia for Android Java
The official Wikipedia app.
Wikipedia for iOS Swift
The official Wikipedia app.
Libraries
AhoCorasick PHP
Efficient searching for multiple keywords in a string using the Aho-Corasick algorithm.
Assert PHP
Run-time assertions for parameter types, preconditions and postconditions.
at-ease PHP
Safe alternative to PHP's error-control operator.
base-convert PHP
Convert arbitrarily-length strings from one numeric base to another.
CDB PHP
Fast and highly reliable key-value database file format.
css-sanitizer PHP
CSS parser in pure PHP to transform or filter stylesheets.
Dodo PHP
DOm DOcument implementation in pure PHP
Equivset PHP
Detect visually similar UTF-8 characters, partially based on Unicode Confusables.
HtmlFormatter PHP
Transformations for MediaWiki HTML output, based on libxml2.
IDLeDOM PHP
DOM interfaces generated from WebIDL
IPSet PHP
Efficient matching of IP addresses against CIDR specifications.
IPUtils PHP
Parsing and formatting of IPv4/IPv6 addresses and CIDR ranges.
jQuery Client JS
A minimal user-agent parser for client-side JavaScript.
LangConv PHP
FST-based implementation of language and script conversion.
Minify PHP
Minification of JavaScript code and CSS stylesheets.
oauthclient-php
OAuth client for Wikipedia and other MediaWiki sites.
ObjectFactory PHP
Construct objects based on a static description.
OOjs Router JS
php-session-serializer PHP
CSS parser in pure PHP to transform or filter stylesheets.
RelPath PHP
Compute the relative path between two file paths.
RemexHtml PHP
Fast HTML5 parser in pure PHP.
RunningStat PHP
Compute statistics for a stream of numbers using only constant space.
ScopedCallback PHP
Invoke a callback automatically after an object goes out of scope.
Services PHP
Generic service container to manage named services using lazy instantiator callbacks.
Shellbox PHP
Web service for containerized shell execution.
WaitConditionLoop PHP
Poll a condition and manage code execution between checks.
Wikimedia SlimApp PHP
XMPReader PHP
Infrastructure
Arc Lamp Python, PHP
Gather stack traces from a PHP 7 app with Excimer and publish them as flame graphs and trace logs.
coal Python
Process performance beacons and submit moving medians directly to Graphite.
docker-pkg Python
Manage creation and updating of Docker images in a unified way.
Excimer C, PHP
Low-overhead interrupting timer and sampling profiler for PHP.
homer-public YAML, Jinja2
Configuration files for Homer (configuration manager for network devices).
LuaSandbox C, PHP
Safely execute untrusted Lua 5.1 code, natively from PHP or HHVM.
MediaWiki-Vagrant Puppet
Portable MediaWiki development environment.
PipelineLib Groovy
Container-based CI workflow specification and task runner.
Puppet
Server provisioning and configuration for Wikimedia Foundation production.
RESTBase
Scap Python
The deployment tool used by Wikimedia Foundation.
Spicerack Python
Task orchestration framework, based on Cumin.
SRE Cookbooks Python
Collection of Spicerack cookbooks for WMF production infrastructure.
transferpy Python
Tool that can move large files over the network and backup mariadb servers.
Wikidata Query Service Java
wikidiff2 C, PHP
Fast diff engine for MediaWiki.
wmflib Python
Generic Python library for common tasks in the WMF production infrastructure.
Testing
eslint-config-wikimedia JS
JavaScript style guide for Wikimedia software.
eslint-plugin-mediawiki JS
ESLint rules for MediaWiki-specific JavaScript idioms.
eslint-plugin-no-jquery JS
Control allowance of certain jQuery functions, and suggest or autofix alternatives.
Fresnel JS
Measure and compare performance of web pages.
grunt-stylelint JS
Stylelint adapter for the Grunt task runner.
MediaWiki API testing JS
A library for end-to-end integration tests of MediaWiki APIs
testing-access-wrapper PHP
Convenient shortcuts for accessing protected or private properties and methods.
MediaWiki components
CollaborationKit
EventLogging
Kartographer
Add map capabilitity to wiki pages.
MinervaNeue skin
MultimediaViewer JS
TemplateData
Wikibase
The knowledge base for linked open data that runs Wikidata.org.
WikiLambda
Letting users create, manage, and evaluate functions on a wiki, wikifunctions.org.
- Project homepage
- Source code (MW extension)
- Source code (evaluator)
- Source code (orchestrator)
- Source code (shared schemata)
- Code documentation (MW JS)
- Code documentation (MW PHP)
- Test coverage (MW JS)
- Test coverage (MW PHP)
- Test coverage (evaluator)
- Test coverage (orchestrator)
- Test coverage (shared schemata)
Microsites
analytics.wikimedia.org HTML
www.wikipedia.org HTML
Portal for Wikipedia.org and other Wikimedia projects.