Cannot query for category pages in a specific category.
Closed, DeclinedPublic

Description

Author: bugzilla.wikimedia.org

Description:
I want to be able to produce a list of categories that are sub categories of a specific category.

This gives me everything under the KB category in the main namespace:
{{#ask: [[Category:KB]] }}

Following the documentation for limiting results to a specific namespace, this gives me everything in the Category namespace, i.e. ALL categories:
{{#ask: [[:Category:+]] }}

But this gives me nothing:
{{#ask: [[Category:KB]] [[:Category:+]]}}

How else can one query "all pages in the Category namespace, that are in the KB category"?


Version: unspecified
Severity: normal

bzimport set Reference to bz28078.
bzimport created this task.Via LegacyMar 16 2011, 5:56 PM
Pastakhov added a comment.Via ConduitNov 20 2012, 5:58 AM

As I understand from the documentation, it should be {{#ask: [[:Category:KB]]}}, But it's not working for me

Aklapper closed this task as "Declined".Via WebMar 3 2015, 5:50 PM
Aklapper added a subscriber: Aklapper.

The Semantic MediaWiki developers requested in https://phabricator.wikimedia.org/T64114 to move their task tracking to https://github.com/SemanticMediaWiki/SemanticMediaWiki/issues and to close remaining tasks in Wikimedia Phabricator. If you still face the problem reported in this task in a supported version of SMW, please feel free to transfer your report to https://github.com/SemanticMediaWiki/SemanticMediaWiki/issues . We are sorry for the inconvenience.

Add Comment