X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FDefaultSettings.php;h=4cafc8f23e84d68ae11a2143227d2ea013ef6c2a;hb=d339c17d700aa6d812eca8043a05497bbdb5e1a1;hp=4dece5bfaf9c7ec3291abd3a5faa3ec2b7401c32;hpb=f56af3cd38c50139971a58220e5de02ca58122a0;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 4dece5bfaf..4cafc8f23e 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.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 /*************************************************************************//** @@ -4111,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. @@ -7493,6 +7506,7 @@ $wgServiceWiringFiles = [ * can add to this to provide custom jobs. * A job handler should either be a class name to be instantiated, * or (since 1.30) a callback to use for creating the job object. + * The callback takes (Title, array map of parameters) as arguments. */ $wgJobClasses = [ 'deletePage' => DeletePageJob::class, @@ -7517,6 +7531,7 @@ $wgJobClasses = [ 'cdnPurge' => CdnPurgeJob::class, 'userGroupExpiry' => UserGroupExpiryJob::class, 'clearWatchlistNotifications' => ClearWatchlistNotificationsJob::class, + 'userOptionsUpdate' => UserOptionsUpdateJob::class, 'enqueue' => EnqueueJob::class, // local queue for multi-DC setups 'null' => NullJob::class, ]; @@ -7640,7 +7655,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. * @@ -8384,7 +8399,7 @@ $wgAsyncHTTPTimeout = 25; /** * Proxy to use for CURL requests. */ -$wgHTTPProxy = false; +$wgHTTPProxy = ''; /** * Local virtual hosts. @@ -8971,7 +8986,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_WRITE_BOTH | SCHEMA_COMPAT_READ_NEW; +$wgActorTableSchemaMigrationStage = SCHEMA_COMPAT_NEW; /** * Flag to enable Partial Blocks. This allows an admin to prevent a user from editing specific pages @@ -8983,20 +8998,10 @@ $wgActorTableSchemaMigrationStage = SCHEMA_COMPAT_WRITE_BOTH | SCHEMA_COMPAT_REA */ $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 = []; @@ -9006,21 +9011,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