mirror of
https://github.com/Mic92/nixos-wiki-infra.git
synced 2024-11-25 01:33:34 +01:00
commit
c14e2420e5
@ -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