From 9c9a84898b868477e06d0812e01c77283f8d06ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Thu, 20 Apr 2017 16:38:38 +0200 Subject: Mediawiki: Enable $wgShowExceptionDetails --- modules/mediawiki/templates/LocalSettings.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'modules/mediawiki/templates') 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 ); -- cgit v1.2.1