comparison MoinMoin/config/__init__.py @ 3339:a07ac5a0811e

moved definition of text mimetype for parsers into config
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Wed, 19 Mar 2008 18:31:01 +0100
parents 5f660b3c1cd7
children 87c26058d9c0
comparison
equal deleted inserted replaced
3338:5f660b3c1cd7 3339:a07ac5a0811e
11 # unicode: set the char types (upper, lower, digits, spaces) 11 # unicode: set the char types (upper, lower, digits, spaces)
12 from MoinMoin.util.chartypes import * 12 from MoinMoin.util.chartypes import *
13 13
14 # List of image types browser do support regulary 14 # List of image types browser do support regulary
15 browser_supported_images = ('gif', 'jpg', 'jpeg', 'png', 'bmp', 'ico', ) 15 browser_supported_images = ('gif', 'jpg', 'jpeg', 'png', 'bmp', 'ico', )
16
17 # Parser to use mimetype text
18 parser_text_mimetype = ('plain', 'csv', 'rst', 'docbook', 'latex', 'tex', 'html', 'css',
19 'xml', 'python', 'perl', 'php', 'ruby', 'javascript',
20 'cplusplus', 'java', 'pascal', 'diff', 'gettext', 'xslt', 'creole', )
16 21
17 # When creating files, we use e.g. 0666 & config.umask for the mode: 22 # When creating files, we use e.g. 0666 & config.umask for the mode:
18 umask = 0770 23 umask = 0770
19 24
20 # Default value for the static stuff URL prefix (css, img, js). 25 # Default value for the static stuff URL prefix (css, img, js).