Open main menu

Manual:$wgEnableParserLimitReporting

This page is a translated version of the page Manual:$wgEnableParserLimitReporting and the translation is 67% complete.
Outdated translations are marked like this.
Other languages:
English • ‎español • ‎magyar • ‎polski • ‎中文 • ‎日本語
解析器: $wgEnableParserLimitReporting
控制是否输出NewPP限制报告的HTML注释到输出页面中。
引进版本:1.22.0
移除版本:仍在使用
允许的值:(boolean)
默认值: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
-->