MediaWiki: Difference between revisions

From mediawiki.org
Content deleted Content added
No edit summary
 
(288 intermediate revisions by more than 100 users not shown)
Line 1: Line 1:
{{Main page|{{zh other|zh|{{#ifexist:Template:Main page/{{int:lang}}|{{int:lang}}|en}}}}}}{{NOEXTERNALLANGLINKS}}<!--
<div style="float:right; background-color:#fed569; border:3px dotted #4b0082; margin:0.5em; padding:0.5em; text-align:center; max-width:10em;">
-- To edit what appears on this page,
<p>Current versions:</p>
-- please see [[Template:Main_page]]
<p><span style="font-weight:bold;">1.4.7</span><br />
-- https://www.mediawiki.org/wiki/Template:Main_page
<span style="font-weight:none;">1.5 beta4</span>
</p>
-->
</div>

[[Image:Marguerite 1.JPG|200px|left|Flower power]]
'''<span style="color:#f00;">M</span>edia<span style="color:#f00;">W</span>iki''' is a [[:en:free software|free]] Wiki software package licensed under the [[:en:GNU General Public License|GNU General Public License]]. It is used to run [[:en:Wikipedia|<span style="color:#f00;">W</span>iki<span style="color:#f00;">p</span>edia]] and other [[:en:Wikimedia Foundation|<span style="color:#f00;">W</span>iki<span style="color:#f00;">m</span>edia Foundation]] [[wikimedia:Our projects|projects]], as well as [[m:Sites using MediaWiki|many other wikis]]. In case you don't already know, a [[:en:Wiki|wiki]] is a publicly editable website which allows its visitors to collaborate by editing its pages.

== What is a Wiki==
<div style="background-color:#fed569; border:3px double #4b0082; margin:1em; padding:1em; width:auto;">

'''''À vaincre sans péril, on triomphe sans gloire.''''' ([[:fr:Pierre_Corneille|Pierre Corneille 1606-1684]]) {{fr}} [[Image:Corneille.jpg|right|120px|Pierre Corneille (1606-1684)]] <br>''To overcome without danger, one triumphs without glory.'' ([[:en:Pierre_Corneille|Pierre Corneille]]) {{en}}
'''Welcome''' to visitors who are new to the '''[[:en:Wiki|Wiki]]''' concept
and probably came here because they clicked on a '''Powered by MediaWiki''' icon.
You are entering a world of respect and trust.
'''Yes''' : <u>you can</u> modify this page and <u>you can</u> even (temporarily) publish dummy sentences,
and <u>you can</u> even (temporarily) completely [[Talk:MediaWiki|destroy]] the page.
You don't need to be a [[:en:Hacker|hacker]] to do this.
We suggest you rather exercise yourself within another page ([[Sandbox|just click here to reach such a page]])
to avoid other visitors needing to clean up this main page after you.
<br>If you want to share your knowledge about MediaWiki, you may edit this page.
If you have a question or a suggestion, do not edit this page, but, instead, use the [[Talk:MediaWiki|related discussion page]].

'''''I prefer the wicked rather than the foolish. The wicked sometimes rest.''''' ([[:en:Alexandre Dumas, père|Alexandre Dumas, père 1802-1870]])
</div>

== How does MediaWiki work? ==
<div style="background-color:#f9f9f9; width:auto; border:3px double #4b0082; margin:1em; padding:1em;">
[[Image:Wikimedia-servers-2005-04-12.png|thumb|MediaWiki can be used in large enterprise server farms.]]
MediaWiki uses [[:en:PHP|PHP]] to process and display data stored in its [[:en:MySQL|MySQL]] database. Pages use MediaWiki's wikitext format, so that users without knowledge of XHTML or CSS can edit them easily. When a user submits an edit to a page, MediaWiki writes it to the database, but without deleting the previous versions of the page, thus allowing easy reverts in case of vandalism or spamming. MediaWiki can manage image and multimedia files, too, which are stored in the filesystem. For large wikis with lots of users, MediaWiki supports caching and can be easily coupled with Squid.

To install MediaWiki, you will need ''any'' operating system ([[:en:Linux|GNU/Linux]] is suggested), ''any''
web server ([[:en:apache|apache2]] is suggested), PHP >= 4.3 (PHP 4.3.11 is suggested) and MySQL >= 3.23 (MySQL 4.0.23 is suggested). You do not need a specific software to manage MySQL but such tool may help you for backups and other tasks ([[:en:phpMyAdmin|phpMyAdmin]] 2.6.1 is suggested). MediaWiki ships with an installation utility which will enable you to install it using your Web browser. If you do not operate your own server and have only access to one database, mind that MediaWiki is able to share its database with other applications. You don't need to know SQL, HTML, XHTML or CSS. A basic knowledge of PHP is required if you need to modify the configuration files.
</div>

== Versions ==
<div style="background-color:#f9f9f9; width:auto; border:3px double #4b0082; margin:1em; padding:1em;">
[[Image:Poweredby mediawiki 88x31.png|right]]
[[:en:Wiki|Wiki]] sites using the MediaWiki software generally display
this icon near the bottom right corner of their pages.
</div>

* current ''stable'' version is '''1.4.7''' ('''July 16, 2005''')
* current ''test'' version is 1.5beta4 (July 30, 2005)

[[#Current Releases|Current releases]] and [[#Download|download links]] are listed below.

Click on the links below to know which versions and extensions are currently used by :
* [[Special:Version|this wiki]]
* [[:en:Special:Version|the English Wikipedia]]

== Documentation ==

[[Image:Phpdoc-logo-trans.png|right|150px|MediaWiki API documentation uses the phpDocumentor]]
* [[m:Help:Contents|MediaWiki User's Guide]] and [[m:Help:MediaWiki architecture|MediaWiki architecture]] on Meta
* [[m:Help:Installation|Installation Guide]]
* [[m:MediaWiki FAQ|The FAQ]] - please read this before asking questions
* [http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/wikipedia/phase3/README?rev=HEAD&content-type=text/vnd.viewcvs-markup README] file.
* The [http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/wikipedia/phase3/docs/ docs] directory in the source
* And if everything else fails, have a look into the source. It is reasonably well structured, so chances are good that you'll find an answer (provided you have knowledge in PHP and MySQL, of course)
* [http://wikipedia.sourceforge.net/doc/ Autogenerated documentation of the source code]

== Download ==
[[Image:Sourceforge.net logo.png|right|SourceForge logo image]]
Download of <font color="#f00">M</font>edia<font color="#f00">W</font>iki software is available on
[[:en:Sourceforge|SourceForge]] and its mirrors.

* [http://sourceforge.net/projects/wikipedia http://sourceforge.net/projects/<font color="#f00">w</font>iki<font color="#f00">p</font>edia]
** current stable version is 1.4.7 (July 16, 2005) ([{{download|mediawiki-1.4.7.tar.gz}} mediawiki-1.4.7.tar.gz])
** last version is 1.5beta4 (July 30, 2005) ([{{download|mediawiki-1.5beta4.tar.gz}} mediawiki-1.5beta4.tar.gz])
** read the releases descriptions [[#Current Releases|below]]
** read the [[m:Help:Installation|installation guide]]


== Communication ==
<!-- mind it's not only mailing lists, also wiki, irc, bugzilla, etc) -->

[[Image:Metawiki.png|right|100px|Metawiki logo]]
* [http://mail.wikimedia.org/mailman/listinfo/mediawiki-l mediawiki-l] is the mailing list to ask for support. Please check the archives first!
* [http://mail.wikimedia.org/mailman/listinfo/wikitech-l wikitech-l] is the mailing list where script development is coordinated.
* [http://meta.wikimedia.org/ Wikimedia's Meta wiki] is where documents are managed and proposals are discussed.
* [irc://irc.freenode.net/mediawiki #MediaWiki on irc.freenode.net] is the IRC channel for realtime communication
* [http://bugzilla.wikimedia.org/ "MediaZilla"] is where wishes and bugs may be reported or browsed.

<br />
<br />

== Customisation ==

[[Image:Tournesol.png|right|100px|yellow flower image]]<!-- TODO : complete this section with links to meta -->
MediaWiki can be customized in several ways.
* Configuration parameters may be easely defined in a [[m:File LocalSettings.php|LocalSettings.php]] file
* Look and feel can be modified. Read the [[#Skins|skins]] subsection below.
* Extensions and patches are provided by the community. They generally fall into one of these categories&nbsp;:
** Extensions defining a new [[m:Wiki Tag|wiki tag]]
** Extensions defining a new [[m:Special Page|special page]]
** Patches and other types of extensions
* MediaWiki is, of course, multilingual.

MediaWiki is distributed with a [[:en:GPL|GPL]] license. You may thus also contribute by your own skins, extensions and patches.
=== Skins ===

<!-- [[Image:Tournesol.png|right|100px|yellow flower image]] -->
Information and links on how to customize MediaWiki
* [[m:Skins|Skins Main Page]]
* [[m:Gallery of user styles|Gallery of user styles]]
* [[m:MediaWiki look and feel|MediaWiki look and feel]]
<br />

== Wikimedia Sites ==
<div style="background-color:#f9f9f9; width:auto; border:3px double #4b0082; margin:1em; padding:1em;">
[[Image:Wikimedia-button1.png|right|WikiMedia Foundation Inc. logo image]]
Wikimedia sites are generally displaying this icon
near the bottom left corner of their pages.<br />
Avoid a possible confusion between the words:
* '''<font color="#f00">M</font>edia<font color="#f00">W</font>iki''' (the software, this site)
* '''<font color="#f00">W</font>iki<font color="#f00">M</font>edia''' (the foundation, the miscellaneous projects listed below)
* '''<font color="#f00">W</font>iki<font color="#f00">P</font>edia''' (the encyclo<font color="#f00">p</font>edia)
</div>

[[Image:Wikisource.jpg|right|100px|Wikisource logo image]]

* [http://www.wikimedia.org Wikimedia projects]
** [http://wikimediafoundation.org/ Wikimedia Foundation]
*** http://www.wikipedia.org/
*** http://wiktionary.org
*** http://quote.wikipedia.org
*** http://wikibooks.org
*** http://www.wikisource.org
*** http://www.wikinews.org
*** http://commons.wikimedia.org
*** http://species.wikipedia.org/
* [http://download.wikimedia.org Download area]

== Development and Usage ==

[[Image:Bug.png|right|110px|All your bug are belong to me!]]
* [[m:MediaWiki feature list|MediaWiki feature list]]
** Browse and [http://bugzilla.wikimedia.org/ report wishes and bugs] on <span style="color:#f00;">M</span>edia<span style="color:#f00;">Z</font>illa (based on [[:en:Bugzilla|Bugzilla]])
** Browse old list of [http://sourceforge.net/tracker/?atid=411195&group_id=34373&func=browse feature requests] (on [[:en:Sourceforge|SourceForge]])
** Browse ''old'' list of ''fixed'' [http://sourceforge.net/tracker/?atid=411192&group_id=34373&func=browse bugs] (those ''not fixed'' before the switch to bugzilla were migrated to <span style="color:#f00;">M</span>edia<span style="color:#f00;">Z</span>illa)
* [[m:Development policy|Development policy]]


* [[m:Sites using MediaWiki|Sites using MediaWiki]] (add yours!)
<br style="clear:both;" />

==Important Release Notes==

===Stable releases series 1.4.x===

<div style="border:3px dashed #4b0082; background-color:#f0fff0; padding:1em; margin:1em;">

<span style="color:red;">1.4.7 released 2005-07-16</span>: Stable series bugfix release

[{{download|mediawiki-1.4.7.tar.gz}} mediawiki-1.4.7.tar.gz]

:'''MediaWiki 1.4.7''' is a bug fix release. Those affected by the following problems in 1.4.6 should upgrade:

:* Watchlist breakage on MySQL 3.23.x and with table prefix enabled
:* Possible breakage in watchlist, some image resizing modes on PHP 4.1.2

:<span style="color:red;">1.4.6 included a fix for a cross-site scripting vulnerability, so anyone running older 1.4 releases is very strongly encouraged to upgrade as well.</span>

:Note to upgraders: current versions of MediaWiki are known to produce a large number of notice-level warnings under the newly released PHP 4.4.0. These appear however to be harmless; if you encounter them add this to your LocalSettings.php to suppress the notices:

::<code>error_reporting( E_ALL & ~E_NOTICE );</code>

:PHP 5.1.0beta3 is known to be incompatible at this time.

:'''Changes since last release''': ([http://sourceforge.net/project/shownotes.php?release_id=342530 full release notes])

:* ([[MediaZilla:2755]], [[MediaZilla:2747]]) MySQL 3.23.x and table prefix compatibility fix: restore old watchlist code
:* PHP 4.1.2 compatibility fix: define floatval() equivalent if missing

</div>

<br />

<div style="border:3px dotted #4b0082; background-color:#fff0f0; padding:1em; margin:1em;">

<span style="color:red;">1.4.6 released 2005-07-07</span>: Stable series security and bugfix release. For details of this and all earlier releases, please see [http://wikipedia.sourceforge.net/index.php.old the old main page at wikipedia.sourceforge.net].

</div>
<br />

===<span style="color:blue">Beta preview releases 1.5</span>===

<div style="border:3px dotted #4b0082; background-color:#fff0f0; padding:1em; margin:1em;">

<span style="color:red;">1.5beta4 released 2005-07-30</span>: '''Beta of next major release'''

[{{download|mediawiki-1.5beta4.tar.gz}} mediawiki-1.5beta4.tar.gz]

:MediaWiki 1.5 beta 4 is a preview release of the new 1.5 release series, with a number of bug fixes.
:'''Changes since last release''': ([http://sourceforge.net/project/shownotes.php?release_id=345894 full release notes])

</div>

<div style="border:3px dotted #4b0082; background-color:#fff0f0; padding:1em; margin:1em;">

<span style="color:red;">1.5beta3 released 2005-07-07</span>: '''Beta of next major release'''

[{{download|mediawiki-1.5beta3.tar.gz}} mediawiki-1.5beta3.tar.gz]

:MediaWiki 1.5 beta 3 is a preview release of the new 1.5 release series, with a security update over beta 2. Third-party users should probably not use this beta release to run a public site unless paying close attention to development and ongoing releases.

:A number of significant changes have been made since the alpha releases, including database changes and a reworking of the user permissions settings. See the file [http://cvs.sourceforge.net/viewcvs.py/*checkout*/wikipedia/phase3/UPGRADE?rev=1.11 UPGRADE] for details of upgrading and changing your prior configuration settings for the new system.

:'''Changes since last release''': ([http://sourceforge.net/project/shownotes.php?release_id=340291 full release notes])

</div>

Latest revision as of 18:14, 29 December 2023

MediaWiki is a collaboration and documentation platform brought to you by a vibrant community.

The MediaWiki software is used by tens of thousands of websites and thousands of companies and organisations. It powers Wikipedia and also this website. MediaWiki helps you collect and organise knowledge and make it available to people. It's powerful, multilingual, free and open, extensible, customisable, reliable, and free of charge. Find out more and if MediaWiki is right for you.

Set up and run MediaWiki

Develop and extend code

Get help and contribute

News

2024-05-03 to 2024-05-05
Maintenance update Wikimedia Hackathon 2024 in Tallinn, Estonia.
2024-04-17 to 2024-04-19
Maintenance update MediaWiki Users and Developers Conference Spring 2024 in Portland, OR (USA). (View livestream)
2024-03-28
Security MediaWiki 1.39.7, 1.40.3 and 1.41.1 security releases are now available.
2023-12-21
Release MediaWiki 1.41.0 is now available.
Maintenance update MediaWiki 1.35.x versions are now end of life.
Security MediaWiki 1.35.14, 1.39.6 and 1.40.2 security releases are now available.

More news