Académique Documents
Professionnel Documents
Culture Documents
This is a general, non-technical introduction to the MediaWiki software, and its use and
functionality on Wikimedia.
What is MediaWiki?
MediaWiki is the software program released under the GNU GPL that runs
Wikipedia[11] and other Wikimedia projects [12], as well as other websites. It is
developed by contributors to these projects.
MediaWiki is a WikiWiki, meaning that anyone can easily edit any article and have those
changes posted immediately. The software contains a lot of Documentation, also. If you
want to learn more about editing and other aspects of the user's point of view, you
might want to read
Help:Reader or
Help:Editor.
The name "MediaWiki" was coined by Wikipedia contributor Daniel Mayer as a play on
Wikimedia [13]. Before that, the software was known as "Wikipedia software Phase III".
The MediaWiki Project has its own subversion repository; if you're interested in the
code, you might want to read mw:How to become a MediaWiki hacker.
Architecture
The current MediaWiki software is built on top of an AMP environment; in this case, this
means that MediaWiki utilizes:
the Apache web server for delivering web pages,
the relational database management system MySQL as a database backend for
storing the content, and
the scripting language PHP for the application logic that glues together these
components.
System Requirements
The MediaWiki software typically runs in a LAMP environment on the i386 and SPARC
platform. (This is the primary/reference platform.) It is also possible to run the MediaWiki
software eciently under Solaris, Microsoft Windows, Apple Mac OS X and IBM i5/OS.
Software
Everything you need to run a MediaWiki server is available as Open Source Software.
Operating system: Several platforms are possible, including GNU/Linux, BSD, Sun,
Microsoft Windows, Apple MacOS X and IBM System i. The software is being
developed under GNU/Linux, and the recommended environment is a GNU/Linux
distribution, also; we recommend Debian GNU/Linux, because this comes closest
to the ideals of the Wikipedia, but in this area you are free to choose.
Apache httpd, version 1.3 or 2.0 - Open Source.
MySQL daemon, version 4.x - Open Source.
PHP scripting environment, version 5 - Open Source.
MediaWiki software - Open Source.
Some web browser - lots of options are available as Open Source.
Hardware
x86 hardware architecture (Intel, AMD etc.) recommended, some other
architectures are possible (e.g. PowerPC w/ Mac OS X/ SPARC).
Memory - depending on the planned usage everything is possible starting with
about 96 MB of RAM (?); for best performance, the complete database should fit
into the RAM.
Disk space - also depending on your requirements; if you want to start a small
WikiWikiWeb on your own, a few Megabytes of disk space will be enough. If you
want to completely mirror the English Wikipedia with all images, you'll need at
least 3 Gigabytes (?)
Network Interface Card (NIC) - anything that is supported by your operating
system can be used.
Networking
The MediaWiki software can run locally on a computer without a network
connection. You might use MediaWiki this way to serve as a powerful Personal
Information Management (PIM) system.
MediaWiki can run on a Local Area Network (LAN) computer. This is useful as an
enterprise wide collaboration tool for universities or corporations.
For public access, MediaWiki must run on a computer connected to the Internet.
The computer may use a static IP address defined in a Domain Name Server (DNS)
entry or a dynamic IP address registered with a Dynamic DNS service.
Licensing
The MediaWiki software is licensed under terms of the GNU General Public
License (GPL)
The content created by the MediaWiki can be licensed under terms of the GNU
Free Documentation License, as it has been done on Wikipedia and Wiktionary,
but you are free to choose another type of licensing.
See also: Copyrights.
Feature list
You may wonder if you should use MediaWiki for your own wiki. This depends on what
kind of wiki you want to run. Wikipedia's software has many useful features that grew
out of the needs of the users and the ideas of the developers -- but features also mean
complexity. The functionality can be overwhelming, even though we try to do everything
we can to keep things easy to use. Complexity also means that there are lots of places
where you may have to customize the script for your own use.
Before you decide to use the Wikipedia script, please do take a look at other Wiki
Engines and see if one of them might meet your requirements better. For small wikis,
UseMod is always a safe bet -- it supports [[free links]] (as opposed to CamelCase) and
does not need (or support) a database. This is, of course, also a bottleneck in terms of
functionality.
Editing
Section editing Users can enable an option that allows them to edit individual
sections of an article (separated by headlines) instead of loading the entire article.
Edit toolbar (JavaScript-based) for formatting text as bold, italic etc. (fully works
in Mozilla and IE, other browsers use it to show the syntax, but cannot format text
inside the textarea because their JavaScript implementation does not support it). If
JavaScript is disabled, the toolbar is not shown.
Edit summary which is shown in "Recent changes"
Double click editing: Users can enable an option that allows them to edit articles
by double clicking them.
Edit preview (can be shown before or after edit box)
Handle edit conflicts (page being saved by a user while still being edited by
another one, then saved again)
Mark edits as minor; users can decide to hide such edits from the Recent
Changes list. Only signed in users can mark edits as minor.
.......
Discussions
Talk pages: Each user (including every anonymous user) and every article has an
associated page where messages can be left. These are separate namespaces
(see above), "Talk:" and "User talk:".
Message notification (user gets a "You have new messages" notice if someone
else has edited his user discussion page); this also works for anonymous users
Automatic signature: Just type three tildes (~) when you edit, and on saving the
page, it will be replaced with your user name and a link to your user page. If you
use four tildes, the current date will be added as well. Mainly intended for Talk
pages.
Support for emailing users through the wiki (email address not shown to the
user).
Backend
Permissions
Dierent rights for anonymous users, signed in users, sysops, bureaucrats and
developers.
Signed in users can:
move and rename pages
upload files
Sysops can:
protect pages from editing
delete and undelete pages
edit protected pages
ban users by IP address
ban users by username, if this option is enabled
run SQL queries on the database, if this option is enabled
"Bureaucrats" can:
create sysops
Developers (admins) can:
lock the database
run various maintenance tasks
Other permission schemes (e.g. only signed in users can edit pages) can be
configured
List of users
Site statistics
Orphaned articles (articles that have no links pointing to them)
Orphaned images
Popular articles (articles by number of visits, works only if counters are
enabled)
Most wanted articles (non-existent articles sorted by number of links pointing
to them)
Short articles
Long articles
List of all pages by title
Misc.
Random article display function
Users can configure their timezone, which is used on all report timestamps
The attributes of many report pages (number of results etc.) can be set in the
user preferences
IRC - for real time communication, especially for active developers and
contributors.
together with bug fixes and improvements in stability. You are encouraged to
submit bug reports.
Wikipedia software Phase III = MediaWiki - based on LAMP/AMP. The name
"MediaWiki" was coined by Wikipedia contributor Daniel Mayer as a play on
Wikimedia.[18] Before that, the software was known as "Wikipedia software Phase
III"; it was replaced by what is now called MediaWiki in June 2002.