Description
I'm running several wiki's from the same installation of MoinMoin. Some have access restriction, some are only accessible through https and they also have different virtual domains.
The HelpOnEditing and SyntaxReference links on these wikis all point to pages from one of the configured wikis, not to the pages of the wiki being used. Because of the access restriction and different domains, generated urls for the help are wrong for most wikis.
Steps to reproduce
- Create a wikifarm with at least 2 wikis
- Edit a page on wiki 1
- Edit a page on wiki 2. The links in the quickhelp will point to wiki 1
Example
Details
The problem occurs due to the caching of the formatted text in i18n/__init__.py. This caches the first time the quickhelp is formatted and all other wikis will use the same formatted text.
MoinMoin Version |
1.5.4 |
OS and Version |
Gentoo Linux |
Python Version |
2.4 |
Server Setup |
|
Server Details |
|
Language you are using the wiki in (set in the browser/UserPreferences) |
|
Workaround
Discussion
Are you sharing the data or underlay directory for these instances?
I see this behavior on a farm installed on MoinMoin 1.5.7 under Ubuntu, except the links seem to random (not cache related) Refreshing the page can cause the link destinations to change. Data directory is not shared, but underlay directory is. -- ScottFrazer 2007-06-25 14:17
I have a farm with 2 Wikis and in my case the links point to <server_address>/cgi_bin/moin.cgi/HelpOnEditing . -- Andreas Kuntzagk 2007-11-13
Plan
- Priority:
- Assigned to:
- Status:
Cannot reproduce with 1.6/1.7. -- JohannesBerg 2008-03-18 15:37:43