wiki: add comments

This commit is contained in:
Lyn Fugmann 2023-08-09 23:02:20 +02:00 committed by Rouven Seifert
parent 84a690bd52
commit fff575342d
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09

View file

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