X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FDefaultSettings.php;h=1c761215611ddaab8bc524277edf7708317d6d74;hb=8c2eb40f59e3514fcecb7c4e4a5cf79c4eae8ba8;hp=cedba704e27fa8c843a756ee803d5897c86e07c4;hpb=4d306b3f1272549c5619a1e785e410824c526e1b;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index cedba704e2..1c76121561 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -72,7 +72,7 @@ $wgConfigRegistry = [ * MediaWiki version number * @since 1.2 */ -$wgVersion = '1.33.0-alpha'; +$wgVersion = '1.34.0-alpha'; /** * Name of the site. It must be changed in LocalSettings.php @@ -782,7 +782,7 @@ $wgLockManagers = []; /** * Show Exif data, on by default if available. - * Requires PHP's Exif extension: https://secure.php.net/manual/en/ref.exif.php + * Requires PHP's Exif extension: https://www.php.net/manual/en/ref.exif.php * * @note FOR WINDOWS USERS: * To enable Exif functions, add the following line to the "Windows @@ -2100,7 +2100,7 @@ $wgDBerrorLog = false; * Defaults to the wiki timezone ($wgLocaltimezone). * * A list of usable timezones can found at: - * https://secure.php.net/manual/en/timezones.php + * https://www.php.net/manual/en/timezones.php * * @par Examples: * @code @@ -3170,7 +3170,7 @@ $wgForceUIMsgAsContentMsg = []; * timezone-nameinlowercase like timezone-utc. * * A list of usable timezones can found at: - * https://secure.php.net/manual/en/timezones.php + * https://www.php.net/manual/en/timezones.php * * @par Examples: * @code @@ -3194,6 +3194,19 @@ $wgLocaltimezone = null; */ $wgLocalTZoffset = null; +/** + * List of Unicode characters for which capitalization is overridden in + * Language::ucfirst. The characters should be + * represented as char_to_convert => conversion_override. See T219279 for details + * on why this is useful during php version transitions. + * + * @warning: EXPERIMENTAL! + * + * @since 1.34 + * @var array + */ +$wgOverrideUcfirstCharacters = []; + /** @} */ # End of language/charset settings /*************************************************************************//** @@ -3992,13 +4005,12 @@ $wgRedirectSources = false; $wgCapitalLinks = true; /** - * @since 1.16 - This can now be set per-namespace. Some special namespaces (such - * as Special, see MWNamespace::$alwaysCapitalizedNamespaces for the full list) must be - * true by default (and setting them has no effect), due to various things that - * require them to be so. Also, since Talk namespaces need to directly mirror their - * associated content namespaces, the values for those are ignored in favor of the - * subject namespace's setting. Setting for NS_MEDIA is taken automatically from - * NS_FILE. + * @since 1.16 - This can now be set per-namespace. Some special namespaces (such as Special, see + * NamespaceInfo::$alwaysCapitalizedNamespaces for the full list) must be true by default (and + * setting them has no effect), due to various things that require them to be so. Also, since Talk + * namespaces need to directly mirror their associated content namespaces, the values for those are + * ignored in favor of the subject namespace's setting. Setting for NS_MEDIA is taken automatically + * from NS_FILE. * * @par Example: * @code @@ -4112,7 +4124,7 @@ $wgInvalidRedirectTargets = [ 'Filepath', 'Mypage', 'Mytalk', 'Redirect' ]; * * The entire associative array will be passed through to the constructor as * the first parameter. Note that only Setup.php can use this variable -- - * the configuration will change at runtime via $wgParser member functions, so + * the configuration will change at runtime via Parser member functions, so * the contents of this variable will be out-of-date. The variable can only be * changed during LocalSettings.php, in particular, it can't be changed during * an extension setup function. @@ -7641,7 +7653,7 @@ $wgCategoryPagingLimit = 200; * all languages in a mediocre way. However, it is better than "uppercase". * * To use the uca-default collation, you must have PHP's intl extension - * installed. See https://secure.php.net/manual/en/intl.setup.php . The details of the + * installed. See https://www.php.net/manual/en/intl.setup.php . The details of the * resulting collation will depend on the version of ICU installed on the * server. * @@ -8972,7 +8984,7 @@ $wgXmlDumpSchemaVersion = XML_DUMP_SCHEMA_VERSION_10; * @since 1.32 changed allowed flags * @var int An appropriate combination of SCHEMA_COMPAT_XXX flags. */ -$wgActorTableSchemaMigrationStage = SCHEMA_COMPAT_OLD; +$wgActorTableSchemaMigrationStage = SCHEMA_COMPAT_WRITE_BOTH | SCHEMA_COMPAT_READ_NEW; /** * Flag to enable Partial Blocks. This allows an admin to prevent a user from editing specific pages @@ -8984,20 +8996,10 @@ $wgActorTableSchemaMigrationStage = SCHEMA_COMPAT_OLD; */ $wgEnablePartialBlocks = false; -/** - * Enable stats monitoring when Block Notices are displayed in different places around core - * and extensions. - * - * @since 1.34 - * @deprecated 1.34 - * @var bool - */ -$wgEnableBlockNoticeStats = false; - /** * Origin Trials tokens. * - * @since 1.34 + * @since 1.33 * @var array */ $wgOriginTrials = []; @@ -9007,21 +9009,62 @@ $wgOriginTrials = []; * * @warning EXPERIMENTAL! * - * @since 1.34 + * @since 1.33 * @var bool */ $wgPriorityHints = false; /** - * Enable Element Timing. + * Ratio of requests that should get Priority Hints when the feature is enabled. * * @warning EXPERIMENTAL! * * @since 1.34 + * @var float + */ +$wgPriorityHintsRatio = 1.0; + +/** + * Enable Element Timing. + * + * @warning EXPERIMENTAL! + * + * @since 1.33 * @var bool */ $wgElementTiming = false; +/** + * Expiry of the endpoint definition for the Reporting API. + * + * @warning EXPERIMENTAL! + * + * @since 1.34 + * @var int + */ +$wgReportToExpiry = 86400; + +/** + * List of endpoints for the Reporting API. + * + * @warning EXPERIMENTAL! + * + * @since 1.34 + * @var array + */ +$wgReportToEndpoints = []; + +/** + * List of Feature Policy Reporting types to enable. + * Each entry is turned into a Feature-Policy-Report-Only header. + * + * @warning EXPERIMENTAL! + * + * @since 1.34 + * @var array + */ +$wgFeaturePolicyReportOnly = []; + /** * For really cool vim folding this needs to be at the end: * vim: foldmarker=@{,@} foldmethod=marker