Status: | effective |
Progress: | 100% |
Version: | 2.5.0+ |
$smwgImportReqVersion
Configuration parameter details: | |
Name | $smwgImportReqVersion |
Description | Property "Has description" (as page type) with input value "Sets the contents import file version for legitimate files to be imported upon installation of "Semantic MediaWiki" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process. </br></br></br></br>Default setting</br>[[Has default" contains a listed "[" character as part of the property label and has therefore been classified as invalid. |
Software | Semantic MediaWiki |
Since version | |
Until version | still available |
Configuration | Installation |
Keyword | import vocabulary |
__NOBREADCRUMBLINKS__
$smwgImportReqVersion
is a configuration parameter that sets the contents import file version for legitimate files to be imported upon installation of Semantic MediaWiki. Moreover legitimate files are created in the .json format and are located in the directory specified with configuration parameter $smwgImportFileDirs
No description was provided.. It was introduced in Semantic MediaWiki 2.5.0Released on an unknown date unknown versions of MediaWiki.1
Default setting
$smwgImportReqVersion = 1;
This means that by default legitimate files holding file version 1 will be imported upon installation of Semantic MediaWiki.
Changing the default setting
To modify the setting to this configuration parameter, add one of the following lines to your "LocalSettings.php" file after the enableSemantics()
call:
- Change to another file version
$smwgImportReqVersion = 2;
This means that legitimate files holding version 2 will be imported upon installation of Semantic MediaWiki.
- Disable import of legitimate files
$smwgImportReqVersion = false;
This means that legitimate files will not be imported upon installation of Semantic MediaWiki.
See also
- Help page on contents import
- Help page on importing vocabulary
- Help page on configuration parameter
$smwgImportFileDirs
No description was provided.
References
- ^ gh:smw:2289