Description

Under CGI, links in the quickhelp section when editing pages will ignore any configured URL mappings.

It must have something to do with how (or when) self.getText() is initialized in request.py. The lambda calls i18n.getText(), which apparently never leans about the mappings.

Steps to reproduce

  1. Install as CGI (this Wiki here doesn't exhibit the symptoms, so I just assume it has to do with that)
  2. Configure URL mapping
  3. Edit a page
  4. Check the links in the quickhelp

Example

Create a login on http://sourceware.org/systemtap/wiki, and try using the text editor on any page.

Details

MoinMoin Version

1.5.3

OS and Version

Linux (Suse 8.1)

Python Version

2.4

Server Setup

Apache via CGI

Server Details

Workaround

I hacked a workaround in PageEditor.py (calling getText() with formatted=False and formatting some other way), but I guess that's not really the correct solution.

Discussion

  • [Mahadevan R, mdevan -dot- foobar -at- gmail -dot- com, 2-Aug]: I had to face the same problem too. The problem occurs when the wiki is hosted at a URL other than "/", like "/mywiki" for example. My workaround (fix?) was to edit i18n/en.py line 447 (Moin version 1.5.4) and change HelpOnEditing to ["HelpOnEditing"] and SyntaxReference to ["SyntaxReference"].

  • Thanks Mahadevan, your workaround worked for me :) -counterpoke

Plan

  • Priority:
  • Assigned to:
  • Status:


CategoryMoinMoinBug

MoinMoin: MoinMoinBugs/EditorQuickHelpIgnoresUrlMapping (last edited 2007年10月29日 19:09:11 by localhost)

AltStyle によって変換されたページ (->オリジナル) /