Template talk:Redirect for discussion
This template was nominated for deletion. Please review the prior discussions if you are considering re-nomination:
|
Template:Redirect for discussion is permanently protected from editing because it is a heavily used or highly visible template. Substantial changes should first be proposed and discussed here on this page. If the proposal is uncontroversial or has been discussed and is supported by consensus, editors may use {{edit template-protected}} to notify an administrator or template editor to make the requested edit. Usually, any contributor may edit the template's documentation to add usage notes or categories.
Any contributor may edit the template's sandbox. Functionality of the template can be checked using test cases. |
To help centralize discussions and keep related topics together, Module talk:RfD redirects here. |
This template does not require a rating on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | ||||||||
|
|
||
This page has archives. Sections older than 365 days may be automatically archived by Lowercase sigmabot III. |
Edge-case error when this module is placed on Category pages
editWhen Module:RfD is used on Category pages like the current Category:Test for category redirects, the code
"'''This title is currently a redirect ''' to [[:"
results in
[[::Category:Test for category redirects]]
Note the double colon, which results in a listing on this Linter error page. Is there a way to work around this edge case? – Jonesey95 (talk) 15:27, 8 June 2023 (UTC)
- I've hopefully fixed this now. Gonnym (talk) 10:21, 26 July 2023 (UTC)
False-positive error transclusions
editWhat transcludes {{error}} in the talk namespace is currently swamped with all the pages that transclude Template:Chemicals, which is up for discussion. Template:Chemicals was not transluding {{error}}s until this edit invoked Module:RfD. I assume that this module is causing the false-positive error transclusions, but I'm not fluent enough in Lua to figure out how this is happening. Can someone explain? Thanks, wbm1058 (talk) 14:51, 12 August 2023 (UTC)
- Many sandbox templates are somehow protected and transcluded... Just a random Wikipedian(talk) 04:21, 14 August 2023 (UTC)
- Because I changed Template:Chemicals to #invoke:RfD/sandbox (for testing) – wbm1058 (talk) 14:57, 14 August 2023 (UTC)
- Turns out the error is actually coming from {{R from move}}, not this module and there's nothing it can do. The error isn't actually displayed, since rcats on the redirect aren't applied to transclusions, but there code (and thus their transclusion of {{error}}) is still evaluated. I can think of several hacks to fix this, but no good solution, and given that over at the RfD it's snowing "Keep" it would probably be easier to close it and move on than do anything grander. * Pppery * it has begun... 19:46, 14 August 2023 (UTC)
- Oh, right. Doh. Module:RfD breaks the redirect on Template:Chemicals but in some sort of magical way that doesn't actually break it on talk pages that transclude the template. Somehow they keep on transcluding despite the broken redirect. But {{R from move}} is just a normal template which is not written in Lua, so all it sees is the broken template redirect. It doesn't see that the "broken" template is still working because of module coding magic. Thanks for turning on the lightbulb Pppery. Your adminship has indeed begun! wbm1058 (talk) 02:18, 15 August 2023 (UTC)
- I think it's probably the subtemplate Template:R from move/except, actually. That template has one error message, "Page is not a redirect, misplaced Template:R from move". – wbm1058 (talk) 02:48, 15 August 2023 (UTC)
- Yes, that's it! I just confirmed with sandbox testing that downgrading that error to a warning makes the problem go away. – wbm1058 (talk) 19:55, 16 August 2023 (UTC)
- Turns out the error is actually coming from {{R from move}}, not this module and there's nothing it can do. The error isn't actually displayed, since rcats on the redirect aren't applied to transclusions, but there code (and thus their transclusion of {{error}}) is still evaluated. I can think of several hacks to fix this, but no good solution, and given that over at the RfD it's snowing "Keep" it would probably be easier to close it and move on than do anything grander. * Pppery * it has begun... 19:46, 14 August 2023 (UTC)
- Because I changed Template:Chemicals to #invoke:RfD/sandbox (for testing) – wbm1058 (talk) 14:57, 14 August 2023 (UTC)
Give redirects under RFD discussion shortdecs
editCurrently, redirect pages currently going under RFD discussions are treated similarly to articles by the wiki software, show up in the search bar, and the shortdesc helper states that they currently have no short description. Therefore, I propose that this templates gives such redirects a shortdesc, probably along the lines of 'Article redirect undergoing discussion'. Xeroctic (talk) 16:44, 14 December 2023 (UTC)
Template-protected edit request on 2 April 2024
editThis edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Make the change as described in this diff. Alternatively, add the NOINDEX template onto Module:RfD. Toadette (Let's talk together!) 08:15, 2 April 2024 (UTC)
- Reason - I've made a recent search for a term before voting an RfD, however, search results comes up a Wikipedia entry that is currently nominated for deletion. With the insertion of NOINDEX, search results wont pop up those nominated entries, and to be consistent to Template:AfD. Toadette (Let's talk together!) 08:19, 2 April 2024 (UTC)
- Done, but I'm not sure this will have the effect you want since NOINDEX is ignored in mainspace on unreviewed articles (which are never indexed) and articles more than 90 days old (which are always indexed). --Ahecht (TALK
PAGE) 18:39, 4 April 2024 (UTC)
Categorization of RFD-nominated pages
editThis template automatically places pages in Category:Temporary maintenance holdings. Placing tagged pages in a category is a good feature (see header of that cat for explanation). However, there are lots of such pages, which makes that cat large and also obscures whether there are other pages there for other reasons. Therefore, I think it would be useful for this tag to place the pages in a subcat of it. That will help anyone looking at the cat to understand the reasonsing for a large subset of the pages and conversely see pages that have other reasons more clearly. I propose Category:Temporary maintenance holdings/RFD. Anyone find this problematic, either in concept or specific details? DMacks (talk) 06:06, 20 November 2024 (UTC)
- Given a week with no comments, I've gone ahead with implementing this. DMacks (talk) 23:54, 27 November 2024 (UTC)