From Seo Wiki - Search Engine Optimization and Programming Languages
|Developer(s)||Wikimedia Foundation, |
Tim Starling (release manager)</td></tr>
|Initial release||25 January 2002</td></tr>|
|Available in||over 300 languages</td></tr>|
MediaWiki is a web-based wiki software application used by all projects of the Wikimedia Foundation, and many other wikis. Originally developed to serve the needs of the free content Wikipedia encyclopedia, today it has also been deployed by companies for internal knowledge management, and as a content management system. Notably, Novell uses it to operate several of its high-traffic websites.
License and development
MediaWiki is free and open source software and 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. It has an active volunteer community for development and maintenance and at the core there is a small group of paid programmers for daily maintenance (bug fixing) and development for the projects of the Wikimedia foundation. The open source software model of MediaWiki, a not-for-profit model, permits free download and use, even commercially. This is different from other commercial open source software models like the ones employed by MySQL or Ubuntu where the commercial use and support respectively requires payment.
The current software was originally written for Wikipedia by Lee Daniel Crocker, based on the user interface design of Magnus Manske, a developer and student of the University of Cologne. Wikipedia had originally used a small wiki engine called UseModWiki written in Perl. Wikipedia was later switched to Manske's PHP-based software to offer more functionality. Increasing usage caused load problems, leading Crocker to re-write the software with a more scalable MySQL database backend. Later, Brion Vibber, the Chief Technical Officer of the Wikimedia Foundation, took up the role of release manager and most active developer. Since the release of the first version of Manske's script, the software had been given multiple nicknames representing the state of development—"the PHP script," "phase II," "phase III," "the new codebase"—but no product name. After the Wikimedia Foundation was announced on June 20, 2003, the name "MediaWiki" was coined by Wikipedia contributor Daniel Mayer as a play on "Wikimedia", and 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"). 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. 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. The double square brackets around the photo of a sunflower symbolize the syntax MediaWiki uses for creating hyperlinks to other wiki pages.
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, and can be further customized by site administrators (the entire interface is editable through the wiki).
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.
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" in order 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.
To make editing long pages easier, MediaWiki allows the editing of a subsection of a page (as identified by its header).
MediaWiki has the user interface in different languages. A language for the wiki content itself can also be set, to be sent in the "Content-Language" HTTP header and "lang" HTML attribute.
MediaWiki supports rich content generated through specialized syntax. For example, the software comes with support for rendering mathematical formulas using LaTeX and a special parser written in OCaml. Similar functionality for other content, ranging from graphical timelines over mathematical plotting and musical scores to Egyptian hieroglyphs, is available in the form of extensions and also aesthetic sense has improved considerably.
The software has become more powerful at dealing with a wide variety of uploaded media files. Its richest functionality is in the area of images, where image galleries and thumbnails can be generated with relative ease. There is also support for Exif metadata. The use of MediaWiki to operate the Wikimedia Commons, one of the largest free content media archives, has driven the need for further functionality in this area.
MediaWiki currently provides no native WYSIWYG support, though it does come with a graphical toolbar for simplifying the process of learning the wiki syntax. Various extensions exist for handling WYSIWYG editing to different degrees, some using variations of the popular CKEditor. MediaWiki also has an interface to allow the transparent use of external editors for uploaded files and wiki pages.
MediaWiki provides many features beyond hyperlinks for structuring content. One of the earliest features is namespaces. One of Wikipedia's earliest problems had been the separation of encyclopedic content from pages pertaining to maintenance and communal discussion, as well as personal pages about encyclopedia editors. Namespaces are prefixes before a page title (such as "
Namespaces can be viewed as folders that separate different basic types of information or functionality. Custom namespaces can be added by the site administrators. There are 16 namespaces by default for content, with 2 "pseudo-namespaces" used for dynamically generated "
In addition to namespaces, content can be ordered using subpages. This simple feature provides automatic breadcrumbs from a page of the pattern
The entire MediaWiki user interface can be edited through the wiki itself by users with the necessary permissions (typically so-called "administrators"). This is done through a special namespace with the prefix "MediaWiki:", where each page title identifies a particular user interface message.
The "MediaWiki:" namespace was also originally used for creating custom text blocks that could then be dynamically loaded into other pages using a special syntax. This content was later moved into its own namespace, "Template:".
Templates are text blocks that can be dynamically loaded inside another page whenever that page is requested.
The template is a special link in double curly brackets (for example "
Templates have found many different uses, such as:
The MediaWiki codebase contains various "hooks" using callback functions to add additional PHP code in an extensible way. This allows developers to write extensions without modifying the core or having to submit their code for review. Installing an extension typically consists of adding a line to the configuration file, though in some cases additional changes such as database updates are required.
Bugs and feature requests
Bugs in the MediaWiki software can arise for a variety of reasons, including developmental oversight and unforeseen changes as the result of new releases. These bugs are reported to Bugzilla.wikimedia.org, a Bugzilla (alternatively known as Mediazilla) bug tracker project for Wikimedia founded in August 2004, where they are assigned a bug number and later resolved by MediaWiki developers. Minor feature requests and enhancements to the software are also requested on Bugzilla.wikimedia.org.
MediaWiki can be made more advanced and useful for various purposes through its extensions. Many of the available extensions are simple scripts to allow embedding content such as Adobe Flash files or HTML forms. Others add complex new behavior to the wiki syntax, such as Semantic MediaWiki, which provides the ability to add structured and searchable relations and attributes to wiki pages, and WikiTrust, which implements a system for checking the author, origin, and reliability of wiki text. Examples of extensions that could improve a wiki are:
The Wikimedia Foundation operates a Subversion server where many extensions are hosted, and a directory of them can be found on the MediaWiki website. Some other sites also are known for development of - or support for extensions:
Access and groups
While MediaWiki comes with a basic set of features related to restricting access and defining user groups, page access control does not tend to be given high priority in development. For instance, it is extremely difficult to create a wiki where only certain users can read and access some pages. Here, wiki engines like TWiki, MoinMoin and WikkaWiki provide more flexibility by supporting advanced security mechanisms like access control lists.
Because it is used to run one of the highest-traffic sites on the Web, Wikipedia, MediaWiki performance and scalability have been highly optimized. MediaWiki supports Squid caches, load-balanced database replication, client-side caching, memcached or table-based caching for frequently accessed processing of query results, a simple static file cache, feature-reduced operation, revision compression, and a job queue for database operations.
The software is suitable for the operation of large scale wiki farms such as Wikimedia, which had about 750 wikis as of December 2007. However, MediaWiki comes with no built-in GUI to manage such installations.
The parser serves as the de facto standard for the MediaWiki syntax as no formal syntax has been defined. Since the syntax has no formal definition (for example, in Extended Backus–Naur form (EBNF)) there is an inherent difficulty in creating a WYSIWYG editor or complete porting of the syntax to another language. Work is in progress to formalise the grammar in ANTLR.
Community and support
MediaWiki developers are spread around the world, though with a majority in the United States and Europe. Face-to-face meetings and programming sessions occur at the annual Wikimania conference, an event that is mostly Wikipedia-focused. One event exclusively for MediaWiki developers has been held so far, in Berlin in April 2009.
als:MediaWiki ar:ميدياويكي ast:MediaWiki az:MediaViki bn:মিডিয়াউইকি zh-min-nan:MediaWiki be-x-old:MediaWiki bar:MediaWiki bs:MediaWiki bg:МедияУики ca:MediaWiki cv:MediaWiki cs:MediaWiki da:MediaWiki de:MediaWiki et:MediaWiki es:MediaWiki eo:MediaWiki eu:MediaWiki fa:مدیاویکی fr:MediaWiki ga:MediaWiki gl:MediaWiki ko:미디어위키 hr:MediaWiki ig:MediaWiki id:MediaWiki it:MediaWiki he:מדיה-ויקי ka:MediaWiki csb:MediaWiki ku:MediaWiki la:MediaVici lv:MediaWiki lb:MediaWiki lt:MediaWiki li:MediaWiki hu:MediaWiki mk:МедијаВики mg:MediaWiki ml:മീഡിയവിക്കി arz:ميدياويكى ms:MediaWiki nl:MediaWiki ja:MediaWiki no:MediaWiki nn:MediaWiki oc:MediaWiki pl:MediaWiki pt:MediaWiki ro:MediaWiki ru:MediaWiki sco:MediaWiki si:මාධ්යවිකි simple:MediaWiki sk:MediaWiki sl:MediaWiki sr:MediaWiki fi:MediaWiki sv:Mediawiki ta:மீடியாவிக்கி th:มีเดียวิกิ tr:MediaWiki uk:MediaWiki vi:MediaWiki zh-classical:共筆臺 yi:מעדיעוויקי zh-yue:MediaWikizh:MediaWiki