Difference between revisions of "Template:Expensive"
Jump to navigation
Jump to search
imported>Davidwr (→top: remove link to broken tool, no longer needed, people can view the tracking category, or they can view pages that transclude this template if they want to see those pages) |
imported>Davidwr (+<small>''(further information)''</small>) |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 2: | Line 2: | ||
| type = style | | type = style | ||
| image = [[Image:Ambox warning yellow.svg|40x40px]] | | image = [[Image:Ambox warning yellow.svg|40x40px]] | ||
| − | | text = Due to a server limit of '''500''' "expensive parser function" calls <small>([[mw:Help:Extension:ParserFunctions##ifexist|#ifexist:]], [[mw:Help:Magic words#Technical metadata|PAGESIZE:]], and [[mw:Help:Magic words#Statistics|PAGESINCATEGORY:]])</small>, this template will only work properly | + | | text = Due to a server limit of '''500''' "expensive parser function" calls <small>([[mw:Help:Extension:ParserFunctions##ifexist|#ifexist:]], [[mw:Help:Magic words#Technical metadata|PAGESIZE:]], and [[mw:Help:Magic words#Statistics|PAGESINCATEGORY:]])</small>, this template or module will only work properly if the page using it has not already exceeded the limit. When the limit is exceeded, the page using this template or module is categorised [[:Category:Pages with too many expensive parser function calls]]. <small>''([[Template:Expensive|further information]])''</small> |
| + | }}<noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
<!-- PLEASE ADD THIS TEMPLATE'S CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS --> | <!-- PLEASE ADD THIS TEMPLATE'S CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS --> | ||
</noinclude> | </noinclude> | ||
Latest revision as of 18:01, 14 August 2020
| Due to a server limit of 500 "expensive parser function" calls (#ifexist:, PAGESIZE:, and PAGESINCATEGORY:), this template or module will only work properly if the page using it has not already exceeded the limit. When the limit is exceeded, the page using this template or module is categorised Category:Pages with too many expensive parser function calls. (further information) |
Usage
- {{Expensive}}
Place this at the top of documentation sub-pages of templates or modules which MAY call one or more "expensive parser functions." Include specific details, such as what parameters trigger expensive parser function usage, in the body of the template's documentation.
- Special case
- Templates unlikely to ever be the major reason a page reaches the 500-call limit
- Use your best judgment about using this at the top of the template's documentation page, but DO document the expensive parser function usage somewhere in the template's documentation.
See also
- Category:Pages with too many expensive parser function calls
- Special:TrackingCategories
- Wikipedia:Template limits#Expensive parser function calls
| The above documentation is transcluded from Template:Expensive/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |