Template talk:No redirect

Why?
Why is this easier than typing label ? I'm not seeing where avoiding a redirect comes into it or is being avoided. —Largo Plazo (talk) 16:50, 4 February 2014 (UTC)
 * There is more to it than the link as you have typed it above – .  When you click the edit link on the template page, you will see in the code that the full url is used to take the clicker directly to the redirect.  There is no stopover at the target page with another link at the top to click.  Instead, you can use this template.  For example, instead of having to type:
 * The Silence of the Sea
 * you can type:
 * The Silence of the Sea
 * It gets even better when  an alias is used , for example:
 * will also get you directly to the redirect page. Joys! –  Paine Ellsworth  C LIMAX !  05:51, 26 June 2014 (UTC)
 * It gets even better when  an alias is used , for example:
 * will also get you directly to the redirect page. Joys! –  Paine Ellsworth  C LIMAX !  05:51, 26 June 2014 (UTC)
 * will also get you directly to the redirect page. Joys! –  Paine Ellsworth  C LIMAX !  05:51, 26 June 2014 (UTC)
 * will also get you directly to the redirect page. Joys! –  Paine Ellsworth  C LIMAX !  05:51, 26 June 2014 (UTC)

Does this template work?
Hello,

I wonder if this template is even working. Calling this templates returns a very standard link in the form |, which is redirected when clicking on it, the opposite of the expected behaviour.


 * gets:
 * gets: [ 2015 UK General election] (the expected result)

I wonder if getting rid of the #ifexist test in the beginning would solve the matter, after all, if the target doesn't exist, the produced link would be a red link in any case, so there would be little harm done.

For the purpose of testing:
 * gets:

Notice that the equivalent template on French Wikipedia, fr:Modèle:Noredirect, although coded slightly differently, works with the expected behaviour.

Can someone with editing privileges have a look into this? Place Clichy (talk) 16:43, 28 June 2015 (UTC)
 * Red information icon with gradient background.svg Not done: It's working as intended: your first example takes me to the redirect, not the ultimate page; it expands to  which is what I would expect. -- Red rose64 (talk) 17:01, 28 June 2015 (UTC)

Expensiveness
On 14 August raised a deletion review regarding this template's TFD, with the concern that the redirect check made the template expensive (I only saw the DRV today). I considered that during the TFD, but it's not the case: the original template had had an #ifexist for years before the TFD. A separate non-expensive version could of course be created separately. SiBr4 (talk ) 20:31, 6 September 2016 (UTC)

Protected edit request on 12 October 2017
Please sync the sandbox version, which prevents multi-colon errors. Ahecht (TALK PAGE ) 19:17, 12 October 2017 (UTC)
 * Yes check.svg Done &mdash; Martin (MSGJ · talk) 21:12, 12 October 2017 (UTC)

Link text is initial caps if target is not a redirect
I noticed a wee buggette (or ) with this template: the default page title is put in initial case for things that are not redirects. For example


 * Blue redirect:             (not initial case)
 * Blue article:
 * Red link:

The optional text parameter always gets preserved verbatim, fortunately:


 * Blue redirect:
 * Blue article:
 * Red link:

This is perhaps not particularly important as this template should rarely be transcluded by articles. But on discussion pages, it would perhaps be better to keep the text verbatim.

I imagine this is caused by the use of the FULLPAGENAME when isRedirect is false?

178.164.139.37 (talk) 11:20, 30 December 2018 (UTC)


 * Echoing the above – maybe people have not understood the bug report –  I consider the undocumented case change very annoying and improper. If I type  and, I get what looks like "lowercase" and "Heroic"! This makes no sense, is undocumented, and will introduce errors. It will cause random improper uppercase words in the middle of sentences, and it is not obvious to the user that it will happen or how to avoid it or fix it. If someone provides a link name in lowercase, please let them use lowercase! As MOS:CAPS says, "Wikipedia avoids unnecessary capitalization." —⁠ ⁠BarrelProof (talk) 05:19, 3 June 2024 (UTC)

Template-protected edit request on 8 July 2023
Can somebody please add class  to the link? I have CSS styling that makes redirects green, but links from this template look blue. Quick Quokka [⁠talk • contribs] 02:36, 8 July 2023 (UTC)


 * Like this? &mdash; Martin (MSGJ · talk) 18:23, 8 July 2023 (UTC)
 * Nope. I think the class has to be in the  tag itself, otherwise it's still blue. --  Quick Quokka  [⁠talk • contribs] 18:32, 8 July 2023 (UTC)
 * &larr; Testing this URL -- Quick Quokka  [⁠talk • contribs] 18:35, 8 July 2023 (UTC)
 * Please update the sandbox when you find the right solution &mdash; Martin (MSGJ · talk) 19:58, 8 July 2023 (UTC)
 * Red information icon with gradient background.svg Not done: This actually cannot be done. It is a technical limitation. Izno (talk) 20:44, 9 July 2023 (UTC)