Update lantifa.nix

This commit is contained in:
waldfunk danni 2021-01-17 22:31:37 +01:00
parent 95da394e01
commit 5006365684

View file

@ -42,6 +42,11 @@ in {
$wgGroupPermissions['*']['viewedittab'] = false; $wgGroupPermissions['*']['viewedittab'] = false;
$wgGroupPermissions['user']['viewedittab'] = true; $wgGroupPermissions['user']['viewedittab'] = true;
// Moderation setting
$wgModerationNotificationEnable = true;
$wgModerationEmail = "wiki_mod@lantifa.org"
$wgLogRestrictions["newusers"] = 'moderation';
// intersection / DynamicPageList config // intersection / DynamicPageList config
$wgDLPMaxCacheTime = 5 * 60; $wgDLPMaxCacheTime = 5 * 60;
''; '';
@ -50,6 +55,7 @@ in {
TemplateData = null; TemplateData = null;
VisualEditor = null; VisualEditor = null;
InputBox = null; InputBox = null;
Moderation = null;
intersection = pkgs.fetchzip { # This is the DynamicPageList extension intersection = pkgs.fetchzip { # This is the DynamicPageList extension
url = "https://extdist.wmflabs.org/dist/extensions/intersection-REL1_35-f657385.tar.gz"; url = "https://extdist.wmflabs.org/dist/extensions/intersection-REL1_35-f657385.tar.gz";
sha256 = "0f4bpxdfj5k4ll56s3i6cpgcpfalsff307shdhqhrbl0n3kbr3q0"; sha256 = "0f4bpxdfj5k4ll56s3i6cpgcpfalsff307shdhqhrbl0n3kbr3q0";