Semantic MediaWiki 5.1.0

From semantic-mediawiki.org
Semantic MediaWiki 5.1.0Semantic MediaWiki 5.1.0
This page is a translated version of the page Semantic MediaWiki 5.1.0 and the translation is 80% complete.

Outdated translations are marked like this.
Semantic MediaWiki 5.1.0
Veröffentlichungsdatum: 24.07.2025
Vorhergehende Version: SMW 5.1.0
Nachfolgende Version: SMW 6.0.0
Kompatibel mit (en): MW 1.39.0 - 1.43.1
Aktuelle Version:
SMW 6.0.1

Version 5.1.0 von Semantic MediaWiki ist die nächste Veröffentlichung nach der Version Semantic MediaWiki 5.0.2. Diese Wartungsveröffentlichung bietet zwei neue Konfigurationsparameter, Fehlerbehebungen sowie Übersetzungen von Systemnachrichten. Siehe hierzu auch die englischsprachige Veröffentlichungsmitteilung weiter unten auf dieser Seite für weitere Informationen.

Die Nutzer der Software werden gebeten, sie so schnell wie möglich zu aktualisieren.

Bitte lesen Sie die Hilfeseiten bezüglich der Installation oder Aktualisierung von Semantic MediaWiki für entsprechende detaillierte Erläuterungen.

Semantic MediaWiki 5.1.0

Released on July 24, 2025.

Summary

This is a minor release. Thus, it contains no breaking changes, only new features and fixes.

Like SMW 5.0.0, this version is compatible with MediaWiki 1.39 up to 1.43 and PHP 8.1 up to 8.4. For more detailed information, see the compatibility matrix.

SMW 5.1.0 brings two new configuration settings and enhances API outputs by including inverse properties. While this version also improves compatibility with MediaWiki 1.44, various issues remain, so this version is known to not yet support MediaWiki 1.44. We recommend SMW users stay on MediaWiki 1.43 LTS for now.

Upgrading

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

Get the new version via Composer:

  • Step 1: if you are upgrading from SMW older than 5.0.0, ensure the SMW version in composer.local.json is ^5.1.0
  • Step 2: run composer in your MediaWiki directory: composer update --no-dev --optimize-autoloader

Get the new version via Git:

This is only for those who have installed SMW via Git.

  • Step 1: do a git pull in the SemanticMediaWiki directory
  • Step 2: run composer update --no-dev --optimize-autoloader in the MediaWiki directory

Changes

  • Added smwgSetParserCacheTimestamp setting to allow disabling invalidation of the parser cache (by Professional Wiki)
  • Added smwgSetParserCacheKeys setting to give control over how the parser cache key is built (by Professional Wiki)
  • Added support for serializing inverse (incoming) properties in API output. The API output now contains a direction key (direct or inverse) for each property (by Gesinn.it)
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.