Last modified: 2011-05-09 17:27:49 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 13642 - Add simple "end of sublist" w/o having to start a new list item.
Add simple "end of sublist" w/o having to start a new list item.
Status: RESOLVED DUPLICATE of bug 1115
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
All All
: Normal enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2008-04-07 12:22 UTC by Purodha Blissenbach
Modified: 2011-05-09 17:27 UTC (History)
2 users (show)

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


Description Purodha Blissenbach 2008-04-07 12:22:14 UTC
Currently, with numbered and unnumbered lists, you can have sublists, but you cannot easily "go back to the previous level" after a sublist.
- You can start a new list item.
- You can use an indent : to continue your previous level
  after the sublist, but (depending on installation, skin,
  and local CSS) that does not always render as intended.
- you can put a <br /> plus a <span> or <div> with some
  arbitary intentation at the end of your last sublist item.
  Besides being a structural sin, that hardly renders
  as intended with many skins, and browsers.
- You can wrap your sublist in a <div> container, but you
  usually need to know many peculiaritites of CSS and
  browser oddities in order to make it really work.

I want the latter be taken care of with a simple wikitext
syntax, basically signalling:
 1 - "continue with, or return to a previous level" or else 
 2 - "omit list tag, and do not increment count"
whatever the implementor chooses.

I clearly favorize solution 1 since it preserves structure,
thus giving more logical xhtml.

Since having "-" (minus, standard dash) immediately behind
a wikitext list designator or indentation mark (*#:;)
is fairly uncommon, I suggest extending wikitext syntax by
*-        back to the * level, continue with previous item
#-        back to the level of the # 
:-        back to the level of the :
;-        back to the level of the ; (start with new label)
All of them terminate sublists/indentation up to the level
of the *#:; preceeding the - and continue the last block or
item on that level without starting a new list item or block.

# Here starts number one, having:
#* a subitem
#* another subitem
#** with a sub-subitem
#- and a continuation on the #1 level behind all subitems.
# Here starts nuber two, now.

If a list item or block is to begin with a minus sign or dash,
this syntax must be used:
* -       unordered list item beginning with a dash or minus
# -same-  ordered list item beginning with a dash or minus
: -16 km  indented block beginning with a minus sign
; -       start of definition list label with minus or dash

If - is not seen as a good choice, I suggest _ (underscore)
as another possible candidate. Also . (dot) might be worth
Comment 1 Chad H. 2010-10-19 17:22:45 UTC

*** This bug has been marked as a duplicate of bug 1115 ***

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