mirror of
https://github.com/Mic92/nixos-wiki-infra.git
synced 2025-02-16 10:21:44 +01:00
Merge pull request #72 from NixOS/joerg-ci
enable discussiontools extension
This commit is contained in:
commit
c637736969
@ -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;
|
||||
'';
|
||||
};
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
{
|
||||
"MobileFrontend": {},
|
||||
"DarkMode": {}
|
||||
"DarkMode": {},
|
||||
"QuickInstantCommons": {}
|
||||
}
|
||||
|
@ -1,4 +1,5 @@
|
||||
{ fetchzip }: {
|
||||
"MobileFrontend" = fetchzip { url = "https://github.com/NixOS/nixos-wiki-infra/releases/download/MobileFrontend-REL1_41-7e9d1d4.tar.gz/MobileFrontend-REL1_41-7e9d1d4.tar.gz"; sha256 = "0qk38j2mj9mny2qrzc4y56ng06mks3isz8gk90rgaw6ikcxg5dmj"; };
|
||||
"DarkMode" = fetchzip { url = "https://github.com/NixOS/nixos-wiki-infra/releases/download/DarkMode-REL1_41-b2fefd2.tar.gz/DarkMode-REL1_41-b2fefd2.tar.gz"; sha256 = "0v3jyd2da18mbf0kn4zafw7rpj8awsiljy9jfhabric9k09g57y3"; };
|
||||
"QuickInstantCommons" = fetchzip { url = "https://github.com/NixOS/nixos-wiki-infra/releases/download/QuickInstantCommons-REL1_41-2a29b3e.tar.gz/QuickInstantCommons-REL1_41-2a29b3e.tar.gz"; sha256 = "1maqrx9k2bikin6fqn920v9l5nxaijpk14m0g2wpipryxx727vni"; };
|
||||
}
|
||||
|
@ -3,5 +3,6 @@ set -euo pipefail
|
||||
|
||||
cd "$(dirname "$0")"
|
||||
rm -f .terraform.lock.hcl
|
||||
nix build .#checks.x86_64-linux.test -L
|
||||
tofu init -backend-config="password=$GITLAB_TOKEN" -backend-config="username=$GITLAB_USER"
|
||||
tofu apply "$@"
|
||||
|
Loading…
Reference in New Issue
Block a user