[Mediawiki-l] Using external HTML Tidy

Azurite azurite at seventh-star.net
Tue Aug 7 19:05:38 UTC 2007


Hi again,
>> So C files don't need compiling now,
>>     
> I said they do.
>   
Actually, you said "C files use to need compiling," which I read as 
"used to" (as in, they don't anymore). Sorry I misunderstood.

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>

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.

Thanks for your help!
-Azurite



More information about the MediaWiki-l mailing list