Fix fixme on r107328, attempting to use $this in a static method
[lhc/web/wiklou.git] / includes / DefaultSettings.php
index ffb55d4..9c9ce46 100644 (file)
@@ -299,9 +299,11 @@ $wgImgAuthPublicTest = true;
  *
  * Properties required for all repos:
  *   - class            The class name for the repository. May come from the core or an extension.
- *                      The core repository classes are LocalRepo, ForeignDBRepo, FSRepo.
+ *                      The core repository classes are FileRepo, LocalRepo, ForeignDBRepo.
+ *                      FSRepo is also supported for backwards compatibility.
  *
  *   - name             A unique name for the repository (but $wgLocalFileRepo should be 'local').
+ *   - backend          A file backend name (see $wgFileBackends).
  *
  * For most core repos:
  *   - url              Base public URL
@@ -366,6 +368,27 @@ $wgForeignFileRepos = array();
  */
 $wgUseInstantCommons = false;
 
+/**
+ * File backend structure configuration.
+ * This is an array of file backend configuration arrays.
+ * Each backend configuration has the following parameters:
+ *     'name'        : A unique name for the backend
+ *     'class'       : The file backend class to use
+ *     'wikiId'      : A unique string that identifies the wiki (container prefix)
+ *     'lockManager' : The name of a lock manager (see $wgFileLockManagers)
+ * Additional parameters are specific to the class used.
+ */
+$wgFileBackends = array();
+
+/**
+ * Array of configuration arrays for each lock manager.
+ * Each backend configuration has the following parameters:
+ *     'name'        : A unique name for the lock manger
+ *     'class'       : The lock manger class to use
+ * Additional parameters are specific to the class used.
+ */
+$wgFileLockManagers = array();
+
 /**
  * Show EXIF data, on by default if available.
  * Requires PHP's EXIF extension: http://www.php.net/manual/en/ref.exif.php
@@ -1529,6 +1552,8 @@ $wgParserCacheType = CACHE_ANYTHING;
  * given, giving a callable function which will generate a suitable cache object.
  *
  * The other parameters are dependent on the class used.
+ * - CACHE_DBA uses $wgTmpDirectory by default. The 'dir' parameter let you
+ *   overrides that.
  */
 $wgObjectCaches = array(
        CACHE_NONE => array( 'class' => 'EmptyBagOStuff' ),
@@ -1884,7 +1909,7 @@ $wgDummyLanguageCodes = array(
        'be-x-old' => 'be-tarask',
        'bh' => 'bho',
        'fiu-vro' => 'vro',
-       'nb' => 'no',
+       'no' => 'nb',
        'qqq' => 'qqq', # Used for message documentation.
        'qqx' => 'qqx', # Used for viewing message keys.
        'roa-rup' => 'rup',
@@ -2250,7 +2275,7 @@ $wgShowIPinHeader = true;
  * Use a user's real name inside the user interface for display instead of the username
  * (experimental)
  */
-$wgRealNameInInterface = true;
+$wgRealNameInInterface = false;
 
 /**
  * Site notice shown at the top of each page
@@ -2451,11 +2476,6 @@ $wgVectorUseSimpleSearch = false;
  */
 $wgVectorUseIconWatch = false;
 
-/**
- * Show the name of the current variant as a label in the variants drop-down menu
- */
-$wgVectorShowVariantName = false;
-
 /**
  * Display user edit counts in various prominent places.
  */
@@ -2469,6 +2489,18 @@ $wgEdititis = false;
  */
 $wgBetterDirectionality = true;
 
+/**
+ * Some web hosts attempt to rewrite all responses with a 404 (not found) 
+ * status code, mangling or hiding MediaWiki's output. If you are using such a
+ * host, you should start looking for a better one. While you're doing that, 
+ * set this to false to convert some of MediaWiki's 404 responses to 200 so
+ * that the generated error pages can be seen.
+ *
+ * In cases where for technical reasons it is more important for MediaWiki to 
+ * send the correct status code than for the body to be transmitted intact,
+ * this configuration variable is ignored.
+ */
+$wgSend404Code = true;
 
 /** @} */ # End of output format settings }
 
@@ -3146,7 +3178,6 @@ $wgReservedUsernames = array(
  */
 $wgDefaultUserOptions = array(
        'ccmeonemails'            => 0,
-       'cols'                    => 80,
        'date'                    => 'default',
        'diffonly'                => 0,
        'disablemail'             => 0,
@@ -3370,9 +3401,8 @@ $wgEmailConfirmToEdit = false;
 
 /**
  * Permission keys given to users in each group.
- * This is an array where the keys are all groups and each value is either:
- *    a) An array of the format (right => boolean)
- *    b) An array of the format (right => namespace => boolean)
+ * This is an array where the keys are all groups and each value is an
+ * array of the format (right => boolean).
  *
  * The second format is used to support per-namespace permissions.
  * Note that this feature does not fully work for all permission types.
@@ -4058,7 +4088,17 @@ $wgDevelopmentWarnings = false;
  * development warnings will not be generated for deprecations added in releases
  * after the limit.
  */
-$wgDeprecationReleaseLimit = false;
+$wgDeprecationReleaseLimit = '1.17';
+
+/**
+ * Function name whitelist for wfDeprecated warnings. You will not be warned
+ * for usage of deprecated functions in this list. This is mainly useful
+ * for extension developers unable to not use certain deprecated functions
+ * due to backward compatibility reasons.
+ * @since 1.19
+ * @var array
+ */
+$wgDeprecationWhitelist = array();
 
 /** Only record profiling info for pages that took longer than this */
 $wgProfileLimit = 0.0;
@@ -4154,11 +4194,18 @@ $wgParserTestRemote = false;
 
 
 /**
- * Overwrite the caching key prefix with custom value.  Do not set if using
- * load balancer, since it depends on the key being in certain format.
+ * Overwrite the caching key prefix with custom value.
+ * @since 1.19
+ */
+$wgCachePrefix = false;
+
+/**
+ * Display the new debugging toolbar. This also enables profiling on database
+ * queries and other useful output.
+ *
  * @since 1.19
  */
-$wgWikiID = false;
+$wgDebugToolbar = false;
 
 /** @} */ # end of profiling, testing and debugging }
 
@@ -4738,12 +4785,6 @@ $wgExtensionFunctions = array();
  */
 $wgExtensionMessagesFiles = array();
 
-/**
- * Aliases for special pages provided by extensions.
- * @deprecated since 1.16 Use $specialPageAliases in a file referred to by $wgExtensionMessagesFiles
- */
-$wgExtensionAliasesFiles = array();
-
 /**
  * Parser output hooks.
  * This is an associative array where the key is an extension-defined tag