Last modified: 2010-05-15 15:28:54 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 801 - Numbered/Unordered list continuation incorrect after indentation
Numbered/Unordered list continuation incorrect after indentation
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
1.3.x
PC FreeBSD
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2004-10-29 22:04 UTC by Nick Triantos
Modified: 2010-05-15 15:28 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Nick Triantos 2004-10-29 22:04:51 UTC
A construct of the form:

=== Buggy lists ===
* main item
** sub-item #1
:: indented note
** sub-item #2

Does not render correctly.  Sub-item #2 shows two bullets, rather than one. 
With numbered lists, sub-item #2 restarts at "1."

There should be a way to force indented text and preformatted text to allow the
containing list to continue its formatting.  This is possible in pure HTML, so
I'm guessing this is just an artifact of the current "parser".
Comment 1 Brion Vibber 2004-10-29 22:10:20 UTC
Here is the correct syntax for what it looks like you're trying to do:

=== Buggy lists ===
* main item
** sub-item #1
*: indented note
** sub-item #2
Comment 2 Nick Triantos 2004-11-01 17:23:07 UTC
While the specific case below can be resolved, there are still several problems
when you embed indentation or preformatted text within a list.  As another example:

=== Buggy lists ===
* main item
*# sub-item #1
*: indented note
*# sub-item #2

Will force sub-item #2 to re-number as "1".  From reading through the parser
code, it does not look like there's a way to handle this case.
Comment 3 Brion Vibber 2004-11-01 18:13:11 UTC
If that's really what you want, then that's correct: you'd be using two separate numbered lists, separated by an 
area of indentation.

If the indented comment is supposed to be indented relative to the _item_, though, this might make more sense:
* main item
*# sub-item #1
*#: indented note
*# sub-item #2

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links