MediaWiki 1.42

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

edit

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

edit
  • Composer 1.x is no longer supported and cannot be used with MediaWiki.

New configuration

edit

Changed configuration

edit

Removed configuration

edit

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

edit

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.

  • (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

Subpages

edit