Manual:$wgEnableParserLimitReporting/zh
From Linux Web Expert
<translate> Extensions</translate>: $wgEnableParserLimitReporting | |
---|---|
控制是否输出NewPP解析器报告 的HTML注释到输出页面中。 |
|
<translate> Introduced in version:</translate> | 1.22.0 (Gerrit change 89758; git #4c3b64e0) |
<translate> Removed in version:</translate> | <translate> still in use</translate> |
<translate> Allowed values:</translate> | (布尔值) |
<translate> Default value:</translate> | true |
<translate> Other settings:</translate> <translate> Alphabetical</translate> | <translate> By function</translate> |
细节
控制是否添加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
-->