New "It's illegal" reason when flagging posts

We have added a new “It’s illegal” reason to the flagging system. When selected by a site member in the post flagging popup, a specific reason can be provided. When the report is recorded in the database it gets its own, new “illegal” type in the database and can then be tracked and acted on by moderators.

Screenshot 2024-02-09 at 8.48.46 AM

The reason for this change is the upcoming 17 February, 2024 Digital Services Act (DSA) requirement for online platforms like Discourse sites to start making it easy to report illegal content on the platforms.


Hopefully I never have to see this in practice :sweat_smile:


Since this is an EU rule will users outside of the EU be allowed to use this?

I know the answer but suspect others will ask.

For those looking for this


Yes, this is going to be good to have for all communities , no matter where they are in the world, so this feature is in core Discourse.


“illegal” chat flags don’t seem to have an English translation, is that intended?


Seems to be just some forums. I am on a forum where that option isn’t a thing yet though.


They’ll need to update to have this.


Heh, this flag from admin/mod side seems a bit wrong, lmao:

Is this chat message it’s illegal?


That looks like a bug, is supposed to display:

“This post requires staff attention because I believe it contains content that is illegal.”

This appears in that system dialogue box now when I have tested this, but e-mail notification shows similar to what you see there:

Translation missing: en_GB.flag_reasons.illegal

bug !!

(That is with main update branch not beta or tests-passed)

Same with stable branch for message/e-mail notification:

Translation missing: en.flag_reasons.illegal

That is only sent if response to flag is to hide post and give author option to edit.


Thanks for that news update!


The bugs reported by @Firepup650 and @Dylan_Michael have been fixed. Please update and try it again, and let us know if you still see any issues. Thanks! :sunflower:


That does seem to have fixed the weird grammar on the flag staff side, thanks!


Congratulations, thanks for making those repairs!

This is good there is this feature, looks like for the system the only integrated options are to just remove posts or give the option to edit. Laws can be really confusing and difficult to understand, at times just deleting what was posted if it is against the law to be published might not be the best response.

For example a new law passed recently in my county is a ban of mortar fireworks from being fired for independence day, but this does not go into effect until next year. So for independence day 2025, if people are posting that they are going to be firing mortar fireworks within the county, that would be unlawful for them to be doing that and this would be a good flag for that. However the sale of mortars is not outlawed in the initial draft of this law, although that may be changed one day.

This is one example of something that folks may want to forward posts to prosecutors or notify deputies about something like this. Technically they can’t issue citations without evidence or for anything that is going through trial at court sometimes potential important evidence needs to be documented for a judge/jury to be able to make a decision about that.

England has some really unusual laws, such as it is officially unlawful for anyone to shake dust out of a rug on a public street after 8 in the morning.


I know that this exists because of the European Union laws [I don’t live in the European Union so correct me if I’m wrong], but I feel that it’s convenient to add this internationally and it’s a good decision to add this internationally. Thanks for adding an option to report illegal content, I don’t find any illegal content yet, but if I do, I will be sure to test this


It behaves like a something else flag. You can try it out on your own forum or on if thats updated