Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Notifications
Mark all as read
Q&A

How can I remove a category from a community? Question

+1
−0

On page /categories it's easy to create or edit a category, but I cannot find a way to delete a category again. Is the functionality not existing?

Following the setup guide my user is a global admin but also in the admin tools only a create category exists.

Why does this post require moderator attention?
You might want to add some details to your flag.
Why should this post be closed?

0 comment threads

1 answer

+1
−0

I believe there's no way to remove a category without direct database hackery. We didn't want to have a Meta category for Collab, but when I asked about nuking it people expressed concerns about clobbering one of the default ones (nobody was quite sure what would break). The category is here, but we set its access level so that only moderators can see it.

I also don't know what would happen to posts in a category you deleted -- even if the posts are first deleted, they still expect to be associated with a community. This would show up on profiles and in the "recent deleted posts" mod tool, for example. Deleting a category might break things there.

If you want to experiment, I would create a new category, create one post in it, get that post ID (stash it somewhere), and delete the category in the DB. If the user profile page breaks because of that post, you could assign it to a different category (with the same tag set) in the database -- this is why I said to hold onto the post ID.

Why does this post require moderator attention?
You might want to add some details to your flag.

0 comment threads

Sign up to answer this question »

This community is part of the Codidact network. We have other communities too — take a look!

You can also join us in chat!

Want to advertise this community? Use our templates!

Like what we're doing? Support us! Donate