Mholloway has uploaded a new change for review.
https://gerrit.wikimedia.org/r/293888
Change subject: Hygiene: Remove refs to ZeroRatedMobileAccess
......................................................................
Hygiene: Remove refs to ZeroRatedMobileAccess
The ZeroRatedMobileAccess has long since been replaced by ZeroBanner,
ZeroPortal, and ZeroConfig. No need to check for it anymore.
Change-Id: Ie74303b4635efbfa782dfb8cbf24e7891ee1a4c2
---
M templates/varnish/zero.inc.vcl.erb
1 file changed, 2 insertions(+), 3 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/88/293888/1
diff --git a/templates/varnish/zero.inc.vcl.erb
b/templates/varnish/zero.inc.vcl.erb
index 6ee31af..938d53a 100644
--- a/templates/varnish/zero.inc.vcl.erb
+++ b/templates/varnish/zero.inc.vcl.erb
@@ -27,9 +27,8 @@
}
// X-CS needs the real data only for "special" pages we vary on, and
- // can just be "ON" for normal wikitext fetches and such TBD: Beware
- // of legit links happening to have :ZeroRatedMobileAccess
- if (req.url ~ "(action=zeroconfig|:ZeroRatedMobileAccess)($|&|\?)" ||
req.http.host ~ "^(zero|m)\.") {
+ // can just be "ON" for normal wikitext fetches and such
+ if (req.url ~ "(action=zeroconfig)($|&|\?)" || req.http.host ~
"^(zero|m)\.") {
set req.http.X-CS = req.http.X-CS2;
} else {
set req.http.X-CS = "ON";
--
To view, visit https://gerrit.wikimedia.org/r/293888
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie74303b4635efbfa782dfb8cbf24e7891ee1a4c2
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Mholloway <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits