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.
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.
Platonides wrote
Steve Summit wrote:
The editnotice is emitted... between <td> and </td>... for some reason, the last </li> and </ul> come out *after* the closing </td>, making them orphans, so to speak.
Some line break before the }} may help.
I wondered about that. Perhaps <br clear=... um, say, where's the list of the things you're allowed to clear there?
If that does work, I suppose an expedient fix for the underlying problem would be to force the effect of the break right after the text transclusion in any editnotice. Heck, that could be as simple as adding the break at the right spot in [[Template:Editnotice]], right?
wikitech-l@lists.wikimedia.org