NewPP parser report/ja

From mediawiki.org
This page is a translated version of the page NewPP parser report and the translation is 12% complete.

NewPP is an abbreviation for "New PreProcessor" (new at the time of Tim Starling's 2008 parser rewrite for MediaWiki 1.12, that is). One is most likely to find it at the bottom of the HTML source of wiki pages, referring to the preprocessor report that contains statistics on what resources were used to render the page, and usage of various parsing-related quotas (such as number of expensive calls, or number of preprocessor tree nodes).

On a Wikimedia site it will look something like this:

<!--
NewPP limit report
Parsed by mw1415
Cached time: 20211017101805
Cache expiry: 1814400
Reduced expiry: false
Complications: []
CPU time usage: 0.258 seconds
Real time usage: 0.323 seconds
Preprocessor visited node count: 1071/1000000
Post‐expand include size: 7262/2097152 bytes
Template argument size: 3243/2097152 bytes
Highest expansion depth: 13/40
Expensive parser function count: 21/500
Unstrip recursion depth: 0/20
Unstrip post‐expand size: 1524/5000000 bytes
Lua time usage: 0.039/10.000 seconds
Lua memory usage: 1448042/52428800 bytes
Number of Wikibase entities loaded: 0/400
-->

followed by a per-template 参照読み込み expansion time report and a debug message with the parser cache key.

It will also be available as the JavaScript configuration variable wgPageParseReport, and displayed in edit preview mode under the edit window (as a dropdown under the name "Parser profiling data") when using the wikitext editor.

See w:Wikipedia:Template limits for details on what the lines mean.

関連項目