$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 |
$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 RFC 39872. The configuration parameter was introduced in Semantic MediaWiki 2.5.0Released on 14 March 2017 and compatible with MW 1.23.0 - 1.29.x..3
Default setting[edit]
$smwgExportResourcesAsIri = true;
This means that resources are exported as IRIs (Internationalized Resource Identifiers).
Changing the default setting[edit]
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
- ^ RFC 3987: Internationalized Resource Identifiers (IRIs)
- ^ Semantic MediaWiki: GitHub pull request gh:smw:2207
- ^ Semantic MediaWiki: GitHub pull request gh:smw:2788