Manual:$wgMaxTemplateDepth

From MediaWiki.org
Jump to navigation Jump to search

Other languages:
Deutsch • ‎English • ‎español • ‎français • ‎italiano • ‎polski • ‎português • ‎português do Brasil • ‎日本語
Parser: $wgMaxTemplateDepth
Maximum recursion depth for templates within templates.
Introduced in version:1.12.0 (r29569)
Removed in version:still in use
Allowed values:(integer)
Default value:40
Other settings: Alphabetical | By function

Details[edit]

Maximum recursion depth for templates within templates. The current parser adds two levels to the PHP call stack for each template, and xdebug limits the call stack to 100 by default. So this should hopefully stop the parser before it hits the xdebug limit.