Jump to content

Manual:$wgEnableParserLimitReporting

From mediawiki.org
This page is a translated version of the page Manual:$wgEnableParserLimitReporting and the translation is 83% complete.
Outdated translations are marked like this.
扩展: $wgEnableParserLimitReporting
控制是否输出NewPP解析器报告 的HTML注释到输出页面中。
引进版本:1.22.0 (Gerrit change 89758; git #4c3b64e0)
移除版本:仍在使用
允许的值:(布尔值)
默认值:true

细节

控制是否添加NewPP限制报告的HTML注释到输出页面中。里面尽可能包括了各种有用信息,如:循环、包含页面、限制数据等。 你可以看到类似如下例子:

<!-- 
NewPP limit report
CPU time usage: 0.337 seconds
Real time usage: 0.352 seconds
Preprocessor visited node count: 189/1000000
Preprocessor generated node count: 871/1000000
Post‐expand include size: 40876/2097152 bytes
Template argument size: 223/2097152 bytes
Highest expansion depth: 8/40
Expensive parser function count: 0/100
ExtLoops count: 0/100
-->