$smwgExportResourcesAsIri

From Linux Web Expert

Revision as of 13:46, 5 January 2019 by >Kghbln (better wording)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Template:Interlanguagelink: en
Configuration parameter details:
Name $smwgExportResourcesAsIri
Description Sets whether resources should be exported as IRIs (Internationalized Resource Identifiers)
Default setting true
(Other) available settings
false

Disables the export of resources as IRIs (Internationalized Resource Identifiers)

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

Request for comment (RFC)
$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

The default setting for this configuration parameter was changed starting with Semantic MediaWiki 3.0.0Released on an unknown date unknown versions of MediaWiki.4 See this version of the documentation available for releases prior to Semantic MediaWiki 3.0.0Released on an unknown date unknown versions of MediaWiki.

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).

#scite could not render a citation text for reference "gh:smw:2207" because type "pullrequest" was not assigned to a template.
#scite could not render a citation text for reference "gh:smw:2788" because type "pullrequest" was not assigned to a template.
#scite could not render a citation text for reference "ietf:rfc:3987" because type "rfc" was not assigned to a template.

References

  1. ^  RDF 1.1 Concepts and Abstract Syntax: RDF Graphs - IRIs
  2. ^ ietf:rfc:3987 
  3. ^ gh:smw:2207 
  4. ^ gh:smw:2788