Creating lists were list items include code listing, images, etc. is very
frustrating in all wikis that I tried. List numbering, indentation etc break.
Unnumbered paragraphs cannot be easily added in the middle of a numbered list,
You can check several bugs filed for this issue at the mediawiki website, for
example this one: http://bugzilla.wikimedia.org/show_bug.cgi?id=1581
Here is a suggested solution: LET ME EXPLICITLY START AND TERMINATE LISTS.
A list sould be started with -( and terminated with )-.
The -( string should be translated to <OL><LI>;
)- should terminate the list with </OL>.
List items should be entered as usual, with a dash -.
A similar extension should be used for bulleted lists, i.e. *( and )*.
Note that such markup should be fairly easy to parse.