Comments and whitespace fixes only.
[lhc/web/wiklou.git] / includes / DefaultSettings.php
index d0b806f..19bf3b7 100644 (file)
@@ -191,14 +191,6 @@ $wgFileStore['deleted']['directory'] = false;///< Defaults to $wgUploadDirectory
 $wgFileStore['deleted']['url'] = null;       ///< Private
 $wgFileStore['deleted']['hash'] = 3;         ///< 3-level subdirectory split
 
-
-/**
- *  used only for img_auth script - see [[Image Authorization]]
- */
-$wgImgAuthDetails   = false; ///< defaults to false - only set to true if you use img_auth and want the user to see details on why access failed
-$wgImgAuthPublicTest = true; ///< defaults to true - if public read is turned on, no need for img_auth, config error unless other access is used
-
-
 /**@{
  * File repository structures
  *
@@ -290,6 +282,7 @@ $wgForeignFileRepos = array();
 $wgLegalTitleChars = " %!\"$&'()*,\\-.\\/0-9:;=?@A-Z\\\\^_`a-z~\\x80-\\xFF+";
 $wgIllegalFileChars = ":";  // These are additional characters that should be replaced with '-' in file names
 
+
 /**
  * The external URL protocols
  */
@@ -466,13 +459,11 @@ $wgMaxUploadSize = 1024*1024*100; # 100MB
 
 
 /**
-* Enable firefogg support
-* add support for in-browser transcoding to ogg theora
-* add support for chunk uploads for large image files
-* add support for client side hash checks
-*
-* (requires the js2 code for the interface)
-*/
+ * Enable Firefogg support. Adds support for in-browser transcoding to Ogg 
+ * Theora, chunked uploads for large image files and client side hash checks.
+ *
+ * Ignored unless $wgEnableJS2system is true.
+ */
 $wgEnableFirefogg = true;
 
 /**
@@ -604,6 +595,10 @@ $wgDBpassword       = '';
 /** Database type */
 $wgDBtype           = 'mysql';
 
+/** Separate username and password for maintenance tasks. Leave as null to use the default */
+$wgDBadminuser = null;
+$wgDBadminpassword = null;
+
 /** Search type
  * Leave as null to select the default search engine for the
  * selected database type (eg SearchMySQL), or set to a class
@@ -2729,10 +2724,9 @@ $wgSpecialPages = array();
  */
 $wgAutoloadClasses = array();
 
-
 /*
- * Array mapping javascript class to web path for autoloading js
- * this var is populated in AutoLoader.php
+ * Array mapping JavaScript class to web path for use by the script loader.
+ * This is populated in AutoLoader.php.
  */
 $wgJSAutoloadClasses = array();
 
@@ -2745,6 +2739,18 @@ $wgJSAutoloadClasses = array();
  */
 $wgEnableScriptLoader = false;
 
+/*
+ * $wgScriptModifiedCheck should run a file modified check on javascript files when
+ * generating unique request ids for javascript include using the script-loader
+ *
+ * note this will only check core scripts that are directly included on the page.
+ * (not scripts loaded after the initial page display since after initial page
+ * display scripts inherit the unique request id) 
+ *
+ * and or you can update $wgStyleVersion
+ */
+$wgScriptModifiedCheck = true;
+
 /*
  * enable js2 Script System
  * if enabled we include jquery, mv_embed and js2 versions of editPage.js
@@ -2752,17 +2758,20 @@ $wgEnableScriptLoader = false;
 $wgEnableJS2system = false;
 
 /*
- * boolean; if relative file paths can be used (in addition to the autoload js classes listed in: $wgJSAutoloadClasses
+ * boolean; if relative file paths can be used (in addition to the autoload 
+ * js classes listed in: $wgJSAutoloadClasses)
  */
 $wgEnableScriptLoaderJsFile = false;
 
 /*
- * boolean; if we should minify the output. (note if you send ?debug=true in the page request it will automatically not group and not minify)
+ * boolean; if we should minify the output. (note if you send ?debug=true in 
+ * the page request it will automatically not group and not minify)
  */
 $wgEnableScriptMinify = true;
 
 /*
- * boolean; if we should enable javascript localization (it loads loadGM json call with mediaWiki msgs)
+ * boolean; if we should enable javascript localization (it loads loadGM json 
+ * call with mediaWiki msgs)
  */
 $wgEnableScriptLocalization = true;
 
@@ -2772,10 +2781,9 @@ $wgEnableScriptLocalization = true;
 $wgMwEmbedDirectory = "js2/mwEmbed/";
 
 /*
- * wgDebugJavaScript used to turn on debuging for the javascript script-loader
- * & forces fresh copies of javascript
+ * Turn on debugging for the javascript script-loader & forces fresh copies 
+ * of javascript
  */
-
 $wgDebugJavaScript = false;
 
 
@@ -3466,6 +3474,13 @@ $wgDisabledActions = array();
  */
 $wgDisableHardRedirects = false;
 
+/**
+ * Set to false to disable application of access keys and tooltips,
+ * eg to avoid keyboard conflicts with system keys or as a low-level
+ * optimization.
+ */
+$wgEnableTooltipsAndAccesskeys = true;
+
 /**
  * Use http.dnsbl.sorbs.net to check for open proxies
  */
@@ -3598,8 +3613,9 @@ $wgAllowSpecialInclusion = true;
  * default is (default php.ini script time 30s - 5s for everything else)
  */
 $wgSyncHTTPTimeout = 25;
+
 /**
-* Timeout for asynchronous http request that run in a background php proccess
+* Timeout for asynchronous HTTP requests that run in a background PHP process
 * default set to 20 min
 */
 $wgAsyncHTTPTimeout = 60*20;
@@ -3677,7 +3693,8 @@ $wgAjaxWatch = true;
 $wgAjaxUploadDestCheck = true;
 
 /**
- * Enable AJAX upload interface (need for large http uploads & to display progress on uploads for browsers that support it)
+ * Enable the AJAX upload interface (needed for large http uploads & to display 
+ * progress on uploads for browsers that support it)
  */
 $wgAjaxUploadInterface = true;
 
@@ -3742,7 +3759,7 @@ $wgMaxShellFileSize = 102400;
 $wgMaxShellTime = 180;
 
 /**
-* Executable Path of PHP cli client (php/php5)  (should be setup on install)
+* Executable path of the PHP cli binary (php/php5). Should be set up on install.
 */
 $wgPhpCli = '/usr/bin/php';
 
@@ -3841,6 +3858,12 @@ $wgAPIMaxUncachedDiffs = 1;
  */
 $wgAPIRequestLog = false;
 
+/**
+ * Cache the API help text for up to an hour. Disable this during API
+ * debugging and development
+ */
+$wgAPICacheHelp = true;
+
 /**
  * Parser test suite files to be run by parserTests.php when no specific
  * filename is passed to it.
@@ -4190,3 +4213,9 @@ $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.
+ * Note that this requires JS2 and the script loader.
+ */
+$wgUseAJAXCategories = false;