Status: | effective |
Progress: | 100% |
Version: | 3.0.0+ |
$smwgExportResourcesAsIri
Configuration parameter details: | |||
Name | $smwgExportResourcesAsIri | ||
Description | Sets whether resources should be exported as IRIs (Internationalized Resource Identifiers) | ||
Default setting | true | ||
(Other) available settings |
|
||
Software | Semantic MediaWiki | ||
Since version | |||
Until version | still available | ||
Configuration | Store settings · RDF export | ||
Keyword | rdf · sparql · data exchange |
__NOBREADCRUMBLINKS__
$smwgExportResourcesAsIri
is a configuration parameter that sets whether resources should be exported as Internationalized Resource Identifiers (IRI)1, i.e. instead of having American Standard Code for Information Interchange (ASCII) encoded URI's the Universal Coded Character Set (UCS) is used for encoding according to
$smwgExportResourcesAsIri | |
---|---|
Component | General |
Creation date | {{{created}}} |
Author(s) | {{{author}}} |
Document status |
2. The configuration parameter was introduced in Semantic MediaWiki 2.5.0Released on an unknown date unknown versions of MediaWiki.3
Default setting
$smwgExportResourcesAsIri = true;
This means that resources are exported as IRIs (Internationalized Resource Identifiers).
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:
- Enable to export resources as IRIs
$smwgExportResourcesAsIri = false;
This means that resources are not exported as IRIs (Internationalized Resource Identifiers).
References
- ^ RDF 1.1 Concepts and Abstract Syntax: RDF Graphs - IRIs
- ^ ietf:rfc:3987
- ^ gh:smw:2207
- ^ gh:smw:2788