Help:$smwgNamespacesWithSemanticLinks

is a configuration parameter that is used to define for which namespaces the semantic links and annotations are to be evaluated. Usually this setting gets changed if the respective wiki contains custom namespaces, which should use semantic functionality. The configuration parameter was introduced in.

On pages within namespaces which are disabled with  with the default setting or for custom namespaces explicitly not activated by adding it to the parameter, annotations can be given but are silently ignored. This is useful since, e.g., talk pages usually do not have attributes and the like. Pages without annotations will also be ignored during full RDF export, unless they are referred to from another page.

Default setting
The default setting was last changed with by removing the namespaces "Property", "Type" and "Concept" from the array. Note that the namespaces provided by Semantic MediaWiki with the exception of the "smw/schema" namespace may still be annotated.

Changing the default setting
To add a custom namespace, e.g. "Foo" insert

into your "LocalSettings.php" file after enabling semantics with

where  is the namespace constant that was defined for namespace "Foo".

If you insert a namespace defined by an extension the namespace constant set by the respective extension will have to be used, e.g.

for namespace "Widget" defined by.

In case you would like to add several namespaces insert them line by line e.g.

If the behaviour for the namespaces covered by the default setting should be changed insert e.g.

to disable semantic annotations on namespace "User".