MediaWiki 1.42
This page contains release notes for a stable version of MediaWiki. |
MediaWiki 1.42 is the current stable release of MediaWiki. Consult the RELEASE NOTES file for the full list of changes. It was deployed on Wikimedia Foundation wikis through incremental "wmf"-branches between October 2023 and March 2024. The 1.42.0 stable release came out on 27 June 2024. Download mediawiki-1.42.3.tar.gz or checkout the REL1_42
branch in Git to follow this release.
Changes
editSome 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
edit- Composer 1.x is no longer supported and cannot be used with MediaWiki.
New configuration
edit- $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_properties
table. 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. (phab:T290790)
- $wgTempAccountCreationThrottle: Like AccountCreationThrottle, but for managing temporary account creations.
Changed configuration
edit- $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
edit- $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
edit- (phab:T308160)
filter:
is now allowed in inline CSS in wikitext
New developer features in 1.42
edit- (phab:T326466) MediaWikiIntegrationTestCase's database and set-up code now avoids using dynamic properties, which was causing deprecation warnings in PHP 8.2.
- (phab: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: https://www.mediawiki.org/wiki/Heading_HTML_changes
- (phab: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.
- (phab:T347347) The CLI installer accepts a "--with-developmentsettings" argument to require the
DevelopmentSettings.php
file at install time. - (phab: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: https://www.mediawiki.org/wiki/Codex#Subset_of_components
- (phab:T345185) The
SessionProviderInterface
now allows defining providers that are exempt from rights checks when auto-creating users.
Action API changes in 1.42
edit- 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
editMediaWiki 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.
- (phab:T268143) Language variant conversion has been removed for Kazakh.
- (phab:T352776) Updated autonym spelling for the Mon language (mnw).
- (phab:T351874) Added language support for Komering (kge).
- (phab:T351992) Added language support for Efik (efi).
- (phab:T352954) Added language support for Rutul (rut).
- (phab:T353058) Added language support for Arbëresh (aae).
- (phab:T353307) Added language support for Guadeloupean Creole (gcf).
- (phab:T353500) Added language support for Southeastern Kolami (nit).
- (phab:T354519) Added language support for Tooro (ttj).
- (phab:T354926) Added language support for Nyoro (nyo).
- (phab:T356616) Added language support for Chinook Jargon (chn).
- (phab:T357879) Added language support for Ibibio (ibb).
See also
edit- Discover MediaWiki 1.42 Features — Blog post about the MediaWiki 1.42 release; published June 27, 2024
Subpages
edit- 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