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

最新版

Download MediaWiki 1.41.0 (.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 1.38 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 (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 PHP 8, it is recommended to use MediaWiki 1.38.4 or higher. PHP 8 is not in use by Wikimedia wikis, and thus gets less testing, but other groups do use MediaWiki with PHP 8 without issue. If you encounter any bugs when using MediaWiki with PHP 8, please report them. See task T248925 for more information.


Download via command line

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

wget https://releases.wikimedia.org/mediawiki/1.41/mediawiki-1.41.0.tar.gz

Alternatively, using cURL:

curl -O https://releases.wikimedia.org/mediawiki/1.41/mediawiki-1.41.0.tar.gz

由 Git 下載

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

Keep in mind that you are downloading the latest alpha version of MediaWiki, which is not recommended for production use! Although this can be used in production, it is more likely to contain bugs.

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.

第啲單撈

改用手動安裝

有啲用戶可能會想用預先整合好嘅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單撈晒成個完整嘅儲存庫(大約528MiB左右)

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

定淨係喺返最後版本(大約85MiB左右;呢個通常叫做「影子複製」:少啲時間同最少化嘅下載)[1]

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

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

歸檔

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

Footnotes

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