This page is a translated version of the page Download and the translation is 76% complete.
Outdated translations are marked like this.


Download MediaWiki 1.40.1 (.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-1.38 and 1.34 and earlier: These versions are no longer supported. Please update to a newer version of MediaWiki.


MediaWiki is free software licensed under version 2 (or later version) 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.4.3+, a webserver software, and either MariaDB 10.3.0+, MySQL 5.7.0+, SQLite 3.8.0+ or PostgreSQL 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 on system requirements and compatibility.

MediaWiki is not compatible with PHP 7.4.0 - 7.4.2 due to an upstream bug. Use PHP 7.4.3+ instead. See task T246594 for more information.
If using PHP8, it is recommended to use MediaWiki 1.38.4+, or 1.39 or higher. PHP8 is not in use by Wikimedia wikis, and thus gets less testing, but other groups do use MediaWiki with PHP8 without issue. If you encounter any bugs when using MediaWiki with PHP8, please report them. See task T248925 for more information.

Download via command line

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


Alternatively, using cURL:

curl -O

由 Git 下載

活躍嘅 MediaWiki 開發人員應該由 Git 下載嚟下載 MediaWiki 嘅最新版本。 Git資料庫入面亦都呢個軟件舊啲嘅版本,所以可以切換(「檢查」)到您指定嗰個發佈版本。 Developers downloading from Git will also need to manually install dependencies via Composer .



有啲用戶可能會想用預先整合好嘅MediaWiki 軟件設備或者代管服務,跳過手動安裝,有啲Linux 發行版(例如Debian, Ubuntu, Fedora, Gentoo)嘅知識庫提供唔同程度同擴充配件嘅MediaWiki。 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).


訂閱我哋嘅發佈宣告電郵名單 保持緊密嘅發佈聯繫,保持你嘅伺服器安全!


如果你嘅 MediaWiki 安裝做過重大改動嘅話,佢可能好難去配合最新 MediaWiki 嘅官方更改同更新。為咗向呢啲用戶提供支援,我哋會維護我哋嘅代碼上至一年。


如果你想用最新開發版(即係 alpha),你可以下載 mediawiki-master.tar.gz,又或者係由Git下載


git clone


git clone --depth 1

你都可以用瀏覽器睇latest source code


你可以響我哋嘅下載伺服器度搵到返到去2005年3月(由 MediaWiki 1.3.11 開始)起MediaWiki嘅全部版本(用擴展"*".tar.gz):


  1. 當閣下之後用咗“git pull”升級「影子複製」嗰陣,亦會導致喺參考上嘅問題,並且較為新啲嘅版本係指仲未完成閣下所下載咗舊版本嘅系統。 喺呢種情況之下,閣下可以簡單噉下載多啲 - 增加返個深度值 - 抑或所有遲啲整嘅修訂,或者重新再製作過一個新嘅「影子複製」。