[Mediawiki-l] Using external HTML Tidy

Platonides Platonides at gmail.com
Wed Aug 8 20:06:10 UTC 2007


Azurite wrote:
> Hi again,
Hi again.

> Sorry I misunderstood.
Don't worry :-)

> So from what I'm understanding, it's the Infobox animanga/Header 
> template which is causing the problem, in particular, this line:
>   #if: {{{image|}}} | <tr><td colspan="2" style="background: #fff; 
> text-align: center;">[[Image:{{{image}}}|{{#if: {{{size|}}} | {{{size}}} 
> | 250px}}|{{{caption|}}}]]</td></tr>
Right.

> I tried grabbing the code from Wikipedia, but it looks like it's been 
> reverted by another user. I could grab the last one edited by you in 
> history, though; is that the one you were referring to? Otherwise, 
> perhaps you could just send me the altered code, since it looks like 
> there's no significant difference between the current Wikipedia template 
> and the one I have, which makes me wonder what it is (if not HTML Tidy) 
> that Wikipedia has that allows their #if: statement to get parsed properly.

Yes, i was referring to 
http://en.wikipedia.org/w/index.php?title=Template:Infobox_animanga/Header&oldid=149626523
It was that little space what was breaking my conversion. That worked 
for me (tm) on that article. I've left a message asking why the reversion.




More information about the MediaWiki-l mailing list