Help:Configuration parameter $smwgNamespace

From semantic-mediawiki.org
Jump to: navigation, search
Title $smwgNamespace
Description URI-namespace of exported URIs
Default setting
empty
Software Semantic MediaWiki
Introduced with version 0.7
Removed with version still available
Configuration Installation · RDF export
Keyword Namespace · Export · RDF · URI

The URI-namespace of exported URIs. Will be set automatically if nothing is given, using the base URL provided to Help:enableSemantics. But in order to make pretty URIs you will need to set this to something nice and adapt your Apache configuration appropriately.

This is done, e.g., on semanticweb.org, where URIs are of the form http://semanticweb.org/wiki/FOAF. An example setting would be

$smwgNamespace = 'http://example.org/id/'

See also