Jump to content

Template talk:Redirect for discussion

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
(Redirected from Module talk:RfD)

Edge-case error when this module is placed on Category pages

[edit]

When 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)[reply]

I've hopefully fixed this now. Gonnym (talk) 10:21, 26 July 2023 (UTC)[reply]

False-positive error transclusions

[edit]

What 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)[reply]

Many sandbox templates are somehow protected and transcluded... Just a random Wikipedian(talk) 04:21, 14 August 2023 (UTC)[reply]
Because I changed Template:Chemicals to #invoke:RfD/sandbox (for testing) – wbm1058 (talk) 14:57, 14 August 2023 (UTC)[reply]
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)[reply]
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)[reply]
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)[reply]
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)[reply]

Give redirects under RFD discussion shortdecs

[edit]

Currently, 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)[reply]

Template-protected edit request on 2 April 2024

[edit]

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)[reply]

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)[reply]
 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)[reply]

Categorization of RFD-nominated pages

[edit]

This 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)[reply]