From 50063656842d832074dfe07994e2500297a53fd3 Mon Sep 17 00:00:00 2001 From: waldfunk danni Date: Sun, 17 Jan 2021 22:31:37 +0100 Subject: [PATCH] Update lantifa.nix --- hosts/hainich/services/lantifa.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/hosts/hainich/services/lantifa.nix b/hosts/hainich/services/lantifa.nix index 4fd1eed..d637eae 100644 --- a/hosts/hainich/services/lantifa.nix +++ b/hosts/hainich/services/lantifa.nix @@ -42,6 +42,11 @@ in { $wgGroupPermissions['*']['viewedittab'] = false; $wgGroupPermissions['user']['viewedittab'] = true; + // Moderation setting + $wgModerationNotificationEnable = true; + $wgModerationEmail = "wiki_mod@lantifa.org" + $wgLogRestrictions["newusers"] = 'moderation'; + // intersection / DynamicPageList config $wgDLPMaxCacheTime = 5 * 60; ''; @@ -50,6 +55,7 @@ in { TemplateData = null; VisualEditor = null; InputBox = null; + Moderation = null; intersection = pkgs.fetchzip { # This is the DynamicPageList extension url = "https://extdist.wmflabs.org/dist/extensions/intersection-REL1_35-f657385.tar.gz"; sha256 = "0f4bpxdfj5k4ll56s3i6cpgcpfalsff307shdhqhrbl0n3kbr3q0";