Semantic MediaWiki 4.0.0

From semantic-mediawiki.org
Semantic MediaWiki 4.0.0Semantic 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
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.0.1

Version 4.0.0 av Semantic MediaWiki är nästa större utgåva efter Semantic MediaWiki 3.1.0. Den introducerar flera nya funktioner, förbättrar befintlig funktionalitet, åtgärdar buggar och utökar plattformens stabilitet . Läs de engelskspråkiga RELEASE NOTES under den här sidan för vidare information.

Läs hjälpsidorna installering eller uppgradering av Semantic MediaWiki för att få detaljerad information om hur man går till väga.

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.4

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.