Download
Latest release
Most computers can extract a zip file without additional software.
Users of7-Zip:Note that prior to 2021, 7-Zip was unable to extract.tar.gz files correctly (T257102). It is recommended to update to the latest version first.
Users of macOS: Note thatThe Unarchiveris unable to extract.tar.gz files correctly (T258716).Archive Utilitycan be used instead.
- MediaWiki 1.42.1 (download.zip,download.tar.gz) - stable
- MediaWiki 1.41.2 (download.zip,download.tar.gz) - legacy
- MediaWiki 1.39.8 (download.zip,download.tar.gz) - long-term support (LTS)
To users of MediaWiki versions 1.40 and 1.38 and earlier: These versions are no longer supported. Please update to a newer version of MediaWiki.
MediaWiki isfree softwarelicensed under version 2 (or later version) of theGNU General Public License. Because MediaWiki is licensed free of charge, there is no warranty, to the extent permitted by applicable law. Readthe full text of the GNU GPL version 2 for details.
System Requirements
MediaWiki requires PHP 8.1.0+, a webserver software, and eitherMariaDB 10.3.0+,MySQL 5.7.0+,SQLite3.8.0+ orPostgreSQL 10.0+. Using MariaDB or MySQL is recommended as Wikipedia uses MariaDB. Any other database servers are less tested and you may likely run into some bugs.
For more information, please read the pages onsystem requirementsandcompatibility.
Download via command line
To download MediaWiki 1.42.1 in a terminal on a Linux machine usingwget,use one of the following commands:
wgethttps://releases.wikimedia.org/mediawiki/1.42/mediawiki-1.42.1.tar.gz
Alternatively, usingcURL:
curl -Ohttps://releases.wikimedia.org/mediawiki/1.42/mediawiki-1.42.1.tar.gz
Download from Git (for developers)
Active MediaWiki developers should insteaddownload from Gitto get the latest version of the MediaWiki software. The git repository has earlier versions of the software, so it is possible to switch to ( "check out" ) a particular release. Developers downloading from Git will also need to manually install dependencies viaComposer .
Developers wanting to install MediaWiki locally to have an environment for development of MediaWiki core or extensions should also readHow to become a MediaWiki hacker for further instructions.
Signature downloads
- GPG security signatures to verify your download withGNU Privacy Guard:
- MediaWiki 1.42.1- stable
- MediaWiki 1.39.8- current long-term support (LTS)
- GPG keys
- MediaWiki 1.42.1 changes including i18n(unified diff)
Alternatives to manual installation
Some users may prefer to skip manual installation by using a pre-integrated MediaWikisoftware applianceorhosting services. Repositories of someLinux distributionsalso increasingly offer packages for MediaWiki, with different degrees of frequency and extensions coverage e.g.Debian(including derivatives like Ubuntu), Fedora, Gentoo.
What next?
Subscribe to our release announcements mailing list. Stay up to date with releases, and keep your server secure!
Legacy releases
If your MediaWiki installation is heavily modified, it may be difficult to incorporate the latest official changes/updates to MediaWiki. To support such users, we maintain old branches of our code for up to a year for the legacy release and up to three years for the legacy long term support release.
Development releases
If you want to run on the latest development (i.e.alpha) version, you can either download it asmediawiki-master.tar.gz,ordownload from Git.
From Git you can either download thecomplete repository(about 528 MiB)
gitclonehttps://gerrit.wikimedia.org/r/mediawiki/core.git
or thelatest revision only(about 85 MiB; this is often called ashallow clone:less time and smaller downloads).[1]
gitclone--depth1https://gerrit.wikimedia.org/r/mediawiki/core.git
You can also view thelatest source codein your browser.
Old releases
You can find tarballs (with extension*.tar.gz
) of old versions of MediaWiki in theMediaWiki download archives.
Footnotes
- ↑ This could cause reference problems when you later use "git pull" to upgrade yourshallow cloneand the newer revision refers to older revisions which are not yet downloaded to your system. In such a case you can simply download more - increase the depth value - or all revisions later, or make a fresh shallow clone.