Jump to: navigation, search

enableSemantics is a convenience function to be added to the "LocalSettings.php" file of a wiki configuration to ensure that:


If changes to the configuration parameter $smwgNamespaceIndexSets the index of the first namespace to be used by Semantic MediaWiki are necessary, please follow the instructions in connection with enableSemantics.1

  • The first parameter represents the URI-namespace
  • The second parameter indicates whether the URI namespace is completed or not
enableSemantics( '', true );

Alternatively a setting like the following is possible:

enableSemantics( '' );

See also