MediaWiki explained

Developer:Wikimedia Foundation,
Tim Starling (release manager)
Released:25 January 2002
Frequently Updated:yes
Programming Language:PHP
Operating System:Cross-platform
Language:over 300 languages
Size:~16.5 MB

MediaWiki is a free web-based wiki software application. Developed by the Wikimedia Foundation and others, it is used to run all of its projects, including Wikipedia, Wiktionary and Wikinews. Numerous other wikis around the world also use it to power their websites. It is written in the PHP programming language and uses a backend database.

The first version of the software was deployed to serve the needs of the free content Wikipedia encyclopedia in 2002. It has been deployed since then by many companies as a content management system for internal knowledge management.[1] Notably, Novell uses it to operate several of its high-traffic websites.[2] [3] [4] Thousands of websites use MediaWiki. Some educators have also assigned students to use MediaWiki for collaborative group projects.

The software is optimized to correctly and efficiently handle projects of all sizes, including the largest wikis, which can have terabytes of content and hundreds of thousands of hits per second.[5] Because Wikipedia is one of the world's largest websites, achieving scalability through multiple layers of caching and database replication has also been a major concern for developers. Wikipedia and other Wikimedia projects continue to define a large part of the requirement set for MediaWiki.

The software is highly customizable, with more than 700 configuration settings[6] and more than 1,800 extensions available for enabling various features to be added or changed.[7] More than 600 automated and semi-automated bots and other tools have been developed to assist in editing MediaWiki sites.[8]


MediaWiki is free and open source software and is distributed under the terms of the GNU General Public License version 2 or any later version while its documentation is released under the Creative Commons BY-SA 3.0 license and partly in the public domain.[9] Specifically, the manuals and other content at are Creative Commons-licensed, while the set of help pages intended to be freely copied into fresh wiki installations and/or distributed with MediaWiki software is public domain. This was done to eliminate legal issues arising from the help pages being imported into wikis with licenses that are incompatible with the Creative Commons license.[10] MediaWiki development has generally favored the use of open-source media formats.


MediaWiki has an active volunteer community for development and maintenance. Users who have made meaningful contributions to the project by submitting patches are generally, upon request, granted access to commit revisions to the project's Apache Subversion repository.[11] There is also a small group of paid programmers who primarily develop projects for the Wikimedia foundation. Wikimedia participates in the Google Summer of Code by facilitating the assignment of mentors to students wishing to work on MediaWiki core and extension projects.[12] As of June 2010, there were 143 developers who had committed changes to the MediaWiki core or extensions within the past year.[13] Major MediaWiki releases are generated approximately every three to eight months by taking snapshots of the development trunk, which is kept continuously in a runnable state;[14] minor releases, or point releases, are issued as needed to correct bugs (especially security problems).

MediaWiki has a public bug tracker, [], which runs Bugzilla. The site is also used for feature and enhancements requests.


When Wikipedia was first launched in January 2001, it ran on the existing wiki software UseModWiki, which was written in Perl and stored all wiki pages in text files. This software soon proved limiting, both in its functionality and its performance. In mid-2001, Magnus Manske, a developer and student at the University of Cologne, who was also a Wikipedia editor, began working on new software that would replace UseModWiki, specifically for use by Wikipedia. This software was written in PHP and stored all its information in a MySQL database. It launched on the English Wikipedia in January 2002, and was gradually deployed on all the Wikipedia language sites of that time. This software was referred to as "the PHP script" and as "phase II", with the name "phase I" retroactively given to the use of UseModWiki.

Increasing usage soon caused load problems again, and soon afterward, another rewrite of the software began, done by Lee Daniel Crocker, which was first known as "phase III". This new software was also written in PHP with a MySQL backend, and kept the basic interface of the phase II software, but was meant to be more scalable. It went live on Wikipedia in July 2002.

The Wikimedia Foundation was announced on June 20, 2003, and in July, Wikipedia contributor Daniel Mayer suggested the name "MediaWiki" for the software, as a play on "Wikimedia".[15] The name was gradually phased in beginning in August 2003. The name has frequently caused confusion due to its (intentional) similarity to the "Wikimedia" name (which itself is similar to "Wikipedia").[16]

The product logo was created by Erik Möller using a flower photograph taken by Florence Nibart-Devouard, and was originally submitted to an international logo contest for a new Wikipedia logo held in mid-2003.[17] The logo came in third place, and was chosen to represent MediaWiki instead of Wikipedia, with the second place logo used for the Wikimedia Foundation.[18] The double square brackets around the photo of a sunflower symbolize the syntax MediaWiki uses for creating hyperlinks to other wiki pages.

Later, Brion Vibber, the Chief Technical Officer of the Wikimedia Foundation,[19] took up the role of release manager and most active developer.[20] [21]

Major milestones in MediaWiki's development have included the categorization system, added in 2004; parser functions, added in 2006; and flagged revisions, added in 2008.

Sites using MediaWiki

MediaWiki's most famous use has been in Wikipedia and, to a lesser degree, Wikimedia's other projects. But MediaWiki has also been used to power tens of thousands of other wikis, both public and private.

A number of alternative wiki encyclopedias to Wikipedia run on MediaWiki, including Citizendium, Conservapedia,[22] Metapedia[23]

Notable usages of MediaWiki within governments include Intellipedia, used by the United States Intelligence Community, and Diplopedia, used by the United States Department of State. United Nations agencies such as the U.N. Development Programme and INSTRAW chose to implement their wikis using MediaWiki because "this software runs Wikipedia and is therefore guaranteed to be thoroughly tested, will continue to be developed well into the future, and future technicians on these wikis will be more likely to have exposure to MediaWiki than any other wiki software."[25]

Key features

MediaWiki provides a rich core feature set and a mechanism to attach extensions to provide additional functionality. Due to the strong emphasis on multilingualism in the Wikimedia projects, internationalization and localization has received significant attention by developers. The user interface has been fully or partially translated into more than 300 languages,[26] and can be further customized by site administrators (the entire interface is editable through the wiki).

Installation and configuration

Installation of MediaWiki requires that the user have administrative privileges on a server running both PHP and a compatible type of SQL database. Some users find that setting up a virtual host is helpful if the majority of one's site runs under a framework (such as Zope or Ruby on Rails) that is largely incompatible with MediaWiki. Cloud hosting can enable a user to dispense with the task of building a new server by hand.

An installation PHP script is accessed via a web browser to initialize the wiki's settings. It prompts the user for a minimal set of required parameters, leaving further changes, such as enabling uploads,[27] adding a site logo,[28] and installing extensions, to be made by modifying configuration settings[29] contained in a file called LocalSettings.php.[30] Some aspects of MediaWiki can be configured through special pages or by editing certain pages; for instance, abuse filters can be configured through a special page,[31] and certain gadgets can be added by creating javascript pages in the MediaWiki namespace. The MediaWiki community publishes a comprehensive installation guide.[32]


One of the earliest differences between MediaWiki (and its predecessor, UseModWiki) and other wiki engines was the use of "free links" instead of CamelCase. When MediaWiki was created, it was typical for wikis to require text like "WorldWideWeb" to create a link to a page about the World Wide Web: links in MediaWiki, on the other hand, are created by surrounding words with double square brackets, and any spaces between them are left intact, e.g. <nowiki>[[World Wide Web]]</nowiki>. This change was logical for the purpose of creating an encyclopedia, where accuracy in titles is important.

MediaWiki uses an extensible[33] lightweight wiki markup designed to be easier to use and learn than HTML. Tools exist for converting content such as tables between MediaWiki markup and HTML.[34]

Notes and References

  1. Web site: Sites using MediaWiki/corporate. MediaWiki. 2010-05-30.
  2. Web site:
  3. Web site:
  4. Web site:
  5. Web site: Česky. Wikipedia:Statistics – Wikipedia, the free encyclopedia. 2010-05-30.
  6. Web site: Category:MediaWiki configuration settings. MediaWiki. 2011-02-07. 2011-02-07.
  7. Web site: Extension Matrix. MediaWiki. 2011-02-07.
  8. Web site: Wikipedia:Bots – Wikipedia, the free encyclopedia. 2011-02-07. 2011-02-07.
  9. Web site: Project:Copyrights. 2009-08-17.
  10. Web site: Project:PD help. MediaWiki. 2010-05-30.
  11. Web site: Development policy. MediaWiki. 2010-04-19. 2010-05-30.
  12. Web site: Summer of Code. MediaWiki. 2010-05-30.
  13. Web site: Code Review. MediaWiki. 2010-10-09.
  14. Web site: Roadmap. MediaWiki. 2010-05-21. 2010-05-30.
  15. Web site: Phase IV, and (was Wikis and uniformity). Mayer. Daniel. Wikipedia-L mailing list archives.
  16. Web site: Wikipmediawiki. MediaWiki. 2010-05-25. 2010-05-30.
  17. Web site: International logo contest/results. Wikimedia contributors. Meta-wiki. Wikimedia Foundation. 10 January 2007. 2007-03-14.
  18. Web site: Wikimedia contributors. Historical/Logo history. Wikimedia Foundation. 17 January 2007. 2007-03-14. Meta-wiki.
  19. Book: Everything Is Miscellaneous: The Power of the New Digital Disorder. David Weinberger. 2007. Times Books. 0805080430. 99.
  20. Web site: MediaWiki history. 2010-06-11. MediaWiki website.
  21. Web site: Wikipedia and MediaWiki. 28 April 2006. 2009-09-23. Presentation MediaWiki development (video).
  22. Web site: Examples of Bias in Wikipedia. Conservapedia. 2010-05-30.
  23. MediaWiki testimonials
  24. and Scholarpedia.

    Wikia, the world's most popular wiki farm, runs on MediaWiki. Among the notable wikis that Wikia hosts or has hosted are LyricWiki, Memory Alpha, Uncyclopedia, WoWWiki and Wookieepedia.

    Other popular public wikis that run on MediaWiki include wikiHow,, and WikiLeaks.

    MediaWiki is also used internally by a large number of companies, including Novell and Intel.[23]

  25. Web site: A stealth transformation: introducing wikis to the UN. A. Maron, M. Maron. Knowledge Management for Development Journal. 2007. 9 October 2010.
  26. See also: Translation statistics and Multilingual MediaWiki.
  27. Web site: Manual:$wgEnableUploads. MediaWiki. 2010-05-30.
  28. Web site: Manual:$wgLogo. MediaWiki. 2009-12-12. 2010-05-30.
  29. Manual:Configuration settings
  30. Web site: Manual:LocalSettings.php. MediaWiki. 2007-03-29. 2010-05-30.
  31. Web site: Extension:AbuseFilter. MediaWiki. 2010-05-30.
  32. Web site: Manual:Installation guide. MediaWiki. 2010-05-30.
  33. Web site: Manual:Extending wiki markup. MediaWiki. 2010-05-30.
  34. Web site: HTML to Wiki Converter – tables [online&#93; | |date=2008-03-29 |accessdate=2010-05-30}].