Jump to content

Template talk:High-use

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Round percentage

[edit]

Apparently 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 (talkhe/him) 15:26, 23 February 2023 (UTC)[reply]

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,805,399 pages in the whole of en.wiki whereas there are 6,907,933 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)[reply]

Edit request 25 April 2024

[edit]

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.org/index.php?project=%s&page=%s
+
https://linkcount.toolforge.org/?project=%s&page=%s#transclusions

Example:

BrandonXLF (talk) 09:32, 25 April 2024 (UTC)[reply]

 Completed. {{High-use|demo=High-use}}: P.I. Ellsworth , ed. put'er there 12:41, 25 April 2024 (UTC)[reply]

Linking to Help:Template from documentation of templates

[edit]
 – Moved there, because the original idea of updating {{High-use}} has transformed into updating {{Documentation}}, so Template talk:Documentation is a better location for the discussion. —⁠andrybak (talk) 21:08, 14 August 2024 (UTC)[reply]

Template-protected edit request on 3 September 2024

[edit]

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)[reply]