Handbuch:$wgExpensiveParserFunctionLimit
Parser: $wgExpensiveParserFunctionLimit | |
---|---|
Die maximale Anzahl an Aufrufen durch Parser auf umfassende Parserfunktionen wie PAGESINCATEGORY |
|
Eingeführt in Version: | 1.13.0 (r32932) |
Entfernt in Version: | weiterhin vorhanden |
Erlaubte Werte: | (integer) |
Standardwert: | 99 |
Andere Einstellungen: Alphabetisch | Nach Funktion |
Details
Maximum number of calls per parse to expensive parser functions such as PAGESINCATEGORY. Expensive parser functions include:
- {{#ifexist:}} (from Erweiterung:ParserFunctions )
- {{PAGESINCATEGORY}}/{{PAGESINCAT}} (ein Zauberwort)
- {{PAGESIZE}} (ein Zauberwort)
- {{REVISIONUSER}} and {{REVISIONTIMESTAMP}} when used with the optional argument to specify a different page
- {{CASCADINGSOURCES}} (ein Zauberwort)
- 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.