Last modified: 2014-09-28 11:14:56 UTC
There doesn't appear to be any good reason against allowing nested Concepts, so I cannot see what it's not allowed. I think this qualifies as an design flaw and not a feature request. Nested concepts simply means allowing a concept to be part of a concept definition. The obvious exception would be attempting to include the self-same concept. A good example of what I'm requesting be changed: Concept:Albums {{#Concept: [[Category:Albums]] }} Concept:Albums/2001 {{#Concept: [[Concept:Albums]] [[Release date::2001]] }} Concept:Albums/2001/Rock {{#Concept: [[Concept:Albums/2001]] [[Genre::Rock]] }}
There are good reasons why this is not supported yet. You need to treat recursion, unless you want to have non-local editing restrictions that are likely to run into race conditions when people are editing at the same time. Feel free to provide a patch, though; I will thouroughly review it. Yet it remains a feature request, not a bug and certainly not a design flaw. SMW's default settings are such that Concepts are not accepted in Concepts, and everything works as documented. Anyway, we have plans to enable this feature. It will hopefully be realised in SMW 1.4, but making it work on large wikis is a challenge. SMW 1.3 will provide a basis by introducing mechanisms for query caching that would be mandatory for using recursive queries on larger wikis.
We are currently in SMW 1.7. Has this feature been implemented? At any rate, this bug has not been touched in at least six months. With this in mind, I've been asked by the bugmeister to bump this bug's priority down for "High". Concerns can be addressed to mah@everybody.org.
*** Bug 44467 has been marked as a duplicate of this bug. ***
Will be resloved with pull request 546 [1]! Cool, so to speak. [1] https://github.com/SemanticMediaWiki/SemanticMediaWiki/pull/546