Author: cbm.wikipedia
Description:
The older file revisions of [[en:File:21st_World_Scout_Jamboree.svg]] are PNG images, the newest revision is an SVG. When I click on the older revisions, I get an XML parsing error in my browser. This made me suspect a bad content-type, which I confirmed (see below).
Apparently, the backend needs to check the file type explicitly for old revisions, not using the file extension or the stored type of the newest revision. Presumably the file type could be cached so that it is only checked once per image.
Trimmed output:
$ wget -S 'http://upload.wikimedia.org/wikipedia/en/archive/b/b9/20091220134945!21st_World_Scout_Jamboree.svg'
HTTP/1.0 200 OK Server: Sun-Java-System-Web-Server/7.0 Date: Mon, 20 Sep 2010 11:27:26 GMT Content-Type: image/svg+xml Last-Modified: Tue, 08 Dec 2009 22:22:29 GMT
Length: 71991 (70K) [image/svg+xml]
$ file 20091220134945\!21st_World_Scout_Jamboree.svg 20091220134945!21st_World_Scout_Jamboree.svg: PNG image, 300 x 300, 8-bit/color RGBA, non-interlaced
Version: unspecified
Severity: minor