X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2FDefaultSettings.php;h=0e1f944efe8e3d56e501f088c6baf23284c58483;hb=086d879de212465bf51299aa12ada3f5bf140a0a;hp=96ef14fb4379e82c7187cb574d691a8deb3e5980;hpb=5842d0aa075c02c300805f97a98b2f6389145f46;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 96ef14fb43..0e1f944efe 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -1224,9 +1224,10 @@ $wgThumbLimits = array( $wgThumbnailBuckets = null; /** - * When using thumbnail buckets as defined above, this sets the minimum distance with the bucket - * above the requested size. The distance represents how pany extra pixels of width the bucket needs - * in order to be used as the reference for a given thumbnail. For example, with the following buckets: + * When using thumbnail buckets as defined above, this sets the minimum distance to the bucket + * above the requested size. The distance represents how many extra pixels of width the bucket + * needs in order to be used as the reference for a given thumbnail. For example, with the + * following buckets: * * $wgThumbnailBuckets = array ( 128, 256, 512 ); * @@ -3979,9 +3980,6 @@ $wgTranscludeCacheExpiry = 3600; * - 'any': all pages as considered as valid articles * - 'comma': the page must contain a comma to be considered valid * - 'link': the page must contain a [[wiki link]] to be considered valid - * - null: the value will be set at run time depending on $wgUseCommaCount: - * if $wgUseCommaCount is false, it will be 'link', if it is true - * it will be 'comma' * * See also See https://www.mediawiki.org/wiki/Manual:Article_count * @@ -3989,13 +3987,7 @@ $wgTranscludeCacheExpiry = 3600; * to update it, you will need to run the maintenance/updateArticleCount.php * script. */ -$wgArticleCountMethod = null; - -/** - * Backward compatibility setting, will set $wgArticleCountMethod if it is null. - * @deprecated since 1.18; use $wgArticleCountMethod instead - */ -$wgUseCommaCount = false; +$wgArticleCountMethod = 'link'; /** * wgHitcounterUpdateFreq sets how often page counters should be updated, higher @@ -4408,6 +4400,8 @@ $wgGroupPermissions['bureaucrat']['noratelimit'] = true; #$wgGroupPermissions['suppress']['hideuser'] = true; // To hide revisions/log items from users and Sysops #$wgGroupPermissions['suppress']['suppressrevision'] = true; +// To view revisions/log items hidden from users and Sysops +#$wgGroupPermissions['suppress']['viewsuppressed'] = true; // For private suppression log access #$wgGroupPermissions['suppress']['suppressionlog'] = true; @@ -4707,12 +4701,6 @@ $wgSummarySpamRegex = array(); */ $wgEnableDnsBlacklist = false; -/** - * @deprecated since 1.17 Use $wgEnableDnsBlacklist instead, only kept for - * backward compatibility. - */ -$wgEnableSorbs = false; - /** * List of DNS blacklists to use, if $wgEnableDnsBlacklist is true. * @@ -4738,12 +4726,6 @@ $wgEnableSorbs = false; */ $wgDnsBlacklistUrls = array( 'http.dnsbl.sorbs.net.' ); -/** - * @deprecated since 1.17 Use $wgDnsBlacklistUrls instead, only kept for - * backward compatibility. - */ -$wgSorbsUrl = array(); - /** * Proxy whitelist, list of addresses that are assumed to be non-proxy despite * what the other methods might say.