mirror of https://gitlab.crans.org/nounous/nixos
Emails, and fix acls
parent
1520bd6d4c
commit
ffda38b4f1
|
|
@ -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 l’utilisateurice
|
||||||
$wgEnotifRevealEditorAddress = false;
|
$wgEnotifRevealEditorAddress = false; # Pas de champ répondre avec l’adresse mail de l’utilisateurice
|
||||||
$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;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue