if( defined( 'MEDIAWIKI' ) ) {
/** MediaWiki version number */
-$wgVersion = '1.5pre-alpha';
+$wgVersion = '1.5alpha1';
/** Name of the site. It must be changed in LocalSettings.php */
$wgSitename = 'MediaWiki';
$wgProto = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on') ? 'https' : 'http';
$wgServer = $wgProto.'://' . $wgServerName;
-if( isset( $_SERVER['SERVER_PORT'] ) && $_SERVER['SERVER_PORT'] != 80 ) {
+# If the port is a non-standard one, add it to the URL
+if( isset( $_SERVER['SERVER_PORT'] )
+ && ( ( $wgProto == 'http' && $_SERVER['SERVER_PORT'] != 80 )
+ || ( $wgProto == 'https' && $_SERVER['SERVER_PORT'] != 443 ) ) ) {
+
$wgServer .= ":" . $_SERVER['SERVER_PORT'];
}
unset($wgProto);
*/
$wgStyleDirectory = "{$IP}/skins";
$wgStyleSheetPath = &$wgStylePath;
-$wgStyleSheetDirectory = &$wgStyleDirectory;
$wgArticlePath = "{$wgScript}?title=$1";
$wgUploadPath = "{$wgScriptPath}/upload";
$wgUploadDirectory = "{$IP}/upload";
*/
$wgHashedSharedUploadDirectory = true;
-/** set true if the repository uses latin1 filenames */
-$wgSharedLatin1=false;
-
/**
* Base URL for a repository wiki. Leave this blank if uploads are just stored
* in a shared directory and not meant to be accessible through a separate wiki.
$wgDBtransactions = false;
/** Set to true to use enhanced fulltext search */
$wgDBmysql4 = false;
-$wgSqlTimeout = 30;
/**
* Other wikis on this site, can be administered from a single developer
# Language settings
#
-/** Site language code, should be one of ./language/Language(.*).php */
+/** Site language code, should be one of ./languages/Language(.*).php */
$wgLanguageCode = 'en';
/** Filename of a language file generated by dumpMessages.php */
$wgAutoblockExpiry = 86400; # Number of seconds before autoblock entries expire
+/**
+ * Static user groups serialized record
+ * To avoid database access, you can set this to a user groups record as returned
+ * by Special:Groups with the magic parameter showrecord=1. This will however mean
+ * that you won't be able to edit them at runtime.
+ */
+$wgStaticGroups = false;
+
# Proxy scanner settings
#
$wgTidyOpts = '';
$wgTidyInternal = function_exists( 'tidy_load_config' );
-/** See list of skins and their symbolic names in languagel/Language.php */
+/** See list of skins and their symbolic names in languages/Language.php */
$wgDefaultSkin = 'monobook';
/**
* no longer be accessible. If you rename it, then you can access them through
* the new namespace name.
*
- * Custom namespaces should start at 100 and stop at 255 (hard limit set by
- * database).
+ * Custom namespaces should start at 100 to avoid conflicting with standard
+ * namespaces, and should always follow the even/odd main/talk pattern.
*/
#$wgExtraNamespaces =
# array(100 => "Hilfe",
# );
$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
$wgLoggedInGroupId = 2;
$wgSysopGroupId = 3;
$wgBureaucratGroupId = 4;
+$wgStewardGroupId = 5;
/**
* When translating messages with wfMsg(), it is not always clear what should be
/**
* Use http.dnsbl.sorbs.net to check for open proxies
*/
-$wgEnableSorbs = true;
+$wgEnableSorbs = false;
/**
* On Special:Unusedimages, consider images "used", if they are put