Semantic MediaWiki 4.0.0

From semantic-mediawiki.org
Semantic MediaWiki 4.0.0Semantic MediaWiki 4.0.0


Semantic MediaWiki 4.0.0
Release date: January 18, 2022
Previous version: Semantic MediaWiki 3.2.3
Next version: Semantic MediaWiki 4.0.1
Compatible with: MW 1.35.0 - 1.37.x
Current version:
SMW 4.1.3

Version 4.0.0 of Semantic MediaWiki is the next major release after the Semantic MediaWiki 3.2.0 release. It introduces a new feature, enhances existing functionality, provides bugfixes and further increases platform stability and compatibility. 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.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 combination "en":"Semantic MediaWiki 4.0.0" already exists for page "Semantic MediaWiki 4.0.0" therefore no additional interlanguage annotation was created.