It appears that a click on the main thumbnail for PDFs is spawning a file download dialog box instead of rendering inside PDF-rendering capable desktop UAs.
Something seems amiss with the content-type header. To reproduce, visit https://commons.wikimedia.org/wiki/File:Contributing_to_MediaWiki_Extensions.pdf and click on the thumbnail.
Expected: when I click on the thumbnail the PDF should load inline in the browser if it's a supported file type.
Some headers from curl:
$ curl --head https://upload.wikimedia.org/wikipedia/commons/9/91/Colombian_Air_Force_Sikorsky_UH-60L_Arp%C3%ADa_III_%28S-70A-41%29_Ram%C3%ADrez-1.jpg 2>/dev/null | grep 'content-type' content-type: image/jpeg $ curl --head https://upload.wikimedia.org/wikipedia/commons/d/da/Contributing_to_MediaWiki_Extensions.pdf 2>/dev/null | grep 'content-type' content-type: application/x-www-form-urlencoded