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
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Welcome to Codidact Meta!

Codidact Meta is the meta-discussion site for the Codidact community network and the Codidact software. Whether you have bug reports or feature requests, support questions or rule discussions that touch the whole network – this is the site for you.

Comments on Posts are now all under a single umbrella

Post

Posts are now all under a single umbrella

+8
−0

Ever since we introduced articles to Codidact, posts have been referred to with their post type. The URL to get to a question or answer would be /questions/12345, and to get to an article would be /articles/12345.

As of today, that's no longer the case. All posts now live under /posts and use the exact same files and forms for writing, editing, and displaying.

As far as most folks are concerned, you won't see any real change on the sites. Everything looks and functions the same, and the old URLs will continue to work. The real benefits of this change are in the code — this has allowed us to remove several thousand unnecessary or duplicated lines of code and standardize all of our post types. In the long run, this makes maintenance much easier.

This change also opens the door to more post types. We've stayed mostly away from creating new post types, because having each type have to have its own code made creating and maintaining them a nightmare. Now that's changed, we can add new post types as needed. So, if your community could use a type of post that doesn't have votes, or comments, or answers, tags, licenses — or any combination of those... let us know!

If you spy anything that doesn't work as it should, let us know — either drop an answer here or a new bug report in any community's Meta category (or on meta.codidact, of course).

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.
Why should this post be closed?

1 comment thread

General comments (3 comments)
General comments
Canina‭ wrote about 4 years ago · edited about 4 years ago

Nice. It looks like this also resolves my old suggestion that URLs in category feed should match URLs on category front page.

DonielF‭ wrote about 4 years ago

What does this mean for the old discussion about Wiki posts?

Monica Cellio‭ wrote about 4 years ago

@DonielF we're actually working on a community-editable post type right now, now that it's easier.