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 What's the limit on the length of a post?

Parent

What's the limit on the length of a post?

+5
−0

Is there a limit on the length of a post (either question, answer, article, etc) on Codidact sites?

The current UI only shows this limit for comments, but not for posts - this is not a feature request to add something similar to posts, I just want to know what the limit is, if there are different limits per post type, if it's configurable per site, etc.

I also couldn't find this information in Help Center.


I've made a test in the dev server, and the limit for both questions and answers is 30000 characters:

test in dev server, limit is 30k chars

Is this limit set only there, or is the same on production sites? (I don't want to test here, to not run the risk to create a nonsense post, just to delete it afterwards).

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

1 comment thread

As far as I know there's no limit (4 comments)
Post
+4
−0

Yes, there is a limit.

For both, questions and answers, there is a limit of 30000 characters.

If you tried to post a question or answer with more than 30000 characters, you will get the following error message:

Preview

Note: The dev server is same as production sites but the dev server may contain beta features that are not released yet.

Update: I have even tried here on Codidact Meta and I got the same above message.

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

2 comment threads

Is it configurable? (5 comments)
Add sone more context (5 comments)
Is it configurable?
hkotsubo‭ wrote over 2 years ago

Thanks for the answer. Do you know if the limit is set in stone or it's configurable (maybe per site/post type/etc)? I know I could just look at the source code, but I'm not that fluent in Ruby and couldn't find this info there...

Monica Cellio‭ wrote over 2 years ago

I don't think it's configurable today, but I entered a GitHub request to see if it can be made so.

deleted user wrote over 2 years ago · edited over 2 years ago

Post body and Comment body is configurable (by making some changes to code). But, If we want to make title also configurable than, we have to make changes to database.

Kevin M. Mansour‭ wrote over 2 years ago · edited over 2 years ago

@hkotsubo As far as I know, I think No, it is not configurable.

Monica Cellio‭ wrote over 2 years ago

I meant configurable through the admin tools ("site settings"). We can modify the code to make limits configurable for a community the same way a bunch of other things are configurable, but right now it's baked into the code. The GH issue proposes changing that.