Help:Custom namespaces

From semantic-mediawiki.org
(Redirected from Help:Custom namespaces)

To enable annotations (usage of semantic properties) for custom namespaces, please have a look at the following resources:

Note[edit]

Please note that an entity with the name "Foo:Something" without Foo: being a namespace is something entirely different after $wgExtraNamespaces[NS_FOO] = "Foo"; got defined and to ensure entities can be queried correctly before and after a custom namespace change, either a null edit or running maintenance script "rebuildData.php" is required to reassign it to the correct namespace ID.

In case configuration parameter $smwgEnabledEditPageHelpSets whether helpful information is displayed when editing a page is enabled a notice during editing should appear and inform about on whether the namespace of the edited page allows for semantic annotations to be added or not.