Semantic MediaWiki 4.1.2

From semantic-mediawiki.org
Semantic MediaWiki 4.1.2Semantic MediaWiki 4.1.2
This page is a translated version of the page Semantic MediaWiki 4.1.2 and the translation is 100% complete.

Semantic MediaWiki 4.1.2
Date de sortie: 29 07 2023
Version précédente : Semantic MediaWiki 4.1.1
Compatible avec (en) : MW 1.35.0 - 1.39.x
Dernière version :
SMW 4.1.3

La Version 4.1.2 de Semantic MediaWiki est la nouvelle publication après la version principale Semantic MediaWiki 4.1.0. Il s'agit d'une publication de maintenance qui améliore la compatibilité de version avec MediaWiki 1.39 et PHP 8.1, et apporte son lot de corrections de bogues ainsi que des mises à jour de traduction. Voir les Notes de version en anglais en bas de la page pour plus de renseignements.

Veuillez vous reporter aux pages d'aide concernant l'installation ou la mise à jour de Semantic MediaWiki pour avoir les instructions détaillées sur la manière de faire ceci.

Semantic MediaWiki 4.1.2

Released on July 29th, 2023.

Summary

This is a patch release. Thus it contains only bug fixes. No new features or breaking changes.

This release improves compatibility with MediaWiki 1.39 and PHP 8.1.

Changes

  • Added compatibility with wikimedia/cdb 3.x, needed for MediaWiki 1.41
  • Fixed PHP 8.1 compatibility issue (thanks HamishSlater)
  • Fixed change propagation issue (thanks Niklas Laxström)
  • Fixed warning being spammed in the logs (thanks octfx)
  • Fixed logging flag issue (thanks cicalese)
  • Avoid unnecessary primary DB query (thanks Máté Szabó)
  • Stop using PrevNextNavigationRenderer as it is deprecated in MediaWiki 1.39 (thanks Abijeet)
  • Translation updates

Upgrading

No need to run "update.php" or any other migration scripts.

Get the new version via Composer:

  • Step 1: if you are upgrading from SMW older than 4.0.0, ensure the SMW version in composer.json is ^4.1.2
  • Step 2: run composer in your MediaWiki directory: composer update --no-dev --optimize-autoloader

Get the new version via Git:

This is only for those that have installed SMW via Git.

  • Step 1: do a git pull in the SemanticMediaWiki directory
  • Step 2: run composer update --no-dev --optimize-autoloader in the MediaWiki directory
The parser function was called multiple times but with a different language code ("en") which is to be avoided as content of a page is generally expected to be represented by a single language.