Jump to content

Template talk:Redirect for discussion

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

Broken links in the article alerts

[edit]

The article alerts, generated daily for the various wikiprojects, consist of a list of relevant pages that have been nominated for deletion (or involved in other formal processes). There appears to have been a change with regard to RfDs: even though nominated redirects are still detected, and most of the relevant information appears to still be correctly parsed, the link to the relevant section in the log is no longer correctly generated. See for example Wikipedia:WikiProject Disambiguation/Article alerts, where the link for the RfD of RYE is displayed not as Wikipedia:Redirects for discussion/Log/2022 March 22#RYE, but as Wikipedia:Redirects for discussion/Log/2022 March 22#<1>. Could it be down to a recent change in the format of this template? – Uanfala (talk) 16:12, 23 March 2022 (UTC)[reply]

Issue reported at Wikipedia talk:XFDcloser/Archive 5#XFDcloser not deleting pages at RFD might be related to the same breaking change. – wbm1058 (talk) 02:25, 28 March 2022 (UTC)[reply]
Not a recent change, reported at Wikipedia talk:Article alerts#Bad link to RfD in October 2020. – wbm1058 (talk) 21:49, 30 March 2022 (UTC)[reply]
[edit]

For the automatically generated code to place on the creator etc's talk page, would it be possible to have the details filled in so it can simply be copied over (by which I mean the parameters such as "days" so that it doesn't need to be changed manually, in particularly when adding RfD templates to listings which are missing them)? Thanks. A7V2 (talk) 11:29, 25 February 2023 (UTC)[reply]

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]