Semantic MediaWiki 4.1.2

From semantic-mediawiki.org
Semantic MediaWiki 4.1.2
Release date: July 29, 2023
Previous version: Semantic MediaWiki 4.1.1
Compatible with: MW 1.35.0 - 1.39.x
Current version:
SMW 4.1.3

Version 4.1.2 of Semantic MediaWiki is the second release after the main Semantic MediaWiki 4.1.0 release. It is a maintenance release that increases version compatibility with MediaWiki 1.39 and PHP 8.1 and provides bug fixes and translation updates. See the English language RELEASE NOTES below on this page for further information.

Please refer to the help pages on installing or upgrading Semantic MediaWiki to get detailed instructions on how to do this.

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