Page MenuHomePhabricator

Make mw-filepage-resolutioninfo link to both .png and .jpg thumbnails
Open, Needs TriagePublic

Description

The PdfHandler extension serves both .png and .jpg images, depending on the extension in the URL path. But on File:⋯.pdf pages the <div class="mw-filepage-resolutioninfo"> thing shows links only in one format, mandated by $wgPdfOutputExtension (currently .jpg on Wikimedia servers). The div should be remodelled along the lines of this script. Trying other resolutions is not as helpful as trying another format, especially PNG over JPEG.

Event Timeline

Restricted Application added projects: Commons, Multimedia. · View Herald TranscriptApr 2 2019, 10:36 AM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript

P.S. the same should be done for DjVu (which AFAIK lies in the MediaWiki core) and perhaps for TIFF as well.

revi removed a subscriber: Commons.Apr 6 2019, 4:39 PM