[MediaWiki-l] how to make mediawiki make TOC with less than 4 sections ?

shirish shirish at hamaralinux.org
Wed Oct 14 14:47:28 UTC 2015

addition at bottom :-

On 10/14/2015 08:14 PM, shirish wrote:
> Hi all,
> A temporary way to generate Table of Contents (TOC) is to write
> __FORCETOC__ or _TOC_ before starting the page but what if we don't want
> that. Let's say we want to have all and any pages that has more than 2
> sections should have a TOC. Is there a way to do it ?
> By default in mediawiki installation it needs 4 sections.
>  From
> https://en.wikipedia.org/wiki/Help:Section#Table_of_contents_.28TOC.29

Please CC me as I'm not subscribed to the list as it's a high-traffic 
list, sorry.

Shirish Agarwal,
Community Lead,

More information about the MediaWiki-l mailing list