[Mediawiki-l] Re: Unwanted <p> tags from the parser in my extension, can they be turned off?

Tels nospam-abuse at bloodgate.com
Mon Feb 6 17:40:13 UTC 2006


Moin,

On Monday 06 February 2006 06:17, LJ wrote:
> Cynicism aside Rob, I appreciate the reply.
>
> Did a bit more digging, and found this 'bug' in bugzilla:
> http://bugzilla.wikimedia.org/show_bug.cgi?id=1772
> Seems like it's been around awhile.  I updated the version, added a
> note, and voted for it.
>
> For the time being I can work around it by limiting the text I insert
> between my tags (no newlines).  However, I'd like to publish my
> extension, and I'm unlikely to do so if I have to have the caveat of:
> 'you have to format the tagged content just-so...'.
>
> Don't know if my previous global flag or callable method ideas have
> much merit ( or are feasible to integrate into the parser structure ). 
> But, it'd be nice if a developer latched on to them... :)

Btw, the Graph::Easy extension (returing HTML) also runs into this. Even 
when you add no emoty lines and leading spaces, mediawiki seems to insert 
a paragraph every N lines or so. This of course creates wierd empty 
spaces in the generated table :(

In the end I stripped *ever* \n from the output and now return a gigantous 
long line.

A way to switch this off from my extension would be great, because the 
emitted HTML becomes impossible to debug or inspect.

Best wishes,

Tels

-- 
 Signed on Mon Feb  6 18:37:41 2006 with key 0x93B84C15.
 Visit my photo gallery at http://bloodgate.com/photos/
 PGP key on http://bloodgate.com/tels.asc or per email.

 "Retsina?" - "Ja, Papa?" - "Rasenmähen." - "Is gut, Papa."

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 481 bytes
Desc: not available
Url : http://lists.wikimedia.org/pipermail/mediawiki-l/attachments/20060206/849cd3c5/attachment.pgp 


More information about the MediaWiki-l mailing list