From 1e68a6578738dc067374a4b3ad67e1cf6501a674 Mon Sep 17 00:00:00 2001 From: Bryan Tong Minh Date: Sat, 14 May 2011 14:41:31 +0000 Subject: [PATCH] (bug 18803) JPEG2000 images can no longer be uploaded as JPEG image. Done by adding the relevant mime info to mime.types and mime.info --- RELEASE-NOTES-1.19 | 1 + includes/mime.info | 1 + includes/mime.types | 1 + 3 files changed, 3 insertions(+) diff --git a/RELEASE-NOTES-1.19 b/RELEASE-NOTES-1.19 index d9950d3185..2ebd04edc3 100644 --- a/RELEASE-NOTES-1.19 +++ b/RELEASE-NOTES-1.19 @@ -37,6 +37,7 @@ used in Tiff files. * (bug 23002) Imagelinks table not updated after imagemove. * (bug 27864) Transcluding {{Special:Prefix}} with empty prefix now lists all pages. +* (bug 18803) JPEG2000 images can no longer be uploaded as JPEG image. === API changes in 1.19 === * (bug 27790) add query type for querymodules to action=paraminfo diff --git a/includes/mime.info b/includes/mime.info index b8027684c7..89952fafe7 100644 --- a/includes/mime.info +++ b/includes/mime.info @@ -10,6 +10,7 @@ image/gif [BITMAP] image/png image/x-png [BITMAP] image/ief [BITMAP] image/jpeg [BITMAP] +image/jp2 [BITMAP] image/xbm [BITMAP] image/tiff [BITMAP] image/x-icon [BITMAP] diff --git a/includes/mime.types b/includes/mime.types index ad4489f69a..08b822f940 100644 --- a/includes/mime.types +++ b/includes/mime.types @@ -80,6 +80,7 @@ image/bmp bmp image/cgm cgm image/gif gif image/ief ief +image/jp2 j2k jp2 jpg2 image/jpeg jpeg jpg jpe image/png png apng image/svg+xml svg -- 2.20.1