Mobrovac has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/362453 )

Change subject: Config: Only update restbase if the revision content changed.
......................................................................


Config: Only update restbase if the revision content changed.

Change-Id: I8eab744a386200b12b1952f6d7df3faf92aad870
PR: https://github.com/wikimedia/change-propagation/pull/195
Depends-On: Ibd32ceb99bc650e3927c1bde28c05d0145fc205b
---
M scap/templates/config.yaml.j2
1 file changed, 3 insertions(+), 0 deletions(-)

Approvals:
  Mobrovac: Verified; Looks good to me, approved



diff --git a/scap/templates/config.yaml.j2 b/scap/templates/config.yaml.j2
index aad95ab..01216e9 100644
--- a/scap/templates/config.yaml.j2
+++ b/scap/templates/config.yaml.j2
@@ -192,6 +192,8 @@
                   status:
                     - '5xx'
                     - 404 # Sometimes occasional 404s happen because of the 
mysql replication lag, so retry
+                match:
+                  rev_content_changed: true
                 match_not:
                   - meta:
                       domain: /\.wikidata\.org$/
@@ -593,6 +595,7 @@
                   page_namespace: 0
                   # It's impossible to modify a comment in wikidata while 
editing the entity.
                   comment: '/wbeditentity|wbsetdescription|undo/'
+                  rev_content_changed: true
                 exec:
                   method: post
                   uri: '/sys/links/wikidata_descriptions'

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I8eab744a386200b12b1952f6d7df3faf92aad870
Gerrit-PatchSet: 3
Gerrit-Project: mediawiki/services/change-propagation/deploy
Gerrit-Branch: master
Gerrit-Owner: Ppchelko <ppche...@wikimedia.org>
Gerrit-Reviewer: GWicke <gwi...@wikimedia.org>
Gerrit-Reviewer: Mobrovac <mobro...@wikimedia.org>
Gerrit-Reviewer: Ppchelko <ppche...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to