Description

Unordered lists will be rendered as numbered list, if preceded immediately by a numbered list.

Example

 1. One
 1. Two

 * Some
 * Thing
  1. One
  2. Two
  3. Some
  4. Thing

Details

This wiki

MoinMoin Version

Version 1.5.3 [Revision release]

Python Version

2.4.2 (#1, Oct 15 2005, 21:28:51) [GCC 3.3.5 (Debian 1:3.3.5-13)]

Workaround

 1. One
 1. Two
## Separating remark
 * Some
 * Thing
  1. One
  2. Two

Discussion

Don't concatenate lists: lists separated by one or more white lines should be rendered one by one as separated lists. Thus, even

 1. One
 1. Two

 1. First
 1. Second

should be rendered like

  1. One
  2. Two

°

  1. First
  2. Second

and not

  1. One
  2. Two
  3. First
  4. Second

Note that even an offset won't work here:

 1. One
 1. Two

 1.#1 First
 1.#2 Second
  1. One
  2. Two
  3. First
  4. Second

(!) This is due to some features, not bugs:

I can see the need for these features, but that in no way invalidates the problems described here. There seems to be a clash of conceptual rules that needs to be somehow resolved. Some comments and questions: -- SteveDavison 2007-02-19 12:50:55

  1. A basic rule of the markup is that a blank line (two newlines in a row) delimits a new paragraph. Allowing space between list items begs the question: does a list item constitute a paragraph?
  2. Is it necessary to allow some list items to be single-spaced, and others double-spaced, within the same list? If not, an alternate method of specifying the list spacing could be performed once at the top, perhaps.
  3. Does it make sense to embed a paragraph within a list by having a blank line before and after it? The blank lines are not necessary in order to achieve the embedded paragraph, and might be better interpreted as starting a new list?
  4. While I think it's generally not common to end one list and begin another without some sort of "normal" paragraph in between, people are evidentally running into it (hence, this page). What is the official way to end one list and begin another? Inserting a comment seems to work fine, but in my mind that is a bug. What if someone wants to put a comment within their list without ending the list? That should be a normal and OK thing to do, but as the workaround proves, it will break the list. This is counterintuitive.

  5. Any issues with switching between list types at the same level is in no way related to HTML markup. It is the wiki parser's job to recognize the transition, and do something more intelligent about it. I'm not sure yet whether best thing is to simply start a new list, or to embed the different-type list entry (maybe auto-indenting it).
  6. These issues are pretty closely related to MoinMoinBugs/ParagraphBreaksBrokenWhenIndented

  7. Personally, with all the inconsistencies involving indentation, lists, and paragraphs, I think it may be time for a re-think. Considering all the use-cases to be supported and all the available markup options could result in a more intuitive and less problematic markup.

Plan


CategoryMoinMoinBug

MoinMoin: MoinMoinBugs/MixedNumberedAndUnorderedLists (last edited 2007-10-29 19:07:37 by localhost)