Last modified: 2011-03-13 18:05:34 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
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