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.

版本与对应的支持时长
在上表中列出的以及未列出的标记为过时的旧版本不会收到任何安全修复. 它们可能包含关键的安全漏洞或其他重要的错误，有包含数据丢失或损坏的威胁. 发布管理者也强烈建议只有上表列出的 当前版本 或 仍受支持的旧版本 才应被用于生产环境.

发行方针

 * 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. doesn't support current LTS).
 * 每次新版本发布之间间隔6个月.
 * 长期支持版本（LTS）每两年发布一次. 新的LTS版本第一年会与上个LTS版本的最后一年重复支持. 例如1.23版曾获支持至2017年5月. 1.27版在那一年之前发布，这样人们拥有可以迁移的LTS，并容许一年时间以进行过渡.
 * 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.26 came out, an announcement was made for 1.23 users letting them know what changes they could expect in 1.27.

发行时间轴
This timeline is a schedule for what needs to happen before the release of a new version. The date of the actual release is given here as T (for "time" of release) and the suffix -# (for “number of weeks prior to release”).

扩展生命周期管理
Most MediaWiki installation include a significant number of extensions (WMF MediaWikis often have around 140 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.

外部链接

 * WikiApiary上的Generators页面——关于不同版本MediaWiki的使用统计信息.