[Moin-user] incorrect editor_quickhelp links
Shchupak, Vitaliy
Vitaliy.Shchupak at deshaw.com
Mon Jan 14 18:32:06 EST 2008
[this applies to 1.5.8, haven't tried with 1.6]
I think this is a bug in i18n/__init__.py/getText(), because it caches
the parsed translation of the quickhelp text that includes the
script_name when converting links. The same translation cache gets
served to a different request which may be for a different wiki.
Removing the i18n cache entries AND restarting the web server should
work.
A very hacky workaround to prevent this is to make a trivial
modification to the quickhelp text so that translation fails every time.
For example, add a space to editor_quickhelp definition in
multiconfig.py. There is probably a better workaround for this.
I saw several bug reports about this on the MoinMoin site before. Is
this fixed in MoinMoin 1.6?
Vitaliy
-----Original Message-----
From: moin-user-bounces at lists.sourceforge.net
[mailto:moin-user-bounces at lists.sourceforge.net] On Behalf Of Thomas
Waldmann
Sent: Monday, January 14, 2008 6:11 PM
To: James Bardin
Cc: moin-user at lists.sourceforge.net
Subject: Re: [Moin-user] incorrect editor_quickhelp links
> The HelpOnEditing and SyntaxReference links at the bottom of the
editor
> often point to other wikis in the farm.
You can have a separate underlay dir for each of your wikis, I think
that would fix it.
------------------------------------------------------------------------
-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketp
lace
_______________________________________________
Moin-user mailing list
Moin-user at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/moin-user
More information about the Moin-user
mailing list