ਮੌਡਿਊਲ:Preview expense/doc
This is the documentation page for ਮੌਡਿਊਲ:Preview expense
This module is rated as alpha. It is ready for third-party input, and may be used on a few pages to see if problems arise, but should be watched. Suggestions for new features or changes in their input and output mechanisms are welcome. |
This module is weird: it's not meant to be used, just previewed. The purpose is to find out how many expensive function calls appear before a given point within a page. That helps people to examine where the problem is in long, complicated pages and tables.
To prevent saving this by accident, the module creates a link to a blacklisted site (one which no longer exists) which is not displayed, but trips the blacklist warning if Save is pressed. And if you manage to save it anyway, the count isn't accurate (usually 0) and the page shows up in Category:Pages with too many expensive parser function calls, so don't.
Usage
[ਸੋਧੋ]{{#invoke:Preview expense|main}}
entered in the preview window.
Parameters
[ਸੋਧੋ]None
Simulated sample output
[ਸੋਧੋ]There are 31 expensive function calls before this point