Last modified: 2006-06-15 20:01:07 UTC
See for example [[Rosales]]: in the "Families" section of the box at upper right, spaces are missing following links. For example, the wikitext "[[Urticaceae]] ([[nettle]] family)" has been rendered as Urticaceae(nettlefamily). This doesn't happen in ordinary wikitext, only in the expansion of Template:Taxobox. If the spaces are replaced by non-breaking space ( ) then the box renders correctly.
Any chance of this being fixed? It affects hundreds of articles. See http://en.wikipedia.org/w/ index.php? title=Wikipedia_talk:WikiProject_Tree_of_Life&curid=1272975&diff=57416194&oldid=57415216 for a complaint.
Will take a look at this while I'm knee-deep in parser guts...
Thank you.
The problem appears to be that the taxobox template uses a bogus inner nested table that, when it comes down to it, looks like this: {| [[Cannabaceae]] ([[hemp]] family) |} Notice that there's no | to mark the text as being in a table cell. The current wikitable parser is very lax about this sort of thing, and renders it to bad HTML, something like: <table> <a href="/oneseven/index.php?title=Cannabaceae" title="Cannabaceae">Cannabaceae</a> (<a href="/oneseven/index.php?title=Hemp" title="Hemp">hemp</a> family) <tr><td></td></tr></table> HTML Tidy then tries to clean up the code; it notices the inline text illegally placed into a <table> directly, and moves it to a paragraph outside the table: Tidy normalizes this to: <p><a href="/oneseven/index.php?title=Cannabaceae" title="Cannabaceae">Cannabaceae</a>(<a href="/oneseven/index.php?title=Hemp" title="Hemp">hemp</a>family)</p> <table> <tr> <td></td> </tr> </table> Mysteriously it also removes the whitespace at the edge of the link tags, but the construct is wrong to begin with so it can't be faulted too much. :) I've corrected the template: http://en.wikipedia.org/w/index.php?title=Template:Taxobox&diff=57684420&oldid=56008320
Brion, the change you made to the taxobox has made additional problems. If the subdivision part of the box contains a bulleted list, the first asterisk does not get wikified into a bullt. If the subdivision part contains a break-line list, there is a gap between the first and second lines. See [[lemur]] and [[Cheirogaleidae]] for examples respectively. - UtherSRG
Then you'll need to fix those uses.