Description

I want to write an own formatter, so I started with an empty one (similar to pagelink.py, but with pagelink=null). Then I created a WikiPage with only one drawing (TWiki-Java-Plugin). When I now format that page with my new formatter I get the following output:

<a title="Edit drawing " href="/"></a>

Steps to reproduce

  1. create an empty page
  2. add a TWiki-Drawing
  3. create a new formatter with all subs=null (similar too pagelink.py)
  4. format the page with the new formatter

Details

MoinMoin Version

1.3.5

OS and Version

Windows-XP

Python Version

2.4.1

Server Setup

standalone

Server Details

Workaround

For a quick fix, you have to add a formatter kwarg (and pass self.formatter) to the linktag call in the wiki.py file.

Discussion

Plan


CategoryMoinMoinBugFixed

MoinMoin: MoinMoinBugs/EditDrawingLinkInFormatter (last edited 2007-10-29 19:06:50 by localhost)