Revert r55800 "bug 19646 Localization of img_auth.php - with enhancements"
[lhc/web/wiklou.git] / includes / DefaultSettings.php
index 7da728a..e3108ed 100644 (file)
@@ -156,7 +156,7 @@ $wgUploadPath       = false; ///< defaults to "{$wgScriptPath}/images"
 $wgUploadDirectory     = false; ///< defaults to "{$IP}/images"
 $wgHashedUploadDirectory       = true;
 $wgLogo                                = false; ///< defaults to "{$wgStylePath}/common/images/wiki.png"
-$wgFavicon                     = false; ///< will be treated as '/favicon.ico' anyway by user agents
+$wgFavicon                     = '/favicon.ico';
 $wgAppleTouchIcon   = false; ///< This one'll actually default to off. For iPhone and iPod Touch web app bookmarks
 $wgMathPath         = false; ///< defaults to "{$wgUploadPath}/math"
 $wgMathDirectory    = false; ///< defaults to "{$wgUploadDirectory}/math"
@@ -259,7 +259,7 @@ $wgForeignFileRepos = array();
  *
  * Problematic punctuation:
  *  []{}|#    Are needed for link syntax, never enable these
- *  <         Causes problems with HTML escaping, don't use
+ *  <>        Causes problems with HTML escaping, don't use
  *  %         Enabled by default, minor problems with path to query rewrite rules, see below
  *  +         Enabled by default, but doesn't work with path to query rewrite rules, corrupted by apache
  *  ?         Enabled by default, but doesn't work with path to PATH_INFO rewrites
@@ -279,7 +279,8 @@ $wgForeignFileRepos = array();
  * Theoretically 0x80-0x9F of ISO 8859-1 should be disallowed, but
  * this breaks interlanguage links
  */
-$wgLegalTitleChars = " %!\"$&'()*,\\-.\\/0-9:;=?@A-Z\\\\^_`a-z~\\x80-\\xFF+>";
+$wgLegalTitleChars = " %!\"$&'()*,\\-.\\/0-9:;=?@A-Z\\\\^_`a-z~\\x80-\\xFF+";
+$wgIllegalFileChars = ":";  // These are additional characters that should be replaced with '-' in file names
 
 
 /**
@@ -467,14 +468,6 @@ $wgMaxUploadSize = 1024*1024*100; # 100MB
 */
 $wgEnableFirefogg = true;
 
-
-/**
- * enable oggz_chop support
- * if enabled the mv_embed player will use temporal urls
- * for helping with seeking with some plugin types
- */
-$wgEnableTemporalOggUrls = false;
-
 /**
  * Point the upload navigation link to an external URL
  * Useful if you want to use a shared repository by default
@@ -1180,6 +1173,11 @@ $wgColorErrors          = true;
  */
 $wgShowExceptionDetails = false;
 
+/**
+ * If true, show a backtrace for database errors
+ */
+$wgShowDBErrorBacktrace = false;
+
 /**
  * Expose backend server host names through the API and various HTML comments
  */
@@ -1588,7 +1586,7 @@ $wgCacheEpoch = '20030516000000';
  * to ensure that client-side caches do not keep obsolete copies of global
  * styles.
  */
-$wgStyleVersion = '236';
+$wgStyleVersion = '239';
 
 
 # Server-side caching:
@@ -2820,7 +2818,11 @@ $wgUseSiteJs = true;
 /** Use the site's Cascading Style Sheets (CSS)? */
 $wgUseSiteCss = true;
 
-/** Filter for Special:Randompage. Part of a WHERE clause */
+/**
+ * Filter for Special:Randompage. Part of a WHERE clause
+ * @deprecated as of 1.16, use the SpecialRandomGetRandomTitle hook
+*/
+
 $wgExtraRandompageSQL = false;
 
 /** Allow the "info" action, very inefficient at the moment */
@@ -3318,6 +3320,7 @@ $wgSpecialPageGroups = array(
  * over an XMLHttpRequest from JavaScript instead of
  * forcing a submit and reload of the whole page.
  * Leave disabled unless you're testing it.
+ * Needs JS2 ($wgEnableJS2) to be activated.
  */
 $wgLivePreview = false;
 
@@ -3456,6 +3459,11 @@ $wgDisabledActions = array();
  */
 $wgDisableHardRedirects = false;
 
+/**
+ * Disable tooltips and access keys
+ */
+$wgDisableTooltipsAndAccesskeys = false;
+
 /**
  * Use http.dnsbl.sorbs.net to check for open proxies
  */
@@ -3589,11 +3597,17 @@ $wgAllowSpecialInclusion = true;
  */
 $wgSyncHTTPTimeout = 25;
 /**
-* Timeout for asynchronous http request that run in a backgournd php proccess
+* Timeout for asynchronous http request that run in a background php proccess
 * default set to 20 min
 */
 $wgAsyncHTTPTimeout = 60*20;
 
+/*
+ * if AsyncDownload is enabled (works on unix platforms)
+ * fix for windows is pending.
+ */
+$wgEnableAsyncDownload = false;
+
 /**
  * Proxy to use for CURL requests.
  */
@@ -3635,7 +3649,7 @@ $wgUpdateRowsPerJob = 500;
 /**
  * Number of rows to update per query
  */
-$wgUpdateRowsPerQuery = 10;
+$wgUpdateRowsPerQuery = 100;
 
 /**
  * Enable AJAX framework
@@ -3819,6 +3833,12 @@ $wgAPIMaxResultSize = 8388608;
  */
 $wgAPIMaxUncachedDiffs = 1;
 
+/**
+ * Log file or URL (TCP or UDP) to log API requests to, or false to disable
+ * API request logging
+ */
+$wgAPIRequestLog = false;
+
 /**
  * Parser test suite files to be run by parserTests.php when no specific
  * filename is passed to it.
@@ -3920,8 +3940,11 @@ $wgRegisterInternalExternals = false;
 $wgExceptionHooks = array();
 
 /**
- * Page property link table invalidation lists. Should only be set by exten-
- * sions.
+ * Page property link table invalidation lists. When a page property
+ * changes, this may require other link tables to be updated (eg
+ * adding __HIDDENCAT__ means the hiddencat tracking category will
+ * have been added, so the categorylinks table needs to be rebuilt). 
+ * This array can be added to by extensions.
  */
 $wgPagePropLinkInvalidations = array(
        'hiddencat' => 'categorylinks',
@@ -4131,36 +4154,42 @@ $wgAutocreatePolicy = 'login';
  */
 $wgAllowPrefChange = array();
 
-/**
- * If an exact match is not found, try to find a match in different namespaces
- * before performing a search.
- *
- * Array: Ids of namespaces to attempt match in, in desired order.
- */
-$wgSecondaryGoNamespaces = null;
-
 
 /**
  * Settings for incoming cross-site AJAX requests:
  * Newer browsers support cross-site AJAX when the target resource allows requests
  * from the origin domain by the Access-Control-Allow-Origin header.
  * This is currently only used by the API (requests to api.php)
- * $wgCrossSiteAJAXdomains can be set as follows:
- * 
- * - the string '*' to allow requests from any domain
- * - an array of domains to allow AJAX requests from, e.g.
- *   array( 'http://en.wikipedia.org', 'http://en.wikibooks.org' );
- * - if $wgCrossSiteAJAXdomainsRegex is true, an array of regexes to be
- *   matched against the request origin. Anything that matches will be allowed
+ * $wgCrossSiteAJAXdomains can be set using a wildcard syntax:
+ *
+ * '*' matches any number of characters
+ * '?' matches any 1 character
+ *
+ * Example:
+ $wgCrossSiteAJAXdomains = array(
+  'www.mediawiki.org',
+  '*.wikipedia.org',
+  '*.wikimedia.org',
+  '*.wiktionary.org',
+ );
+ *
  */
 $wgCrossSiteAJAXdomains = array();
 
 /**
- * Set to true to treat $wgCrossSiteAJAXdomains as regexes instead of strings
+ * Domains that should not be allowed to make AJAX requests,
+ * even if they match one of the domains allowed by $wgCrossSiteAJAXdomains
+ * Uses the same syntax as $wgCrossSiteAJAXdomains
  */
-$wgCrossSiteAJAXdomainsRegex = false;
+
+$wgCrossSiteAJAXdomainExceptions = array();
 
 /**
  * The minimum amount of memory that MediaWiki "needs"; MediaWiki will try to raise PHP's memory limit if it's below this amount.
  */
 $wgMemoryLimit = "50M";
+
+/**
+ * Whether or not to use the AJAX categories system.
+ */
+$wgUseAJAXCategories = false;