Jump to content

Template talk:Template category

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

Template-protected edit request on 14 December 2017

[edit]
Change The pages listed in this category are templates. to The pages listed in this category are templates.

Reason: I have a disambiguation page highlighter, and I'm sick of seeing these orange links to Wikipedia:Templates. It's a disambig page, and it helps no one when directly linked. Help:Templates is much better as it is not a disambig page and contains some of the best content on Wikipedia templates.  — Mr. Guye (talk) (contribs)  05:14, 14 December 2017 (UTC)[reply]

@Mr. Guye:  Done -- John of Reading (talk) 07:04, 14 December 2017 (UTC)[reply]

If affirmed/declined to yesno

[edit]

I have changed If affirmed and If declined to yesno per Wikipedia:Templates_for_discussion/Log/2019_March_19#Template:If_affirmed. There are some minor changes in what values are accepted, but I've fixed all four transclusions that used these. --Trialpears (talk) 22:11, 25 August 2019 (UTC)[reply]

 Done Looks tested to me. Izno (talk) 22:22, 25 August 2019 (UTC)[reply]

Automatic topic

[edit]

I've written a small module, which is now used by the sandbox (see Special:Diff/975628281/979218167). This new module tries to automatically generate template category topic text based on category's page name, when parameters |topic= and |description= are not used. The main idea is that most topical template categories are named Category:<topic> <suffix>, with very few different suffixes. I've tried it out on several categories. For example, the module can guess a topic for Category:Fungus templates and Category:Ukraine user templates, but can't for Category:India political party templates, because article India political party does not exist.

Theoretically, it will remove a sizeable portion of Category:Template:Template category with no topic or description. Do you think it is a good idea? —⁠andrybak (talk) 14:12, 19 September 2020 (UTC)[reply]

Thanks for the ping, @andrybak. This is an interesting idea.
I have done a fair bit of work in the last few months on categorising the chronology category header templates, esp since I have built or rebuilt many of them. See Category:chronology category header templates. From what understand, this module wouldn't be much use for them, because most of them are not named "top templates"; they are "topic function templates".
I haven't done much analysis of what proportion of template categories include a function in their names, but any added value is useful so long as it has a low false positive rate. That's important: no generated text is better than inaccurate generated text. Have you done any evaluation on a random sample to try to identify false positives?
A few weeks ago, I dis some broader work on templates top get them out of content categories (WT:Categorization#Template_categories_as_subcategories_of_content_categories). I got as as far as about depth 3 or 4, which was enough for my purposes.
But along the way I noticed several issues:
A systematic cleanup is needed. --BrownHairedGirl (talk) • (contribs) 15:36, 19 September 2020 (UTC)[reply]
BrownHairedGirl, the only false-positives I can think about are coincidences in abbreviations. E.g. Category:Usercat templates doesn't have an article Usercat, but for the deleted category Category:Cathead templates there is an unrelated to category headers article Cathead. Categories near the top of the category graph, like Category:Wikipedia templates, Category:Embeddable templates, or Category:Intricate templates, are also at risk, but most of them have their own |description=. —⁠andrybak (talk) 17:24, 19 September 2020 (UTC)[reply]
@andrybak: There will also be false positives in undisambiguated titles. --BrownHairedGirl (talk) • (contribs) 22:38, 19 September 2020 (UTC)[reply]
BrownHairedGirl, I've done a lot of location userbox categorization in the past, and I'm can only thing of ambiguities like Category:New York City templates vs Category:New York (state) templates and Category:Georgia (country) templates vs Category:Georgia (U.S. state) templates. Do you happen to know examples in other topic areas? —⁠andrybak (talk) 22:45, 19 September 2020 (UTC)[reply]
@⁠andrybak, on my trawls i saw lots of undismabiguated titles. No, I don't have examples to hand ... but I do urge you to some randomised testing. Location userboxes will expose you to fairly limited subset of template categories.--BrownHairedGirl (talk) • (contribs) 22:51, 19 September 2020 (UTC)[reply]
BrownHairedGirl, oh, I didn't mean to say that I've only dealt with categorization of userboxes. Your message elsewhere spurred me to have a go at removing content categories from templates/template categories per WP:CAT#T and cleaning up Category:Template:Template category with no topic or description. That's where the idea for this automation came from.
I've checked a hundred random categories from the category Template:Template category with no topic or description. The only disambiguation related thing that came up was different kinds of football, all subcats of which have disambiguated titles already. —⁠andrybak (talk) 23:19, 19 September 2020 (UTC)[reply]
Finally found a false positive: Category:Year of the Pig user templates – incorrect Year of the Pig vs correct Pig (zodiac). —⁠andrybak (talk) 23:46, 19 September 2020 (UTC)[reply]
More false-positives: Category:Search templates, Category:Database templates. —⁠andrybak (talk) 13:27, 20 September 2020 (UTC)[reply]

Naming of navbox categories

[edit]

You are invited to join the discussion at Wikipedia talk:WikiProject Templates § Naming of navbox categories. —⁠andrybak (talk) 16:11, 8 November 2020 (UTC)[reply]

Change image

[edit]

Please change the image to File:Folder-template.svg. An update I devised to the existing one.

|[[File:Curly Brackets.svg|44px|Template braces inside a folder|alt=|link=]]

to

|[[File:Folder-template.svg|44px|Template braces inside a folder|alt=|link=]]

waddie96 ★ (talk) 09:30, 12 January 2025 (UTC)[reply]

@Waddie96 Was this change discussed at VPT/VPP/VPM or on any other talk page before this request was made ? Sohom (talk) 01:27, 13 January 2025 (UTC)[reply]