Page MenuHomePhabricator

Make table of contents numbering scheme and style localisable
Open, LowPublicFeature

Description

I just helped a fellow from Bulgaria in #mediawiki, he informed me that Bulgarian (and German, etc.) require periods after a section number in a table of contents. Whether that's a hard requirement or not, it should be relatively simple to handle. Maybe it would be good to have an option for this (maybe using CSS :after and content), and enable it by default for de and bg.


Version: 1.21.x
Severity: enhancement
URL: https://www.mediawiki.org/wiki/Thread:Project:Support_desk/How_to_customize_auto-numbering_of_TOCs

Details

Reference
bz43494

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 1:12 AM
bzimport set Reference to bz43494.
bzimport added a subscriber: Unknown Object (MLST).

Changing the summary because I read this bug two days ago and I had already forgotten the meaning of the summary.

While I'm at it, IMHO this is a valid feature request, but to assess its priority it would be nice to have some source for the statement that this is really a universal requirement for those languages.
For instance, Italy's typographically strictest publisher (Einaudi) uses the periods but the most famous style manual (Lesina) doesn't; and we usually see German users asking for roman numbers rather than periods: so personally I'm not so sure there's a universal/real rule that we're currently breaking.

ve4ernik wrote:

@Nemo:
I don't know about German, but it applies to Bulgarian according to the ortographic dictionary of the Bulgarian language (2002). The dots should also be placed after subsection numbers, not just after section numbers.

—sahwar

Aklapper changed the subtype of this task from "Task" to "Feature Request".Feb 4 2022, 11:13 AM
Aklapper removed a subscriber: wikibugs-l-list.