diff options
| author | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2023-11-25 01:47:42 +0100 |
|---|---|---|
| committer | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2023-11-26 19:00:00 +0000 |
| commit | 866d0c9885dfdc585d8fb7456d4cbd658ea2bdc3 (patch) | |
| tree | 9951533da46a945fe256fe755fdec348fbd6b0b2 | |
| parent | nixos/mediawiki: use fastcgi.conf file which contains extra parameter (diff) | |
| download | nixpkgs-origin/backport-269762-to-release-23.11.tar.gz | |
nixos/mediawiki: don't assume language of main pageorigin/backport-269762-to-release-23.11
The mainpage might be named Hauptseite and mediawiki redirects from
/wiki/ on its own to there
(cherry picked from commit 28cd85ad8fd891bd3a1fe1a02979b7464659258a)
| -rw-r--r-- | nixos/modules/services/web-apps/mediawiki.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/web-apps/mediawiki.nix b/nixos/modules/services/web-apps/mediawiki.nix index a11660a041de..52592ae2e6c4 100644 --- a/nixos/modules/services/web-apps/mediawiki.nix +++ b/nixos/modules/services/web-apps/mediawiki.nix @@ -575,7 +575,7 @@ in # Explicit access to the root website, redirect to main page (adapt as needed) "= /".extraConfig = '' - return 301 /wiki/Main_Page; + return 301 /wiki/; ''; # Every other entry point will be disallowed. |
