$smwg­Upgrade­Key

From Linux Web Expert


Template:Interlanguagelink: en
Configuration parameter details:
Name $smwgUpgradeKey
Description Sets the current database schema version
Default setting See below
Software Semantic MediaWiki
Since version
Until version still available
Configuration Internal
Keyword data store · setup · upgrade · update · internal


__NOBREADCRUMBLINKS__

$smwgUpgradeKey is an internal configuration parameter that sets the current database schema version for Semantic MediaWiki. The configuration parameter was introduced in Semantic MediaWiki 3.0.0Released on an unknown date unknown versions of MediaWiki123 and adapted in Semantic MediaWiki 3.0.1Released on an unknown date unknown versions of MediaWiki4.

The setting to this configuration parameter allows to verify that a complete setup, update or upgrade using maintenance script "setupStore.php"No description was provided. or maintenance script "update.php" (MediaWiki.org) 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.

It is possible to configure the location where the ".smw.json" file is located via configuration parameter $smwgConfigFileDirSets the directory for storing the setup information file ensuring database consistency which defaults to Semantic MediaWiki's root directory.

Default setting

$smwgUpgradeKey => 'smw:2018-09-01';
// Key at the time of the release of SMW 3.0.1

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

Changing the default setting

This configuration parameter must not be modified manually by wiki system administrators or administrators.

Whenever a database table change occurs, the setting to this configuration parameter (smw:YYYY-MM-DD) is changed by the programmers of extension "Semantic MediaWiki"No description was provided. only to reflect the requirement for the wiki administrator to follow the processes as outlined in the installation, update and upgrade manual.

See also

#scite could not render a citation text for reference "gh:smw:3095" because type "pullrequest" was not assigned to a template.
#scite could not render a citation text for reference "gh:smw:3100" because type "pullrequest" was not assigned to a template.
#scite could not render a citation text for reference "gh:smw:3207" because type "pullrequest" was not assigned to a template.

References

  1. ^ gh:smw:3095 
  2. ^ gh:smw:3100 
  3. ^ gh:smw:3207 
  4. ^ gh:smw:3596