bryonjacob / wikimodel

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

Mediawiki parser no support for Image #57

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
When I test image tag following Mediawiki help
(http://www.mediawiki.org/wiki/Help:Images), I input:

[[Image:Example.jpg|Sunflowers]]

Mediawiki parser know it as a normal link,so the result is:

<p><a href='/somelink/Image:Example.jpg'>Image:Example.jpg</a></p>

I expected the result just like Mediawiki Image:Help: 

<img alt="Sunflowers" src="http://somelink/Example.jpg" />

Original issue reported on code.google.com by fajaven on 2 Sep 2008 at 3:31

GoogleCodeExporter commented 8 years ago

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

GoogleCodeExporter commented 8 years ago
Applied patch from Arun Reddy

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