Index: branches/on-wiki_configuration/phase3/LocalSettings.sample |
— | — | @@ -0,0 +1,54 @@ |
| 2 | +<? |
| 3 | +# Local settings work like this: the file LocalSettings.sample |
| 4 | +# should be copied to LocalSettings.php in the source directory |
| 5 | +# and edited for your local file system settings and software |
| 6 | +# configuration preferences. The install script will copy it to |
| 7 | +# the installation path, but a copy should also remain in the |
| 8 | +# source tree so that maintenance scripts can refer to it (you |
| 9 | +# may want to make it a symbolic link after installation). Do |
| 10 | +# not check LocalSettings.php into CVS! It is different for |
| 11 | +# every installation, and must not be overridden. |
| 12 | + |
| 13 | +# The most important setting is here: $IP is the installation |
| 14 | +# path for the software. |
| 15 | +# |
| 16 | + |
| 17 | +$IP = "/usr/local/apache/htdocs/wiki"; |
| 18 | + |
| 19 | +if ( ! isset( $DP ) ) { $DP = $IP; } |
| 20 | +include_once( "$DP/DefaultSettings.php" ); |
| 21 | + |
| 22 | +# You can customize a lot of URLs and paths, but you will |
| 23 | +# almost certainly want to customize the following. The |
| 24 | +# ArticlePath one is especially useful if you want to use |
| 25 | +# mod_redirect to make page-viewing URLs look static. |
| 26 | +# |
| 27 | +$wgServer = "http://www.myhost.com"; |
| 28 | +$wgArticlePath = "{$wgScript}?title=$1"; |
| 29 | +$wgEmergencyContact = "wikiadmin@myhost.com"; |
| 30 | + |
| 31 | +# MySQL settings |
| 32 | +# |
| 33 | +$wgDBserver = "localhost"; |
| 34 | +$wgDBname = "wikidb"; |
| 35 | +$wgDBpassword = "userpass"; |
| 36 | +$wgDBsqlpassword = "sqlpass"; |
| 37 | +$wgDBminWordLen = 3; # Match this to your MySQL fulltext |
| 38 | +$wgDBtransactions = false; # Set to true if using InnoDB tables |
| 39 | + |
| 40 | +# Turn this on during database maintenance |
| 41 | +# $wgReadOnly = true; |
| 42 | + |
| 43 | +# Turn this on to get HTML debug comments |
| 44 | +# $wgDebugComments = true; |
| 45 | + |
| 46 | +# If you want a non-English wiki, add a line like this |
| 47 | +# $wgLanguageCode = "de"; |
| 48 | + |
| 49 | +$wgUseTeX = false; |
| 50 | +$wgLocalInterwiki = "w"; |
| 51 | + |
| 52 | +$wgInputEncoding = "ISO-8859-1"; |
| 53 | +$wgOutputEncoding = "ISO-8859-1"; |
| 54 | + |
| 55 | +?> |