Semantic MediaWiki 4.1.3

Semantic MediaWiki 4.1.3Semantic MediaWiki 4.1.3
This page is a translated version of the page Semantic MediaWiki 4.1.3 and the translation is 100% complete.

Semantic MediaWiki 4.1.3
Release date: February 17, 2024
Previous version: Semantic MediaWiki 4.1.2
Compatible with: MW 1.35.0 - 1.39.x
Current version:
SMW 4.2.0

Versie 4.1.3 van Semantic MediaWiki is de derde uitgave na de hoofduitgave Semantic MediaWiki 4.1.0. Het is een onderhoudsuitgave die de versiecompatibiliteit met MediaWiki 1.39 en PHP 8.1 verhoogt en voorziet in verbeteringen van fouten en bijgewerkte vertalingen. Zie de Engelstalige RELEASE NOTES onderaan deze pagina voor meer informatie.

Raadpleeg de hulppagina’s over het installeren of bijwerken van Semantic MediaWiki voor gedetailleerde instructies.

Semantic MediaWiki 4.1.3

Released on February 17th, 2023.


This is a patch release. Thus it contains only bug fixes. No new features or breaking changes.

This release contains security patches and improves support for modern PHP and MediaWiki. Upgrading is recommended for all users.

Breaking changes

  • This version of SemanticMediaWiki requires Elasticsearch 7.10, with a change of configuration (see below) - this is only a problem if you enabled ElasticStore


  • Fixed several XSS issues
  • Improved support for PHP 8.1 and above
  • Improved support for MediaWiki 1.39 and above
  • Various minor performance improvements, especially for multi-database setups
  • Fixed Special:PageProperty (thanks thomas-topway-it)
  • Improved compatibility with OpenSearch and recent versions of ElasticSearch
  • Improved PostgreSQL compatibility
  • Added ability to disable the upgrade key check via the smwgIgnoreUpgradeKeyCheck setting
  • Improved various interface messages
  • Translation updates


Top Contributors

Code Contributors

  • Máté Szabó
  • Niklas Laxström
  • Jeroen De Dauw
  • Marijn van Wezel
  • H. C. Kruse
  • thomas-topway-it
  • Bernhard Krabina
  • Tomasz Tomalak
  • paladox
  • Abijeet
  • Abijeet Patro
  • C. Scott Ananian
  • Jon Harald Søby
  • Michael Erdmann
  • Simon Stier
  • Someone
  • Winston Sung
  • Youri vd Bogert
  • Yvar
  • Zoran Dori
  • wgevaert
  • Łukasz Harasimowicz
  • 星河


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 4.0.0, ensure the SMW version in composer.json is ^4.1.3
  • 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 that 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

Upgrading Elasticsearch:

This version of SMW uses Elasticsearch 7.10.2 (if you have enabled it). If you are using Elasticsearch as a backend, then you need to perform the following changes:

  • Step 1: Upgrade your version of Elasticsearch to 7.10.2 (if you are using docker that should work without any other action than changing the version number)
  • Step 2: Make sure your version of the elasticsearch package is right, you might want to add it to the composer.local.json: COMPOSER=composer.local.json composer require elasticsearch/elasticsearch "7.17.2"
  • Step 3: Add $smwgElasticsearchCredentials after $smwgElasticsearchEndpoints:

``` $smwgElasticsearchEndpoints = [ [ 'host' => $elasticSearchHost, 'port' => 9200, 'scheme' => 'http' ] ];

$smwgElasticsearchCredentials = [ 'user' => $elasticuser, 'pass' => $elasticpassword, ]; ```

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.