aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2017-04-20 16:38:38 +0200
committerRémi Verschelde <rverschelde@gmail.com>2017-04-20 16:38:54 +0200
commit9c9a84898b868477e06d0812e01c77283f8d06ec (patch)
tree1a097b8fc69a7bbbb7cc7e258c7e5efddcfc5eb5 /modules
parent228eed5052c4620569bd439144569f7c6a711ccb (diff)
downloadpuppet-9c9a84898b868477e06d0812e01c77283f8d06ec.tar
puppet-9c9a84898b868477e06d0812e01c77283f8d06ec.tar.gz
puppet-9c9a84898b868477e06d0812e01c77283f8d06ec.tar.bz2
puppet-9c9a84898b868477e06d0812e01c77283f8d06ec.tar.xz
puppet-9c9a84898b868477e06d0812e01c77283f8d06ec.zip
Mediawiki: Enable $wgShowExceptionDetails
Diffstat (limited to 'modules')
-rw-r--r--modules/mediawiki/templates/LocalSettings.php9
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 );