语义MediaWiki 4.0.2

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

Semantic MediaWiki 4.0.2
发行日期: July 21, 2022
上个版本: Semantic MediaWiki 4.0.1
下个版本: Semantic MediaWiki 4.1.0
兼容 MW 1.35.0 - 1.37.x
当前版本:
SMW 4.2.0

语义MediaWiki4.0.2版本语义MediaWiki 4.0.0主要发行版本后的第二个发行版本。这是一个安全和维护发行版本,提供错误修复和翻译更新。更多信息请查阅本页下方的英语发行说明。

我们建议用户尽快升级。

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

Semantic MediaWiki 4.0.2

Released on July 21, 2022.

Summary

This is a patch release, meaning that it contains only fixes and no breaking changes.

This release improves compatibility with MediaWiki 1.37 and 1.38. It also brings a fix for a security issue.

Users of MediaWiki 1.37 and later and Semantic MediaWiki 4.0.1 and earlier are encouraged to upgrade.

Upgrading

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.0.2
  • Step 2: run composer in your MediaWiki directory: composer update --no-dev --optimize-autoloader

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

Changes

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.