Description

If the label of named external link is a URL to an image, the display is not correct:

 * [http://moinmoin.wikiwikiweb.de Moin Moin Wiki] <= OK!
 * [http://moinmoin.wikiwikiweb.de http://moinmaster.wikiwikiweb.de] <= OK!
 * [http://moinmoin.wikiwikiweb.de http://moinmoin.wikiwikiweb.de/HelpOnLinking] <= OK!
 * [http://moinmoin.wikiwikiweb.de http://moinmoin.wikiwikiweb.de/wiki/nonexistant.png] <= NG! Show original URL instead of the label text
 * [http://moinmoin.wikiwikiweb.de http://moinmoin.wikiwikiweb.de/wiki/moinmoin.png] <= NG! Show the image pointed by the labeled URL instead of the label text

Steps to reproduce

Example

Details

MoinMoin Version

1.5.2 [patch-456]

OS and Version

Python Version

Server Setup

http://moinmoin.wikiwikiweb.de

Server Details

Workaround

Discussion

This is not a bug. Moin's usual behaviour when encountering an image url is to show the image. Thus the case where you see the image is expected behaviour.

The other case looks a bit strange, because you gave the url of a nonexistant image. Moin does not and can not know whether an image on some (possibly remote) server exists or not. But your browser notices this: it can't load the image and chooses to display the alt text (which is the target url). So this is also no bug.

OK! I know why you said it is not a bug. The format of named external link is [url label]. I think label must be rendered as a text. However, based on your design, the label may be rendered as a text or an image. Right? -- RuxLi 2006-03-23 08:47:19

Plan


CategoryMoinMoinNoBug

MoinMoin: MoinMoinBugs/SpecialCaseOfNamedExternalLink (last edited 2007-10-29 19:10:40 by localhost)