diff options
-rw-r--r-- | modules/mediawiki/templates/LocalSettings.php | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/modules/mediawiki/templates/LocalSettings.php b/modules/mediawiki/templates/LocalSettings.php index 98c9e263..8d641ae6 100644 --- a/modules/mediawiki/templates/LocalSettings.php +++ b/modules/mediawiki/templates/LocalSettings.php @@ -79,7 +79,7 @@ $wgMemCachedServers = []; ## To enable image uploads, make sure the 'images' directory ## is writable, then set this to true: $wgEnableUploads = false; -# use gd, as convert do not work for big image +# use gd, as convert do not work for big image # see https://bugs.mageia.org/show_bug.cgi?id=3202 $wgUseImageMagick = false; #$wgImageMagickConvertCommand = "/usr/bin/convert"; @@ -160,6 +160,9 @@ $wgInvalidateCacheOnLocalSettingsChange = true; # https://www.mediawiki.org/wiki/Manual:$wgPasswordPolicy $wgMinimalPasswordLength = 1; +# Give more details on errors +$wgShowExceptionDetails = true; + ## LDAP setup @@ -179,7 +182,7 @@ $wgLDAPDomainNames = array( 'ldap' ); # TODO make it workable with more than one server $wgLDAPServerNames = array( 'ldap' => 'ldap.<%= domain %>' ); - + $wgLDAPSearchStrings = array( 'ldap' => 'uid=USER-NAME,ou=People,<%= dc_suffix %>' ); $wgLDAPEncryptionType = array( 'ldap' => 'tls' ); @@ -189,7 +192,7 @@ $wgLDAPUserBaseDNs = array( 'ldap' => 'ou=People,<%= dc_suffix %>' ); $wgLDAPGroupBaseDNs = array ( 'ldap' => 'ou=Group,<%= dc_suffix %>' ); $wgLDAPProxyAgent = array( 'ldap' => 'cn=mediawiki-alamut,ou=System Accounts,<%= dc_suffix %>' ); - + $wgLDAPProxyAgentPassword = array( 'ldap' => '<%= ldap_password %>' ); $wgLDAPUseLDAPGroups = array( 'ldap' => true ); |