Manual:$wgExpensiveParserFunctionLimit

Details
Maximum number of calls per parse to expensive parser functions such as PAGESINCATEGORY.

Expensive parser functions include:


 *   (from ext>Special:MyLanguage/Extension:ParserFunctions|Extension:ParserFunctions)


 *  /  (a magic>Special:MyLanguage/Help:Magic words#PAGESINCATEGORY|Magic Word)


 *   (a magic>Special:MyLanguage/Help:Magic words#PAGESIZE|Magic Word)
 * and when used with the optional argument to specify a different page


 *   (a magic>Special:MyLanguage/Help:Magic words|Magic Word)


 * Some scribunto>Special:MyLanguage/Extension:Scribunto|Lua MediaWiki-related functions (see man>Special:MyLanguage/Extension:Scribunto/Lua reference manual|Lua reference manual), including  which can be used to manually mark a Lua code path as expensive.

The count is 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.