Provide a form of incategory: which covers subcategories as well
OpenPublic

Assigned To
None
Priority
Lowest
Author
bzimport
Subscribers
He7d3r, jayvdb, demon and 5 others
Projects
Reference
bz35402
Description

Author: rd232

Description:
It's currently possible to search incategory:X or -incategory:X, where X is a category name, to include or exclude results categorised in Category:X. However, this does not cover subcategories. This would obviously be useful, particularly on Commons where search is an important way to find media.

This could be a separate keyword, say incategorysub:X. We could also, in addition, extend incategory to specify recursion levels, with incategory:X defaulting to incategory:0:X (just the category specified - no recursion), and incategory:5:X meaning that we want to traverse 5 levels deep, and perhaps incategory:-1:X meaning the same as incategorysub:X.

Obviously, the usefulness of this feature would be enhanced by also addressing Bug 21988 (basically, providing GUI access to advanced search features).


Version: unspecified
Severity: enhancement

bzimport added a project: CirrusSearch.Via ConduitNov 22 2014, 12:10 AM
bzimport added a subscriber: wikibugs-l.
bzimport set Reference to bz35402.
bzimport created this task.Via LegacyMar 22 2012, 9:12 AM
bzimport added a comment.Via ConduitApr 29 2013, 3:10 PM

rd232 wrote:

Well it's been a year. Is there any sign of ... anything?

Bawolff added a comment.Via ConduitApr 29 2013, 3:20 PM

Nope :s

bzimport added a comment.Via ConduitNov 3 2013, 6:03 AM

gqqnb2005 wrote:

If you ever tried to code a similar function, you will understand the flexible structure of mediawiki category makes it difficulty to implement.

One category can have multiple subcategories, and there may have a loop in a category tree(subsubsubcategory of a parent category may be the parent category).

As long as categories of mediawiki remain flexible, I belive this function will not be implemented in the near future.

Deskana added a comment.Via ConduitFeb 11 2014, 1:50 AM

Moving this feature request to CirrusSearch queue to be reassessed at a future date.

Bawolff added a comment.Via ConduitFeb 11 2014, 2:08 AM

See also https://commons.wikimedia.org/wiki/Help:FastCCI which can do this (implemented as a separate program)

Manybubbles added a comment.Via ConduitFeb 11 2014, 2:22 AM

*** Bug 54643 has been marked as a duplicate of this bug. ***

Add Comment

Column Prototype
This is a very early prototype of a persistent column. It is not expected to work yet, and leaving it open will activate other new features which will break things. Press "\" (backslash) on your keyboard to close it now.