--- Comment #20 from Bartosz Dziewoński <matma....@gmail.com> ---
(In reply to Yair Rand from comment #17)
> To just get the fixed numbering column without manually adding cells to each
> row or using JS, one could use CSS generated-content cells with counters:
I was thinking about doing this with just CSS, and this solution is
very neat, but is has two problems:
1. Obviously, no support for old browsers. I understand that this is a
trade-off that we're willing to make.
2. Less obviously, no support for internationalization!
* No support for digit conversion (some languages use other numerals
than 0 1 2 3 4 5 6 7 8 9, e.g. Arabic uses ٠ ١ ٢ ٣ ٤ ٥ ٦ ٧ ٨ ٩).
I don't think this is possible with CSS (although I might be wrong).
* No support for various typographic conventions on the number
formatting; again, proper Polish would require a dot to be placed
after the ordinal number (as in 1., 2., 3. etc. for first,
second, third), some might want 1st, 2nd, 3rd etc. in English as
well, and who knows what other languages might require.
* In the heading neither "№" nor "#" would be acceptable in, say,
Polish (we use "Lp." which is an abbreviation of "ordinal
number"), although this might be worked around by just leaving
the space empty as tm112 suggests above; I'm not sure if that'd
be acceptable for all languages we support in MediaWiki, though.
It's probably a good solution on a per-wiki basis (for at least some
languages), but I'm afraid we won't be able to use it in core unless we
manage to solve the above problems (might be doable with some deep LESS
magic, at least for the latter two).
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