手册:$wgMaxTemplateDepth

This page is a translated version of the page Manual:$wgMaxTemplateDepth and the translation is 100% complete.
解析器: $wgMaxTemplateDepth
模板内模板的最大递归深度。
引进版本:1.12.0 (r29569)
移除版本:仍在使用
允许的值:(整数)
默认值:100 (1.38+)
40 (1.12-1.37)

详情

模板内模板的最大递归深度。 当前的解析器为每个模板在 PHP 调用堆栈中添加了两个级别,xdebug 默认将调用堆栈限制为 256。 因此,这应该有望在达到 xdebug 限制之前停止解析器。

另见