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
$wgEnableEmail = true;
# $wgSMTP = [
# 'host' => 'smtp.adm.crans.org',
# 'IDHost' => 'crans.org',
# 'localhost' => 'crans.org',
# 'port' => ,
# 'auth' => false,
# # 'username' => ,
# # 'password' => ,
# ];
$wgSMTP = [
'host' => 'smtp.adm.crans.org',
'IDHost' => 'crans.org',
'localhost' => 'crans.org',
'port' => 25,
'auth' => false,
];
$wgPasswordSender = 'root@crans.org';
$wgEmergencyContact = 'contact@crans.org';
$wgNoReplyAddress = 'root@crans.org';
$wgEnableUserEmail = false;
# $wgEnableSpecialMute = true;
$wgAllowHTMLEmail = true;
$wgEnotifUseRealName = false;
$wgEnotifFromEditor = false;
$wgEnotifRevealEditorAddress = false;
$wgEnotifUseRealName = true; # On active les noms réels pour plus de lisibilité avec les comptes note
$wgEnotifFromEditor = false; # On ne se fait pas passer par lutilisateurice
$wgEnotifRevealEditorAddress = false; # Pas de champ répondre avec ladresse mail de lutilisateurice
$wgEnotifUserTalk = true;
$wgEnotifMinorEdits = true;
$wgEnotifWatchlist = true;
@ -146,6 +143,7 @@ in
$wgGroupPermissions['*']['edit'] = false; # Restrict edition for anonymous user
$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['*']['delete'] = true; # Création de comptes depuis LDAP et Note mais pas local
$wgCategoryLockdownWhitelist = [
"Spécial:Connexion",
"Spécial:Connexion/return",
@ -155,6 +153,7 @@ in
"MediaWiki:Common.js"
];
$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
$wgWikiEditorRealtimePreview = true;