From 56efd64592746bd33583beb05212d3ddf2ce79bb Mon Sep 17 00:00:00 2001 From: Leon Weber Date: Sun, 27 Apr 2008 14:28:29 +0000 Subject: [PATCH] Also adding application/x-dia-diagram to mime.{types,info} --- RELEASE-NOTES | 2 +- includes/mime.info | 13 +++++++------ includes/mime.types | 3 ++- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 0f85cf911b..2ca12bd424 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -216,7 +216,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * (bug 13816) Filter by main namespace doesn't work on WhatLinksHere * (bug 13822) Fatal error on some pages when calculating subpage subtitle * (bug 13824) AJAX search suggestion now works with non-SkinTemplate skins -* Added 'application/x-dia-diagram' to XML MIME types +* Added 'application/x-dia-diagram' MediaWiki's known MIME types === API changes in 1.13 === diff --git a/includes/mime.info b/includes/mime.info index 7711f66ab3..63b38f5a8a 100644 --- a/includes/mime.info +++ b/includes/mime.info @@ -1,9 +1,9 @@ -#Mime type info file. -#the first mime type in each line is the "main" mime type, -#the others are aliases for this type -#the media type is given in upper case and square brackets, -#like [BITMAP], and must indicate a media type as defined by -#the MEDIATYPE_xxx constants in Defines.php +# Mime type info file. +# the first mime type in each line is the "main" mime type, +# the others are aliases for this type +# the media type is given in upper case and square brackets, +# like [BITMAP], and must indicate a media type as defined by +# the MEDIATYPE_xxx constants in Defines.php image/gif [BITMAP] @@ -24,6 +24,7 @@ image/svg+xml application/svg+xml application/svg image/svg [DRAWING] application/postscript [DRAWING] application/x-latex [DRAWING] application/x-tex [DRAWING] +application/x-dia-diagram [DRAWING] audio/mp3 audio/mpeg3 audio/mpeg [AUDIO] diff --git a/includes/mime.types b/includes/mime.types index af54079f12..6021e926ab 100644 --- a/includes/mime.types +++ b/includes/mime.types @@ -25,6 +25,7 @@ application/x-cdlink vcd application/x-chess-pgn pgn application/x-cpio cpio application/x-csh csh +application/x-dia-diagram dia application/x-director dcr dir dxr application/x-dvi dvi application/x-futuresplash spl @@ -115,4 +116,4 @@ video/x-flv flv video/x-msvideo avi video/x-ogg ogm ogg video/x-sgi-movie movie -x-conference/x-cooltalk ice \ No newline at end of file +x-conference/x-cooltalk ice -- 2.20.1