From 8fd6208b1abb5f2a5c7856c0ca2e2072f6536e45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Fri, 19 Apr 2024 09:49:08 +0200 Subject: [PATCH] enable discussiontools extension fixes https://github.com/NixOS/nixos-wiki-infra/issues/60 --- modules/nixos-wiki/default.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/modules/nixos-wiki/default.nix b/modules/nixos-wiki/default.nix index 16b7567..e34c93d 100644 --- a/modules/nixos-wiki/default.nix +++ b/modules/nixos-wiki/default.nix @@ -56,7 +56,10 @@ in hash = "sha256-hr/DLyL6IzQs67eA46RdmuVlfCiAbq+eZCRLfjLxUpc="; }; # Github login ConfirmEdit = null; # Combat SPAM with a simple Captcha - # https://www.mediawiki.org/wiki/Extension:MobileFrontend/ + DiscussionTools = null; # Adds a new discussion tool to the talk pages + Thanks = null; # Adds a "thank" button + Linter = null; # Dependency of DiscussionTools + Echo = null; # Dependency of DiscussionTools } // pkgs.callPackages ./extensions.nix { }; extraConfig = '' #$wgDebugLogFile = "/var/log/mediawiki/debug.log"; @@ -142,6 +145,10 @@ in ## remove restrictions on display titles $wgRestrictDisplayTitle = false; + + # Notify users via email on changes + $wgEnotifWatchlist = true; + $wgEnotifUserTalk = true; ''; };