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

Plan


CategoryMoinMoinBug

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