Using Flask's instance_path in MoinMoin
This page is part of the Code-in task here
Rationale: Instead of home-grown settings, use something flask developers are familiar with.
A wiki instance should contain all the data that is specific only to a single wiki, and at the moment that is:
Data for MoinMoin's filesystem storage backend
- Whoosh indices
- An instance-specific wiki config file - it seems like a good idea to be able to put a configuration file in each instance, and put all the global configuration data in wikiconfig.py under the root level. This could help in the future if wiki farms are implemented.
Proposed Hiearchy
my_instance_name/ | wikiconfig.py | data/ - .. MoinMoin data goes here .. | index/ - .. Whoosh search indices go here ..