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

  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

Component selection

Details

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

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


CategoryMoinMoinNoBug

MoinMoin: MoinMoinBugs/WikiConfigInstanceNotUsed (last edited 2008-03-18 19:41:51 by JohannesBerg)