语义MediaWiki 4.0.0

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

Semantic MediaWiki 4.0.0
发行日期: January 18, 2022
上个版本: Semantic MediaWiki 3.2.3
下个版本: Semantic MediaWiki 4.0.1
兼容 MW 1.35.0 - 1.37.x
当前版本:
SMW 4.1.3

语义MediaWiki4.0.0版本语义MediaWiki 3.2.0发行版本后的下一个主要发行版本。这个版本引入一项新功能,增强现有功能,提供错误修复,并进一步提高平台稳定性和兼容性。更多信息请查阅本页下方的英语发行说明。

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

Semantic MediaWiki 4.0.0

Released on January 18, 2022.

Summary

This release mainly brings support for recent versions of MediaWiki. A small number of fixes and enhancements where also made. Anyone using MediaWiki 1.35 is recommended to upgrade. Using versions of SMW older than 4.0 on MediaWiki 1.36 or above is not supported.

Compatibility

  • Added support for MediaWiki 1.36 and MediaWiki 1.37
  • Improved compatibility with MediaWiki 1.38, though this version still has many issues
  • Improved support for MediaWiki 1.35
  • Dropped support for MediaWiki older than 1.35
  • Dropped support for PHP older than 7.3

For more detailed information, see the compatibility matrix.

Upgrading

Calling wfLoadExtension is now required in the "LocalSettings.php" file. Example:

wfLoadExtension( 'SemanticMediaWiki' ); enableSemantics( 'example.org' );

There is no need to run the "update.php" maintenance script or any of the rebuild data scripts.

When a triplestore is used with the SPARQL feature SMW_SPARQL_QF_COLLATION, the "updateEntityCollation.php" maintenance script must be run (the collation sort key algorithm was changed).

New features

Enhancements

Bug fixes

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.