GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Edit Task
  • Edit Related Tasks...
  • Create Subtask
  • Edit Parent Tasks
  • Edit Subtasks
  • Merge Duplicates In
  • Close As Duplicate
  • Edit Commits
  • Edit Mocks
  • Mute Notifications
  • Protect as security issue
  • MediaWiki-Parser
  • (Backlog)

This view

  • Original page
  • New address

GeezerVison is showing phabricator.wikimedia.org — T15642 Wikitext lists cannot continue an item after a sublist (Add simple "end of sublist" w/o having to start a new list item.)

Page MenuHomePhabricator
Log In
Create Task
Maniphest T15642

Wikitext lists cannot continue an item after a sublist (Add simple "end of sublist" w/o having to start a new list item.)
Closed, InvalidPublic
Actions

  • Edit Task
  • Edit Related Tasks...
  • Create Subtask
  • Edit Parent Tasks
  • Edit Subtasks
  • Merge Duplicates In
  • Close As Duplicate
  • Edit Related Objects...
  • Edit Commits
  • Edit Mocks
  • Mute Notifications
  • Protect as security issue
Assigned To
None
Authored By
• Purodha
Apr 7 2008, 12:22 PM2008-04-07 12:22:00 (UTC+0)
Project Tags
  • MediaWiki-Parser (Backlog)
Referenced Files
None
Subscribers
• Chealer
• demon
Izno
• Purodha
• wikibugs-l-list

Description

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 arbitrary indentation 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 HTML.

Since having "-" (minus, standard dash) immediately behind a wikitext list designator or indentation mark (*#:;) is fairly uncommon, I suggest extending wikitext syntax by
these:

PrefixEffect
*-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.

Sample:

# 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 considering.


Version: unspecified
Severity: enhancement
URL: bugsmash

Details

Reference
bz13642

Related Objects

  • Mentions
Mentioned In
T3115: Wikitext lists cannot express multi-paragraph items, nor preformatted text (Newline as list item terminator is troublesome.)
Mentioned Here
T3115: Wikitext lists cannot express multi-paragraph items, nor preformatted text (Newline as list item terminator is troublesome.)
T3584: Need method for multiparagraph list items, continuing numbered lists, and assigning specific numbers to list items

Event Timeline

• bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:06 PM2014-11-21 22:06:44 (UTC+0)
• bzimport added a project: MediaWiki-Parser.
• bzimport set Reference to bz13642.
• bzimport added a subscriber: Unknown Object (MLST).
• Purodha created this task.Apr 7 2008, 12:22 PM2008-04-07 12:22:00 (UTC+0)
• demon added a comment.Oct 19 2010, 5:22 PM2010-10-19 17:22:45 (UTC+0)
Comment Actions
  • This bug has been marked as a duplicate of bug 1115 ***
• Chealer renamed this task from Add simple "end of sublist" w/o having to start a new list item. to Wikitext lists cannot continue an item after a sublist (Add simple "end of sublist" w/o having to start a new list item.).Apr 3 2025, 3:43 PM2025-04-03 15:43:35 (UTC+0)
• Chealer reopened this task as Open.
• Chealer updated the task description. (Show Details)
• Chealer subscribed.Apr 3 2025, 3:57 PM2025-04-03 15:57:12 (UTC+0)
Comment Actions

Thank you very much for this report @Purodha. Other tickets tracking the lack of list expressivity are T3115 (formerly ticket 1115 on Bugzilla) and T3584.

• Chealer mentioned this in T3115: Wikitext lists cannot express multi-paragraph items, nor preformatted text (Newline as list item terminator is troublesome.).Apr 3 2025, 4:18 PM2025-04-03 16:18:23 (UTC+0)
Izno closed this task as Invalid.Sep 8 2025, 1:18 AM2025-09-08 01:18:16 (UTC+0)
Izno subscribed.
Comment Actions

Reclose in favor of 3115.

Log In to Comment
Content licensed under Creative Commons Attribution-ShareAlike (CC BY-SA) 4.0 unless otherwise noted; code licensed under GNU General Public License (GPL) 2.0 or later and other open source licenses. By using this site, you agree to the Terms of Use, Privacy Policy, and Code of Conduct. · Wikimedia Foundation · Privacy Policy · Code of Conduct · Terms of Use · Disclaimer · CC-BY-SA · GPL · Credits
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.