v3.1.0+
| Status: | effective |
| Progress: | 100% |
| Version: | 3.1.0+ |
The upgrade and setup check was introduce to validate the status of the database and settings that "shape" the structure of tables and indices. The local upgrade key (located in the setup information file ".smw.json") is compared against a computed key resulting from the $smwgUpgradeKeySets the current database schema version and other settings that influence the shape of the required tables.
In connection with an upgrade and the setup check the wiki may temporarily made inaccessible to an audience due to:
ERROR_SCHEMA_INVALID_KEYcode – A message will appear to require an administrator to take action to minimize any possibility of data loss due to changes in the database structure.MAINTENANCE MODEcode – A message will appear once the upgrade is in progress and the information screen will change its appearance and inform the audience about the maintenance status.
Related settings[edit]
- Help page on upgrading
- Help page on configuration parameter
$smwgUpgradeKeySets the current database schema version - Help page on configuration parameter
$smwgConfigFileDirSets the directory for storing the setup information file ensuring database consistency - Help page on configuration parameter
$smwgFixedPropertiesSets user defined properties to have a dedicated database table for them - Help page on configuration parameter
$smwgPageSpecialPropertiesSets the page related special properties to be used