Jump to content

Category tree should be an acyclic graph (Community Wishlist/W281)

Long-term opportunity
From Meta, a Wikimedia project coordination wiki

View all wishes.

Description

Currently, many categories contain themselves. See en:User:SDZeroBot/Category cycles for a full list (about 3000 cycles). per en:WP:Categorization#Category tree organization, the category tree should resemble a directed acyclic graph as far as possible.

Solution 1:

The best way to solve this problem would be to enforce that categories do not contain themselves. This could be opt-in for certain categories to reduce conflict. You could have a template or hidden category like "acyclic category" that when applied to a given category enforces that it's children will not contain it.

Solution 2:

At the very least, a method for detecting cycles should be present and ideally if a category is in a cycle it should show that to the user so that people can fix it.

(Note: I tried submitting this request before but it seems to have failed as I cannot find it anywhere)

Assigned focus area

Unassigned

Type of wish
Feature request
Tags
Affected users

Category users

Other details
  • Created: 20:18, 30 August 2024
  • Last updated: 19:00, 10 October 2025
  • Author: J2UDY7r00CRjH (talk)
Voting

This wish currently has 0 supporters. Voting for this wish is open until it is completed.