X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FDefaultSettings.php;h=fbb74ff38a1fe54a4324b1a0d870a8ca0c552e3d;hb=fbcfc191b14a427f5d245cded17dc1108023414b;hp=57859ece53f073f95157cb04097ca6e9c001cac1;hpb=eae1f41e72a9a0b67bfda9c7c6f58e6887e023bb;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 57859ece53..fbb74ff38a 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -4116,15 +4116,6 @@ $wgTranscludeCacheExpiry = 3600; */ $wgArticleCountMethod = 'link'; -/** - * wgHitcounterUpdateFreq sets how often page counters should be updated, higher - * values are easier on the database. A value of 1 causes the counters to be - * updated on every hit, any higher value n cause them to update *on average* - * every n hits. Should be set to either 1 or something largish, eg 1000, for - * maximum efficiency. - */ -$wgHitcounterUpdateFreq = 1; - /** * How many days user must be idle before he is considered inactive. Will affect * the number shown on Special:Statistics, Special:ActiveUsers, and the @@ -4275,7 +4266,7 @@ $wgDefaultUserOptions = array( 'enotifrevealaddr' => 0, 'enotifusertalkpages' => 1, 'enotifwatchlistpages' => 1, - 'extendwatchlist' => 1, + 'extendwatchlist' => 0, 'fancysig' => 0, 'forceeditsummary' => 0, 'gender' => 'unknown', @@ -4301,7 +4292,7 @@ $wgDefaultUserOptions = array( 'thumbsize' => 5, 'underline' => 2, 'uselivepreview' => 0, - 'usenewrc' => 1, + 'usenewrc' => 0, 'watchcreations' => 1, 'watchdefault' => 1, 'watchdeletion' => 0, @@ -5224,6 +5215,43 @@ $wgDebugDumpSqlLength = 500; */ $wgDebugLogGroups = array(); +/** + * Default service provider for creating MWLogger instances. + * + * This can either be the name of a class implementing the MWLoggerSpi + * interface with a zero argument constructor or a callable that will return + * an MWLoggerSpi instance. Alternately the MWLogger::registerProvider method + * can be called to inject an MWLoggerSpi instance into MWLogger and bypass + * the use of this configuration variable. + * + * @since 1.25 + * @var $wgMWLoggerDefaultSpi string|callable + * @see MwLogger + */ +$wgMWLoggerDefaultSpi = 'MWLoggerNullSpi'; + +/** + * Configuration for MWLoggerMonologSpi logger factory. + * + * Default configuration installs a null handler that will silently discard + * all logging events. + * + * @since 1.25 + * @see MWLoggerMonologSpi + */ +$wgMWLoggerMonologSpiConfig = array( + 'loggers' => array( + '@default' => array( + 'handlers' => array( 'null' ), + ), + ), + 'handlers' => array( + 'null' => array( + 'class' => '\\Monolog\\Logger\\NullHandler', + ), + ), +); + /** * Display debug data at the bottom of the main content area. * @@ -5385,12 +5413,6 @@ $wgAggregateStatsID = false; */ $wgStatsFormatString = "stats/%s - %s 1 1 1 1 %s\n"; -/** - * Whereas to count the number of time an article is viewed. - * Does not work if pages are cached (for example with squid). - */ -$wgDisableCounters = false; - /** * InfoAction retrieves a list of transclusion links (both to and from). * This number puts a limit on that query in the case of highly transcluded @@ -6591,7 +6613,6 @@ $wgLogActions = array( 'protect/move_prot' => 'movedarticleprotection', 'import/upload' => 'import-logentry-upload', 'import/interwiki' => 'import-logentry-interwiki', - 'merge/merge' => 'pagemerge-logentry', 'suppress/block' => 'blocklogentry', 'suppress/reblock' => 'reblock-logentry', ); @@ -6618,6 +6639,7 @@ $wgLogActionsHandlers = array( 'upload/upload' => 'LogFormatter', 'upload/overwrite' => 'LogFormatter', 'upload/revert' => 'LogFormatter', + 'merge/merge' => 'MergeLogFormatter', ); /**