Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a22a1fc6ec85845c

Jump to content

Template talk:Format link

Page contents not supported in other languages.
Add topic
From Wikipedia, the free encyclopedia
Latest comment: 7 months ago by Rjjiii in topic Merge

Template-protected edit request on 18 August 2025

[edit]

Please add {{subst:Tfm|type=inline|Format link}} ad it has been nominated for merging. FaviFake (talk) 15:27, 18 August 2025 (UTC)Reply

 Done * Pppery * it has begun... 02:32, 19 August 2025 (UTC)Reply
@Pppery Can we please fix this so it doesn't break templates like {{Please see}}??? —Locke Coletc 15:46, 21 August 2025 (UTC)Reply
See Special:Diff/1307108412. —Locke Coletc 15:47, 21 August 2025 (UTC)Reply
Huh, this is weird. Maybe the easiest fix would be to change {{Please see}} so that it only uses {{Format link}} instead, since so far there seems to be a consensus to merge the other into {{Format link}}. FaviFake (talk) 15:51, 21 August 2025 (UTC)Reply
{{Please see}} is using {{format link}}...? What is there to change at {{please see}}? —Locke Coletc 15:58, 21 August 2025 (UTC)Reply
Crap you're right. I struck my comment. FaviFake (talk) 16:18, 21 August 2025 (UTC)Reply
I re-opened the ER in case Pppery is offline. FaviFake (talk) 15:52, 21 August 2025 (UTC)Reply
Looks like Jonesey95 already dealt with this. (I did see the ping, but responding to it fell off my plate, sorry). * Pppery * it has begun... 19:38, 21 August 2025 (UTC)Reply
Well, that disables the notification altogether, even on pages that transclude this, making it only appear on the template page. At least it won't cause problems. Aaron Liu (talk) 20:02, 21 August 2025 (UTC)Reply
I've checked WP:TFD, this does seem to be the standard practive for substituted templates. FaviFake (talk) 20:21, 21 August 2025 (UTC)Reply
But this is the opposite of a substituted template, given how it's predominantly transcluded and has a warning against substitution for some reason. Aaron Liu (talk) 21:01, 21 August 2025 (UTC)Reply
I think the warning might be out of date, hoping Nardog (who added the WP:SAFESUBST changes) can shed some light on this. —Locke Coletc 21:03, 21 August 2025 (UTC)Reply
Oh, right. I have no idea what to do then, the original edit by Pppery was justified. FaviFake (talk) 21:53, 21 August 2025 (UTC)Reply
I do not know how to test this, but it looks like unsafesubsting the noinclude module invocation should work? That means replacing with the following:
{{safesubst:<noinclude />#ifeq:{{safesubst:<noinclude />issubst}}<noinclude>yes</noinclude>|yes
 |{{Tfm/dated<noinclude>|demo=yes|bigbox=yes</noinclude>|page={{safesubst:<noinclude />PAGENAME:{{safesubst:<noinclude />#if:{{{page|}}}|{{{page}}}|{{safesubst:<noinclude />PAGENAME}}}}}}|otherpage={{{otherpage|{{{1|{{{2|}}}}}}}}}|link=Wikipedia:Templates for discussion/Log/{{safesubst:<noinclude />#time: Y F j|{{safesubst:<noinclude />CURRENTTIMESTAMP}}}}#{{safesubst:<noinclude />#if:{{{heading|}}}{{{header|}}}|{{{heading|{{{header}}}}}}|{{safesubst:<noinclude />#ifeq:{{{type}}}|module|Module|Template}}:{{safesubst:<noinclude />PAGENAME:{{safesubst:<noinclude />#if:{{{page|}}}|{{{page}}}|{{safesubst:<noinclude />{{safesubst:<noinclude />#ifeq:{{{type|}}}|module|BASE}}PAGENAME}}}}}}}}{{safesubst:<noinclude />#if:{{{type|}}}|{{safesubst:<noinclude />!}}type={{{type}}}}}{{safesubst:<noinclude />#if:{{{help|}}}|{{safesubst:<noinclude />!}}help={{{help}}}}}<includeonly>|bigbox={{safesubst:#ifeq:{{{type|}}}|module|yes|{{#invoke:Noinclude|noinclude|text=yes}}</includeonly>}}
 |{{error
  |message=This template must be [[Wikipedia:Substitution|substituted]].
 }}[[Category:Templates for merging|*{{PAGENAME}}]]
}}<noinclude>
{{documentation}}
</noinclude>
Note the change from {{safesubst:((}}#invoke:Noinclude{{safesubst:!}}noinclude{{safesubst:!}}text=yes{{safesubst:))}} Aaron Liu (talk) 17:18, 21 August 2025 (UTC)Reply
Looking into this further, why is tm:format link safesubst-ed by tm:please see? This template explicitly says it should not be substituted: This template doesn't work with subst. I couldn't find an explanation on the tm:Please see talk page either. Aaron Liu (talk) 17:24, 21 August 2025 (UTC)Reply
Maybe it doesn't work in certain circumstances but it clearly did work prior to the TFD coming in like a wrecking ball. —Locke Coletc 18:03, 21 August 2025 (UTC)Reply
@Nardog Is this template substituteable since you added safesubst? —Locke Coletc 19:06, 21 August 2025 (UTC)Reply
@Hairy Dude, as you're the one who updated the docs in 2014 to say the template can't be WP:SUBST'd can you shed some light on that? —Locke Coletc 21:56, 21 August 2025 (UTC)Reply
I don't remember. I see I wrote "doesn't work" which suggests a technical limitation. Maybe subst didn't work with Lua-based templates 11 years ago? Hairy Dude (talk) 18:46, 24 August 2025 (UTC)Reply
It's all good, it was a longshot that you'd remember after all this time anyways. =) Thanks for replying. —Locke Coletc 04:05, 25 August 2025 (UTC)Reply

Merge

[edit]

For the pre-merge talk page of {{format linkr}} (soon to be a redirect), see: Template talk:Format linkr. Rjjiii (talk) 03:08, 12 December 2025 (UTC)Reply