Download

From mediawiki.org

Latest release

Download MediaWiki 1.38.2 (.zip)

Download .tar.gz instead

Help with downloading

Most computers can extract a zip file without additional software.

Users of 7-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 that The Unarchiver is unable to extract .tar.gz files correctly (T258716). Archive Utility can be used instead.

All versions

To users of MediaWiki versions version 1.36 and 1.34 and earlier: These versions are no longer supported. Please update to a newer version of MediaWiki.

License

MediaWiki is free software licensed under version 2 of the GNU General Public License. Because MediaWiki is licensed free of charge, there is no warranty, to the extent permitted by applicable law. Read the full text of the GNU GPL version 2 for details.

System Requirements

MediaWiki requires PHP 7.3.19/7.4.3+, a webserver software, and either MariaDB 10.1.0+, MySQL 5.5.8+, SQLite or PostgreSQL . For more information, please read the pages on system requirements and compatibility.

MediaWiki is not compatible with PHP 7.3.0 - 7.3.18 and 7.4.0 - 7.4.2 due to an upstream bug. Use PHP 7.3.19+ or 7.4.3+ instead. See task T246594 for more information.
Support for PHP 8.0 in MediaWiki is experimental. We are not aware of any issues, but it is not as well tested as PHP 7. PHP 8.1 is not supported. See task T248925 for more information.


Download via command line

To download MediaWiki 1.38.2 in a terminal on a Linux machine using wget, use one of the following commands:

wget https://releases.wikimedia.org/mediawiki/1.38/mediawiki-1.38.2.tar.gz

Alternatively, using cURL:

curl -O https://releases.wikimedia.org/mediawiki/1.38/mediawiki-1.38.2.tar.gz

Download from Git (for developers)

Active MediaWiki developers should instead download from Git to 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 via Composer .

Signature downloads

Alternatives to manual installation

Some users may prefer to skip manual installation by using a pre-integrated MediaWiki software appliance or hosting services. Repositories of some Linux distributions also increasingly offer packages for MediaWiki, with different degrees of frequency and extensions coverage (e.g. Debian, 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 as mediawiki-master.tar.gz, or download from Git.

From Git you can either download the complete repository (about 528 MiB)

git clone https://gerrit.wikimedia.org/r/mediawiki/core.git

or the latest revision only (about 85 MiB; this is often called a shallow clone: less time and smaller downloads).[1]

git clone --depth 1 https://gerrit.wikimedia.org/r/mediawiki/core.git

You can also view the latest source code in your browser.

Old releases

You can find tarballs (with extension *.tar.gz) of all versions of MediaWiki back to March 2005 (the earliest being MediaWiki 1.3.11) in the MediaWiki download archives.

Footnotes

  1. This could cause reference problems when you later use "git pull" to upgrade your shallow clone and 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.