X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2FDefaultSettings.php;h=a6dbe4b6623cb4daf850a4b7166e01d062ae96fc;hb=29977ebe4c05cab4cac46fd1a8459e27f50fb153;hp=ea8b5321d4327a122d164c071c7dd7762ba6d5fb;hpb=88e3a888cc6823f11df79ac53eb963a7e4d2871a;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index ea8b5321d4..a6dbe4b662 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -72,7 +72,7 @@ $wgConfigRegistry = [ * MediaWiki version number * @since 1.2 */ -$wgVersion = '1.34.0-rc.0'; +$wgVersion = '1.34.0'; /** * 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. @@ -8488,10 +8487,23 @@ $wgUpdateRowsPerQuery = 100; */ /** - * Name of the external diff engine to use. Supported values: - * * string: path to an external diff executable - * * false: wikidiff2 PHP/HHVM module if installed, otherwise the default PHP implementation - * * 'wikidiff', 'wikidiff2', and 'wikidiff3' are treated as false for backwards compatibility + * Specify the difference engine to use. + * + * Supported values: + * - 'external': Use an external diff engine, which must be specified via $wgExternalDiffEngine + * - 'wikidiff2': Use the wikidiff2 PHP extension + * - 'php': PHP implementations included in MediaWiki + * + * The default (null) is to use the first engine that's available. + * + * @since 1.34 + * @var string|null + */ +$wgDiffEngine = null; + +/** + * Name of the external diff engine to use. + * @var string|false Path to an external diff executable */ $wgExternalDiffEngine = false; @@ -8988,7 +9000,7 @@ $wgInterwikiPrefixDisplayTypes = []; * @since 1.32 * @var int An appropriate combination of SCHEMA_COMPAT_XXX flags. */ -$wgMultiContentRevisionSchemaMigrationStage = SCHEMA_COMPAT_WRITE_BOTH | SCHEMA_COMPAT_READ_NEW; +$wgMultiContentRevisionSchemaMigrationStage = SCHEMA_COMPAT_NEW; /** * The schema to use per default when generating XML dumps. This allows sites to control