dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Avoid using stale data for revision visibility and actor data"
[lhc/web/wiklou.git]
/
includes
/
specials
/
SpecialUploadStash.php
diff --git
a/includes/specials/SpecialUploadStash.php
b/includes/specials/SpecialUploadStash.php
index
abd3e07
..
4d0c20c
100644
(file)
--- a/
includes/specials/SpecialUploadStash.php
+++ b/
includes/specials/SpecialUploadStash.php
@@
-261,7
+261,8
@@
class SpecialUploadStash extends UnlistedSpecialPage {
$scalerThumbUrl = $scalerBaseUrl . '/' . $file->getUrlRel() .
'/' . rawurlencode( $scalerThumbName );
$scalerThumbUrl = $scalerBaseUrl . '/' . $file->getUrlRel() .
'/' . rawurlencode( $scalerThumbName );
- // make a curl call to the scaler to create a thumbnail
+ // make an http request based on wgUploadStashScalerBaseUrl to lazy-create
+ // a thumbnail
$httpOptions = [
'method' => 'GET',
'timeout' => 5 // T90599 attempt to time out cleanly
$httpOptions = [
'method' => 'GET',
'timeout' => 5 // T90599 attempt to time out cleanly