X-Git-Url: http://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2FDefaultSettings.php;h=a10c30b959ff06ab29b93eeb19d2b7429bb8b586;hp=47fd073153cdfdb48e2e0d6d0d2cfbbc9d0fa750;hb=0cd75a73c4eeb61478a0b0e035ed9e292a65e160;hpb=7e49f068f0dfdae09ad87438a9a85a7350e45153 diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 47fd073153..a10c30b959 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -72,7 +72,7 @@ $wgConfigRegistry = [ * MediaWiki version number * @since 1.2 */ -$wgVersion = '1.34.0-alpha'; +$wgVersion = '1.34.0-rc.1'; /** * Name of the site. It must be changed in LocalSettings.php @@ -95,15 +95,14 @@ $wgAssumeProxiesUseDefaultProtocolPorts = true; * $wgServer = 'http://example.com'; * @endcode * - * This is usually detected correctly by MediaWiki. If MediaWiki detects the - * wrong server, it will redirect incorrectly after you save a page. In that - * case, set this variable to fix it. + * This must be set in LocalSettings.php. The MediaWiki installer does this + * automatically since 1.18. * * If you want to use protocol-relative URLs on your wiki, set this to a * protocol-relative URL like '//example.com' and set $wgCanonicalServer * to a fully qualified URL. */ -$wgServer = WebRequest::detectServer(); +$wgServer = false; /** * Canonical URL of the server, to use in IRC feeds and notification e-mails. @@ -2627,6 +2626,8 @@ $wgLocalisationCacheConf = [ 'store' => 'detect', 'storeClass' => false, 'storeDirectory' => false, + 'storeServer' => [], + 'forceRecache' => false, 'manualRecache' => false, ]; @@ -2733,16 +2734,17 @@ $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. */ @@ -4444,7 +4446,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. @@ -4990,6 +4993,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; @@ -6148,9 +6153,8 @@ $wgDebugComments = false; * Write SQL queries to the debug log. * * This setting is only used $wgLBFactoryConf['class'] is set to - * '\Wikimedia\Rdbms\LBFactorySimple' and $wgDBservers is an empty array; otherwise - * the DBO_DEBUG flag must be set in the 'flags' option of the database - * connection to achieve the same functionality. + * '\Wikimedia\Rdbms\LBFactorySimple'; otherwise the DBO_DEBUG flag must be set in + * the 'flags' option of the database connection to achieve the same functionality. */ $wgDebugDumpSql = false; @@ -7933,6 +7937,7 @@ $wgAllowSpecialInclusion = true; /** * Set this to an array of special page names to prevent * maintenance/updateSpecialPages.php from updating those pages. + * Mapping each special page name to an run mode like 'periodical' if a cronjob is set up. */ $wgDisableQueryPageUpdate = false; @@ -8677,7 +8682,7 @@ $wgHttpsPort = 443; $wgSessionSecret = false; /** - * If for some reason you can't install the PHP OpenSSL or mcrypt extensions, + * If for some reason you can't install the PHP OpenSSL extension, * you can set this to true to make MediaWiki work again at the cost of storing * sensitive session data insecurely. But it would be much more secure to just * install the OpenSSL extension. @@ -9090,6 +9095,16 @@ $wgSpecialSearchFormOptions = []; */ $wgNativeImageLazyLoading = false; +/** + * Option to whether serve the main page as the domain root + * + * @warning EXPERIMENTAL! + * + * @since 1.34 + * @var bool + */ +$wgMainPageIsDomainRoot = false; + /** * For really cool vim folding this needs to be at the end: * vim: foldmarker=@{,@} foldmethod=marker