User talk:Jonesey95/self-transcluded-templates

Report issues

edit

We need to somehow catch pages like Template:Florida Southern Railway which have a self-only transclude but only on their talk page. Ideally, the check should be

  • Get all templates with number of transclusions less than 6 (5 valid transclusions are: main, talk, /sandbox, /doc, /testcases).
  • Keep in the report all templates that have all of their transclusions only one of the above pages.

--Gonnym (talk) 08:45, 29 May 2024 (UTC)Reply

That could be an improvement. I don't know SQL at all, so I don't know how to make that happen. – Jonesey95 (talk) 13:51, 29 May 2024 (UTC)Reply
I left a comment also at Wikipedia:Request_a_query#Help_with_expanding_the_self-transcluded-templates_report. Hopefully someone there can help. Gonnym (talk) 16:23, 29 May 2024 (UTC)Reply
It's now been updated. Around 1200 new templates added. Gonnym (talk) 20:15, 29 May 2024 (UTC)Reply
Very nice. Thanks, Cryptic. – Jonesey95 (talk) 23:22, 29 May 2024 (UTC)Reply
@Cryptic is it possible to exclude transclusions that happen on a specific user? Some users like User:I am RedoStone/sandbox for some reason want to transclude every template which throws off the report. Gonnym (talk) 09:54, 8 June 2024 (UTC)Reply
On specific pages, or pages matching a given pattern, yes; but pages created by or last edited by specific users is impractical. Excluding that sandbox makes no difference to the results. Do you have a list? Or a template that should show up, but doesn't solely because of sandboxes like that? —Cryptic 13:12, 8 June 2024 (UTC)Reply
Yes, {{!+}}. I noticed that sandbox page because that template was removed from the report. Gonnym (talk) 14:10, 8 June 2024 (UTC)Reply
Thanks for that quick update! I think you give that editor way too much credit. It seems their aim (based on the previous version of their page), is to transclude every single template, not just orphan ones. Gonnym (talk) 17:26, 8 June 2024 (UTC)Reply

Over 400 pages cleared in a month

edit

With the updated code we had 2311 pages listed here, and around ~150-200 more were added with sports and other templates. A month later and we are at 1902. Pretty impressive over 400 pages cleared. Gonnym (talk) 11:01, 1 July 2024 (UTC)Reply