Semantic MediaWiki 4.2.0

From semantic-mediawiki.org
This page contains changes which are not marked for translation.

Semantic MediaWiki 4.2.0
Release date: July 18, 2024
Previous version: Semantic MediaWiki 4.1.3
Compatible with: MW 1.35.0 - 1.41.x
Current version:
SMW 4.2.0

Version 4.2.0 of Semantic MediaWiki is a main release. It is a feature release that brings a faceted search interface (Special:FacetedSearch) and adds the source parameter to the "ask" and "askargs" API modules. It also contains maintenance and translation updates for system messages. 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 for detailed instructions on how to do this.

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