Page MenuHomePhabricator

Add a __SUBTOC__ tag like the __TOC__
Open, LowestPublic

Description

Author: nicolas.verite

Description:
The SUBTOC tag should display a partial table of content beginning from the
section headline just above this tag to the section headline before the next
SUBTOC tag, thus allowing to display multiple partial tables of contents of
the current page.

SUBTOC should not influence any TOC.


Version: unspecified
Severity: enhancement

Details

Reference
bz6980

Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 21 2014, 9:20 PM
bzimport set Reference to bz6980.
bzimport added a subscriber: Unknown Object (MLST).
bzimport created this task.Aug 11 2006, 1:52 PM
Qgil added a comment.Apr 15 2014, 6:15 AM

I wonder whether this has been requested by Wikimedia editors in the past. I find it excessive, but maybe someone needs something like this in certain contexts?

(In reply to Nicolas Vérité from comment #0)

The SUBTOC tag should display a partial table of content [...]

Is there a particular page or two, or namespace, that you can point to as an example?

(A couple of examples, in addition to the abstract description, is often the best way to explain a feature request. :)

(In reply to Quim Gil from comment #1)

I wonder whether this has been requested by Wikimedia editors in the past. I
find it excessive, but maybe someone needs something like this in certain
contexts?

I've never seen this requested before (at Enwiki).

I think multiple-partial-ToCs, would be potentially quite confusing to readers and editors - it's not a pattern we're familiar with. (But possibly an example would make the need/usefulness clearer to us?)

The complete list of available ones is at [[Category:Wikipedia table of contents templates]]. I glanced through [[Help talk:Section]] and /Archive_1, but couldn't see anything similar to this request. HTH.

Jorm removed a subscriber: Jorm.Dec 26 2015, 7:26 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptDec 26 2015, 7:26 PM