Jump to content

Template talk:Self-reference link

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

w/index.php?

[edit]

Neither the documentation nor WP:SRTA explain why the external link should go to /w/index.php?title=Article rather than /wiki/Article. From the perspective of ASR, the URLs are equally valid. However, the former violates W3 ideals of readable URLs that are independent of server technology.

Unless there is an actual reason that the "raw" URL is required for this purpose, I would advocate using the clean URL.

--- Arancaytar - avá artanhé (reply) 11:45, 19 March 2008 (UTC)[reply]

The problem is with the parser function {{urlencode:}}, it encodes spaces as + instead of _. This would give Stephen+Colbert instead of Stephen_Colbert, clearly different pages. We can't use {{fullurl:w:Stephen Colbert}} since we can't be sure that mirrors haven't changed the base location or the w: interwiki prefix (very unlikely). — Dispenser 07:24, 29 December 2008 (UTC)[reply]

1

[edit]

At the moment using just one parameter produces the link text "1". That doesn't seem right.--ospalh (talk) 09:06, 26 April 2009 (UTC)[reply]

Agreed. I fixed "1" to {{{1}}}, which should work better. {{Nihiltres|talk|edits}} 21:52, 22 July 2009 (UTC)[reply]

What's the intended use for this template

[edit]

I just replaced the use of this template with a ref in the article about the Seigenthaler incident, where it seems someone thought using it means you can safely eschew self-ref concerns. (Hint: it doesn't.) I'd like a good clarification on which contexts this template is intended to serve.

It's also a good idea to check which pages make use of this template every now and then, in order to fix all of the misuses that will undoubtedly occur. -- C. A. Russell (talk) 05:21, 12 October 2010 (UTC)[reply]

New version in sandbox

[edit]

See Template:Self-reference link/testcases for differences in spacing and named parameters. Also, the sandbox version has includeonly tags removed, so that it shows information about itself above the documentation.

See history for recent changes to current version, esp. comments. — CpiralCpiral 07:36, 23 December 2015 (UTC)[reply]