Got it! Thanks Daniel!
I didn't have the "format=url" parameter in the url. As soon as I added that it worked fine.
Thanks again.
-----Original Message----- From: mediawiki-api-bounces@lists.wikimedia.org [mailto:mediawiki-api-bounces@lists.wikimedia.org] On Behalf Of Daniel Cannon Sent: Thursday, December 06, 2007 5:50 PM To: MediaWiki API announcements & discussion Subject: Re: [Mediawiki-api] Rendering Issue
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Scott Wilfong wrote:
The following wiki markup:
[[Image:Michelino DanteAndHisPoem.jpg|thumb|right|250px|''La commedia illumina Firenze'' in the dome of [[Santa Maria del Fiore]]]]
is rendering using the API function (api.php?action=render&text=[[Image:Michelino DanteAndHisPoem.jpg|thumb|right|250px|''La commedia illumina Firenze'' in the dome of [[Santa Maria del Fiore]]]]) as follows:
<snip>
Notice that the first <a> tag has an <a> tag in it's href attribute. This cannot be right. Is this a bug?
It works correctly for me. What's the exact URL?
See: http://en.wikipedia.org/w/api.php?action=render&text=%5B%5BImage:Micheli... teAndHisPoem.jpg|thumb|right|250px|''La%20commedia%20illumina%20Firenze''%20 in%20the%20dome%20of%20[[Santa%20Maria%20del%20Fiore]]]]&format=xml
- -- Daniel Cannon (AmiDaniel)
cannon.danielc@gmail.com
_______________________________________________ Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-api