Last modified: 2011-03-13 18:05:01 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 7402 - CategoryTree shows endless tree for circular categorizations/loops
CategoryTree shows endless tree for circular categorizations/loops
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: 2006-09-24 18:14 UTC by Leon Weber
Modified: 2011-03-13 18:05 UTC (History)
1 user (show)

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


Attachments
Example screenshot. (80.05 KB, image/png)
2006-09-24 18:15 UTC, Leon Weber
Details

Description Leon Weber 2006-09-24 18:14:13 UTC
In my example, Category:Problem solutions on meta
(http://meta.wikimedia.org/wiki/Category:Problem_solutions) is a subcategory of
Category:Problem statements (http://meta.wikimedia.org/wiki/Category:Problem
statements). And also the other way round.
Now, both are subcategories of
http://meta.wikimedia.org/wiki/Category:Meta-Wiki_organisation. The categorytree
on that page shows an endless tree for these categories. That's no problem, but
I think this should be fixed somehow.
-- Leon.
Comment 1 Leon Weber 2006-09-24 18:15:07 UTC
Created attachment 2398 [details]
Example screenshot.
Comment 2 Aryeh Gregor (not reading bugmail, please e-mail directly) 2006-09-25 01:21:51 UTC
What's expected behavior, then?  Pretending that Problem solutions doesn't
contain Problems statements?  But that's misleading.  I'd certainly expect
current behavior.  If it's a problem (like for a script that has something like
"expand all"), then maybe replace the category with an unambiguous placeholder
like "(category loop: already listed [whatever])".
Comment 3 Daniel Kinzler 2006-09-25 09:01:38 UTC
This is expected behavior, I don't see a reason to change it. Any tool that
(ab)uses the category tree to traverse the category structure should take care
to detect and avoid loops. Marking wontfix. 

A side note to anyone interested: I have a tool that outputs a full tree of the
contents of a category, in xml format, and using back-referenced to resolve
loops. Contact me if you need that. Don't spider the Ajax-Based CategoryTree.

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


Navigation
Links