Template talk:Category redirect/Archive 2
![]() | This is an archive of past discussions about Template:Category redirect. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page. |
Archive 1 | Archive 2 |
The template gives error message
See Category:Language articles with undated speaker data. The page shows a red error text: Expression error: Unrecognised punctuation character ",".
. When I remove this template and preview, it disappears (so it is not from a regular, listed page, I think). Possibly related: at this moment the category is not empty though does not show in Category:Wikipedia non-empty soft redirected categories. Last week, there have been edits in the template that autofills this category, also wrt this cat name (into and out of). Can someone take a look? -DePiep (talk) 16:32, 31 March 2012 (UTC)
- Found:
{{PAGESINCATEGORY:{{PAGENAME}}}}
produces1,523
at the moment. Self-solving. -DePiep (talk) 16:50, 31 March 2012 (UTC)
- It can be fixed by changing to
{{PAGESINCATEGORY:{{PAGENAME}}|R}}
. Peter James (talk) 19:31, 9 August 2012 (UTC)
Allow for flexibility in parameter passing
It would be enormously helpful if this template accepted both the current parameter (the name of the category to which to redirect, e.g. "People," sans the "Category:" namespace) but also the full name of the category, including namespace (e.g. "Category:People"). In other words, I want to be able to use this template with either of the two following calls:
- {{Category redirect|People}}
- {{Category redirect|Category:People}}
It's not immediately intuitive which form to use, so it would be nice for the template to accept both.
Furthermore, I often have something like "Category:People" on my clipboard and I'd like to just copy and paste it into the template when I use it. As it stands, I have to delete the word "Category:", or else accidentally save the redirect in a malformed way (so it will redirect to something like "Category:Category:People"). Thank you. CaseyPenk (talk) 03:40, 2 September 2013 (UTC)
- I've put some mods into the sandbox which should do what is suggested above. --Redrose64 (talk) 09:50, 2 September 2013 (UTC)
- Please wait 48 hours on this so I can check how it will affect the category redirect bot. Thanks. --R'n'B (call me Russ) 13:22, 2 September 2013 (UTC)
- The sandbox revisions may produce undesired results if, for example, someone creates a redirect to Category:Wikipedia:Trolls. (Try
{{Category redirect/sandbox|Wikipedia:Trolls}}
. In fact, now that I think about it, I think this was the reason that previous efforts to modify the template to allow including the "Category:" prefix were unsuccessful. --R'n'B (call me Russ) 18:38, 2 September 2013 (UTC)- This is why we sandbox proposed changes to templates. Anyway, try it now --Redrose64 (talk) 19:21, 2 September 2013 (UTC)
- Yes, that seems to do the trick. Very nice! But I still need to check the bot code to make sure it will work with this version. --R'n'B (call me Russ) 00:30, 3 September 2013 (UTC)
- This is why we sandbox proposed changes to templates. Anyway, try it now --Redrose64 (talk) 19:21, 2 September 2013 (UTC)
- The sandbox revisions may produce undesired results if, for example, someone creates a redirect to Category:Wikipedia:Trolls. (Try
- Please wait 48 hours on this so I can check how it will affect the category redirect bot. Thanks. --R'n'B (call me Russ) 13:22, 2 September 2013 (UTC)
- I've checked the bot code and we should be fine. It already recognizes redirects of the form
{{Category redirect|Category:Foo}}
and changes them to{{Category redirect|Foo}}
on the assumption that they are invalid. With the new template code, it will still change them, but they will be valid either way. I don't want to change this because the script is designed to work on any wiki, and other wikis may not accept the first form as valid. --R'n'B (call me Russ) 13:52, 4 September 2013 (UTC)
- OK,
Done --Redrose64 (talk) 15:09, 4 September 2013 (UTC)
Template protection
![]() | This edit request has been answered. Set the |answered= parameter to no to reactivate your request. |
Can this template be converted to use template protection instead of full protection? Thanks. —mc10 (t/c) 01:08, 28 October 2013 (UTC)
Not done: requests for changes to the page protection level should be made at Wikipedia:Requests for page protection. Jackmcbarn (talk) 01:46, 28 October 2013 (UTC)
- Alright, thanks for the notice. —mc10 (t/c) 01:58, 28 October 2013 (UTC)
Do robots patroll automatically the redirect categories?
Hello there, I just changed a few categories into redirect categories (for example this one) and I wonder if there are robots that hunt for "Category:Wikipedia non-empty soft redirected categories" and move the articles in the right categories automatically. Thanks. — Ark25 (talk) 06:03, 5 December 2014 (UTC)
- There is such a bot. But this is not its intended use. If you want to rename a category, you should follow the process at WP:CFD. --R'n'B (call me Russ) 11:09, 5 December 2014 (UTC)
Avoid this template appearing in the category it is manipulating
![]() | This edit request has been answered. Set the |answered= parameter to no to reactivate your request. |
Please add <includeonly/> around the default category this template is adding so it doesn't appear in the category. I.e. change
}}[[Category:Wikipedia soft redirected categories]]
to
}}<includeonly>[[Category:Wikipedia soft redirected categories]]</includeonly>
as I have in the sandbox. Mark Hurd (talk) 06:57, 12 April 2013 (UTC)
- OK,
Done --Redrose64 (talk) 12:42, 12 April 2013 (UTC)
- To avoid
{{Category redirect/testcases}}
showing up in Category:Wikipedia soft redirected categories, I've changed the sandbox version line }}<includeonly>[[Category:Wikipedia soft redirected categories]]</includeonly>
- to
}}<includeonly>{{#ifeq:{{NAMESPACE}}|Category|[[Category:Wikipedia soft redirected categories]]}}</includeonly>
, for your consideration. --Slivicon (talk) 16:53, 4 August 2015 (UTC)Done with a twist that allows capture by CAT:WRONG of all incorrect usages. – Paine 19:18, 4 August 2015 (UTC)
- To avoid
Change to include a speedy tag when target doesn't exist?
I think that we should add, to this template, a speedy tag which appears if the target category is deleted. The template {{db-redirnone}}, which applies to "a redirect to itself, or to a page which does not exist, has been deleted, or is itself currently tagged for speedy deletion" should apply here if the target is deleted. עוד מישהו Od Mishehu 07:18, 15 December 2015 (UTC)
- We should consider the case if there is a rename. I am also concerned as to who is responsible for the placement of the speedy delete tag (no one but it should be the target deleter. And also any notification that would not occur). It would be even better to notify the deleter at the time of deletion that there are these redirects pointing to the just deleted target. This would apply to other things apart from category redirects. Graeme Bartlett (talk) 09:42, 15 December 2015 (UTC)
- Technically, the soft redirects are nothing but incoming links, so it would probably be nearly impossible to have the software notify the deleter about these. We do have warnings about incoming links, but since there nearly always are incoming links for other reasons, this warning would tend to be useless. עוד מישהו Od Mishehu 11:45, 15 December 2015 (UTC)
Template-protected edit request on 19 August 2016
![]() | This edit request to Template:Category redirect has been answered. Set the |answered= parameter to no to reactivate your request. |
Could you please wrap the <small>'''[[Wikipedia:Administrators|Administrators]]''': If this category name is unlikely to be entered on new pages, [{{fullurl:{{FULLPAGENAME}}|wpReason={{urlencode:This category is located at [[{{{1}}}]]. }}}}&action=delete click here to delete].</small>
part in <span class="sysop-show">
s, so that that text isn't visible for non-admins.
Pppery (talk) 01:13, 19 August 2016 (UTC)
Done — Andy W. (talk · ctb) 01:43, 19 August 2016 (UTC)
Template-protected edit request on 14 November 2019
![]() | This edit request to Template:Category redirect has been answered. Set the |answered= parameter to no to reactivate your request. |
[[File:Redirect arrow.svg|52px]] → [[File:Redirect arrow.svg|52px|link=]]. The image is in the public domain. ~~ CAPTAIN MEDUSAtalk 23:58, 14 November 2019 (UTC)
The instructions
‘See instructions[…]’ would be more natural than the current wording, ‘See the instructions[…]’. Would someone kindly remove the definite article? Cheers —jameslucas ▄▄▄ ▄ ▄▄▄ ▄▄▄ ▄ 02:50, 13 February 2021 (UTC)
- I followed the link to "the instructions" from this new category I created - 'Category:Musicians with Dystonia' - but I don't understand what I'm supposed to do. Thank you in advance for more instructions. Kire1975 (talk) 23:48, 5 May 2021 (UTC)
- Belated thanks for your note. I have deleted the redirect Category:Musicians with Dystonia which was left by moving the page to Category:Musicians with dystonia, and added some instructions about keeping or deleting redirects. – Fayenatic London 08:05, 30 January 2022 (UTC)
Can we redirect one category to multiple categories?
I think it may be useful to redirect one category to several other categories so that they can be automatically placed in those categories. This would be a useful way to automate the cleanup of WP:Overcategorization, which now seems to require a tedious and time-consuming cleanup process.
Of course, this might not be the best solution to this problem. Can anyone suggest a better way to automatically split categories? Jarble (talk) 08:35, 11 January 2016 (UTC)
- Not sure what you mean by this - do you mean you want every entry in Category:A to become members of Category:B and Category:C (B and C are existing categories), then deprecate Category:A? Deryck C. 17:19, 20 February 2016 (UTC)
@Deryck Chan: Yes, that's what I am proposing. For example, {{category redirect|B|C}}
would redirect a page to Category:B and Category:C. It would be a very reasonable way to solve the problem of overcategorization. Jarble (talk) 22:33, 14 November 2016 (UTC)
- Could you give a real, specific example as an illustration? In the abstract, I can't see what benefit you're hoping to accomplish. Particularly given that OC is generally about having an article be placed in too many categories rather than too few. Unless you're trying to automate how to split up overly specific intersection categories...don't we already have tools for that? postdlf (talk) 22:18, 30 May 2017 (UTC)
- @Postdlf and Deryck Chan: I haven't yet found any tools to split overly-specific intersection categories like this one. A "category intersection" feature was proposed several years ago, but it has not been implemented yet. Jarble (talk) 14:54, 18 May 2018 (UTC)
- @Postdlf and Deryck Chan: If {{category redirect}} supported multiple targets, I would use it to split overly specific categories like Category:Software developers from New York City:
{{category redirect|Category:People from New York City|Category:American software developers}}
- Then every page in that category would be automatically moved into the other two categories. Jarble (talk) 19:40, 4 November 2023 (UTC)
Edit request to complete TfD nomination
![]() | This edit request to Template:Category redirect has been answered. Set the |answered= parameter to no to reactivate your request. |
Template:Category redirect has been listed at Templates for discussion (nomination), but it was protected, so it could not be tagged. Please add:
{{subst:tfm|help=off|1=R from category navigation}}
to the top of the page to complete the nomination. Thank you. HouseBlastertalk 14:53, 15 December 2023 (UTC)
Done — Martin (MSGJ · talk) 16:32, 15 December 2023 (UTC)
Edit request 22 May 2024
![]() | This edit request has been answered. Set the |answered= parameter to no to reactivate your request. |
Description of suggested change:
Add the skin-invert
to the icon per [1]
Diff:
− | [[File:Redirect arrow. | + | [[File:Redirect arrow.svg|52px|link=|alt=|class=skin-invert]] |
Andumé (talk) 02:07, 22 May 2024 (UTC)
Completed. P.I. Ellsworth , ed. put'er there 04:22, 22 May 2024 (UTC)