Zhomart / wikimodel

Automatically exported from code.google.com/p/wikimodel
0 stars 0 forks source link

MediaWikiParser - Image with link in the legend #2

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The wiki text below produces the XHTML underneath when parsed by
MediaWikiParser and serialized by the default Printlistener. Not sure about
how the reference should look like when it contains another reference, but
the reference identified by the parser looks wrong in any case, doesn't it?

Wiki text:

[[Image:Jerry Yang and David Filo.jpg|thumb|right|250px|Yahoo! co-founders
[[Jerry Yang (entrepreneur)|Jerry Yang]] (left) and [[David Filo]] (right)]]

Resulting XHTML:

<a href='[Image:Jerr'>[Image:Jerr</a> Yang and David
Filo.jpg|thumb|right|250px|Yahoo! co-founders <a href='Jerry Yang
(entrepreneur)|Jerry Yang'>Jerry Yang (entrepreneur)|Jerry Yang</a> (left)
and <a href='David Filo'>David Filo</a> (right)]]

Stéphane

Original issue reported on code.google.com by slauri...@xwiki.com on 1 Nov 2007 at 6:32

GoogleCodeExporter commented 9 years ago

Original comment by mikhail....@gmail.com on 26 Nov 2007 at 10:15

GoogleCodeExporter commented 9 years ago
Issue 167 has been merged into this issue.

Original comment by thomas.m...@gmail.com on 28 Mar 2010 at 5:45

GoogleCodeExporter commented 9 years ago
Applied patch from Arun Reddy

<ref name="definition"> </ref> and <ref> </ref> are treated the same.
Issue : Valid method not existing, method onFormat(WikiStyle style, 
WikiParameters
params).

Original comment by thomas.m...@gmail.com on 28 Mar 2010 at 5:58

GoogleCodeExporter commented 9 years ago

Original comment by thomas.m...@gmail.com on 29 Sep 2010 at 1:49