Error message shown for a missing upgrade key (en)

Starting with Semantic MediaWiki 3.0.0Released on 11 October 2018 and compatible with MW 1.27.0 - 1.31.x., the software is checking1 the consistency of its database schema using an internal upgrade key. If an update contains changes to the database schema (e.g. a new field, index etc.), or if the content of related configuration parameter $smwgFixedPropertiesSets user defined properties to have a dedicated database table for them and/or configuration parameter $smwgPageSpecialPropertiesSets the page related special properties to be used is altered then it is required to either run the maintenance script "update.php" ( or maintenance script "setupStore.php"Allows to set up the data backend/store.

In cases where the upgrade key does not match an error message is shown to intervene visibly and early to avoid inconsistent DB data updates or administrative messages23 later during an article update.

See also[edit]

Related pages about upgrading Semantic MediaWiki:


  1. ^  Semantic MediaWiki: GitHub pull request gh:smw:3095
  2. ^  ... RuntimeException from line 303 of ... MediaWiki\Database.php: A database query error has occurred. Did you forget to run your application's database schema updater after upgrading? ...
  3. ^  A database query error has occurred. This may indicate a bug in the software. [a833f4b26fe85a741b68abc6] 2018-03-21 12:30:08: Fatal exception of type "Wikimedia\Rdbms\DBQueryError"