Manual:$wgMaxTocLevel/zh

细节
Maximum indent level of the table of contents.

注释
Although this setting was introduced in 1.3.0, prior to 1.4.0 it was commented out in DefaultSettings.php. It is unclear whether this was in error or whether it means that the setting was not actually used until v1.4.0.