To enable annotations (usage of semantic properties) for custom namespaces, please have a look at the following resources:
- Missing data on custom namespaces - troubleshooting on missing semantic data on a custom namespace
$smwgNamespacesWithSemanticLinks
- help page on how to activate a custom namespace to make use of semantic data- Using custom namespaces - help page on how to set up and use custom namespaces in MediaWiki
- Namespaces - help page on namespaces in connection with Semantic MediaWiki
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 $smwgEnabledEditPageHelp
Sets 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.