Mark Bergsma has submitted this change and it was merged.

Change subject: Make the retry link work, with a protocol relative URL
......................................................................


Make the retry link work, with a protocol relative URL

Change-Id: Ie9d05e7775982fecda7b3b1d0a9663e6d51e0119
---
M templates/varnish/errorpage.inc.vcl.erb
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Mark Bergsma: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/templates/varnish/errorpage.inc.vcl.erb 
b/templates/varnish/errorpage.inc.vcl.erb
index a507909..461802a 100644
--- a/templates/varnish/errorpage.inc.vcl.erb
+++ b/templates/varnish/errorpage.inc.vcl.erb
@@ -77,7 +77,7 @@
 <div class="ContentArea">
 
 <div id="en" lang="en">
-<p>Our servers are currently experiencing a technical problem. This is 
probably temporary and should be fixed soon. Please <a href="%U" 
onclick="window.location.reload(false); return false">try again</a> in a few 
minutes.</p>
+<p>Our servers are currently experiencing a technical problem. This is 
probably temporary and should be fixed soon. Please <a href=""} + "/" + req.url 
+ {"" onclick="window.location.reload(false); return false">try again</a> in a 
few minutes.</p>
 <p>The Wikimedia Foundation is a non-profit organisation which hosts some of 
the most popular sites on the Internet, including Wikipedia. It has a constant 
need to purchase new hardware. If you would like to help, please <a 
href="https://donate.wikimedia.org/?utm_medium=varnisherr&utm_source=20120
 809SQ01&utm_campaign=errorpage">donate</a>.</p>
 <hr noshade="noshade" size="1px" width="80%" />

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ie9d05e7775982fecda7b3b1d0a9663e6d51e0119
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Mark Bergsma <m...@wikimedia.org>
Gerrit-Reviewer: Mark Bergsma <m...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot

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

Reply via email to