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
Moin Moin Wiki <= OK!
<= 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 |
|
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.
- IMHO, it is a label text not an image url (even it looks like a url). Please refer the following examples:
. (A) without label: . [http://moinmoin.wikiwikiweb.de/wiki/moinmoin.png] . (B) with general label: . [http://moinmoin.wikiwikiweb.de/wiki/moinmoin.png General Label Text] . (C) with label in URL format: . [http://moinmoin.wikiwikiweb.de/wiki/moinmoin.png http://moinmaster.wikiwikiweb.de/wiki/common/moindude.png]
- (A) without label:
- (B) with general label:
- (C) with label in URL format:
This bug is minor. I just was curious. I noticed it when tring to fix HelpOnLinking (rev 36 to 37). The display of following example in Rev 36 is very strange:
[http:/wiki/common/moinmoin.png http:/wiki/common//moinmoin.png] partial URL
-- RuxLi 2006-03-23 08:33:46
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
- Priority:
- Assigned to:
- Status: moin 1.6 only shows images when using transclusion syntax