Mobrovac has submitted this change and it was merged.

Change subject: Add the x-restbase-mode header to transclusions and other 
updates
......................................................................


Add the x-restbase-mode header to transclusions and other updates

Change-Id: I33d874c9b74f4bf7bff615ec7f8895b7dfe69d56
---
M scap/templates/config.yaml.j2
1 file changed, 1 insertion(+), 0 deletions(-)

Approvals:
  Mobrovac: Verified; Looks good to me, approved
  Ppchelko: Looks good to me, but someone else must approve



diff --git a/scap/templates/config.yaml.j2 b/scap/templates/config.yaml.j2
index ead1f45..c209d1c 100644
--- a/scap/templates/config.yaml.j2
+++ b/scap/templates/config.yaml.j2
@@ -319,6 +319,7 @@
                         headers:
                           cache-control: no-cache
                           if-unmodified-since: '{{date(message.meta.dt)}}'
+                          x-restbase-mode: '{{message.tags[1]}}'
                         query:
                           redirect: false
 

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I33d874c9b74f4bf7bff615ec7f8895b7dfe69d56
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/services/change-propagation/deploy
Gerrit-Branch: master
Gerrit-Owner: Mobrovac <mobro...@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