https://bugzilla.wikimedia.org/show_bug.cgi?id=31735
Web browser: ---
Bug #: 31735
Summary: Option to display section numbers on section headings
Product: MediaWiki
Version: unspecified
Platform: All
URL: http://meta.wikimedia.org/w/index.php?title=Terms_of_u
se&action=historysubmit&diff=2992938&oldid=2992569
OS/Version: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Vector Skin
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
In some kinds of documents (particularly legal documents), it is important to
have section numbers. MediaWiki does reflect this in one respect: the
auto-generated Table of Contents lists each line with a corresponding section
number. However, the header itself -- within the body of the document -- does
not display the section number.
In the document linked (Wikimedia's proposed new Terms of Use), each section
has been *manually* numbered. This leads to unsightly duplicate numbering
within the Table of Contents.
There are probably a number of technical approaches that could resolve this. I
suggest one here, but it may or may not be the right one:
Proposed solution: Introduce a new Magic Word, __DISPLAYSECTIONNUMBERS__, which
will cause the numbers already included in the Table of Contents to be included
within the document. Thus, the following lines:
== Section 1 ==
Text text text
== Section 2 ==
Text text text
=== Sectino 2.1 ===
Text text text
Would be displayed as (and here I'm using all-caps to represent larger typeface
etc.):
1. SECTION 1
Text text text
2. SECTION 2
Text text text
2.1 SECTION 2.1
Text text text
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- 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