aboutsummaryrefslogtreecommitdiffstats
path: root/modules/mediawiki
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2011-10-22 22:12:46 +0000
committerNicolas Vigier <boklm@mageia.org>2011-10-22 22:12:46 +0000
commit71ccf76714e866bed716c844cf360e03a8077c23 (patch)
tree98c73b4bc93e2f2f00e55534e9548bef649dc2f0 /modules/mediawiki
parent288fda72e4298b76304f3e29654dc212bc318e5d (diff)
downloadpuppet-71ccf76714e866bed716c844cf360e03a8077c23.tar
puppet-71ccf76714e866bed716c844cf360e03a8077c23.tar.gz
puppet-71ccf76714e866bed716c844cf360e03a8077c23.tar.bz2
puppet-71ccf76714e866bed716c844cf360e03a8077c23.tar.xz
puppet-71ccf76714e866bed716c844cf360e03a8077c23.zip
import preferences from ldap
Diffstat (limited to 'modules/mediawiki')
-rw-r--r--modules/mediawiki/templates/LocalSettings.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/mediawiki/templates/LocalSettings.php b/modules/mediawiki/templates/LocalSettings.php
index 61340acb..469b0c50 100644
--- a/modules/mediawiki/templates/LocalSettings.php
+++ b/modules/mediawiki/templates/LocalSettings.php
@@ -155,6 +155,8 @@ $wgLDAPGroupNameAttribute = array( "ldap" => "cn" );
$wgLDAPLowerCaseUsername = array( "ldap" => true );
+$wgLDAPPreferences = array( "ldap" => array( "email"=>"mail","realname"=>"cn","nickname"=>"uid","language"=>"preferredlanguage") )
+
$wgMinimalPasswordLength = 1;
<%= wiki_settings %>