Please help: No page properties in custom namespace

From semantic-mediawiki.org

Hi!

I'm running Semantic Mediawiki version 1.8 (in a version 1.20.2 Mediawiki). Extensions installed: Semantic Drilldown (1.2.5), Semantic Forms (2.5.1), Semantic Forms Input (0.7), Semantic Internal Objects (0.7.1).

My goal is generating a training overview in a custom namespace 'Training' by querying pages with category 'Training' (which are all in this namespace). However, the pages which are within the namespace don't show up as results, whereas pages with the same content but outside the namespace (i.e. without a namespace, in (Main)) do show up. Looking at the properties of both pages show that properties for the page in the Training-namespace are not applied.

The overview lives in the same namespace under index.php?title=Training:Start with the following query:

{{#ask: [[Category:Training]] |?day }}

I have two pages in the Training category, one inside and one outside the namespace. Only the one outside the namespace is shown as a result to the query above. Content for both is the same:

[[Day::Weekday]] [[Category:Training]]

When I open the 'Browse properties' on both pages I get the following: http://screencast.com/t/WMUxc0vK

Is it an SMW configuration setting? I tried several options from http://semantic-mediawiki.org/wiki/Help:Configuration like:

  • $wgNamespacesToBeSearchedDefault
  • $smwgNamespaceIndex
  • $smwgNamespacesWithSemanticLinks
  • $smwgQDefaultNamespaces

but none seem to work. Does anyone have a clue what could be the problem?

Thanks much!

I also asked this question at stackoverflow

20:46, 30 August 2013

Well, in the meantime you got an answer over there. However, asking via the mailing list is a much faster way to get an answer, even faster than posting here. I am a bit surprised that this does not work for you since this thread really covers everything that may go wrong here.

18:04, 11 September 2013