X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2FDefaultSettings.php;h=2075432b2db037ce4e6702e2361519c64b949eab;hp=1be573d030f00ed4369af1a29b3cd33a4a66ce60;hb=97db167a0ae539d7bb9c9d4ca51b2aaaf78f1853;hpb=d977a8ca6ac10f3144bbc7f7e8bbd0a5a4c600c9 diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 1be573d030..2075432b2d 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -2737,14 +2737,6 @@ $wgUseCdn = false; */ $wgUseESI = false; -/** - * Send the Key HTTP header for better caching. - * See https://datatracker.ietf.org/doc/draft-ietf-httpbis-key/ for details. - * @since 1.27 - * @deprecated in 1.32, the IETF spec expired without becoming a standard. - */ -$wgUseKeyHeader = false; - /** * Add X-Forwarded-Proto to the Vary and Key headers for API requests and * RSS/Atom feeds. Use this if you have an SSL termination setup @@ -4150,8 +4142,10 @@ $wgInvalidRedirectTargets = [ 'Filepath', 'Mypage', 'Mytalk', 'Redirect' ]; * temporary storage. Preprocessor_DOM generally uses less memory; * the speed of the two is roughly the same. * - * If this parameter is not given, it uses Preprocessor_DOM if the - * DOM module is available, otherwise it uses Preprocessor_Hash. + * If this parameter is not given, it uses Preprocessor_Hash. + * + * The Preprocessor_DOM class is deprecated, and will be removed in a future + * release. * * The entire associative array will be passed through to the constructor as * the first parameter. Note that only Setup.php can use this variable -- @@ -5424,20 +5418,20 @@ $wgAutoConfirmCount = 0; * * The basic syntax for `$wgAutopromote` is: * - * $wgAutopromote = array( + * $wgAutopromote = [ * 'groupname' => cond, * 'group2' => cond2, - * ); + * ]; * * A `cond` may be: * - a single condition without arguments: * Note that Autopromote wraps a single non-array value into an array * e.g. `APCOND_EMAILCONFIRMED` OR - * array( `APCOND_EMAILCONFIRMED` ) + * [ `APCOND_EMAILCONFIRMED` ] * - a single condition with arguments: - * e.g. `array( APCOND_EDITCOUNT, 100 )` + * e.g. `[ APCOND_EDITCOUNT, 100 ]` * - a set of conditions: - * e.g. `array( 'operand', cond1, cond2, ... )` + * e.g. `[ 'operand', cond1, cond2, ... ]` * * When constructing a set of conditions, the following conditions are available: * - `&` (**AND**): @@ -5448,25 +5442,25 @@ $wgAutoConfirmCount = 0; * promote if user matches **ONLY ONE OF THE CONDITIONS** * - `!` (**NOT**): * promote if user matces **NO** condition - * - array( APCOND_EMAILCONFIRMED ): + * - [ APCOND_EMAILCONFIRMED ]: * true if user has a confirmed e-mail - * - array( APCOND_EDITCOUNT, number of edits ): + * - [ APCOND_EDITCOUNT, number of edits ]: * true if user has the at least the number of edits as the passed parameter - * - array( APCOND_AGE, seconds since registration ): + * - [ APCOND_AGE, seconds since registration ]: * true if the length of time since the user created his/her account * is at least the same length of time as the passed parameter - * - array( APCOND_AGE_FROM_EDIT, seconds since first edit ): + * - [ APCOND_AGE_FROM_EDIT, seconds since first edit ]: * true if the length of time since the user made his/her first edit * is at least the same length of time as the passed parameter - * - array( APCOND_INGROUPS, group1, group2, ... ): + * - [ APCOND_INGROUPS, group1, group2, ... ]: * true if the user is a member of each of the passed groups - * - array( APCOND_ISIP, ip ): + * - [ APCOND_ISIP, ip ]: * true if the user has the passed IP address - * - array( APCOND_IPINRANGE, range ): + * - [ APCOND_IPINRANGE, range ]: * true if the user has an IP address in the range of the passed parameter - * - array( APCOND_BLOCKED ): + * - [ APCOND_BLOCKED ]: * true if the user is blocked - * - array( APCOND_ISBOT ): + * - [ APCOND_ISBOT ]: * true if the user is a bot * - similar constructs can be defined by extensions * @@ -6420,7 +6414,7 @@ $wgDeprecationReleaseLimit = false; * * @code * $wgProfiler['class'] = 'ProfilerXhprof'; - * $wgProfiler['output'] = array( 'ProfilerOutputDb' ); + * $wgProfiler['output'] = [ 'ProfilerOutputDb' ]; * $wgProfiler['sampling'] = 50; // one every 50 requests * @endcode *