X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FDefaultSettings.php;h=5a874d5bcb04203f88f372a625e5f998ae5d8293;hb=95797de3d623d5a5f48cf82edf502a2296bdc257;hp=8341dac19a94071cf226546dc94dcec9918631b2;hpb=8390e37efc4b42a1ba3d3102bd78208a30cfccf2;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 8341dac19a..5a874d5bcb 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -788,10 +788,6 @@ $wgFileBackends = []; * See LockManager::__construct() for more details. * Additional parameters are specific to the lock manager class used. * These settings should be global to all wikis. - * - * When using DBLockManager, the 'dbsByBucket' map can reference 'localDBMaster' as - * a peer database in each bucket. This will result in an extra connection to the domain - * that the LockManager services, which must also be a valid wiki ID. */ $wgLockManagers = []; @@ -1282,7 +1278,7 @@ $wgMaxAnimatedGifArea = 1.25e7; * $wgTiffThumbnailType = [ 'jpg', 'image/jpeg' ]; * @endcode */ -$wgTiffThumbnailType = false; +$wgTiffThumbnailType = []; /** * If rendered thumbnail files are older than this timestamp, they @@ -2558,11 +2554,6 @@ $wgPHPSessionHandling = 'enable'; */ $wgSessionPbkdf2Iterations = 10001; -/** - * If enabled, will send MemCached debugging information to $wgDebugLogFile - */ -$wgMemCachedDebug = false; - /** * The list of MemCached servers and port numbers */ @@ -2636,8 +2627,6 @@ $wgLocalisationCacheConf = [ 'store' => 'detect', 'storeClass' => false, 'storeDirectory' => false, - 'storeServer' => [], - 'forceRecache' => false, 'manualRecache' => false, ]; @@ -3120,11 +3109,6 @@ $wgTranslateNumerals = true; */ $wgUseDatabaseMessages = true; -/** - * Expiry time for the message cache key - */ -$wgMsgCacheExpiry = 86400; - /** * Maximum entry size in the message cache, in bytes */ @@ -5247,13 +5231,16 @@ $wgGroupPermissions['bureaucrat']['noratelimit'] = true; # $wgGroupPermissions['sysop']['deletelogentry'] = true; # $wgGroupPermissions['sysop']['deleterevision'] = true; // To hide usernames from users and Sysops -# $wgGroupPermissions['suppress']['hideuser'] = true; +$wgGroupPermissions['suppress']['hideuser'] = true; // To hide revisions/log items from users and Sysops -# $wgGroupPermissions['suppress']['suppressrevision'] = true; +$wgGroupPermissions['suppress']['suppressrevision'] = true; // To view revisions/log items hidden from users and Sysops -# $wgGroupPermissions['suppress']['viewsuppressed'] = true; +$wgGroupPermissions['suppress']['viewsuppressed'] = true; // For private suppression log access -# $wgGroupPermissions['suppress']['suppressionlog'] = true; +$wgGroupPermissions['suppress']['suppressionlog'] = true; +// Basic rights for revision delete +$wgGroupPermissions['suppress']['deleterevision'] = true; +$wgGroupPermissions['suppress']['deletelogentry'] = true; /** * The developer group is deprecated, but can be activated if need be @@ -6844,6 +6831,8 @@ $wgRCLinkLimits = [ 50, 100, 250, 500 ]; /** * List of Days options to list in the Special:Recentchanges and * Special:Recentchangeslinked pages. + * + * @see ChangesListSpecialPage::getLinkDays */ $wgRCLinkDays = [ 1, 3, 7, 14, 30 ];