Thread:Project:Support desk/$wgRecursionLimit?

As far as I know, the recursion limit is just 1

However, I want there to be a debugging-purpose feature to allow a higher recursion limit for templates, such as $wgRecursionLimit (which defaults to 1). I also don't know how you set an expansion depth limit, and I would want to know how the MediaWiki.org administrators did that. For example, if $wgRecursionLimit is 10, a template named Template:Forever with this content:
 * should look like this:
 * Template loop detected: Template:Forever
 * should look like this:
 * Template loop detected: Template:Forever
 * Template loop detected: Template:Forever
 * Template loop detected: Template:Forever
 * Template loop detected: Template:Forever
 * Template loop detected: Template:Forever
 * Template loop detected: Template:Forever
 * Template loop detected: Template:Forever
 * Template loop detected: Template:Forever
 * Template loop detected: Template:Forever
 * Template loop detected: Template:Forever
 * Template loop detected: Template:Forever

However an expansion depth limit is set, the expansion depth limit should have to be >= $wgRecursionLimit