= Description =

Describe the bug...

I noticed this bug after making a custom theme for my wiki site.  

The essance of this bug is that when someone creates a new account, the configuration used is $PREFIX/share/moin/config/wikiconfig.py and NOT $INSTANCE/wikiconfig.py
As I undersand things, I really should never touch things in /share... (unless making interface changes) and my $INSTANCE/wikiconfig.py should always be used.

How did I encounter this bug?
After making a new theme I created a new account.  After giving my new username and password, I am granted an account and forwarded to the UserPreferences page and suddenly the them changes to the default set in $PREFIX/share/moin/config/wikiconfig.py which will obviously be different than $INSTANCE/wikiconfig.py (where theme_default is my custom theme). 

For defination of $PREFIX and $INSTANCE see HelpOnInstalling/WikiInstanceCreation


== Steps to reproduce ==
## Describe the steps needed to reproduce the bug. If we can't reproduce it, we  probably can't fix it.
 1. Change theme_default in $INSTANCE/wikiconfig.py to a valid theme
 2. reload site to see new theme
 3. create new account
 4. see old default theme appear.


== Example ==
##Add URL that show the bug, screenshot or test wiki markup that fail...

##URL: 

##attachment:screenshot.png

##{{{
##Example wiki markup that fail
##}}}

== Component selection ==

## Where you think is this bug happening ? (general, plugin [plugin name], theme [theme name], ...

 * general

== Details ==

## If you got a traceback, please save the traceback page as html and attach here:
## attachment:traceback.html

## if the bug is in this wiki, just kill the table and write: This Wiki.

## If a traceback is not available, please fill in the details here:
|| '''!MoinMoin Version''' || 1.5.7 ||
|| '''OS and Version''' || Linux Mandriva 2.6.12-12mdksmp #1 SMP Fri Sep 9 17:43:23 CEST 2005 i686 Intel(R) Pentium(R) 4 CPU 3.40GHz ||
|| '''Python Version''' || Python 2.4.1 ||
|| '''Server Setup''' || ||
|| '''Server Details''' || ||
|| '''Language you are using the wiki in''' (set in the browser/UserPreferences) || ||

== Workaround ==
## How to deal with the bug until it is fixed
Just change $PREFIX/share/moin/config/wikiconfig.py to mirror changes in $INSTANCE/wikiconfig.py (or make a symlink)

= Discussion =
That bug report misses important details and sounds like a configuration problem.

I can't refute a configuration problem as I did have a little trouble during install, although it seems like strange behaviour that everything else works just fine.

= Plan =
## This part is for Moin``Moin developers:

 * Priority: 
 * Assigned to:
 * Status: I use custom themes on many installations and never saw this bug. -- JohannesBerg <<DateTime(2008-03-18T20:41:51+0100)>>

----
## If you are a moin core developer, replace the category to Category* in these cases:
## Category MoinMoinNoBug - if this is not a bug.
## Category MoinMoinBugConfirmed - if you can confirm the bug on current code.
## Category MoinMoinBugFixed - after the bug is fixed in current code.
CategoryMoinMoinNoBug