Help:enableSemantics

From semantic-mediawiki.org
Jump to: navigation, search

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

Example

If changes to the $smwgNamespaceIndex are necessary, please follow the instructions in connection with enableSemantics.

  • The first parameter represents the URI-namespace
  • The second parameter indicates whether the URI namespace is completed or not
enableSemantics( 'http://example.org/id/', true );

See also