This commit is contained in:
Jörg Thalheim 2024-04-19 09:17:12 +02:00
parent bcf14f983e
commit 604798589a
3 changed files with 3 additions and 3 deletions

View File

@ -57,7 +57,7 @@ in
}; # Github login
ConfirmEdit = null; # Combat SPAM with a simple Captcha
# https://www.mediawiki.org/wiki/Extension:MobileFrontend/
} // pkgs.callPackages ./extensions.nix {};
} // pkgs.callPackages ./extensions.nix { };
extraConfig = ''
#$wgDebugLogFile = "/var/log/mediawiki/debug.log";

View File

@ -1,4 +1,4 @@
{ fetchurl }: {
"MobileFrontend" = fetchurl { url = "https://github.com/NixOS/nixos-wiki-infra/releases/download/MobileFrontend-REL1_41-7e9d1d4.tar.gz/MobileFrontend-REL1_41-7e9d1d4.tar.gz"; sha256 = "1j9b2f5kxv68yl5652pqqfgchdkcc7p7j0afv2f3i4v6yz9ajr1n"; };
"DarkMode" = fetchurl { url = "https://github.com/NixOS/nixos-wiki-infra/releases/download/DarkMode-REL1_41-b2fefd2.tar.gz/DarkMode-REL1_41-b2fefd2.tar.gz"; sha256 = "1inbbqd25qacxmxjxl7rx153rapgk61433cs49cjmwcdx62w4vsj"; };
}
}

View File

@ -77,7 +77,7 @@ def write_nix_file(file: IO[str], mirrored_extensions: list[Extension]) -> None:
file.write(
f' "{extension.name}" = fetchurl {{ url = "{extension.url}"; sha256 = "{extension.hash}"; }};\n'
)
file.write("}")
file.write("}\n")
def get_mediawiki_version(mediawiki_version: str | None = None) -> str: