A simple but beautiful solution, thank you Neill!
Den 24 maj 2012 17.35 skrev "Neill Mitchell" <ne...@nlkmitchell.com>:

>  I have a separate property hasCategory which I set appropriately in my
> templates. I then query that instead of the category.
>
> #ask:[[My page]]|?hasCategory
>
> Of course this only works if your pages are generated by templates :)
>
> Cheers
> Neill.
>
> On 23/05/12 21:11, Leonard Wallentin wrote:
>
>  >
> >
> >> is there a way to hide hidden categories from showing up in query
> results that I have missed?
> >
> >If you mean excluding the pages for a certain category from your query
> result, then no, you cannot do this. I think.
>
>  Sorry, that was unclear. I mean hiding the categories with the magic
> word __HIDDENCAT__ from catagory printouts in queries like:
>
>   #ask:[[My page]]|?Category
>
>  Normally, if you don't want the categories to be rendered in the pages
> by MediaWiki, you probably don't want them printed by SMW either, at least
> me.
>
>  /Leo
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>
>
>
> _______________________________________________
> Semediawiki-devel mailing 
> listSemediawiki-devel@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/semediawiki-devel
>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Semediawiki-devel mailing list
> Semediawiki-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
>
>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel

Reply via email to