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

  1. Create a wikifarm with at least 2 wikis
  2. Edit a page on wiki 1
  3. 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

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

Cannot reproduce with 1.6/1.7. -- JohannesBerg 2008-03-18 15:37:43


CategoryMoinMoinNoBug

MoinMoin: MoinMoinBugs/EditorQuickHelpLinksWrongOnFarm (last edited 2008-03-18 15:37:43 by JohannesBerg)