Page MenuHomePhabricator

Image thumbnail (cache?) broken on English Wikipedia, e.g. Information.svg, when viewing non-default resolution (e.g. 241px)
Open, MediumPublic

Event Timeline

ToBeFree created this task.Jun 21 2019, 4:50 PM
Restricted Application added a project: Internet-Archive. · View Herald TranscriptJun 21 2019, 4:50 PM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript
ToBeFree updated the task description. (Show Details)Jun 21 2019, 4:51 PM
Krinkle added a subscriber: Krinkle.EditedJun 21 2019, 4:55 PM

For the record, https://upload.wikimedia.org/wikipedia/en/thumb/2/28/Information.svg/241px-Information.svg.png shows:

As do most other random sizes, e.g. 243px

Headers for 243px
age: 74
content-disposition: inline;filename*=UTF-8''Information.svg.png
content-length: 4883
content-type: image/png
date: Fri, 21 Jun 2019 16:55:11 GMT
server: ATS/8.0.3
server-timing: cache;desc="hit-front"
status: 200
strict-transport-security: max-age=106384710; includeSubDomains; preload
timing-allow-origin: *
via: 1.1 varnish (Varnish/5.1)
x-analytics: https=1
x-cache: cp3046 miss, cp3049 hit/1
x-cache-status: hit-front
x-client-ip: 2a01:4b00:88ab:c400:cd66:f02:558:83a4
x-trans-id: tx51da22252fe649afa2407-005d0d0ba4
x-varnish: 41974066 60723063
xkey: File:Information.svg

Standard sizes like 240px show:

Headers for 240px
age: 6589
content-length: 24119
content-type: image/png
date: Fri, 21 Jun 2019 16:54:43 GMT
etag: f80345f54e04dd9b44fe3a0efe3018de
last-modified: Fri, 18 Oct 2013 02:25:49 GMT
server: ATS/8.0.3
server-timing: cache;desc="hit-front"
status: 200
strict-transport-security: max-age=106384710; includeSubDomains; preload
timing-allow-origin: *
via: 1.1 varnish (Varnish/5.1)
x-analytics: https=1
x-cache: cp3045 hit, cp3049 hit/2
x-cache-status: hit-front
x-client-ip: 2a01:4b00:88ab:c400:cd66:f02:558:83a4
x-timestamp: 1382063148.48241
x-trans-id: tx9678b25b0c714f36ba3a8-005d0cf215
x-varnish: 57655095 55930067

The file log shows the file has not changed since 2017. No revision, delete, or other event between then and today.

Restricted Application added a project: Commons. · View Herald TranscriptJun 21 2019, 4:55 PM
JJMC89 added a subscriber: JJMC89.EditedJun 21 2019, 7:25 PM

I deleted it and created protected the page as a temporary measure.

I am unable to upload a new version or restore the page though. DB transactions were timing out.

[XQ0wCwpAADoAAA7CgmcAAABM] 2019-06-21 19:29:29: Fatal exception of type "Wikimedia\Rdbms\DBTransactionSizeError"

I reuploaded the file as File:Information_temp.svg and moved it to File:Information.svg.

Possibly related to T30299 ? I'd like to see the underlying explanation for today's problem if it was caused on the front end somewhere. Can a commons admin look for any deleted history / logs?

JJMC89 renamed this task from Image thumbnail (cache?) broken on Wikimedia Commons, e.g. Information.svg, when viewing non-default resolution (e.g. 241px) to Image thumbnail (cache?) broken on English Wikipedia, e.g. Information.svg, when viewing non-default resolution (e.g. 241px).Jun 21 2019, 7:56 PM

Possibly related to T30299 ?

The confusion described in that task is limited to the presentation layer of viewing old revisions, it doesn't affect generation of thumbnails or inclusion of live images in articles.

JJMC89 added a comment.EditedJun 21 2019, 8:21 PM

(In case any of this is helpful to those investigating)

This is the upload warning I got when attempting to upload a new version of File:Information.svg on the English Wikipedia while attempting to get rid of the face (before deleting the file).

When I viewed the XML of the file while it was the face using User:Rillke/SVGedit.js, I got (the correct icon XML)

1<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2<!-- Created with Inkscape (http://www.inkscape.org/) -->
3<svg
4 xmlns:svg="http://www.w3.org/2000/svg"
5 xmlns="http://www.w3.org/2000/svg"
6 xmlns:xlink="http://www.w3.org/1999/xlink"
7 xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
8 version="1.0"
9 width="256"
10 height="256"
11 id="svg2">
12 <defs
13 id="defs4">
14 <linearGradient
15 id="linearGradient2820">
16 <stop
17 style="stop-color:black;stop-opacity:0.3137255"
18 offset="0"
19 id="stop2822" />
20 <stop
21 style="stop-color:black;stop-opacity:0.19607843"
22 offset="0.92982459"
23 id="stop2826" />
24 <stop
25 style="stop-color:black;stop-opacity:0"
26 offset="1"
27 id="stop2824" />
28 </linearGradient>
29 <linearGradient
30 id="linearGradient10053">
31 <stop
32 style="stop-color:white;stop-opacity:1"
33 offset="0"
34 id="stop10055" />
35 <stop
36 style="stop-color:white;stop-opacity:0.47959185"
37 offset="1"
38 id="stop10057" />
39 </linearGradient>
40 <linearGradient
41 id="linearGradient7070">
42 <stop
43 style="stop-color:white;stop-opacity:0.94897962"
44 offset="0"
45 id="stop7072" />
46 <stop
47 style="stop-color:white;stop-opacity:0.74489796"
48 offset="1"
49 id="stop7074" />
50 </linearGradient>
51 <linearGradient
52 id="linearGradient4153">
53 <stop
54 style="stop-color:#2a4fe4;stop-opacity:1"
55 offset="0"
56 id="stop4155" />
57 <stop
58 style="stop-color:#447bfa;stop-opacity:1"
59 offset="0.2"
60 id="stop7080" />
61 <stop
62 style="stop-color:#69a3ff;stop-opacity:1"
63 offset="0.625"
64 id="stop7084" />
65 <stop
66 style="stop-color:#89beff;stop-opacity:1"
67 offset="0.75"
68 id="stop7082" />
69 <stop
70 style="stop-color:#80beff;stop-opacity:1"
71 offset="1"
72 id="stop4157" />
73 </linearGradient>
74 <linearGradient
75 id="linearGradient4145">
76 <stop
77 style="stop-color:black;stop-opacity:1"
78 offset="0"
79 id="stop4147" />
80 <stop
81 style="stop-color:black;stop-opacity:0"
82 offset="1"
83 id="stop4149" />
84 </linearGradient>
85 <linearGradient
86 id="linearGradient25332">
87 <stop
88 style="stop-color:#385ae5;stop-opacity:1"
89 offset="0"
90 id="stop25334" />
91 <stop
92 style="stop-color:#66a1ff;stop-opacity:1"
93 offset="0"
94 id="stop26309" />
95 <stop
96 style="stop-color:#66a1f0;stop-opacity:0.94117647"
97 offset="1"
98 id="stop25336" />
99 </linearGradient>
100 <linearGradient
101 id="linearGradient23386">
102 <stop
103 style="stop-color:#2b51e4;stop-opacity:0"
104 offset="0"
105 id="stop23388" />
106 <stop
107 style="stop-color:black;stop-opacity:0"
108 offset="1"
109 id="stop23390" />
110 </linearGradient>
111 <linearGradient
112 id="linearGradient15560">
113 <stop
114 style="stop-color:#1864ed;stop-opacity:1"
115 offset="0"
116 id="stop15562" />
117 <stop
118 style="stop-color:#3a7bef;stop-opacity:0.25510204"
119 offset="1"
120 id="stop15564" />
121 </linearGradient>
122 <linearGradient
123 id="linearGradient15536">
124 <stop
125 style="stop-color:white;stop-opacity:1"
126 offset="0"
127 id="stop15538" />
128 <stop
129 style="stop-color:white;stop-opacity:0.59090906"
130 offset="1"
131 id="stop15540" />
132 </linearGradient>
133 <filter
134 id="filter9681">
135 <feGaussianBlur
136 inkscape:collect="always"
137 stdDeviation="1.7392633"
138 id="feGaussianBlur9683" />
139 </filter>
140 <filter
141 id="filter22413">
142 <feGaussianBlur
143 inkscape:collect="always"
144 stdDeviation="0.33355481"
145 id="feGaussianBlur22415" />
146 </filter>
147 <linearGradient
148 x1="168.97348"
149 y1="226.79765"
150 x2="94.360741"
151 y2="42.124634"
152 id="linearGradient4159"
153 xlink:href="#linearGradient4153"
154 gradientUnits="userSpaceOnUse" />
155 <linearGradient
156 x1="162.12244"
157 y1="228.19299"
158 x2="101.21178"
159 y2="40.729256"
160 id="linearGradient7076"
161 xlink:href="#linearGradient7070"
162 gradientUnits="userSpaceOnUse" />
163 <linearGradient
164 x1="127.8125"
165 y1="31.59375"
166 x2="127.8125"
167 y2="118.62509"
168 id="linearGradient10059"
169 xlink:href="#linearGradient10053"
170 gradientUnits="userSpaceOnUse" />
171 <linearGradient
172 x1="150.76942"
173 y1="72.579872"
174 x2="162.2932"
175 y2="131.31783"
176 id="linearGradient2818"
177 xlink:href="#linearGradient2820"
178 gradientUnits="userSpaceOnUse" />
179 <radialGradient
180 cx="130.61937"
181 cy="132.01637"
182 r="115.95089"
183 fx="130.61937"
184 fy="132.01637"
185 id="radialGradient3721"
186 xlink:href="#linearGradient2820"
187 gradientUnits="userSpaceOnUse" />
188 <linearGradient
189 x1="127.8125"
190 y1="31.59375"
191 x2="127.8125"
192 y2="118.62509"
193 id="linearGradient4614"
194 xlink:href="#linearGradient15536"
195 gradientUnits="userSpaceOnUse" />
196 </defs>
197 <g
198 style="opacity:1;fill:url(#linearGradient2818);fill-opacity:1;display:inline"
199 id="layer2">
200 <path
201 d="M 246.57026,132.01637 C 246.57026,196.05428 194.65728,247.96726 130.61937,247.96726 C 66.581461,247.96726 14.668479,196.05428 14.66848,132.01637 C 14.668479,67.978461 66.581461,16.065479 130.61937,16.065479 C 194.65728,16.065479 246.57026,67.978461 246.57026,132.01637 L 246.57026,132.01637 z "
202 transform="matrix(0.995962,0,0,0.995962,-0.171109,-0.165469)"
203 style="opacity:1;fill:url(#radialGradient3721);fill-opacity:1;stroke:none;stroke-width:0.1;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
204 id="path12053" />
205 </g>
206 <g
207 style="opacity:1;display:inline"
208 id="layer4">
209 <path
210 d="M 230.50477,134.46112 C 230.50477,189.04765 186.25364,233.29877 131.66712,233.29877 C 77.080585,233.29878 32.82946,189.04765 32.82946,134.46112 C 32.82946,79.87459 77.080585,35.623465 131.66711,35.623465 C 186.25364,35.623465 230.50477,79.87459 230.50477,134.46112 L 230.50477,134.46112 z "
211 transform="matrix(1.082583,0,0,1.082583,-14.54063,-17.56537)"
212 style="opacity:1;fill:#3a73ef;fill-opacity:1;stroke:none;stroke-width:0.1;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
213 id="path2175" />
214 <path
215 d="M 230.50477,134.46112 C 230.50477,189.04765 186.25364,233.29877 131.66712,233.29877 C 77.080585,233.29878 32.82946,189.04765 32.82946,134.46112 C 32.82946,79.87459 77.080585,35.623465 131.66711,35.623465 C 186.25364,35.623465 230.50477,79.87459 230.50477,134.46112 L 230.50477,134.46112 z "
216 transform="matrix(1.042113,0,0,1.042113,-9.212006,-12.12368)"
217 style="opacity:1;fill:url(#linearGradient7076);fill-opacity:1;stroke:none;stroke-width:0.1;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
218 id="path13592" />
219 <path
220 d="M 230.50477,134.46112 C 230.50477,189.04765 186.25364,233.29877 131.66712,233.29877 C 77.080585,233.29878 32.82946,189.04765 32.82946,134.46112 C 32.82946,79.87459 77.080585,35.623465 131.66711,35.623465 C 186.25364,35.623465 230.50477,79.87459 230.50477,134.46112 L 230.50477,134.46112 z "
221 transform="matrix(0.951055,0,0,0.951055,2.777393,0.12014)"
222 style="opacity:1;fill:url(#linearGradient4159);fill-opacity:1;stroke:none;stroke-width:0.1;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
223 id="path14565" />
224 </g>
225 <g
226 style="opacity:1;display:inline"
227 id="layer5" />
228 <g
229 style="opacity:1;display:inline"
230 id="layer3">
231 <g
232 id="g15568">
233 <path
234 d="M 123.30585,191.07575 C 129.02124,187.76374 138.24211,176.49437 141.6732,168.65732 C 141.6732,168.65732 138.1399,167.1567 138.1399,167.1567 C 131.0411,179.5796 120.02693,188.70016 123.71066,173.32458 C 123.71066,173.32458 145.45687,105.04964 145.45687,105.04964 C 139.77784,104.57639 111.00423,109.17626 106.51327,110.10356 C 106.51327,110.10356 105.79723,113.88169 105.79723,113.88169 C 115.61397,114.21756 116.94651,118.2341 116.23663,121.5238 C 116.23663,121.5238 99.927949,173.57586 99.927949,173.57586 C 99.927949,173.57586 97.881571,179.46474 97.947071,183.84902 C 98.105167,193.86006 111.11196,197.7125 123.30585,191.07575 z "
235 style="opacity:1;fill:white;fill-opacity:1;stroke:none;stroke-width:0.1;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;display:inline"
236 id="path3339" />
237 <path
238 d="M 151.9268,75.963402 C 151.93091,83.589999 145.74948,89.774755 138.12288,89.774755 C 130.49628,89.774755 124.31485,83.589999 124.31896,75.963402 C 124.31485,68.336805 130.49628,62.152049 138.12288,62.152049 C 145.74948,62.152049 151.93091,68.336805 151.9268,75.963402 L 151.9268,75.963402 z "
239 transform="matrix(1.006031,0,0,1.006031,-1.167682,-0.583638)"
240 style="opacity:1;fill:white;fill-opacity:1;stroke:none;stroke-width:0.1;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;display:inline"
241 id="path7182" />
242 </g>
243 </g>
244 <g
245 style="opacity:1;fill:url(#linearGradient4614);fill-opacity:1;display:inline"
246 id="layer7">
247 <path
248 d="M 128,31.59375 C 86.871341,31.59375 51.74836,57.401715 37.90625,93.6875 C 56.732365,110.35912 96.245675,118.37197 128.03125,118.625 C 128.07285,118.62467 128.02111,118.62533 128.0625,118.625 C 160.09769,118.36974 199.12268,109.67594 217.71875,92.6875 C 203.61988,56.922098 168.75455,31.593751 128,31.59375 z "
249 style="opacity:0.45;fill:url(#linearGradient4614);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1"
250 id="path18502" />
251 </g>
252</svg>
instead of (face XML) {P8642}

jijiki triaged this task as Medium priority.Jun 24 2019, 2:34 PM
ema moved this task from Triage to Caching on the Traffic board.Jun 26 2019, 1:58 PM