X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FDefaultSettings.php;h=8b256724dd620f43551cd9c7fc487d06c119858c;hb=828f6d6ac9db63bd5ac56f6d7470f4568d6ec09d;hp=562d887e1728a4c90005d5bbc5913919e0d9c900;hpb=148cc715b44df8ee86b5de0fb5cdd6b44b57f396;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 562d887e17..8b256724dd 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -1500,10 +1500,6 @@ $wgDirectoryMode = 0777; * * This means a 320x240 use of an image on the wiki will also generate 480x360 and 640x480 * thumbnails, output via the srcset attribute. - * - * On older browsers, a JavaScript polyfill switches the appropriate images in after loading - * the original low-resolution versions depending on the reported window.devicePixelRatio. - * The polyfill can be found in the jquery.hidpi module. */ $wgResponsiveImages = true; @@ -1894,6 +1890,11 @@ $wgSQLMode = ''; */ $wgDBmwschema = null; +/** + * Default group to use when getting database connections. + */ +$wgDBDefaultGroup = null; + /** * To override default SQLite data directory ($docroot/../data) */ @@ -2059,6 +2060,8 @@ $wgDBerrorLogTZ = false; * Even correct usage may cause failures with Unicode supplementary * characters (those not in the Basic Multilingual Plane) unless MySQL * has enhanced their Unicode support. + * + * @deprecated since 1.31 */ $wgDBmysql5 = false; @@ -4729,10 +4732,10 @@ $wgPasswordDefault = 'pbkdf2'; * $wgPasswordConfig['bcrypt-peppered'] = [ * 'class' => EncryptedPassword::class, * 'underlying' => 'bcrypt', - * 'secrets' => [], - * 'cipher' => MCRYPT_RIJNDAEL_256, - * 'mode' => MCRYPT_MODE_CBC, - * 'cost' => 5, + * 'secrets' => [ + * hash( 'sha256', 'secret', true ), + * ], + * 'cipher' => 'aes-256-cbc', * ]; * @endcode * @@ -4877,6 +4880,7 @@ $wgDefaultUserOptions = [ 'watchlistunwatchlinks' => 0, 'watchmoves' => 0, 'watchrollback' => 0, + 'wlenhancedfilters-disable' => 0, 'wllimit' => 250, 'useeditwarning' => 1, 'prefershttps' => 1, @@ -6871,6 +6875,15 @@ $wgUseRCPatrol = true; */ $wgStructuredChangeFiltersShowPreference = false; +/** + * Whether a preference is displayed for structured change filters on watchlist. + * Works just like $wgStructuredChangeFiltersShowPreference. + * + * Temporary variable during development and will be removed + * @since 1.32 + */ +$wgStructuredChangeFiltersShowWatchlistPreference = false; + /** * Whether to enable RCFilters app on Special:Watchlist * @@ -7869,10 +7882,16 @@ $wgActionFilteredLogs = [ ]; /** - * Maintain a log of newusers at Log/newusers? + * Maintain a log of newusers at Special:Log/newusers? */ $wgNewUserLog = true; +/** + * Maintain a log of page creations at Special:Log/create? + * @since 1.32 + */ +$wgPageCreationLog = false; + /** @} */ # end logging } /*************************************************************************//** @@ -8875,6 +8894,17 @@ $wgInterwikiPrefixDisplayTypes = []; */ $wgCommentTableSchemaMigrationStage = MIGRATION_OLD; +/** + * RevisionStore table schema migration stage (content, slots, content_models & slot_roles tables) + * + * @see Task: https://phabricator.wikimedia.org/T174028 + * @see Commit: https://gerrit.wikimedia.org/r/#/c/378724/ + * + * @since 1.32 + * @var int One of the MIGRATION_* constants + */ +$wgMultiContentRevisionSchemaMigrationStage = MIGRATION_OLD; + /** * Actor table schema migration stage. * @since 1.31 @@ -8891,6 +8921,20 @@ $wgActorTableSchemaMigrationStage = MIGRATION_OLD; */ $wgExpiryWidgetNoDatePicker = false; +/** + * change_tag table schema migration stage. + * + * - MIGRATION_OLD: Do not use change_tag_def table or ct_tag_id. + * - MIGRATION_WRITE_BOTH: Write to the change_tag_def table and ct_tag_id, but read from + * the old schema. This is different from the formal definition of the constants + * - MIGRATION_WRITE_NEW: Behaves the same as MIGRATION_WRITE_BOTH + * - MIGRATION_NEW: Use the change_tag_def table and ct_tag_id, do not read/write ct_tag + * + * @since 1.32 + * @var int One of the MIGRATION_* constants + */ +$wgChangeTagsSchemaMigrationStage = MIGRATION_OLD; + /** * For really cool vim folding this needs to be at the end: * vim: foldmarker=@{,@} foldmethod=marker