Merge pull request #86 from NixOS/joerg-ci

change captcha questions
This commit is contained in:
Jörg Thalheim 2024-05-25 19:51:32 +02:00 committed by GitHub
commit c14e2420e5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -62,6 +62,13 @@ in
Echo = null; # Dependency of DiscussionTools
} // pkgs.callPackages ./extensions.nix { };
extraConfig = ''
# docs https://www.mediawiki.org/wiki/Extension:QuestyCaptcha
$wgCaptchaQuestions = [
"What Linux distribution is this wiki about?" => [ 'nixos', 'NixOS', 'NIXOS', 'Nixos' ],
"What is the package manager of NixOS called?" => [ 'Nix', 'nix', 'NIX' ],
];
wfLoadExtensions([ 'ConfirmEdit/QuestyCaptcha' ]);
#$wgDebugLogFile = "/var/log/mediawiki/debug.log";
# allow local login