Last modified: 2012-06-17 22:07:25 UTC
Currently we can suppress the automatic numbering on TOCs by defining the CSS rule .tocnumbers { display:none; }. However, when the preference "Auto-numbering of section headings" is activated, the numbers on the headings themselves aren't wrapped in a separate class that allows them to be hidden (or otherwise styled). Ideally, the text of the heading should also be wrapped in a classed container, as happens with the TOC.
Are you referring to the numbering by the "Auto-numbering headings" preference, or the numbers inside the table of contents ?
Right, you said that already. So wrapping those in a separate class is a good thing imho: * It allows skins to style them separately in a good way * It allows use to reduce parser cache fragmentation (only different style instead of different output from this preference) * And therefor as a result allows site and/or users specific styles for them globally or on a per-page base.
Patch submitted to gerrit: https://gerrit.wikimedia.org/r/9980 (thanks, Roan!)
Change was merged to master branch. Should be in next MediaWiki release; marking bug as fixed.