https://bugzilla.wikimedia.org/show_bug.cgi?id=53620

--- Comment #1 from Brion Vibber <[email protected]> ---
I don't think we'd add new syntax for this, as it's doable through existing
HTML and CSS.

See documentation for the CSS list-style or list-style-type properties, there
are many options:
https://developer.mozilla.org/en-US/docs/Web/CSS/list-style-type

You can either put the styles into global stylesheets like MediaWiki:Common.css
or you can manually put a style attribute on an HTML list element:

<ol style="list-style: decimal-leading-zero">
<li> shows 01.
<li> shows 02.
<li> shows 03.
</ol>

<ol style="list-style: lower-roman">
<li> shows i.
<li> shows ii.
<li> shows iii.
</ol>

Note that in the inline style case, you may need to use <li> explicitly rather
than #/* markup.


In the CSS stylesheet case, you can reference the list by wrapping it in a div
or something, in which case you can just use the existing # syntax for ordered
lists:

In CSS:
.list-roman ol { list-style: lower-roman }

In page:
<div class="list-roman">
# shows i.
# shows ii.
# shows iii.
</div>

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to