3535from moin .config .default import DefaultConfig
3636from moin .utils .interwiki import InterWikiMap
3737from moin .storage import create_mapping
38- from moin .constants .namespaces import NAMESPACE_DEFAULT , NAMESPACE_USERPROFILES , NAMESPACE_USERS
38+ from moin .constants .namespaces import NAMESPACE_DEFAULT , NAMESPACE_USERPROFILES ,NAMESPACE_USERS , \
39+ NAMESPACE_HELP_COMMON , NAMESPACE_HELP_EN , NAMESPACE_ALL
3940
4041
4142class Config (DefaultConfig ):
@@ -150,11 +151,11 @@ class Config(DefaultConfig):
150151 NAMESPACE_USERS : 'users' ,
151152 NAMESPACE_USERPROFILES : 'userprofiles' ,
152153 # namespaces for editor help files are optional, if unwanted delete here and in backends and acls
153- 'help-common' : 'help-common' , # contains media files used by other language helps
154- 'help-en' : 'help-en' , # replace this with help-de, help-ru, help-pt_BR etc.
155- # define custom namespaces if desired, trailing / below causes foo to be stored in default backend
156- # 'foo/ ': 'default',
157- # custom namespace with a separate backend - note absence of trailing /
154+ NAMESPACE_HELP_COMMON : 'help-common' , # contains media files used by other language helps
155+ NAMESPACE_HELP_EN : 'help-en' , # replace this with help-de, help-ru, help-pt_BR etc.
156+ # define custom namespaces using the default backend
157+ # 'foo': 'default',
158+ # custom namespace with a separate backend (a wiki/data/bar directory will be created)
158159 # 'bar': 'bar',
159160 }
160161 backends = {
@@ -168,7 +169,8 @@ class Config(DefaultConfig):
168169 # help namespaces are optional
169170 'help-common' : None ,
170171 'help-en' : None ,
171- # required for bar namespace if defined above
172+ # required for foo and bar namespaces as defined above
173+ # 'foo': None,
172174 # 'bar': None,
173175 }
174176 acls = {
0 commit comments