Merge pull request #72 from NixOS/joerg-ci

enable discussiontools extension
This commit is contained in:
Jörg Thalheim 2024-04-19 09:54:37 +02:00 committed by GitHub
commit c637736969
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 12 additions and 2 deletions

View File

@ -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;
'';
};

View File

@ -1,4 +1,5 @@
{
"MobileFrontend": {},
"DarkMode": {}
"DarkMode": {},
"QuickInstantCommons": {}
}

View File

@ -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"; };
}

View File

@ -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 "$@"