Translations:Manual:$wgMaxTocLevel/5/en

Although this setting was introduced in 1.3.0, prior to 1.4.0 it was commented out in DefaultSettings.php.