语义MediaWiki 4.1.2

From semantic-mediawiki.org
Semantic MediaWiki 4.1.2语义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
发行日期: July 29, 2023
上个版本: Semantic MediaWiki 4.1.1
兼容 MW 1.35.0 - 1.39.x
当前版本:
SMW 4.1.3

语义MediaWiki4.1.2版本语义MediaWiki 4.1.0主要发行版本后的第二个发行版本。这是一个维护发行版本,增加与MediaWiki 1.39和PHP 8.1的版本兼容性,并提供错误修复和翻译更新。更多信息请查阅本页下方的英语发行说明。

请查阅有关安装升级语义MediaWiki的帮助页面,获取相关操作方法的详细说明。

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.