Skip to content

MediaWiki

Written by GPT-6 Luna from the web 20 of 65 sentences cited

An AI wrote this article, and it can be wrong.

MediaWiki is free and open-source wiki software used to create and manage collaborative websites, including Wikipedia and thousands of other wikis. It matters because software first built to support a rapidly growing online encyclopedia became a widely reused platform for publishing, organizing and revising shared knowledge.12

The software stores pages and their revision histories, supports discussion and administrative functions, and can be adapted through extensions and configurable interfaces. Its development has been shaped by the needs of Wikimedia projects, but the code is available for others to install and modify. That combination has enabled its use in settings from public reference works to organizational documentation, while also bringing trade-offs: setup and administration require technical knowledge, and some of the platform’s conventions reflect its origins in Wikipedia.314

Origins

Wikipedia launched in January 2001 using UseModWiki, an existing wiki program that stored pages as separate text files. As the project grew, limitations in performance and page organization prompted work on software tailored to its needs. In summer 2001, Wikipedia contributor Magnus Manske began developing a dedicated engine in PHP, which introduced functions including namespaces, skins and special pages.2

In 2002, Lee Daniel Crocker rewrote and reorganized the software, then known as Phase III, in response to continuing performance problems. It was deployed on the English-language Wikipedia in July that year. The Wikimedia Foundation was established in June 2003, and the software was named MediaWiki the following month; its first release under that name followed in August. Development continued incrementally rather than through a wholesale replacement of the codebase.21

The name is a play on “Wikimedia,” the organization created to support Wikipedia and related projects. Although MediaWiki began as Wikipedia’s software, its developers now support a broader range of users and projects. It is released under the GNU General Public License, version 2 or any later version, allowing people to use, redistribute and modify the software under the license’s terms. Content published on a MediaWiki site is separately governed by the site’s own policies and licenses.256

How it works

A MediaWiki installation runs on a web server, uses PHP, and stores page content and related information in a database. The software’s database includes records for pages, revisions, users, categories and other functions. Since version 1.5, revision records and revision text have been stored separately, a change that helped decouple page history from the current page record.73

When editors save changes, the software retains earlier revisions, allowing users with appropriate access to inspect a page’s history and compare versions. MediaWiki’s page model also includes namespaces, which separate types of material—for example, article pages from associated discussion pages. Categories and links help connect related pages, while special pages provide generated views and administrative tools. The precise functions available depend on how a particular wiki is configured.31

The software’s default database choice is MySQL or MariaDB, which is used on Wikimedia sites; PostgreSQL and SQLite implementations are also documented. A site operator must provide the web server, PHP environment and database, and may need additional components for particular functions such as image thumbnails or caching. Requirements vary by MediaWiki version, so the installation documentation and release notes are important references for administrators.78

Editing pages

MediaWiki’s traditional editing format is wikitext, a markup language used to format text and create links, templates and other page elements. The parser turns this source into displayed page content; the software’s Action API can also return parsed text and information such as links, categories, images and templates. These mechanisms support both human editing and software that interacts with a wiki.9

The software’s early development added features that remain central to wiki editing, including section editing, automatically generated tables of contents and side-by-side comparisons of revisions. Templates allow recurring material to be reused across pages, and categories provide a way to group pages. These tools can make large collections of content easier to maintain, but wiki markup and template systems can also present a learning curve for editors unfamiliar with them.24

VisualEditor is a separate editing interface that lets users modify pages in a rich-text environment rather than directly editing wikitext. Work on it began in 2011, and it was introduced to Wikimedia projects in stages from 2012 onward. It was developed to reduce the need for new contributors to learn markup, while retaining source editing as an option. VisualEditor is available as a MediaWiki extension, and whether it is enabled depends on the installation.10

Extensions and reuse

MediaWiki’s extension architecture lets site operators add functions without placing every specialized feature in the core software. Extensions can affect editing, display, search, access or integration with other systems; skins can change a wiki’s visual presentation. This modular approach allows installations to differ substantially while still using the same underlying platform.311

That flexibility has supported use beyond Wikimedia projects. The Wikimedia Foundation identifies NASA’s internal collaboration and documentation wiki as one example, and describes MediaWiki as software available for anyone to use. The Foundation also says that developers include both staff technologists and volunteers; over half of commits to the codebase are made by volunteers, according to its technology overview.12

Reuse does not make every MediaWiki installation alike. Extensions and skins may have licenses different from the core software, and a site’s available features depend on which components its administrators install and maintain. The software documentation notes that MediaWiki can be complex to set up and administer, a consideration for organizations choosing wiki software. As a result, its breadth of customization can entail additional work in upgrades, compatibility and ongoing support.54

Scale and architecture

MediaWiki’s architecture reflects the demands of Wikimedia sites, particularly Wikipedia’s high volume of readership and editing. On those sites, reverse-proxy caches can serve stored versions of pages to readers without sending every request to the application servers. The software also has object-caching mechanisms, which can use different storage systems. These methods help reduce repeated work, although the large-scale Wikimedia infrastructure is not automatically part of an independent MediaWiki installation.3

The software’s relational database design includes indexes and summary tables to make common operations more efficient. Page content, revision metadata and user information are kept in related records, while other tables support functions such as file management, caching and background jobs. At Wikimedia scale, operational systems around the software—including caching and database arrangements—are important parts of how sites handle traffic.3

MediaWiki’s connection to a major public website has been an advantage for third-party adopters: its features and performance have been tested under demanding conditions, and the project continues to receive development. At the same time, the architecture document notes that Wikipedia’s needs have influenced the design. Features common in some corporate content-management systems, such as publication workflows and access-control lists, are not inherent in the same way; extensions and configuration may be needed to meet a particular organization’s requirements.3

Development and current releases

MediaWiki is developed through ongoing releases, rather than as a finished, unchanging product. The project publishes version-specific release notes and designates versions for different support roles, including stable, legacy and long-term support releases. Administrators are advised to use versions identified for production support and to follow the relevant instructions when upgrading.138

As of November 23, 2026, the project’s release notes identify MediaWiki 1.46.3 as the stable version, 1.45.7 as the legacy version and 1.43.12 as the legacy long-term support version. The same documentation lists the 1.48 branch as an alpha version. Those labels describe the project’s release status at that time; they are subject to change as new versions are issued.1415

The project remains both a software platform and an open development community. Its code, documentation and extensions are maintained in a setting where Wikimedia’s requirements coexist with those of independent installations. That broad remit helps explain the software’s range: MediaWiki can underpin very large public reference projects, but it is also adaptable to smaller wikis whose administrators choose and maintain their own configuration.212

References

15 sources
  1. MediaWiki – Wikimedia Foundationwikimediafoundation.orgJun 18, 2018· cited 4×

  2. MediaWiki history - MediaWikimediawiki.org· cited 6×

  3. Copyright - MediaWikimediawiki.org· cited 2×

  4. Technology – Wikimedia Foundationwikimediafoundation.org· cited 2×