Last modified: 2011-03-13 18:05:36 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T22921, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 20921 - Numbered list with shared placings?
Numbered list with shared placings?
Status: RESOLVED WONTFIX
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
unspecified
All All
: Lowest enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-10-01 09:39 UTC by Per A.J. Andersson
Modified: 2011-03-13 18:05 UTC (History)
1 user (show)

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


Attachments

Description Per A.J. Andersson 2009-10-01 09:39:33 UTC
Hi!

The help section on the page http://en.wikipedia.org/wiki/Wikipedia:Lists mentions both wiki markup and html solutions for making numbered lists. Neither one seems to address a problem I've encountered. Namely the possibility of having a nice hanging indent for shared placings in a list (like from a sports event or other competition), while at the same time respecting the total number of list entries.

As it is now, both wiki markup (#) and html (<li>) are well suited for lists with no shared placings, but in my experience neither one adds the possibility of making a nice list with, say, five competitors in which with one is the winner, one placed second, two placed third, none placed fourth and one placed fifth. Either the numbering goes haywire, or the left hanging indent on the second line of the shared placings does so.

Maybe there is no solution, and going to tables is the only solution.

Many thanks for any input.

Per A J Andersson
Göteborg, Sweden
Comment 1 Brion Vibber 2009-10-03 00:38:23 UTC
You can use the 'value' attribute on the <li> element for this; our wikitext HTML subset passes this through:

<ol>
<li>One
<li>Two
<li>Three
<li value=3>Three again
<li value=5>Five
</ol>
Comment 2 Per A.J. Andersson 2009-11-10 16:28:37 UTC
Hi! Thanks for the input! Sorry for being so late on this. This is a close to working solution, but not very handsome. What I had in mind was a correct listing with a hanging indent on the second tied line (instead of a second number three). This hanging indent would line up vertically with the "tab" position of the other One, Two, Three starting values. I guess this is harder to achieve. But thanks anyhow, for your input (which I already got from another source last year).

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


Navigation
Links