Aude has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/125369

Change subject: Add rc_source recentchanges column to labs replica databases
......................................................................

Add rc_source recentchanges column to labs replica databases

The contents of this column are either 'mw.new', 'mw.edit'
'mw.log' (from core), 'wb' (from wikidata) and 'flow', so
nothing private.

This column may eventually replace use of rc_type column.

Change-Id: I66a8eec13c62d1b7cb4f4767e6a219a8e0912eb5
---
M maintain-replicas/maintain-replicas.pl
1 file changed, 4 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/software 
refs/changes/69/125369/1

diff --git a/maintain-replicas/maintain-replicas.pl 
b/maintain-replicas/maintain-replicas.pl
index 0ff1e1b..a7cbcd3 100755
--- a/maintain-replicas/maintain-replicas.pl
+++ b/maintain-replicas/maintain-replicas.pl
@@ -230,16 +230,16 @@
         'view' => 'select rc_id, rc_timestamp, rc_cur_time, 
if(rc_deleted&4,null,rc_user) as rc_user,
                     if(rc_deleted&4,null,rc_user_text) as rc_user_text, 
rc_namespace, rc_title,
                     if(rc_deleted&2,null,rc_comment) as rc_comment, rc_minor, 
rc_bot, rc_new, rc_cur_id,
-                    rc_this_oldid, rc_last_oldid, rc_type, rc_patrolled, null 
as rc_ip, rc_old_len,
-                    rc_new_len, rc_deleted, rc_logid, rc_log_type, 
rc_log_action, rc_params' },
+                    rc_this_oldid, rc_last_oldid, rc_type, rc_source, 
rc_patrolled, null as rc_ip,
+                    rc_old_len, rc_new_len, rc_deleted, rc_logid, rc_log_type, 
rc_log_action, rc_params' },
 
     'recentchanges_userindex' => {
         'source' => 'recentchanges',
         'view' => 'select rc_id, rc_timestamp, rc_cur_time, rc_user,
                     rc_user_text, rc_namespace, rc_title,
                     if(rc_deleted&2,null,rc_comment) as rc_comment, rc_minor, 
rc_bot, rc_new, rc_cur_id,
-                    rc_this_oldid, rc_last_oldid, rc_type, rc_patrolled, null 
as rc_ip, rc_old_len,
-                    rc_new_len, rc_deleted, rc_logid, rc_log_type, 
rc_log_action, rc_params',
+                    rc_this_oldid, rc_last_oldid, rc_type, rc_source, 
rc_patrolled, null as rc_ip,
+                    rc_old_len, rc_new_len, rc_deleted, rc_logid, rc_log_type, 
rc_log_action, rc_params',
         'where' => '(rc_deleted&4)=0' },
 
     'revision' => {

-- 
To view, visit https://gerrit.wikimedia.org/r/125369
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I66a8eec13c62d1b7cb4f4767e6a219a8e0912eb5
Gerrit-PatchSet: 1
Gerrit-Project: operations/software
Gerrit-Branch: master
Gerrit-Owner: Aude <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to