[Mediawiki-l] Subtle bug with combination of "bullet lists" and "definition lists"

Wiki lapsap7+mwiki at gmail.com
Fri Nov 23 17:01:40 UTC 2007


     I've found a subtle bug with combination of "bullet lists" and
"definition lists".  Consider the wikitext below:

*; Item 1 : description for item 1
*; Item 2 : description for item 2

     The rendered HTML is that the second definition has no bullet before
it.  There are two workaround:
1. Putting one line between them
*; Item 1 : description for item 1

*; Item 2 : description for item 2

2. Separate definition and description on two lines:
*; Item 1
: description for item 1
*; Item 2
: description for item 2

     But #1 and #2 have different rendered aspects!

     Of course, there's also the trivial workaround of using
triple-single-quotes ('''Item 1''') and shift the second line inwards.  But
this is that terrific!

     Anyway, this bug is very subtle.

     Have a nice day


More information about the MediaWiki-l mailing list