Merge "RCFilters UI: In the highlight code, use .data() the way it was meant to be...
[lhc/web/wiklou.git] / includes / DefaultSettings.php
index 5630dcb..780976a 100644 (file)
@@ -6146,8 +6146,8 @@ $wgTrxProfilerLimits = [
                'writes' => 0,
                'readQueryTime' => 5
        ],
-       // Deferred updates that run after HTTP response is sent
-       'PostSend' => [
+       // Deferred updates that run after HTTP response is sent for GET requests
+       'PostSend-GET' => [
                'readQueryTime' => 5,
                'writeQueryTime' => 1,
                'maxAffected' => 1000,
@@ -6155,6 +6155,12 @@ $wgTrxProfilerLimits = [
                'masterConns' => 0,
                'writes' => 0,
        ],
+       // Deferred updates that run after HTTP response is sent for POST requests
+       'PostSend-POST' => [
+               'readQueryTime' => 5,
+               'writeQueryTime' => 1,
+               'maxAffected' => 1000
+       ],
        // Background job runner
        'JobRunner' => [
                'readQueryTime' => 30,
@@ -6813,19 +6819,18 @@ $wgUseRCPatrol = true;
 $wgStructuredChangeFiltersShowPreference = false;
 
 /**
- * Whether to show the new experimental views (like namespaces, tags, and users) in
- * RecentChanges filters
+ * Whether to enable RCFilters app on Special:Watchlist
  *
  * Temporary variable during development and will be removed.
  */
-$wgStructuredChangeFiltersEnableExperimentalViews = false;
+$wgStructuredChangeFiltersOnWatchlist = false;
 
 /**
- * Whether to enable RCFilters app on Special:Watchlist
- *
- * Temporary variable during development and will be removed.
+ * Polling rate, in seconds, used by the 'live update' and 'view newest' features
+ * of the RCFilters app on SpecialRecentChanges and Special:Watchlist.
+ * 0 to disable completely.
  */
-$wgStructuredChangeFiltersOnWatchlist = false;
+$wgStructuredChangeFiltersLiveUpdatePollingRate = 3;
 
 /**
  * Use new page patrolling to check new pages on Special:Newpages