2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-06 09:10:25 +08:00

FEATURE: site setting enable_mentions to turn on/off mentions

This commit is contained in:
Joffrey JAFFEUX 2017-12-07 11:30:47 -05:00 committed by Robin Ward
parent 3e4f02a180
commit fd99e1ef56
6 changed files with 38 additions and 20 deletions

View file

@ -1283,6 +1283,7 @@ en:
newuser_max_replies_per_topic: "Maximum number of replies a new user can make in a single topic until someone replies to them."
max_mentions_per_post: "Maximum number of @name notifications anyone can use in a post."
max_users_notified_per_group_mention: "Maximum number of users that may receive a notification if a group is mentioned (if threshold is met no notifications will be raised)"
enable_mentions: "Allow users to mention other users."
create_thumbnails: "Create thumbnails and lightbox images that are too large to fit in a post."

View file

@ -537,6 +537,9 @@ posting:
default: 1
client: true
post_undo_action_window_mins: 10
enable_mentions:
default: true
client: true
max_mentions_per_post: 10
max_users_notified_per_group_mention: 100
newuser_max_replies_per_topic: 3