Last modified: 2014-04-15 06:22:17 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 T41641, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 39641 - In pages mode or with other specified namespace, list only categories directly or indirectly containing what requested
In pages mode or with other specified namespace, list only categories directl...
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
CategoryTree (Other open bugs)
master
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
: 38214 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-08-25 08:00 UTC by Nemo
Modified: 2014-04-15 06:22 UTC (History)
3 users (show)

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


Attachments

Description Nemo 2012-08-25 08:00:48 UTC
From bug 38214 comment 4:
I need it to only show the categories
containing pages, not all the categories. See:
*http://commons.wikimedia.org/wiki/User:Timeshifter/Sandbox_8
*http://commons.wikimedia.org/w/index.php?title=Special%3ACategoryTree&target=Astronomy&mode=pages&dotree=Show+tree
----
I suspect this might be very difficult or impossible because to know whether to include a category you'd have to explore all its subcategories.

Bug 17117 might be a duplicate but is unclear.
Comment 1 Nemo 2012-08-25 08:01:24 UTC
*** Bug 38214 has been marked as a duplicate of this bug. ***
Comment 2 Timeshifter 2012-08-25 16:58:59 UTC
Thanks Nemo_bis for starting this bug and pointing me to this: 
*http://commons.wikimedia.org/wiki/Template:Category_tree_all 
*http://commons.wikimedia.org/wiki/Special:CategoryTree

At the example listed in the first comment in this Bugzilla thread:  
*http://commons.wikimedia.org/wiki/User:Timeshifter/Sandbox_8
only 5 of the subcategories listed immediately below Category:Astronomy on the Commons contain pages (galleries). I would prefer that the other 26 subcategories that do not contain pages not be listed. 

Maybe some people want to see all the categories, but people at this discussion linked below only want a way to see an overview of galleries.  
*http://commons.wikimedia.org/wiki/Commons:Categories_for_discussion/2012/07/Category:Gallery_pages

I would like a parameter added to Template:Category_tree_all that would prevent those 26 subcategories without pages from being listed. 

I do not see why the exploration of the subcategories by the CategoryTree software would stop the ability to not list them after they were explored and found empty of pages. 

There has to be a way to access and more easily show in an organized way some of the 106,000 galleries on the Commons. That number comes from here: 
*http://commons.wikimedia.org/wiki/Help:Namespaces - "(Gallery) {{ns:0}}" in the left column. Namespace 0.

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


Navigation
Links