Hi, I am setting up a danish site. The word ‘sl*t’ means ‘to complete’ in danish. Whenever we make a post with that word, we get an error saying “no slurs”. And the post is not accepted.

It does not help that we have enabled NSFW in community and on the post.

Please help. Thank you :)


Unfortunately, multi-language support for the slur filter has not been implemented yet. But in the meantime, the slur filter regular expression is on this line. You could take out any offending words that are benign in Danish, and then recompiling the backend. I’d be happy to help you with editing the regex if you have troubles.

It’s a difficult and controversial topic, censorship. I’m sure you’ve already had the debate. You know about the everyday damage and about the risks, and banning certain words is the right approach for Lemmy.

But nobody wants to go down the road of shadowbans, deleting off-brand subreddits, suppressing certain topics.

Sometimes censorship really is justified. The only crucial thing is to be transparent about it. If you publish the forms of censorship in use or planned, then it would be much less problematic.

Are you planning to publish a list of the forms of censorship currently used or planned?

Ideally you would even publish the list of banned words. That would have prevented the Danish instance’s problem.

Thanks. I don’t even know half of those. Maybe they are common insults in America.

I guess in the future each instance will chose its own list based on its region or language, it the culture it wants to build.


But nobody wants to go down the road of shadowbans

Shadowbans aren’t supported by the Lemmy platform and there are no plans to my knowledge to implement them. In fact, the moderation logs are public, and will show what posts or comments have been removed and what users and communities have been banned. Only very problematic or illegal content are completely removed from the server.

If you publish the forms of censorship in use or planned, then it would be much less problematic.

The comment above this one links to the slur filter in the source code, which contains all the words being “censored”. You’ll notice we only have actual slurs in it, words whose primary or only purpose is to attack people, not less serious swear words like shit and fuck.

The code is open source, and in fact, per terms of the license, everyone who modifies the code base for use on their own server needs to make their changes open source too.


Thanks that’s reassuring. So you can still have a discussion about precocious people (though i don’t know why you would) but just not using specific protected swear words. So the intention is not to suppress ideas or opinions or ways of thinking.

But what about that time a post was deleted from lemmy.ml for criticising public health advice on mask usage?

The post wasn’t just mask usage, it was saying that the virus doesn’t matter and no one should be taking steps to prevent its spread. It’s provably wrong information (papers have been written about the subject) and is dangerous if someone actually decides to take it seriously. You can see it in the modlog still.

That modlog is very interesting. The censorship is transparent just as it should be.

TBH I strongly disagree with your approach to freedom of speech. But you must be doing something right that Voat did wrong.

freedom of speech

It’s not critiques of a government we remove, it’s hateful language, misinformation, trolling, and other such things. None of that is “freedom of speech”, it’s filth that has no place on Lemmy. The post you brought up, was one where someone was literally saying the virus wasn’t real, taking that post down wasn’t ‘censorship’, it was janitorially removing misinformation. If you have a problem with this, Lemmy might not be for you.


Great, thanks. I can modify the line but it would be good if you could explain how to recompile the system as it is running in a docker container based on the manual here:

# build the image
docker build . -t docker/prod/Dockerfile -t your-tag
# store to file
docker save -o your-image.tar
# copy to server
scp your-image.tar server:
# load into docker on server
ssh server "cat your-image.tar | docker load"
# then just change the lemmy docker tag in your docker-compose.yml, and run docker-compose up -d

From memory, there are likely some typos. You can also push to a docker registry instead (like docker hub), but this seems easier.

Edit: maybe you could add this to the documentation :)


deleted by creator


I think you’d have to compile a local docker image. Maybe @nutomic@lemmy.ml or @dessalines@lemmy.ml can comment on how to do that.


Sure I can do that - I just need the build/compile command to include in the Dockerfile.

EDIT: I found the Dockerfile and can build it from https://github.com/LemmyNet/lemmy/tree/main/docker/prod All good

Just a reminder, please make your changes open source too. That’s required by the license.


Ok, thanks 👍


in the github issue someone else has linked please note that it is eventually planned to make this smarter to avoid this case


deleted by creator


deleted by creator

Yeah, I remember them saying it was to make Lemmy as unfriendly as possible to alt right people so that they would be less likely to use Lemmy to create a safe place for nazi content.

This is correct, but unfortunately it does have unintended side effects, as seen here.

Support / questions about Lemmy.

    Feel free to ask me anything here.

    • 0 users online
    • 2 users / day
    • 6 users / week
    • 17 users / month
    • 89 users / 6 months
    • 359 subscribers
    • 239 Posts
    • Discussion
    • Modlog