Semantic MediaWiki 4.0.0

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
Date de sortie: 18 01 2022
Version précédente : Semantic MediaWiki 3.2.3
Version suivante : Semantic MediaWiki 4.0.1
Compatible avec (en) : MW 1.35.0 - 1.37.x
Dernière version :
SMW 4.1.3

La version 4.0.0 de Semantic MediaWiki est la version majeure qui suit la Semantic MediaWiki 3.2.0 . Elle apporte une nouvelle fonction, enrichi l'existant, corrige les bogues et améliore la stabilité et la compatibilité de la plateforme. Pour plus d'information, voir plus bas sur cette page, les NOTES DE LIVRAISON en anglais.

Veuillez vous reporter aux pages d'aide concernant l'installation ou la mise à jour de Semantic MediaWiki pour avoir les instructions détaillées sur la manière de faire ceci.

Semantic MediaWiki 4.0.0

Released on January 18, 2022.


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.


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


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

wfLoadExtension( 'SemanticMediaWiki' ); enableSemantics( '' );

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


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.