Steve Summit wrote:
When you edit [[Wikipedia:Help desk]], you get the custom editnotice [[MediaWiki:Editnotice-4-Help desk]]. The editnotice is emitted inside a table, between <td> and </td>. The editnotice contains a bulleted list, rendered as <ul> with a bunch of <li>'s. However, for some reason, the last </li> and </ul> come out *after* the closing </td>, making them orphans, so to speak.
I don't know if this affects other custom editnotices.
Interface messages (those at MediaWiki:) aren't processed so hard for correctness (it's expensive). So it's the sysop's duty to verify after each change that it is indeed right xhtml. Some line break before the }} may help.
Now, it is indeed a bug in MediaWiki, and should be added to parsertests if it's not yet there.