Manual:$wgExpensiveParserFunctionLimit

Category:MediaWiki configuration settings#ExpensiveParserFunctionLimitCategory:MediaWiki configuration settings introduced in version 1.13.0#ExpensiveParserFunctionLimitCategory:MediaWiki configuration settings still in use#ExpensiveParserFunctionLimitCategory:Parser variables#ExpensiveParserFunctionLimit
Parser: $wgExpensiveParserFunctionLimit
Maximum number of calls per parse to expensive parser functions such as PAGESINCATEGORY.
Introduced in version:1.13.0 (r32932)
Removed in version:Still in use
Allowed values:(integer)
Default value:100

Details

Maximum number of calls per parse to expensive parser functions such as PAGESINCATEGORY. Expensive parser functions include:

  • {{REVISIONUSER}} and {{REVISIONTIMESTAMP}} when used with the optional argument to specify a different page
  • Some Lua MediaWiki-related functions (see Lua reference manual), including mw.incrementExpensiveFunctionCount() which can be used to manually mark a Lua code path as expensive.

A limit report for the current page can be found as a comment in the HTML source of the page. Even without saving, the count for any wikitext can be checked by checking the html-source of the preview page for that wikitext.

See also

Category:MediaWiki configuration settings Category:MediaWiki configuration settings introduced in version 1.13.0 Category:MediaWiki configuration settings still in use Category:Parser variables