User talk:Jonesey95/self-transcluded-templates

Report issues
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 --Gonnym (talk) 08:45, 29 May 2024 (UTC)
 * 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.
 * 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)
 * I left a comment also at Request_a_query. Hopefully someone there can help. Gonnym (talk) 16:23, 29 May 2024 (UTC)
 * It's now been updated. Around 1200 new templates added. Gonnym (talk) 20:15, 29 May 2024 (UTC)
 * Very nice. Thanks, . – Jonesey95 (talk) 23:22, 29 May 2024 (UTC)
 * @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)
 * 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)
 * Yes, !+. I noticed that sandbox page because that template was removed from the report. Gonnym (talk) 14:10, 8 June 2024 (UTC)
 * 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, not just orphan ones. Gonnym (talk) 17:26, 8 June 2024 (UTC)

Over 400 pages cleared in a month
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)