comparison MoinMoin/wikiutil.py @ 5144:12d27670e274

merged moin/1.8
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Mon, 14 Sep 2009 02:47:11 +0200
parents 9ae242080889 10785c0fd48f
children f4fcdeaab409
comparison
equal deleted inserted replaced
5113:b7c8c6eb7690 5144:12d27670e274
857 '.py': 'text/x-python', 857 '.py': 'text/x-python',
858 '.cfg': 'text/plain', 858 '.cfg': 'text/plain',
859 '.conf': 'text/plain', 859 '.conf': 'text/plain',
860 '.irc': 'text/plain', 860 '.irc': 'text/plain',
861 '.md5': 'text/plain', 861 '.md5': 'text/plain',
862 '.csv': 'text/csv',
863 '.flv': 'video/x-flv',
864 '.wmv': 'video/x-ms-wmv',
865 '.swf': 'application/x-shockwave-flash',
862 } 866 }
863 [mimetypes.add_type(mimetype, ext, True) for ext, mimetype in MIMETYPES_MORE.items()] 867 [mimetypes.add_type(mimetype, ext, True) for ext, mimetype in MIMETYPES_MORE.items()]
864 868
865 MIMETYPES_sanitize_mapping = { 869 MIMETYPES_sanitize_mapping = {
866 # this stuff is text, but got application/* for unknown reasons 870 # this stuff is text, but got application/* for unknown reasons