diff --git a/modules/nixos-wiki/default.nix b/modules/nixos-wiki/default.nix index 9ec6429..3d49874 100644 --- a/modules/nixos-wiki/default.nix +++ b/modules/nixos-wiki/default.nix @@ -168,7 +168,7 @@ in $wgEnotifUserTalk = true; # Block spam by regex - $wgSpamRegex = ["seo (software|tools)|pornstars|casino|gambling|viagra"]; + $wgSpamRegex = ["/seo (software|tools)|pornstars|casino|gambling|viagra/i"]; ''; };