Categorize templates based on namespace(s)

I'm developing a tool that, among other things, places RCat templates on pages. There doesn't seem to be an easy way to determine which templates can be used in which namespaces. Would anyone be opposed if I used a script that ran through all the templates and assigned them to Category:All namespace redirect templates, Category:Main namespace redirect templates, Category:Help namespace redirect templates, Category:Portal namespace redirect templates, Category:Talk namespace redirect templates, Category:Template namespace redirect templates, Category:Wikipedia namespace redirect templates, Category:Category namespace redirect templates, Category:User namespace redirect templates, and/or Category:Other namespace redirect templates? --Ahecht (TALK
PAGE
)
14:30, 11 July 2024 (UTC)Reply

I don't see any issues with categorising the templates like that, although I'm not sure that applying the templates to is something that can be reliably automated? Thryduulf (talk) 15:35, 11 July 2024 (UTC)Reply
It would be based on which |XXXX category= parameters are present in each template, which is what the underlying module uses to determine if a template is correctly places. --Ahecht (TALK
PAGE
)
21:34, 16 July 2024 (UTC)Reply

R from clipped compound?

In reading the descriptions of portmanteau and clipped compound they seem similar yet different enough to be worth distinguishing.

Since we have a Template:r from portmanteau, should (could?) we also make a Template:r from clipped compound?

A few redirect examples that would benefit from this more specific redirect than the more generic Template:r from abbreviation:

Curious to hear other opinions, e.g. is it "close enough" to simply use Template:r from portmanteau for redirects from clipped compounds?

Tantek (talk) 03:53, 4 July 2025 (UTC)Reply

Newspeak, Minitrue? --Redrose64 🌹 (talk) 07:22, 4 July 2025 (UTC)Reply
It appears that {{R from acronym}} may cover some clipped compounds, at least, according to the article: The meaning of clipped compound may overlap with that of acronym. P.I. Ellsworth, ed. put'er there 09:07, 6 July 2025 (UTC)Reply

Title-# -> Title #

What is the right redirect category for a page that redirects from Title(no space)# -> Title-#? I am thinking "R from alternative hyphenation" or "alternative spelling". 8rz (talk) 03:19, 26 February 2026 (UTC)Reply

Curious question, because the literal Title(no space)# just directly lands you at the "Title" article, and the literal Title-# is a red link. So to assume that you mean something less literal, perhaps if you show an example or two it would help? (Please forgive me if I'm showing my ignorance.) P.I. Ellsworth, ed.  welcome!  03:43, 26 February 2026 (UTC)Reply
Sorry, it was late when I wrote this. I meant Title-# -> Title(space)#. Referring to my sandbox subpage User:8rz/sandbox-2 to User:8rz/sandbox 2. I created the redirect for convenience. Which cat do I add via Capricorn in the former? 8rz (talk) 10:59, 26 February 2026 (UTC)Reply
No problemo, and thank you for the clarifyin'! I've added the correct rcat templates to both of your examples in your sandboxes as they exist right now. As for your example of "Title-# -> Title(space)#", the only difference is the hyphenated title, which targets the spaced title. In that case I would use the {{R from alternative hyphenation}} rcat template to categorize the Title-# redirect. And, if the redirect were in mainspace, I would also tag it with {{R unprintworthy}}. Hope this helps! P.I. Ellsworth, ed.  welcome!  19:35, 26 February 2026 (UTC)Reply
Makes sense, yes. Thanks for additional info. I wish red cat templates had examples listed to know when to use which one instead just being explained. Need to brush up on my WP:REDCAT. Fyi, I used Title # as a placeholder, was referring to my sandbox actually. 8rz (talk) 00:17, 27 February 2026 (UTC)Reply
Happy to help! and feel free to add examples to the documentation when you think they'll be helpful to other editors. P.I. Ellsworth, ed.  welcome!  02:08, 27 February 2026 (UTC)Reply
I corrected the section header. Meant title-# -> title #. Mea culpa. 8rz (talk) 11:04, 26 February 2026 (UTC)Reply

"R from legislation" is confusing (proposal to rename/split)