Last modified: 2011-03-13 18:05:01 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.
Created attachment 2398 [details] Example screenshot.
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])".
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.