Manual:$wgExpensiveParserFunctionLimit/fr

This page is a translated version of the page Manual:$wgExpensiveParserFunctionLimit and the translation is 7% complete.
Other languages:
Deutsch • ‎English • ‎español • ‎français • ‎italiano • ‎magyar • ‎polski • ‎русский • ‎中文 • ‎日本語
Analyseur syntaxique: $wgExpensiveParserFunctionLimit
Maximum number of calls per parse to expensive parser functions such as PAGESINCATEGORY.
Introduit dans la version :1.13.0 (r32932)
Retiré dans la version :Encore utilisé
Valeurs autorisées :(integer)
Valeur par défaut :99

Details

Maximum number of calls per parse to expensive parser functions such as PAGESINCATEGORY. Les fonctions coûteuses de l'analyseur comprennent :

  • {{#ifexist:}} (from Extension:ParserFunctions)
  • {{PAGESINCATEGORY}}/{{PAGESINCAT}} (a Magic Word)
  • {{PAGESIZE}} (a Magic Word)
  • {{REVISIONUSER}} and {{REVISIONTIMESTAMP}} when used with the optional argument to specify a different page
  • {{CASCADINGSOURCES}} (a Magic Word)
  • 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.

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.

See also