mirror of
https://github.com/Mic92/nixos-wiki-infra.git
synced 2024-11-22 00:04:01 +01:00
change captcha questions
This commit is contained in:
parent
981901e8ff
commit
a871b974af
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user