X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FDefaultSettings.php;h=f8d2d75f6cf88cc3b6f2720264771abe2a05ffe9;hb=97a8fb78faa4ca2d9604140e5547f5deae5a2524;hp=d158c1e31d81b66b488dbe8d9fad286e6ad2082b;hpb=ac1dabf85c19370cf5b260ddc2c363e3f36d29e9;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index d158c1e31d..f8d2d75f6c 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -75,7 +75,7 @@ $wgConfigRegistry = [ * MediaWiki version number * @since 1.2 */ -$wgVersion = '1.29.0-alpha'; +$wgVersion = '1.30.0-alpha'; /** * Name of the site. It must be changed in LocalSettings.php @@ -3216,6 +3216,14 @@ $wgHTMLFormAllowTableFormat = true; */ $wgUseMediaWikiUIEverywhere = false; +/** + * Temporary variable that determines whether the EditPage class should use OOjs UI or not. + * This will be removed later and OOjs UI will become the only option. + * + * @since 1.29 + */ +$wgOOUIEditPage = true; + /** * Whether to label the store-to-database-and-show-to-others button in the editor * as "Save page"/"Save changes" if false (the default) or, if true, instead as @@ -3665,6 +3673,16 @@ $wgResourceLoaderMinifierMaxLineLength = 1000; */ $wgIncludeLegacyJavaScript = false; +/** + * Use jQuery 3 (with jQuery Migrate) instead of jQuery 1. + * + * This is a temporary feature flag for the MediaWiki 1.29 development cycle while + * instabilities with jQuery 3 are being addressed. See T124742. + * + * @deprecated since 1.29 + */ +$wgUsejQueryThree = true; + /** * Whether or not to assign configuration variables to the global window object. * @@ -5894,15 +5912,6 @@ $wgBotPasswordsCluster = false; */ $wgBotPasswordsDatabase = false; -/** - * Whether to disable user group expiry. This is a transitional feature flag - * in accordance with WMF schema change policy, and will be removed later - * (hopefully before MW 1.29 release). - * - * @since 1.29 - */ -$wgDisableUserGroupExpiry = false; - /** @} */ # end of user rights settings /************************************************************************//** @@ -5920,7 +5929,7 @@ $wgSecretKey = false; * * This can have the following formats: * - An array of addresses, either in the values - * or the keys (for backward compatibility) + * or the keys (for backward compatibility, deprecated since 1.30) * - A string, in that case this is the path to a file * containing the list of IP addresses, one per line */ @@ -7394,6 +7403,19 @@ $wgJobQueueAggregator = [ 'class' => 'JobQueueAggregatorNull' ]; +/** + * Whether to include the number of jobs that are queued + * for the API's maxlag parameter. + * The total number of jobs will be divided by this to get an + * estimated second of maxlag. Typically bots backoff at maxlag=5, + * so setting this to the max number of jobs that should be in your + * queue divided by 5 should have the effect of stopping bots once + * that limit is hit. + * + * @since 1.29 + */ +$wgJobQueueIncludeInMaxLagFactor = false; + /** * Additional functions to be performed with updateSpecialPages. * Expensive Querypages are already updated. @@ -8131,11 +8153,41 @@ $wgShellCgroup = false; $wgPhpCli = '/usr/bin/php'; /** - * Locale for LC_CTYPE, to work around https://bugs.php.net/bug.php?id=45132 - * For Unix-like operating systems, set this to to a locale that has a UTF-8 - * character set. Only the character set is relevant. - */ -$wgShellLocale = 'en_US.utf8'; + * Locale for LC_ALL, to provide a known environment for locale-sensitive operations + * + * For Unix-like operating systems, this should be set to C.UTF-8 or an + * equivalent to provide the most consistent behavior for locale-sensitive + * C library operations across different-language wikis. If that locale is not + * available, use another locale that has a UTF-8 character set. + * + * This setting mainly affects the behavior of C library functions, including: + * - String collation (order when sorting using locale-sensitive comparison) + * - For example, whether "Å" and "A" are considered to be the same letter or + * different letters and if different whether it comes after "A" or after + * "Z", and whether sorting is case sensitive. + * - String character set (how characters beyond basic ASCII are represented) + * - We need this to be a UTF-8 character set to work around + * https://bugs.php.net/bug.php?id=45132 + * - Language used for low-level error messages. + * - Formatting of date/time and numeric values (e.g. '.' versus ',' as the + * decimal separator) + * + * MediaWiki provides its own methods and classes to perform many + * locale-sensitive operations, which are designed to be able to vary locale + * based on wiki language or user preference: + * - MediaWiki's Collation class should generally be used instead of the C + * library collation functions when locale-sensitive sorting is needed. + * - MediaWiki's Message class should be used for localization of messages + * displayed to the user. + * - MediaWiki's Language class should be used for formatting numeric and + * date/time values. + * + * @note If multiple wikis are being served from the same process (e.g. the + * same fastCGI or Apache server), this setting must be the same on all those + * wikis. + * @see wfInitShellLocale() + */ +$wgShellLocale = 'C.UTF-8'; /** @} */ # End shell }