This is the talk page for discussing improvements to the High-use template. |
|
Archives: 1Auto-archiving period: 4 months |
To help centralise discussions and keep related topics together, Template talk:High-risk redirects here. |
Text has been copied to or from this page; see the list below. The source pages now serve to provide attribution for the content in the destination pages and must not be deleted as long as the copies exist. For attribution and to access older versions of the copied text, please see the history links below.
|
Template:High-use is permanently protected from editing because it is a heavily used or highly visible template. Substantial changes should first be proposed and discussed here on this page. If the proposal is uncontroversial or has been discussed and is supported by consensus, editors may use {{edit template-protected}} to notify an administrator or template editor to make the requested edit. Usually, any contributor may edit the template's documentation to add usage notes or categories.
Any contributor may edit the template's sandbox. Functionality of the template can be checked using test cases. |
Round percentage
editApparently I have to discuss this per WP:BRD. I was planning on making the % round to nearest tenth for months when I was reverted :(
I figured a way how to do this but someone disagreed with my change.
This meant my change was CONTROVERSIAL (I have to discuss this as an OOPS defense). I was planning to discuss this but I decided to be bold and do it.
So I was wondering, "should we change the % to round to the nearest tenth or add a parameter where you can set the number of decimal places to round to?" Sheep (talk • he/him) 15:26, 23 February 2023 (UTC)
should we change the % to round to the nearest tenth or add a parameter where you can set the number of decimal places to round to?
No.- Most often these days, the
count
value in the percentage calculation that you modified comes from one of the modules listed at Special:PrefixIndex/Module:Transclusion count/data/. If you look in any of those modules you will see that the values are listed as some multiple of 100. When the percentage is rendered by{{high-use}}
, the percentage is qualified with the term 'roughly'. Rendering the percentage more precise than 1% is more-or-less meaningless. - Further, most use of this template is in Template and Module name spaces. Most templates and modules are used only in mainspace so calculating percentage use across every page in the whole of en.wiki is meaningless. At present there are 61,884,258 pages in the whole of en.wiki whereas there are 6,914,183 articles. If any improvement were to be made to this percentage rendering, it would be to replace
{{NUMBEROFPAGES}}
with{{NUMBEROFARTICLES}}
in the percentage calculation. I have said before that we should abandon the percentage calculation. My opinion on that score has not changed. - And yeah, 'twas I who reverted the change.
- —Trappist the monk (talk) 16:06, 23 February 2023 (UTC)
Edit request 25 April 2024
editThis edit request to Module:High-use has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Description of suggested change:
Add the fragment #transclusions
to the link to https://linkcount.toolforge.org. Adding the fragment highlights the row with transclusions when the link counts page is loaded, making it easier to identity the relevant numbers.
Diff: Sandbox edit
− | https://linkcount.toolforge. | + | https://linkcount.toolforge.org/?project=%s&page=%s#transclusions |
Example:
This template is used on approximately 12,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
– BrandonXLF (talk) 09:32, 25 April 2024 (UTC)
- Completed.
{{High-use|demo=High-use}}
:
P.I. Ellsworth , ed. put'er there 12:41, 25 April 2024 (UTC)This template is used on approximately 12,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them.
Linking to Help:Template from documentation of templates
editTemplate-protected edit request on 3 September 2024
editThis edit request to Module:High-use has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Line 90:
-- This retrieves the project URL automatically to simplify localiation.
to
-- This retrieves the project URL automatically to simplify localization.
Just a typo. Qwerty284651 (talk) 13:56, 3 September 2024 (UTC)
Two requests
edit- Can we make a function which can be called from another module please?
- Can we have the function default to not outputting anything if the number of transclusions is low (i.e. <2000)?
— Martin (MSGJ · talk) 12:27, 20 November 2024 (UTC)