Semantic MediaWiki 4.2.0

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

Semantic MediaWiki 4.2.0
Date de sortie: 18 07 2024
Version précédente : Semantic MediaWiki 4.1.3
Compatible avec (en) : MW 1.35.0 - 1.41.x
Dernière version :
SMW 5.0.2

La version 4.2.0 de Semantic MediaWiki est une version principale. C'est une version de fonctionnalité qui fournit un interface de recherche à facettes (Special:FacetedSearch) et ajoute le paramètre source aux modules "ask" et "askargs" de l'API. Elle contient aussi les mises à jour de maintenance et la traduction de messages système. Voir les notes de version en anglais ci-dessous sur cette page pour les informations complémentaires.


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

Released on July 18th, 2024.

Summary

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

This release introduces the new faceted search feature, extends the "ask" and "askargs" API modules, improves documentation of Elasticsearch integration, and provides other fixes.

Changes

  • Improved compatibility with MediaWiki 1.40 and 1.41
  • Improved compatibility with PHP 8.2 (not complete yet)
  • Added faceted searching, which provides users with a simple interface (special page "FacetedSearch") to quickly narrow down query results from a condition with the help of faceted views created from dependent properties and categories (#5631)
  • Fixed ask queries with a conjunction of negations failing when using the Elasticsearch backend (#5651)
  • Added the "source" parameter to set a query source for queries using the API-modules "ask" and "askargs" (#5633)
  • Improved handling of logos (#5635)
  • Fixed error on special page "Ask" (#5616)
  • Updated and improved documentation for the Elasticsearch backend
  • Fixed property linking for languages with fallback languages (#5530, #5638)
  • Fixed footer sorting on table results (#5617)
  • Translation updates

Contributors

Top Contributors

  • Bertrand Gorge
  • Niklas Laxström
  • Mark A. Hershberger
  • Jaider Andrade Ferreira
  • Youri van den Bogert
  • alistair3149

Code Contributors

  • James Hong Kong
  • Bertrand Gorge
  • Niklas Laxström
  • Mark A. Hershberger
  • Jaider Andrade Ferreira
  • alistair3149
  • Yvar Nanlohij
  • thomas-topway-it
  • Robert Vogel
  • Jeroen De Dauw
  • Karsten Hoffmeyer
  • Translatewiki.net

Upgrading

Note: You need to run either "update.php" or "setupStore.php". Apart from that, no other script needs to be run.

Get the new version via Composer:

  • Step 1: if you are upgrading from SMW older than 4.0.0, ensure the SMW version in composer.json is ^4.2.0
  • Step 2: run composer in your MediaWiki directory: composer update --no-dev --optimize-autoloader
  • Step 3: run either MediaWiki's update.php or SemanticMediaWiki's setupStore.php maintenance script

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
  • Step 3: run either MediaWiki's update.php or SemanticMediaWiki's setupStore.php maintenance script
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.