Module talk:Redirect: Difference between revisions

Content deleted Content added
Edit request: new section
Line 76:
::Oh well - pity! But paradoxes must be avoided at all costs ;) &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 09:51, 13 January 2016 (UTC)
:::I think there's actually a way to do this. I've elaborated on the ticket. [[User:Kaldari|Kaldari]] ([[User talk:Kaldari|talk]]) 21:18, 31 October 2016 (UTC)
 
== Edit request ==
 
{{Edit template-protected}}
 
[https://en.wikipedia.org/w/index.php?title=Module%3ARedirect%2Fsandbox&type=revision&diff=772947654&oldid=772947233 Sandbox diffs]
 
Edits allow for the fragment to be included when requesting the target of a redirect, but only when the {{para|fulltext}} parameter is set, meaning no changes are required to templates that already use the module as-is.
 
Example:
* <code><nowiki>{{#invoke:Redirect/sandbox|main|MOS:SEASON}}</nowiki></code>: {{#invoke:Redirect/sandbox|main|MOS:SEASON}}
* <code><nowiki>{{#invoke:Redirect/sandbox|main|MOS:SEASON|fulltext=}}</nowiki></code>: {{#invoke:Redirect/sandbox|main|MOS:SEASON|fulltext=}}
* <code><nowiki>{{#invoke:Redirect/sandbox|main|MOS:SEASON|fulltext=y}}</nowiki></code>: {{#invoke:Redirect/sandbox|main|MOS:SEASON|fulltext=y}}
-- '''[[User:AlexTheWhovian|<span style="color:#1632E0;text-shadow:1px 1px 8px #324A6E;">Alex</span>]]'''''[[User talk:AlexTheWhovian#top|<sup><span style="color:#1632E0">TW</span></sup>]]'' 10:03, 30 March 2017 (UTC)