Difference between revisions of "Template:Expensive"
Jump to navigation
Jump to search
imported>PrimeHunter (fix link to mw:Help:Extension:ParserFunctions##ifexist, no ending colon since 2009) |
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) |
||
| 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 for the first 500 calls. When the limit is exceeded, the page is categorised [[:Category:Pages with too many expensive parser function calls]]. | + | | 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 for the first 500 calls. When the limit is exceeded, the page is categorised [[:Category:Pages with too many expensive parser function calls]].<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> | ||
Revision as of 17:25, 14 August 2020
{{ombox
| type = style
| image =
| text = Due to a server limit of 500 "expensive parser function" calls (#ifexist:, PAGESIZE:, and PAGESINCATEGORY:), this template will only work properly for the first 500 calls. When the limit is exceeded, the page is categorised Category:Pages with too many expensive parser function calls.
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. |