Status: | effective |
Progress: | 100% |
Version: | 3.0.1+ |
$smwgUpgradeKey
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.
$smwgConfigFileDir
Sets 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
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
- Help page on upgrading
- Help page on the upgrade key
- Help page on the setup information file ".smw.json"
- Help page on configuration parameter
$smwgConfigFileDir
Sets the directory for storing the setup information file ensuring database consistency