* 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";
* 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'] . '>';
/**
$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
*/
$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)
#
$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.
$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.
# 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();
}