MediaWiki 1.42
Appearance
| MediaWiki |
|---|
|
| 所有版本 |
| 版本生命周期 |
MediaWiki 1.34是MediaWiki的过往版本。
参阅发行说明文件获取完整更新列表。
从2023年10月到2024年3月,通过增量更新的"wmf"-分支部署在维基媒体基金会管理的wiki上。
1.42.0的稳定版本已于2024年6月27日发行。
下载mediawiki-1.43.5.tar.gz或者使用git更新REL1_42分支来获得此版本。
MediaWiki 1.42 reached end-of-life with version 1.42.7 on 30 June 2025.
| MediaWiki 1.42 |
|---|
| 在维基媒体网站上部署 |
变更
Some specific notes for MediaWiki 1.42 upgrades are below:
- MediaWiki now requires Composer 2.x, and any related (vendor) files generated by Composer must be generated by Composer 2.x. Composer 1.x is mostly end-of-life upstream, and using it will result in slower actions when downloading and installing packages. See the upstream blog post at https://blog.packagist.com/deprecating-composer-1-support/ for further information.
For notes on 1.41.x and older releases, see HISTORY.
Configuration changes for system administrators in 1.42
- Composer 1.x is no longer supported and cannot be used with MediaWiki.
New configuration
- $wgMicroStashType: The object cache backend for the MicroStash service.
- $wgEditRecoveryExpiry: Number of seconds to keep edit recovery data after the edit is stored.
- $wgDjvuUseBoxedCommand and $wgDjvuShell: A temporary flag to control whether or not to use BoxedCommand when wrapping DejaVu rendering and the command to call if so.
- $wgConditionalUserOptions: It allows defining user properties with defaults varying by user without growing the
user_propertiestable. A typical use case is to enable a feature only for users created after a certain date. - $wgGrantRiskGroups: Grant risk levels indicate on various UIs which grants should be considered risky. (T290790)
- $wgTempAccountCreationThrottle: Like AccountCreationThrottle, but for managing temporary account creations.
Changed configuration
- $wgAutoCreateTempUser: 'matchPattern' now supports multiple match patterns.
- $wgLogActionsHandlers is now ObjectFactory compatible.
- $wgBotPasswordsCluster and $wgBotPasswordsDatabase have been deprecated; use
$wgVirtualDomainsMapping['virtual-botpasswords']instead. - The $wgMainPageIsDomainRoot setting is no longer considered experimental.
- $wgAutoCreateTempUser is updated to use a different format for temporary accounts. This configuration value is marked as unstable, so breaking changes were expected. If your wiki used temporary accounts before 1.42, you must override the configuration value to match the old format of *$1.
Removed configuration
- $wgDisableCookieCheck has been removed.
- $wgStatsCacheType has been removed. Set $wgMicroStashType instead.
- $wgJobSerialCommitThreshold has been removed without deprecation. According to a code search, it wasn't used anywhere, and any setups using this configuration will perform fine but might be less performant.
- $wgLogoHD, deprecated since 1.35, has been removed. Use $wgLogo instead.
- $wgContentHandlerTextFallback, deprecated since 1.37, has been removed. It is no longer customizable.
- $wgSquidPurgeUseHostHeader, deprecated since 1.33, has been removed. It is no longer customizable and always true.
- $wgAllowImageTag, deprecated since 1.35, has been removed. Register an extension tag named
<img>instead. - $wgMinimalPasswordLength and $wgMaximalPasswordLength, deprecated since 1.26, have been dropped. Use $wgPasswordPolicy instead.
- $wgUseMediaWikiUIEverywhere has been removed.
- $wgHTMLFormAllowTableFormat has been removed.
- $wgOpenSearchTemplate, deprecated since 1.25, has been removed. Use
$wgOpenSearchTemplates['application/x-suggestions+json']instead. - $wgUseSameSiteLegacyCookies has been removed.
New user-facing features in 1.42
- (T308160)
filter:is now allowed in inline CSS in wikitext - The vector 2022 skin is bundled with this and future releases.
New developer features in 1.42
- (T326466) MediaWikiIntegrationTestCase's database and set-up code now avoids using dynamic properties, which was causing deprecation warnings in PHP 8.2.
- (T13555) MediaWiki now includes styles that allow more accessible markup for section headings. MediaWiki's own HTML output will be changed in the future. More information: Heading HTML changes
- (T193472) PHP Notice and Warning errors that are silenced (e.g., by the "@" operator, error_reporting directive, or Wikimedia\AtEase) are now logged to a new "silenced-error" channel.
- (T347347) The CLI installer accepts a "--with-developmentsettings" argument to require the
DevelopmentSettings.phpfile at install time. - (T350054) MediaWiki's ResourceLoader has been updated to add basic support for code-splitting (aka "tree-shaking") when using the Codex component library. A ResourceLoader module can now specify a list of "codexComponents" in its module definition and ensure that only the code for those components gets sent to the client. More information: Codex § Loading a subset of Codex components (recommended for skins and extensions)
- (T345185) The
SessionProviderInterfacenow allows defining providers that are exempt from rights checks when auto-creating users.
Action API changes in 1.42
- APIQueryTags now includes "software" in the "source" array for software-generated tags. Reliance on this array's "extension" entries is now deprecated, but they will remain for backward compatibility.
Languages updated in 1.42
MediaWiki supports over 350 languages. Many localisations are updated regularly. Below, only new and removed languages are listed, as well as changes to languages because of Phabricator reports.
- (T268143) Language variant conversion has been removed for Kazakh.
- (T352776) Updated autonym spelling for the Mon language (mnw).
- (T351874) Added language support for Komering (kge).
- (T351992) Added language support for Efik (efi).
- (T352954) Added language support for Rutul (rut).
- (T353058) Added language support for Arbëresh (aae).
- (T353307) Added language support for Guadeloupean Creole (gcf).
- (T353500) Added language support for Southeastern Kolami (nit).
- (T354519) Added language support for Tooro (ttj).
- (T354926) Added language support for Nyoro (nyo).
- (T356616) Added language support for Chinook Jargon (chn).
- (T357879) Added language support for Ibibio (ibb).
参阅
- Discover MediaWiki 1.42 Features — Blog post about the MediaWiki 1.42 release; published June 27, 2024
Subpages
- MediaWiki 1.42/Roadmap
- MediaWiki 1.42/wmf.1
- MediaWiki 1.42/wmf.1/Changelog
- MediaWiki 1.42/wmf.10
- MediaWiki 1.42/wmf.10/Changelog
- MediaWiki 1.42/wmf.12
- MediaWiki 1.42/wmf.12/Changelog
- MediaWiki 1.42/wmf.13
- MediaWiki 1.42/wmf.13/Changelog
- MediaWiki 1.42/wmf.14
- MediaWiki 1.42/wmf.14/Changelog
- MediaWiki 1.42/wmf.15
- MediaWiki 1.42/wmf.15/Changelog
- MediaWiki 1.42/wmf.16
- MediaWiki 1.42/wmf.16/Changelog
- MediaWiki 1.42/wmf.17
- MediaWiki 1.42/wmf.17/Changelog
- MediaWiki 1.42/wmf.18
- MediaWiki 1.42/wmf.18/Changelog
- MediaWiki 1.42/wmf.19
- MediaWiki 1.42/wmf.19/Changelog
- MediaWiki 1.42/wmf.2
- MediaWiki 1.42/wmf.2/Changelog
- MediaWiki 1.42/wmf.20
- MediaWiki 1.42/wmf.20/Changelog
- MediaWiki 1.42/wmf.21
- MediaWiki 1.42/wmf.21/Changelog
- MediaWiki 1.42/wmf.22
- MediaWiki 1.42/wmf.22/Changelog
- MediaWiki 1.42/wmf.23
- MediaWiki 1.42/wmf.23/Changelog
- MediaWiki 1.42/wmf.24
- MediaWiki 1.42/wmf.24/Changelog
- MediaWiki 1.42/wmf.25
- MediaWiki 1.42/wmf.25/Changelog
- MediaWiki 1.42/wmf.26
- MediaWiki 1.42/wmf.26/Changelog
- MediaWiki 1.42/wmf.3
- MediaWiki 1.42/wmf.3/Changelog
- MediaWiki 1.42/wmf.4
- MediaWiki 1.42/wmf.4/Changelog
- MediaWiki 1.42/wmf.5
- MediaWiki 1.42/wmf.5/Changelog
- MediaWiki 1.42/wmf.7
- MediaWiki 1.42/wmf.7/Changelog
- MediaWiki 1.42/wmf.9
- MediaWiki 1.42/wmf.9/Changelog