X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2FDefaultSettings.php;h=35b821cfa0c00c2e205e7412af4e57550ebc530c;hp=27177cbc7d27ddc8a3c0a3c1d348d890afb6a825;hb=8624538de243da3779db5eb3362bedf78d2e2931;hpb=11ee7f78da9776db26098642a151a288f98bea14 diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 27177cbc7d..35b821cfa0 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -2255,7 +2255,7 @@ $wgCacheDirectory = false; * - CACHE_NONE: Do not cache * - CACHE_DB: Store cache objects in the DB * - CACHE_MEMCACHED: MemCached, must specify servers in $wgMemCachedServers - * - CACHE_ACCEL: APC, APCU, XCache or WinCache + * - CACHE_ACCEL: APC, APCU or WinCache * - (other): A string may be used which identifies a cache * configuration in $wgObjectCaches. * @@ -2333,7 +2333,6 @@ $wgObjectCaches = [ 'apc' => [ 'class' => APCBagOStuff::class, 'reportDupes' => false ], 'apcu' => [ 'class' => APCUBagOStuff::class, 'reportDupes' => false ], - 'xcache' => [ 'class' => XCacheBagOStuff::class, 'reportDupes' => false ], 'wincache' => [ 'class' => WinCacheBagOStuff::class, 'reportDupes' => false ], 'memcached-php' => [ 'class' => MemcachedPhpBagOStuff::class, 'loggroup' => 'memcached' ], 'memcached-pecl' => [ 'class' => MemcachedPeclBagOStuff::class, 'loggroup' => 'memcached' ], @@ -3783,10 +3782,11 @@ $wgResourceLoaderValidateStaticJS = false; */ $wgResourceLoaderLESSVars = [ /** - * Minimum available screen width at which a device can be considered a tablet/desktop + * Minimum available screen width at which a device can be considered a tablet * The number is currently based on the device width of a Samsung Galaxy S5 mini and is low * enough to cover iPad (768px). Number is prone to change with new information. * @since 1.27 + * @deprecated 1.31 Use mediawiki.ui/variables instead */ 'deviceWidthTablet' => '720px', ]; @@ -5813,6 +5813,7 @@ $wgGrantPermissions['editpage']['changetags'] = true; $wgGrantPermissions['editprotected'] = $wgGrantPermissions['editpage']; $wgGrantPermissions['editprotected']['editprotected'] = true; +// FIXME: Rename editmycssjs to editmyconfig $wgGrantPermissions['editmycssjs'] = $wgGrantPermissions['editpage']; $wgGrantPermissions['editmycssjs']['editmyusercss'] = true; $wgGrantPermissions['editmycssjs']['editmyuserjs'] = true; @@ -6275,6 +6276,12 @@ $wgShowDBErrorBacktrace = false; */ $wgLogExceptionBacktrace = true; +/** + * If true, the MediaWiki error handler passes errors/warnings to the default error handler + * after logging them. The setting is ignored when the track_errors php.ini flag is true. + */ +$wgPropagateErrors = true; + /** * Expose backend server host names through the API and various HTML comments */ @@ -6667,9 +6674,9 @@ $wgGitBin = '/usr/bin/git'; */ $wgGitRepositoryViewers = [ 'https://(?:[a-z0-9_]+@)?gerrit.wikimedia.org/r/(?:p/)?(.*)' => - 'https://phabricator.wikimedia.org/r/revision/%R;%H', + 'https://gerrit.wikimedia.org/g/%R/+/%H', 'ssh://(?:[a-z0-9_]+@)?gerrit.wikimedia.org:29418/(.*)' => - 'https://phabricator.wikimedia.org/r/revision/%R;%H', + 'https://gerrit.wikimedia.org/g/%R/+/%H', ]; /** @} */ # End of maintenance } @@ -6947,11 +6954,6 @@ $wgShowUpdatedMarker = true; */ $wgDisableAnonTalk = false; -/** - * Enable filtering of categories in Recentchanges - */ -$wgAllowCategorizedRecentChanges = false; - /** * Allow filtering by change tag in recentchanges, history, etc * Has no effect if no tags are defined in valid_tag. @@ -7453,6 +7455,7 @@ $wgJobClasses = [ 'clearUserWatchlist' => ClearUserWatchlistJob::class, 'cdnPurge' => CdnPurgeJob::class, 'enqueue' => EnqueueJob::class, // local queue for multi-DC setups + 'userGroupExpiry' => UserGroupExpiryJob::class, 'null' => NullJob::class, ];