Hi Daivd,
Please see http://www.mediawiki.org/wiki/Extension:CategoryTests for your reference.

2008/7/27 S Page <info@skierpage.com>
david wrote:

> How can I make a query (using {{#ask:) to show the pages that aren't in
> an specific category?
> I want to show the pages in [[category:card]] but hidding the pages in
> [[category:incomplete card]].

I don't think there's any way to do this.  As
http://semantic-mediawiki.org/wiki/Help:Selecting_pages says

"Comparators work only for property values, but not for conditions on

So you can't use the '!' NOT comparator to say [[category:!incomplete
card]] the same way you can say, e.g., [[date of birth::!1935-12-01]]

A couple of ideas:

* Set the inline query to display ?Category, use format=template to
print results, and if this template parameter contains "incomplete
card", don't print.

* You could have a boolean notIncompleteCard that tracks the category
assignment.  Code could set this to true or false based on category
values using a similar technique to "using an inline query to produce
inverse annotations" (see
http://semantic-mediawiki.org/wiki/California).  Then query for this

=S Page

This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
Semediawiki-user mailing list