Page MenuHomePhabricator

No way to regenerate DjVu cached thumb with right height
Closed, ResolvedPublic

Description

Wrong thumb at 600px

https://upload.wikimedia.org/wikipedia/commons/thumb/3/3b/Delle_strade_ferrate_e_della_loro_futura_influenza_in_Europa.djvu/page206-600px-Delle_strade_ferrate_e_della_loro_futura_influenza_in_Europa.djvu.jpg
currently gives a 600x1029px thumb of paper page 194 of the book.
This is the old thumb before reuploading; https://commons.wikimedia.org/w/thumb.php?f=Delle_strade_ferrate_e_della_loro_futura_influenza_in_Europa.djvu&w=600&p=206 produces the right one (p. 192) at 600x1016px (which is the right ratio at the current resolution, while I don't know where the other ratio comes from).
Other sizes work, purging repeatedly didn't help.
The right thumb can be called on the wiki specifying the height, but this doesn't always help.
You can see examples on [[:s:it:Discussioni pagina:Delle strade ferrate e della loro futura influenza in Europa.djvu/206]] as well.


Version: unspecified
Severity: normal

Attached:

page206-600px-Delle_strade_ferrate_e_della_loro_futura_influenza_in_Europa.djvu.jpg (1×600 px, 23 KB)

Details

Reference
bz32388

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 12:03 AM
bzimport set Reference to bz32388.
bzimport added a subscriber: Unknown Object (MLST).

Created attachment 9433
Right up to date thumb, 600x1016px

Adding the right one for reference as well.

Attached:

thumb.php_f_Delle_strade_ferrate_e_della_loro_futura_influenza_in_Europa.djvu_w_600_p_206 (1×600 px, 89 KB)

Adding brion to cc per suggestion by ^demon on IRC.

(In reply to comment #3)

I can't reproduce this...

Do you mean locally, or on Commons? I'm in Europe, by the way.

(In reply to comment #4)

(In reply to comment #3)

I can't reproduce this...

Do you mean locally, or on Commons? I'm in Europe, by the way.

To clarify I meant that https://upload.wikimedia.org/wikipedia/commons/thumb/3/3b/Delle_strade_ferrate_e_della_loro_futura_influenza_in_Europa.djvu/page206-600px-Delle_strade_ferrate_e_della_loro_futura_influenza_in_Europa.djvu.jpg gives the correct 600x1016 thumb for me (Also not in europe).

It's still a 600x1029px image of p. for me:
$ identify page206-600px-Delle_strade_ferrate_e_della_loro_futura_influenza_in_Europa.djvu.jpg
page206-600px-Delle_strade_ferrate_e_della_loro_futura_influenza_in_Europa.djvu.jpg JPEG 600x1029 600x1029+0+0 8-bit DirectClass 24.3KB 0.000u 0:00.000

wget: http://p.defau.lt/?lH_REFq9wEQpSbXb2_C7TA

I can confirm that if I put

91.198.174.234 upload.wikimedia.org

in my /etc/hosts file, I get the wrong thumb.

So... another instance of HTCP not fully working?

(In reply to comment #8)

I can confirm that if I put

91.198.174.234 upload.wikimedia.org

in my /etc/hosts file, I get the wrong thumb.

So... another instance of HTCP not fully working?

Actually, if this was some intermittent issue, I would expect the ?action=purge on the image description page would re-send squid purge's for all the thumbs, and fix the issue...

Appears to be fixed by fix of bug 31680. Marking dupe.

  • This bug has been marked as a duplicate of bug 31680 ***
Gilles raised the priority of this task from Medium to Unbreak Now!.Dec 4 2014, 10:27 AM
Gilles added a project: Multimedia.
Gilles moved this task from Untriaged to Done on the Multimedia board.
Gilles lowered the priority of this task from Unbreak Now! to Medium.Dec 4 2014, 11:21 AM