source: npl/webapps/mediawiki/LocalSettings.php @ 26ffad7

Last change on this file since 26ffad7 was c5c522c, checked in by Edwin Eefting <edwin@datux.nl>, 8 years ago

initial commit, transferred from cleaned syn3 svn tree

  • Property mode set to 100644
File size: 5.4 KB
Line 
1<?php
2
3# This file was automatically generated by the MediaWiki installer.
4# If you make manual changes, please keep track in case you need to
5# recreate them later.
6#
7# See includes/DefaultSettings.php for all configurable settings
8# and their default values, but don't forget to make changes in _this_
9# file, not there.
10
11# If you customize your file layout, set $IP to the directory that contains
12# the other MediaWiki files. It will be used as a base to locate files.
13if( defined( 'MW_INSTALL_PATH' ) ) {
14        $IP = MW_INSTALL_PATH;
15        } else {
16                $IP = dirname( __FILE__ );
17                }
18               
19                $path = array( $IP, "$IP/includes", "$IP/languages" );
20                set_include_path( implode( PATH_SEPARATOR, $path ) . PATH_SEPARATOR . get_include_path() );
21               
22                require_once( "includes/DefaultSettings.php" );
23               
24                # If PHP's memory limit is very low, some operations may fail.
25                # ini_set( 'memory_limit', '20M' );
26               
27                if ( $wgCommandLineMode ) {
28                        if ( isset( $_SERVER ) && array_key_exists( 'REQUEST_METHOD', $_SERVER ) ) {
29                                        die( "This script must be run from the command line\n" );
30                                                }
31                                                }
32                                                ## Uncomment this to disable output compression
33                                                # $wgDisableOutputCompression = true;
34                                               
35                                                $wgSitename         = "Syn3";
36                                               
37                                                $wgLogo             = "/syn3/mediawiki/images/logo.jpg";
38                                               
39                                                ## The URL base path to the directory containing the wiki;
40                                                ## defaults for all runtime URL paths are based off of this.
41                                                $wgScriptPath       = "/syn3/mediawiki";
42                                               
43                                                ## For more information on customizing the URLs please see:
44                                                ## http://www.mediawiki.org/wiki/Manual:Short_URL
45                                               
46                                                $wgEnableEmail      = true;
47                                                $wgEnableUserEmail  = true;
48                                               
49                                                $wgEmergencyContact = "Administrator";
50                                                $wgPasswordSender = "Administrator";
51                                               
52                                                ## For a detailed description of the following switches see
53                                                ## http://meta.wikimedia.org/Enotif and http://meta.wikimedia.org/Eauthent
54                                                ## There are many more options for fine tuning available see
55                                                ## /includes/DefaultSettings.php
56                                                ## UPO means: this is also a user preference option
57                                                $wgEnotifUserTalk = true; # UPO
58                                                $wgEnotifWatchlist = true; # UPO
59                                                $wgEmailAuthentication = true;
60                                               
61                                                $wgDBtype           = "mysql";
62                                                $wgDBserver         = "localhost";
63                                                $wgDBname           = "mediawiki";
64                                                $wgDBuser           = "mediawiki";
65                                                $wgDBpassword       = "%mysql_passwd%";
66                                                $wgDBport           = "5432";
67                                                $wgDBprefix         = "mw_";
68                                               
69                                                # MySQL table options to use during installation or update
70                                                $wgDBTableOptions   = "TYPE=InnoDB";
71                                               
72                                                # Schemas for Postgres
73                                                $wgDBmwschema       = "mediawiki";
74                                                $wgDBts2schema      = "public";
75                                               
76                                                # Experimental charset support for MySQL 4.1/5.0.
77                                                $wgDBmysql5 = false;
78                                               
79                                                ## Shared memory settings
80                                                $wgMainCacheType = CACHE_NONE;
81                                                $wgMemCachedServers = array();
82                                               
83                                                ## To enable image uploads, make sure the 'images' directory
84                                                ## is writable, then set this to true:
85                                                $wgEnableUploads       = true;
86                                                # $wgUseImageMagick = true;
87                                                # $wgImageMagickConvertCommand = "/usr/bin/convert";
88                                               
89                                                ## If you want to use image uploads under safe mode,
90                                                ## create the directories images/archive, images/thumb and
91                                                ## images/temp, and make them all writable. Then uncomment
92                                                ## this, if it's not already uncommented:
93                                                # $wgHashedUploadDirectory = false;
94                                               
95                                                ## If you have the appropriate support software installed
96                                                ## you can enable inline LaTeX equations:
97                                                $wgUseTeX           = false;
98                                               
99                                                $wgLocalInterwiki   = $wgSitename;
100                                               
101                                                $wgLanguageCode = "nl";
102                                               
103                                                $wgProxyKey = "909ab7d6d943233f2b32e43a8c1556fa178ba6be438ce3e254808296f35f2b18";
104                                               
105                                                ## Default skin: you can change the default skin. Use the internal symbolic
106                                                ## names, ie 'standard', 'nostalgia', 'cologneblue', 'monobook':
107                                                $wgDefaultSkin = 'monobook';
108                                               
109                                                ## For attaching licensing metadata to pages, and displaying an
110                                                ## appropriate copyright notice / icon. GNU Free Documentation
111                                                ## License and Creative Commons licenses are supported so far.
112                                                # $wgEnableCreativeCommonsRdf = true;
113                                                $wgRightsPage = ""; # Set to the title of a wiki page that describes your license/copyright
114                                                $wgRightsUrl = "";
115                                                $wgRightsText = "";
116                                                $wgRightsIcon = "";
117                                                # $wgRightsCode = ""; # Not yet used
118                                               
119                                                $wgDiff3 = "/usr/bin/diff3";
120                                               
121                                                # When you make changes to this configuration file, this will make
122                                                # sure that cached pages are cleared.
123                                                $configdate = gmdate( 'YmdHis', @filemtime( __FILE__ ) );
124                                                $wgCacheEpoch = max( $wgCacheEpoch, $configdate );
125                                               
126                                               
127$wgMaxUploadSize = 100000000;
128$wgCheckFileExtensions = false;
129$wgStrictFileExtensions = false;
130$wgUploadSizeWarning = 100000000;
131
132
133require_once( 'LdapAuthentication.php' );
134$wgAuth = new LdapAuthenticationPlugin();
135$wgLDAPDomainNames = array( "Ldap Database" );
136$wgLDAPServerNames = array( "Ldap Database"=>"ldap-master ldap-slave"  );
137$wgLDAPSearchStrings = array("Ldap Database"=>"uid=USER-NAME,ou=Users,dc=syn-3" );
138#$wgLDAPSearchStrings = array("Ldap Database"=>"memberuid=USER-NAME,cn=Wiki Users,ou=Groups,dc=syn-3");
139$wgLDAPUseSSL = true;
140$wgLDAPUseLocal = false;
141$wgLDAPAddLDAPUsers = true;
142$wgLDAPUpdateLDAP = false;
143$wgLDAPMailPassword = false;
144$wgLDAPRetrievePrefs = false;
145$wgMinimalPasswordLength = 1;
146#$wgLDAPDebug = 4;
147$wgLDAPEncryptionType = "clear";
Note: See TracBrowser for help on using the repository browser.