[Mediawiki-l] extension output is garbed

Tels nospam-abuse at bloodgate.com
Sun Jan 21 10:50:20 UTC 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Moin,

On Sunday 21 January 2007 07:24, Ittay Dror wrote:
> i have an tag (parser hook) extension that outputs a <style> and
> <javascript> tags. in Parser.php, doBlockLevels is called before the page
> is returned. it goes over the page, line by line, converting some. in
> particular, it converts the lines inside the '<style>' tag.
>
> i thought tag extensions can output what they want, and that it is not
> processed as wiki text.

I have run into the same problem with my Graph::Easy extension, so I removed 
all newline from the output, basically outputting one giant long line. It 
doesn't look pretty, but it works.

I wish the Parser would be fixed, tho.

Best wishes,

Tels

- -- 
 Signed on Sun Jan 21 11:49:21 2007 with key 0x93B84C15.
 View my photo gallery: http://bloodgate.com/photos
 PGP key on http://bloodgate.com/tels.asc or per email.

 "Ok, a shiny copper piece to the first person who can tell me why Elan
 is running around naked." - "Giant moth attack?" - "Maybe a bad guy
 casted 'Dispel clothes'?" - The Order of the Stick issue #26

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iQEVAwUBRbNFbHcLPEOTuEwVAQJb8wf/Sd6uJrjdwuHdfpq6Bt9fWPSWJWT2WcMS
h1IZv4L52FwxkrO8TfJPv4j8ERTUEXyasnZuxniY7noMuejsDPsS3XdjXNUBRhxy
zXDec1g79u+yRg6vib0SYhyjNX2uU31v4ciN2BwKjwCJrmqX3PSqWGXadyRgMmN1
Jxc/7rIoYSykNmJRdwhG/WbYnp2POMJjNlz4enK+60UZO5XizTnanmFpHtV2WTBZ
S7dxaHpiuX6WoifOaGOQn22gnCAUr9eOIWOjcptzsnmPSz5yzgEePgv/i8TDC/zb
9VAEdrFFyQcQR+FBgp/pg30XfYKLuFrNoH7U5xdv4SQjdRnJhLuAnw==
=NY8/
-----END PGP SIGNATURE-----



More information about the MediaWiki-l mailing list