undo formatting mistake
This commit is contained in:
parent
7d2c00ef1f
commit
7fb4fa12ed
|
@ -38,40 +38,40 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
$wgSitename = "FSR Wiki";
|
$wgSitename = "FSR Wiki";
|
||||||
$wgArticlePath = '/$1';
|
$wgArticlePath = '/$1';
|
||||||
|
|
||||||
// $wgLogo = "https://www.c3d2.de/images/ck.png";
|
// $wgLogo = "https://www.c3d2.de/images/ck.png";
|
||||||
$wgLanguageCode = "de";
|
$wgLanguageCode = "de";
|
||||||
|
|
||||||
$wgGroupPermissions['*']['read'] = false;
|
$wgGroupPermissions['*']['read'] = false;
|
||||||
$wgGroupPermissions['*']['edit'] = false;
|
$wgGroupPermissions['*']['edit'] = false;
|
||||||
$wgGroupPermissions['*']['createaccount'] = false;
|
$wgGroupPermissions['*']['createaccount'] = false;
|
||||||
$wgGroupPermissions['*']['autocreateaccount'] = true;
|
$wgGroupPermissions['*']['autocreateaccount'] = true;
|
||||||
$wgGroupPermissions['sysop']['userrights'] = true;
|
$wgGroupPermissions['sysop']['userrights'] = true;
|
||||||
$wgGroupPermissions['sysop']['deletelogentry'] = true;
|
$wgGroupPermissions['sysop']['deletelogentry'] = true;
|
||||||
$wgGroupPermissions['sysop']['deleterevision'] = true;
|
$wgGroupPermissions['sysop']['deleterevision'] = true;
|
||||||
|
|
||||||
$wgEnableAPI = true;
|
$wgEnableAPI = true;
|
||||||
$wgAllowUserCss = true;
|
$wgAllowUserCss = true;
|
||||||
$wgUseAjax = true;
|
$wgUseAjax = true;
|
||||||
$wgEnableMWSuggest = true;
|
$wgEnableMWSuggest = true;
|
||||||
$wgDefaultSkin = 'timeless';
|
$wgDefaultSkin = 'timeless';
|
||||||
|
|
||||||
//TODO what about $wgUpgradeKey ?
|
//TODO what about $wgUpgradeKey ?
|
||||||
|
|
||||||
# Auth
|
# Auth
|
||||||
# https://www.mediawiki.org/wiki/Extension:PluggableAuth
|
# https://www.mediawiki.org/wiki/Extension:PluggableAuth
|
||||||
# https://www.mediawiki.org/wiki/Extension:OpenID_Connect
|
# https://www.mediawiki.org/wiki/Extension:OpenID_Connect
|
||||||
$wgPluggableAuth_EnableLocalLogin = true;
|
$wgPluggableAuth_EnableLocalLogin = true;
|
||||||
$wgPluggableAuth_Config["iFSR Login"] = [
|
$wgPluggableAuth_Config["iFSR Login"] = [
|
||||||
"plugin" => "OpenIDConnect",
|
"plugin" => "OpenIDConnect",
|
||||||
"data" => [
|
"data" => [
|
||||||
"providerURL" => "${config.services.portunus.domain}/dex",
|
"providerURL" => "${config.services.portunus.domain}/dex",
|
||||||
"clientID" => "wiki",
|
"clientID" => "wiki",
|
||||||
"clientsecret" => file_get_contents('${config.sops.secrets."mediawiki/oidc_secret".path}'),
|
"clientsecret" => file_get_contents('${config.sops.secrets."mediawiki/oidc_secret".path}'),
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
'';
|
'';
|
||||||
|
|
||||||
extensions = {
|
extensions = {
|
||||||
|
|
Loading…
Reference in a new issue