X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FDefaultSettings.php;h=e2bbf0ed68037d025de6241970b19632fbec0256;hb=326d52f9613c5227d75f97361be6ec6ef78b214e;hp=84490731b2c1c4f513e8fa3ca7b45aad16d0b8dc;hpb=d60849c5de08db4cf027325f17f1a3705e106b5d;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 84490731b2..e2bbf0ed68 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.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. @@ -6154,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; @@ -8684,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.