Skip to content

Limit Word Count for discussions (and answers)  #135

@NinaHerrmann

Description

@NinaHerrmann

Currently post are of type text and can therefore be 1 GB long (which I guess is an issue in itself, so a default value makes sense.... Anyway ... )
(Split from #91)

Limiting the number of characters is the easiest implementation which I hope also does the job (@pejhab).

Implementation

  • additional setting Maximum Characters (default setting?)
  • additional setting Minimum Characters
    (- optional field discussions and answers?)
  • additional db-field in moodleoverflow_discussion maxchars
  • pass value optionally to editor (I think it is maxbytes...)
  • unit Test - create post with maxbytes/minbytes

As pjhab said, minimum characters prevent "LOL" Post - Not a lot of meaning and impeding to read a discussion, and maxbytes prevent "rants"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions