Page MenuHomePhabricator

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


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 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.