Version lifecycle/zh

MediaWiki operates on a "continuous integration" development model, where software changes are pushed live to Wikimedia web sites such as Wikipedia on a regular basis.

In theory, new major releases are issued on a half-year basis, and release branches continue to receive security updates for up to a year as of first release. Due to time constraints and rapid refactoring of the code base, we cannot support obsolete releases forever, and security and critical updates are not applied to releases which have reached their end of life status.

The release manager strongly recommends that wiki operators subscribe to the  mailing list, which receives notification of all releases, and ensure that their wiki runs the most up to date version of the software possible. These announcements are also posted to  and.

版本与对应的支持时长
Versions included in this table that are marked as obsolete will not receive any security fixes. The release manager has also issued a strong recommendation that only versions listed above as current version or legacy version should be used in a production environment. They may contain critical security vulnerabilities and other major bugs, including the threat of possible data loss and/or corruption.

发行方针

 * 每次新版本发布之间间隔6个月.


 * 长期支持版本（LTS）每两年发布一次. 新的LTS版本第一年会与上个LTS版本的最后一年重复支持. 例如1.19版支持截止到2015年. 1.23版会在1.19版终止支持一年前发布以提供足够时间迁移.


 * Release notes will continue to be the basis for seeing what has changed. Because of the nature of a volunteer-driven project, it isn't possible to say with any certainty what will happen in the next 6-12 months.


 * To mitigate the problem of release notes, we will publish a list of new features in the upcoming LTS relative to the last LTS six months before it comes out. This means that about the time when 1.22 comes out, we'll have an announcement for 1.19 users letting them know what changes they can expect in 1.23.


 * Point releases will be made at least monthly, on the last Thursday of the month. Every point release will include updated i18n files as well as any bug fixes. No new features will be back-ported to point releases and support doesn't include extensions in general, see below (e.g. Extension:UniversalLanguageSelector doesn't support current LTS).

拓展生命周期管理
Most MediaWiki installation include a significant number of extensions (WMF MediaWikis often around 80 extensions). Managing the maintenance bug fixing of extensions and choosing the right version of an extension in cases where the HEAD development version relies on features not yet available in stable or oldstable MediaWiki core, is a major challenge for all maintainers of MediaWiki installations.

Extension maintainers are therefore strongly encouraged to maintain a git tag or branch for their version corresponding to the release tag the stable and oldstable version. An initial version, that simply points to the state of the code at the time of the release may be created centrally. However, it is the responsibility of the extension maintainer to fix bugs not only in HEAD but also in the oldstable and stable versions. If the extension works with all of oldstable, stable and HEAD, this requires only to update the tags. However, if some changes are specific to later versions, the lifecycle rule require that branches are created and individual merges of the bugfix to each branch be made.

The goal of these rules is that people or organizations installing MediaWiki can rely on installing the newest release of a version and matching extensions by a simple method, e.g. for 1.20.x core by referring to REL1_20 in git.

外部链接

 * Generators on WikiApiary - Statistics about the use of different versions of MediaMiki.