![]() | This template does not require a rating on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | |||||||
|
![]() | The contents of the Template:No redirect conditional page were merged into Template:No redirect on 1 August 2016 as a result of a deletion discussion. For the contribution history and old versions of the redirected page, please see its history. |
Why is this easier than typing [[:page name|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)
[[:page name|label]]
. 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:
[http://en.wikipedia.org/w/index.php?title=The_Silence_of_the_Sea&redirect=no ''The Silence of the Sea'']
''((No redirect|The Silence of the Sea))''
''((-r|The Silence of the Sea))''
![]() | This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Hello,
I wonder if this template is even working. Calling this templates returns a very standard link in the form [[:(({1))}|(({2))}]], which is redirected when clicking on it, the opposite of the expected behaviour.
((noredirect|2015 UK General election))
gets: 2015 UK General election[((fullurl:2015 UK General election|redirect=no)) 2015 UK General election]
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:
((#ifexist:2015 UK General election | Exists | Doesn't exist ))
gets: ExistsNotice 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)
<span class="plainlinks">[//en.wikipedia.org/w/index.php?title=2015_UK_General_election&redirect=no 2015 UK General election]</span>
On 14 August Jackmcbarn 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)
![]() | This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Please sync the sandbox version, which prevents multi-colon errors. Ahecht (TALK
PAGE) 19:17, 12 October 2017 (UTC)
I noticed a wee buggette (or Undocumented feature) with this template: the default page title is put in initial case for things that are not redirects. For example
((-r|heroic))
Heroic (not initial case)((-r|hero))
Hero((-r|heroinic))
HeroinicThe optional text parameter always gets preserved verbatim, fortunately:
((-r|heroic|heroic))
heroic((-r|hero|hero))
hero((-r|heroinic|heroinic))
heroinicThis 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)
((-r|lowercase))
" and "((-r|heroic))
", 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)![]() | This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Can somebody please add class mw-redirect
to the link? I have CSS styling that makes redirects green, but links from this template look blue. QuickQuokka [talk • contribs] 02:36, 8 July 2023 (UTC)
<a>
tag itself, otherwise it's still blue. --QuickQuokka [talk • contribs] 18:32, 8 July 2023 (UTC)