[SMW-devel] refresh semantic data

2012-01-24 Thread Mauricio Etchevest
Hi everyone! I´m working on a extensio for SMW. The problem is that my extension add new semantic data to pages. But when I reload the wiki page, the change is not seen quickly. I need to make an edition to see the changes. For example, if the extension change the category of a wiki page, the ne

Re: [SMW-devel] Selecting a Template

2012-01-24 Thread Jeroen De Dauw
Hey, Put this in LocalSettings.php after the inclusion of SMW: $smwgNamespacesWithSemanticLinks[NS_TEMPLATE] = true; After that do an edit of first your template and then refresh the page it is queried on, and it should show up. Cheers -- Jeroen De Dauw http://www.bn2vs.com Don't panic. Don't

[SMW-devel] Selecting a Template

2012-01-24 Thread Mauricio Etchevest
Hi everyone! My problem is that I want to select a page, which is a template, by his category and doesn´t work. I have this query: {{ #ask: [ [ Category : categoryName ] ] }} and then I have a template which his category is "categoryName". The template looks like: [ [ category: categoryNam