Emails, and fix acls

wiki
Pyjacpp 2026-07-24 11:32:26 +02:00
parent 1520bd6d4c
commit ffda38b4f1
No known key found for this signature in database
GPG Key ID: ED479A5A26930939
1 changed files with 12 additions and 13 deletions

View File

@ -87,25 +87,22 @@ in
# E-mail settings # E-mail settings
$wgEnableEmail = true; $wgEnableEmail = true;
# $wgSMTP = [ $wgSMTP = [
# 'host' => 'smtp.adm.crans.org', 'host' => 'smtp.adm.crans.org',
# 'IDHost' => 'crans.org', 'IDHost' => 'crans.org',
# 'localhost' => 'crans.org', 'localhost' => 'crans.org',
# 'port' => , 'port' => 25,
# 'auth' => false, 'auth' => false,
# # 'username' => , ];
# # 'password' => ,
# ];
$wgPasswordSender = 'root@crans.org'; $wgPasswordSender = 'root@crans.org';
$wgEmergencyContact = 'contact@crans.org'; $wgEmergencyContact = 'contact@crans.org';
$wgNoReplyAddress = 'root@crans.org'; $wgNoReplyAddress = 'root@crans.org';
$wgEnableUserEmail = false; $wgEnableUserEmail = false;
# $wgEnableSpecialMute = true;
$wgAllowHTMLEmail = true; $wgAllowHTMLEmail = true;
$wgEnotifUseRealName = false; $wgEnotifUseRealName = true; # On active les noms réels pour plus de lisibilité avec les comptes note
$wgEnotifFromEditor = false; $wgEnotifFromEditor = false; # On ne se fait pas passer par lutilisateurice
$wgEnotifRevealEditorAddress = false; $wgEnotifRevealEditorAddress = false; # Pas de champ répondre avec ladresse mail de lutilisateurice
$wgEnotifUserTalk = true; $wgEnotifUserTalk = true;
$wgEnotifMinorEdits = true; $wgEnotifMinorEdits = true;
$wgEnotifWatchlist = true; $wgEnotifWatchlist = true;
@ -146,6 +143,7 @@ in
$wgGroupPermissions['*']['edit'] = false; # Restrict edition for anonymous user $wgGroupPermissions['*']['edit'] = false; # Restrict edition for anonymous user
$wgGroupPermissions['*']['createaccount'] = false; # Restrict the creation of account to sysop only $wgGroupPermissions['*']['createaccount'] = false; # Restrict the creation of account to sysop only
$wgGroupPermissions['*']['autocreateaccount'] = true; # Création de comptes depuis LDAP et Note mais pas local $wgGroupPermissions['*']['autocreateaccount'] = true; # Création de comptes depuis LDAP et Note mais pas local
$wgGroupPermissions['*']['delete'] = true; # Création de comptes depuis LDAP et Note mais pas local
$wgCategoryLockdownWhitelist = [ $wgCategoryLockdownWhitelist = [
"Spécial:Connexion", "Spécial:Connexion",
"Spécial:Connexion/return", "Spécial:Connexion/return",
@ -155,6 +153,7 @@ in
"MediaWiki:Common.js" "MediaWiki:Common.js"
]; ];
$wgCategoryGroupLockdown["!user"]["read"] = [ "Page Publique" ]; # Restrict read for non-user (i.e. anonymous) on execpt for Page Publique $wgCategoryGroupLockdown["!user"]["read"] = [ "Page Publique" ]; # Restrict read for non-user (i.e. anonymous) on execpt for Page Publique
$wgFeed = false; # Pas de flux car ils ne sont pas authentifiés :(.
# Extensions # Extensions
$wgWikiEditorRealtimePreview = true; $wgWikiEditorRealtimePreview = true;