To download MediaWiki 1.42.1 in a terminal on a Linux machine using wget, use one of the following commands:
wget https://releases.wikimedia.
org/mediawiki/1.42/mediawiki-1.4
2.1.tar.gz
curl -O https://releases.wikimed
ia.org/mediawiki/1.42/mediawiki-
1.42.1.tar.gz
Developers wanting to install MediaWiki locally to have an environment for development of MediaWiki core or extensions should also read How to become a MediaWiki hacker for further instructions.
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.
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.
You can find tarballs (with extension *.tar.gz
) of old versions of MediaWiki in the MediaWiki download archives.