X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2FDefaultSettings.php;h=10687004998507b312cd216626a58ff44987abaa;hp=5d3fba740fb1f8f751517862c5c6cffad42838b4;hb=9e8439e79d67788916d488f645108f79016d9aca;hpb=70e1b9c450f6e07adc890222bef2599f9150f4af diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 5d3fba740f..1068700499 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -2733,27 +2733,22 @@ $wgExtensionInfoMTime = false; * although they are sometimes still referred to as Squid settings for * historical reasons. * - * Achieving a high hit ratio with an HTTP proxy requires special - * configuration. See https://www.mediawiki.org/wiki/Manual:Squid_caching for - * more details. + * Achieving a high hit ratio with an HTTP proxy requires special configuration. + * See https://www.mediawiki.org/wiki/Manual:Performance_tuning#Page_view_caching + * for more details. * * @{ */ /** * Enable/disable CDN. - * See https://www.mediawiki.org/wiki/Manual:Squid_caching + * + * See https://www.mediawiki.org/wiki/Manual:Performance_tuning#Page_view_caching * * @since 1.34 Renamed from $wgUseSquid. */ $wgUseCdn = false; -/** - * If you run Squid3 with ESI support, enable this (default:false): - * @deprecated in 1.33. This was a now-defunct experimental feature. - */ -$wgUseESI = false; - /** * Add X-Forwarded-Proto to the Vary and Key headers for API requests and * RSS/Atom feeds. Use this if you have an SSL termination setup @@ -4450,7 +4445,8 @@ $wgCentralIdLookupProvider = 'local'; * The checks supported by core are: * - MinimalPasswordLength - Minimum length a user can set. * - MinimumPasswordLengthToLogin - Passwords shorter than this will - * not be allowed to login, regardless if it is correct. + * not be allowed to login, or offered a chance to reset their password + * as part of the login workflow, regardless if it is correct. * - MaximalPasswordLength - maximum length password a user is allowed * to attempt. Prevents DoS attacks with pbkdf2. * - PasswordCannotMatchUsername - Password cannot match the username. @@ -4894,6 +4890,7 @@ $wgDefaultUserOptions = [ 'wllimit' => 250, 'useeditwarning' => 1, 'prefershttps' => 1, + 'requireemail' => 0, ]; /** @@ -4963,6 +4960,15 @@ $wgSessionProviders = [ ], ]; +/** + * Temporary feature flag that controls whether users will see a checkbox allowing them to + * require providing email during password resets. + * + * @deprecated This feature is under development, don't assume this flag's existence or function + * outside of MediaWiki. + */ +$wgAllowRequiringEmailForResets = false; + /** @} */ # end user accounts } /************************************************************************//** @@ -4986,6 +4992,8 @@ $wgBlockAllowsUTEdit = true; /** * Allow sysops to ban users from accessing Emailuser + * @deprecated since 1.34; `$wgGroupPermissions['sysop']['blockemail'] = true;` + * should be used instead */ $wgSysopEmailBans = true; @@ -8615,6 +8623,7 @@ $wgContentHandlerTextFallback = 'ignore'; * handling is less robust and less flexible. * * @since 1.21 + * @deprecated since 1.34, and should always be set true. */ $wgContentHandlerUseDB = true; @@ -8985,24 +8994,6 @@ $wgMultiContentRevisionSchemaMigrationStage = SCHEMA_COMPAT_WRITE_BOTH | SCHEMA_ */ $wgXmlDumpSchemaVersion = XML_DUMP_SCHEMA_VERSION_10; -/** - * Actor table schema migration stage. - * - * Use the SCHEMA_COMPAT_XXX flags. Supported values: - * - SCHEMA_COMPAT_OLD - * - SCHEMA_COMPAT_WRITE_BOTH | SCHEMA_COMPAT_READ_OLD - * - SCHEMA_COMPAT_WRITE_BOTH | SCHEMA_COMPAT_READ_NEW - * - SCHEMA_COMPAT_NEW - * - * Note that reading the old and new schema at the same time is not supported - * in 1.32, but was (with significant query performance issues) in 1.31. - * - * @since 1.31 - * @since 1.32 changed allowed flags - * @var int An appropriate combination of SCHEMA_COMPAT_XXX flags. - */ -$wgActorTableSchemaMigrationStage = SCHEMA_COMPAT_NEW; - /** * Flag to enable Partial Blocks. This allows an admin to prevent a user from editing specific pages * or namespaces. @@ -9103,6 +9094,13 @@ $wgSpecialSearchFormOptions = []; */ $wgNativeImageLazyLoading = false; +/** + * Option to whether serve the main page as the domain root + * @since 1.34 + * @var bool + */ +$wgMainPageIsDomainRoot = false; + /** * For really cool vim folding this needs to be at the end: * vim: foldmarker=@{,@} foldmethod=marker