Re: [SMW-devel] query results without subcategories

2013-02-05 Thread Anton Hughes
Thanks Laurent That worked :) On Mon, Feb 4, 2013 at 11:26 PM, Laurent Alquier laur...@alquier.orgwrote: The only way I managed to do that was to add a property to my pages to capture the category (I try to have only one category per page and to use properties for everything else). If you

[SMW-devel] query results without subcategories

2013-02-04 Thread Anton Hughes
Hi I have the following query, that returns pages in the Products category, but also sub categories. {{#ask: [[Category:Products]] | ?hasDescription }} How do I only return results from the Products category, not sub categories? I have $smwgUseCategoryHierarchy=false; in localSettings but

Re: [SMW-devel] query results without subcategories

2013-02-04 Thread Jeroen De Dauw
Hey, If smwgUseCategoryHierarchy is behaving defective for you, please open a bug at bugzilla [0] so we can keep track of the issue :) [0] https://bugzilla.wikimedia.org/ Cheers -- Jeroen De Dauw http://www.bn2vs.com Don't panic. Don't be evil. --