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(a)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=[[Image:Michelino%…
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(a)gmail.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla -
http://enigmail.mozdev.org
iD8DBQFHWJitFRAT5u/mSaMRAhA6AKCLtt+k1toKvmTj7+t/5huBDkJqvgCeLcml
r5/8dYEVjY0o4s2ok3AVQJI=
=/bzj
-----END PGP SIGNATURE-----
_______________________________________________
Mediawiki-api mailing list
Mediawiki-api(a)lists.wikimedia.org
http://lists.wikimedia.org/mailman/listinfo/mediawiki-api