fix a problem by not inserting __MWTEMPLATESECTION for section titles that don't...
[lhc/web/wiklou.git] / includes / DefaultSettings.php
index b58a4a3..0319147 100644 (file)
@@ -92,12 +92,12 @@ $wgRedirectScript   = "{$wgScriptPath}/redirect.php";
  * style path as seen by users
  * @global string $wgStylePath
  */
-$wgStylePath   = "{$wgScriptPath}/style";
+$wgStylePath   = "{$wgScriptPath}/skins";
 /**
  * filesystem stylesheets directory
  * @global string $wgStyleDirectory
  */
-$wgStyleDirectory = "{$IP}/style";
+$wgStyleDirectory = "{$IP}/skins";
 $wgStyleSheetPath = &$wgStylePath;
 $wgStyleSheetDirectory = &$wgStyleDirectory;
 $wgArticlePath      = "{$wgScript}?title=$1";
@@ -117,14 +117,15 @@ $wgTmpDirectory     = "{$wgUploadDirectory}/tmp";
  * Default to wikiadmin@SERVER_NAME
  * @global string $wgEmergencyContact
  */
-$wgEmergencyContact = 'wikiadmin@' . getenv( 'SERVER_NAME' );
+$wgEmergencyContact = 'wikiadmin@' . $_SERVER['SERVER_NAME'];
+
 /**
  * Password reminder email address
  * The address we should use as sender when a user is requesting his password
  * Default to apache@SERVER_NAME
  * @global string $wgPasswordSender
  */
-$wgPasswordSender      = 'Wikipedia Mail <apache@' . getenv( 'SERVER_NAME' ) . '>';
+$wgPasswordSender      = 'Wikipedia Mail <apache@' . $_SERVER['SERVER_NAME'] . '>';
 
 
 /**
@@ -162,8 +163,15 @@ $wgDBuser           = 'wikiuser';
 $wgDBtype           = "mysql";
 /** Table name prefix */
 $wgDBprefix         = ''; 
+/** Database schema
+ * on some databases this allows separate 
+ * logical namespace for application data
+ */
+$wgDBschema        = 'mediawiki';
 /**#@-*/
 
+
+
 # Shared database for multiple wikis.
 # Presently used for storing a user table for single sign-on
 # The server for this database must be the same as for the main
@@ -248,6 +256,15 @@ $wgUseTurckShm      = false;
  */
 $wgLanguageCode     = 'en';
 
+/**
+ * Languages which the user may select to display the user interface
+ * in instead of the default language. This option is currently
+ * experimental and WILL FAIL FOR MANY COMMON TASKS AND PERHAPS
+ * CORRUPT YOUR DATABASE WITH BOGUS DATA.
+ * Set to eg array( 'en', 'fr', 'zh' ) etc
+ */
+$wgUserLanguages = array();
+
 /**
  * Filename of a language file generated by dumpMessages.php
  * @global string|false $wgLanguageFile (default:false)
@@ -518,10 +535,6 @@ $wgSiteNotice = "";
 # 
 $wgUseImageResize              = false;
 
-## Set maximum width of images on image description pages.
-## Images bigger than this will be rendered down.
-$wgMaxImageWidth = 800;
-
 ## Resizing can be done using PHP's internal image libraries
 ## or using ImageMagick. The later supports more file formats
 ## than PHP, which only supports PNG, GIF, JPG, XBM and WBMP.
@@ -608,9 +621,9 @@ $wgGoToEdit = false;
 $wgUserHtml = true;
 
 # Allow raw, unchecked HTML in <html>...</html> sections.
-# THIS IS VERY DANGEROUS on a publically editable site.
-# Don't enable it unless you've restricted editing to trusted
-# users only.
+# THIS IS VERY DANGEROUS on a publically editable site, so
+# you can't enable it unless you've restricted editing to
+# trusted users only with $wgWhitelistEdit.
 $wgRawHtml = false;
 
 # $wgUseTidy: use tidy to make sure HTML output is sane.
@@ -669,16 +682,33 @@ $wgUseRCPatrol = true;
 # If you rename it, then you can access them through the new namespace name.
 #
 # Custom namespaces should start at 100.
-#$wgExtraNamespaces
-#      array(100 => "Hilfe", 
+#$wgExtraNamespaces =
+#      array(100 => "Hilfe",
 #            101 => "Hilfe_Diskussion",
-#            102 =>"Aide", 
-#            103 =>"Discussion_Aide"
+#            102 => "Aide",
+#            103 => "Discussion_Aide"
 #            );
+$wgExtraNamespaces = NULL;
 
 # Enable SOAP interface. Off by default
+# SOAP is a protocoll for remote procedure calls (RPC) using http as middleware.
+# This interface can be used by bots or special clients to receive articles from
+# a wiki.
+# Most bots use the normal HTTP interface and don't use SOAP.
+# If unsure, set to false.
 $wgEnableSOAP = false;
 
+# Limit images on image description pages to a user-selectable limit. In order to
+# reduce disk usage, limits can only be selected from a list. This is the list of
+# settings the user can choose from:
+$wgImageLimits = array (
+       array(320,240),
+       array(640,480),
+       array(800,600),
+       array(1024,768),
+       array(1280,1024),
+       array(10000,10000) );
+
 } else {
        die();
 }