Last modified: 2011-03-13 18:05:34 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 T13377, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 11377 - Not show subcategory if subcategory is itself
Not show subcategory if subcategory is itself
Status: RESOLVED WONTFIX
Product: MediaWiki extensions
Classification: Unclassified
CategoryTree (Other open bugs)
unspecified
All All
: Lowest enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-09-17 19:39 UTC by Chad H.
Modified: 2011-03-13 18:05 UTC (History)
1 user (show)

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


Attachments

Description Chad H. 2007-09-17 19:39:49 UTC
If you put a category inside itself, CategoryTree shows it as an infinite level of subcategories, all with the same name. It would be ideal to not show the subcategory if it is itself.
Comment 1 Daniel Kinzler 2008-07-02 08:19:18 UTC
If you put a category into itself, you broke your category structure. Don't do that, it makes no sense. CategoryTree will show whatever the structure is. 

CategoryTree could in theory detect and ignore this type of direct "loop", but it can't efficiently detect larger cycles like A -> B, B -> A, so it would be pretty pointless anyway.

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


Navigation
Links