*
* 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
*/
$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
* 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' ),
'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',
* 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
*/
$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.
*/
*/
$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 }
*/
$wgDefaultUserOptions = array(
'ccmeonemails' => 0,
- 'cols' => 80,
'date' => 'default',
'diffonly' => 0,
'disablemail' => 0,
/**
* 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.
* 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;
/**
- * 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 }
*/
$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