Last modified: 2014-09-23 23:36:13 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 T6281, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 4281 - Allow users to set a starting digit in ordered lists
Allow users to set a starting digit in ordered lists
Status: NEW
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
1.6.x
All All
: Low enhancement with 2 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
: newparser
: 8134 (view as bug list)
Depends on:
Blocks: 1584
  Show dependency treegraph
 
Reported: 2005-12-15 03:35 UTC by Allison Marles
Modified: 2014-09-23 23:36 UTC (History)
4 users (show)

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


Attachments

Description Allison Marles 2005-12-15 03:35:51 UTC
This bug is critical for my usage because I am trying to give a list of steps
interspersed with commands and images.  I cannot use <ol> and <li> because they
collapse stuff onto one line and the "#" command assumes that if you skip a line
you want to start a new list.  What I require is some sort of tags to denote a
whole list so that the # doesn't restart at 1 if I skip a line.

e.g. 
<list>
# blah
 foo bar
# baz qux
</list>
Comment 1 Borgx 2005-12-15 03:43:32 UTC
Maybe we should ask the developer to make enhancement, so that numbered list can
be started from any given number.

for example: 
#
#
# 

will result:
1.
2.
3.

#4
#
#

will result:
4
5
6
Comment 2 lɛʁi לערי ריינהארט 2005-12-15 04:35:12 UTC
(In reply to comment #1)
> Maybe we should ask the developer to make enhancement, so that numbered list can
> be started from any given number.
> 
> for example: ...

This will mean that you have to readjust the numbers if you insert inbetween of
1 and 3. In *addition* to your requirement I would say that

#++ should be easy to remember.

best regards reinhardt [[user:gangleri]]
Comment 3 Borgx 2005-12-15 04:39:51 UTC
#4, #++, <# start="4"> <ol start="4"> whatever.. I use any tag
Comment 4 Allison Marles 2005-12-15 14:33:10 UTC
One advantage of using the "#" command is that you don't have to re-number if
you insert something in the middle, so I would definitely prefer something
generic like #++ over specifying the number to start at.
Comment 5 Ævar Arnfjörð Bjarmason 2005-12-15 14:42:14 UTC
Note: The start="" attribute has been deprecated by the W3C, the only standards
compilant way of achiving the same is through style sheets, and I think only
Opera supports that.
Comment 6 Rob Church 2005-12-19 15:00:58 UTC
(In reply to comment #0)
> interspersed with commands and images.  I cannot use <ol> and <li> because they
> collapse stuff onto one line and the "#" command assumes that if you skip a line

Does

#Foo
#:More about Foo
#Bar
#:More about Bar

not do what you want?
Comment 7 Allison Marles 2005-12-19 15:34:16 UTC
(In reply to comment #6)
> (In reply to comment #0)
> > interspersed with commands and images.  I cannot use <ol> and <li> because they
> > collapse stuff onto one line and the "#" command assumes that if you skip a line
> 
> Does
> 
> #Foo
> #:More about Foo
> #Bar
> #:More about Bar
> 
> not do what you want?

No, because I want to be able to call a template on the "More about Foo" line
and if I do so, I end up with:
1. Foo
(result of template call goes here)
1. Bar

In addition to the above, the other thing I'm trying to intersperse with the
numbered points is a chunk of code with the dotted border style you get when you
indent by a single space. #: is as specific as #* in that it allows me to have a
new line with a specific leading character in the midst of my list.  I want to
be able to include anything that occurs to me, which is why what I'd really like
is "start" and "end" markers to essentially say "all # signs in this region
should increment consecutively regardless of what appears in between them" or,
more simply, "this section consitutes a single list".
Comment 8 Rob Church 2006-12-03 12:39:06 UTC
*** Bug 8134 has been marked as a duplicate of this bug. ***
Comment 9 Derk-Jan Hartman 2009-05-10 18:50:42 UTC
(In reply to comment #5)
> Note: The start="" attribute has been deprecated by the W3C

HTML 5 is undeprecating this attribute, perhaps it is time to revisit this problem? http://www.w3schools.com/tags/html5_ol.asp

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


Navigation
Links