Last modified: 2012-11-20 05:58:39 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T30078, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 28078 - Cannot query for category pages in a specific category.
Cannot query for category pages in a specific category.
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Markus Krötzsch
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-03-16 17:56 UTC by Philip Douglass
Modified: 2012-11-20 05:58 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Philip Douglass 2011-03-16 17:56:32 UTC
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"?
Comment 1 Pavel (pastakhov) 2012-11-20 05:58:39 UTC
As I understand from the documentation, it should be {{#ask: [[:Category:KB]]}}, But it's not working for me

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links