Package: mediawiki
User: [email protected]
Usertags: origin-ubuntu jaunty ubuntu-patch
Version: 1:1.14.0-1
Severity: wishlist
Tags: patch
Add OASIS support to mime.types. If any OASIS file is added to the list of
allowed files, this patch will actually make it work to use them without need
to edit the mime.types by hand as well.
Patch already applied against upstream / trunk.
Regards,
Andreas
-- System Information:
Debian Release: 5.0
APT prefers jaunty-updates
APT policy: (500, 'jaunty-updates'), (500, 'jaunty-security'), (500,
'jaunty-proposed'), (500, 'jaunty-backports'), (500, 'jaunty')
Architecture: i386 (i686)
Kernel: Linux 2.6.28-11-generic (SMP w/1 CPU core)
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
#
# Ubuntu: https://bugs.launchpad.net/ubuntu/+source/mediawiki/+bug/314220
# Upstream: https://bugzilla.wikimedia.org/show_bug.cgi?id=17497
# Patch: http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/mime.types?view=patch&r1=47397&r2=47398&pathrev=47398
# Description: add OOo extensions
--- mediawiki-1.13.3.orig/includes/mime.types
+++ mediawiki-1.13.3/includes/mime.types
@@ -117,3 +117,19 @@
video/x-ogg ogm ogg
video/x-sgi-movie movie
x-conference/x-cooltalk ice
+application/vnd.oasis.opendocument.text odt
+application/vnd.oasis.opendocument.text-template ott
+application/vnd.oasis.opendocument.graphics odg
+application/vnd.oasis.opendocument.graphics-template otg
+application/vnd.oasis.opendocument.presentation odp
+application/vnd.oasis.opendocument.presentation-template otp
+application/vnd.oasis.opendocument.spreadsheet ods
+application/vnd.oasis.opendocument.spreadsheet-template ots
+application/vnd.oasis.opendocument.chart odc
+application/vnd.oasis.opendocument.chart-template otc
+application/vnd.oasis.opendocument.image odi
+application/vnd.oasis.opendocument.image-template oti
+application/vnd.oasis.opendocument.formula odf
+application/vnd.oasis.opendocument.formula-template otf
+application/vnd.oasis.opendocument.text-master odm
+application/vnd.oasis.opendocument.text-web oth
\ No newline at end of file