Alex Monk has uploaded a new change for review.
https://gerrit.wikimedia.org/r/295751
Change subject: Replace impossible watchlist_counts custom view with full view
of already-filtered watchlist_count
......................................................................
Replace impossible watchlist_counts custom view with full view of
already-filtered watchlist_count
Based on Jaime's comment at T138450#2401133
If this gets merged I'll integrate it into Icc51fc9a
Change-Id: I123aabd0c801e4ba6cc8ba4dee7862997db822d7
---
M maintain-replicas/maintain-replicas.pl
1 file changed, 1 insertion(+), 6 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/software
refs/changes/51/295751/1
diff --git a/maintain-replicas/maintain-replicas.pl
b/maintain-replicas/maintain-replicas.pl
index c38d77a..07b3701 100755
--- a/maintain-replicas/maintain-replicas.pl
+++ b/maintain-replicas/maintain-replicas.pl
@@ -85,7 +85,7 @@
"wikilove_log", 'global_group_permissions', 'global_group_restrictions',
'global_user_groups',
'globalblocks', 'localuser', 'wikiset', 'wb_changes',
'wb_changes_dispatch', 'wb_changes_subscription',
'wb_entity_per_page', 'wb_id_counters', 'wb_items_per_site',
'wb_property_info', 'wb_terms',
- 'wbc_entity_usage', 'wbs_propertypairs',
+ 'wbc_entity_usage', 'wbs_propertypairs', 'watchlist_count'
);
my @logging_whitelist = (
@@ -328,11 +328,6 @@
'view' => 'select cast(extract(year_month from user_touched)*100+1 as
date) upa_touched,
up_property, up_value',
'where' => 'user_id=up_user and up_property like pw_property', },
-
- 'watchlist_counts' => {
- 'source' => 'watchlist',
- 'view' => 'select count(*) as wl_count, wl_namespace, wl_title',
- 'group' => 'wl_namespace, wl_title having wl_count >= 30', },
);
my $dbuser;
--
To view, visit https://gerrit.wikimedia.org/r/295751
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I123aabd0c801e4ba6cc8ba4dee7862997db822d7
Gerrit-PatchSet: 1
Gerrit-Project: operations/software
Gerrit-Branch: master
Gerrit-Owner: Alex Monk <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits