Page MenuHomePhabricator

Control TOC level/depth displayed per page
Open, LowestPublicFeature

Description

Author: david

Description:
I've seen the global for controlling overall TOC depth for all pages ($wgMaxTocLevel), and a template approach used in Wikipedia for controlling depth on a per page basis (http://en.wikipedia.org/wiki/Section_editing#Limiting_the_TOC), but it would be very convenient if there was a method to easily control this for all MediaWiki installations. Maybe something similar to what Wikipedia does. I would like to keep standard heading markup and control TOC display only for a few pages.


Version: 1.13.x
Severity: enhancement

Details

Reference
bz17353

Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 21 2014, 10:26 PM
bzimport set Reference to bz17353.
bzimport added a subscriber: Unknown Object (MLST).

Hi David! Sorry that nobody has taken a look at this report yet and given feedback.

Could you describe what you would like to achieve, and why? See https://en.wikipedia.org/wiki/User_story

Link in comment 0 is now https://en.wikipedia.org/wiki/Section_editing#Limiting_the_depth_of_the_TOC

Aklapper changed the subtype of this task from "Task" to "Feature Request".Feb 4 2022, 11:02 AM