dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
3780115
)
Merge "Add a header on thumb.php saying which thumb server on error."
author
jenkins-bot
<jenkins-bot@gerrit.wikimedia.org>
Mon, 30 Sep 2013 15:48:55 +0000
(15:48 +0000)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Mon, 30 Sep 2013 15:48:55 +0000
(15:48 +0000)
thumb.php
patch
|
blob
|
history
diff --git
a/thumb.php
b/thumb.php
index
2cda344
..
d2976f2
100644
(file)
--- a/
thumb.php
+++ b/
thumb.php
@@
-387,6
+387,7
@@
function wfThumbError( $status, $msg ) {
header( 'HTTP/1.1 500 Internal server error' );
}
if ( $wgShowHostnames ) {
+ header( 'X-MW-Thumbnail-Renderer: ' . wfHostname() );
$url = htmlspecialchars( isset( $_SERVER['REQUEST_URI'] ) ? $_SERVER['REQUEST_URI'] : '' );
$hostname = htmlspecialchars( wfHostname() );
$debug = "<!-- $url -->\n<!-- $hostname -->\n";