Nemo bis has uploaded a new change for review.

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


Change subject: Relative path in varnish error message: remove excess /
......................................................................

Relative path in varnish error message: remove excess /

It currently links https://wiki/ ("//wiki/") instead of the actual domain.
Example: https://www.mediawiki.org/wiki/Project:Support_desk?limit=5000

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


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/45/102945/1

diff --git a/templates/varnish/errorpage.inc.vcl.erb 
b/templates/varnish/errorpage.inc.vcl.erb
index 45f5195..6eda050 100644
--- a/templates/varnish/errorpage.inc.vcl.erb
+++ b/templates/varnish/errorpage.inc.vcl.erb
@@ -83,7 +83,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=""} + "/" + req.url 
+ {"" 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>
 <hr noshade="noshade" size="1px" width="80%" />
 <div class="TechnicalStuff">
 If you report this error to the Wikimedia System Administrators, please 
include the details below.<br/>

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie06c65f665d1d2bcca7e89152ff819da8810d379
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Nemo bis <[email protected]>

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

Reply via email to