From fff575342d9a0d9d682855141981e49aef6cbac2 Mon Sep 17 00:00:00 2001 From: Fugi Date: Wed, 9 Aug 2023 23:02:20 +0200 Subject: [PATCH] wiki: add comments --- modules/wiki.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/wiki.nix b/modules/wiki.nix index 6f93ade..910c21c 100644 --- a/modules/wiki.nix +++ b/modules/wiki.nix @@ -24,6 +24,9 @@ in port = listenPort; ssl = false; }]; + # Short url support (e.g. https://wiki.ifsr.de/Page instead of .../index.php?title=Page) + # Recommended config taken from https://www.mediawiki.org/wiki/Manual:Short_URL/Apache + # See paragraph "If you are using a root url ..." extraConfig = '' RewriteEngine On RewriteCond %{REQUEST_URI} !^/rest\.php @@ -56,6 +59,8 @@ in //TODO what about $wgUpgradeKey ? # Auth + # https://www.mediawiki.org/wiki/Extension:PluggableAuth + # https://www.mediawiki.org/wiki/Extension:OpenID_Connect $wgPluggableAuth_EnableLocalLogin = true; $wgPluggableAuth_Config["iFSR Login"] = [ "plugin" => "OpenIDConnect",