Help:$smwgUpgradeKey

is an internal configuration parameter that sets the current database schema version for Semantic MediaWiki. The configuration parameter was introduced in CiteRef::gh:smw:3095CiteRef::gh:smw:3100CiteRef::gh:smw:3207 and adapted in CiteRef::gh:smw:3596.

The setting to this configuration parameter allows to verify that a complete setup, update or upgrade using or  was done and hereby ensures a consistent database setup.



If the maintenance script was not run an "Update Error Screen" will be shown. Once the maintenance script was run, the ".smw.json" file will be updated and no longer causes the exception described.

See the help page on upgrading and on the setup information file for detailed information.

Default setting
This means that wiki instances with a different upgrade key will be noted prominently about a required database update.

Changing the default setting
Whenever a database table change occurs, the setting to this configuration parameter is changed by the programmers of  only to reflect the requirement for the wiki administrator to follow the processes as outlined in the installation, update and upgrade manual.