Template talk:Format link
Appearance
Template-protected edit request on 18 August 2025
[edit]![]() | This edit request has been answered. Set the |answered= parameter to no to reactivate your request. |
Please add {{subst:Tfm|type=inline|Format link}} ad it has been nominated for merging. FaviFake (talk) 15:27, 18 August 2025 (UTC)
Done * Pppery * it has begun... 02:32, 19 August 2025 (UTC)
- @Pppery Can we please fix this so it doesn't break templates like {{Please see}}??? —Locke Cole • t • c 15:46, 21 August 2025 (UTC)
- See Special:Diff/1307108412. —Locke Cole • t • c 15:47, 21 August 2025 (UTC)
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)- {{Please see}} is using {{format link}}...? What is there to change at {{please see}}? —Locke Cole • t • c 15:58, 21 August 2025 (UTC)
- Crap you're right. I struck my comment. FaviFake (talk) 16:18, 21 August 2025 (UTC)
- {{Please see}} is using {{format link}}...? What is there to change at {{please see}}? —Locke Cole • t • c 15:58, 21 August 2025 (UTC)
- I re-opened the ER in case Pppery is offline. FaviFake (talk) 15:52, 21 August 2025 (UTC)
- 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)
- 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)
- I've checked WP:TFD, this does seem to be the standard practive for substituted templates. FaviFake (talk) 20:21, 21 August 2025 (UTC)
- 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)
- I think the warning might be out of date, hoping Nardog (who added the WP:SAFESUBST changes) can shed some light on this. —Locke Cole • t • c 21:03, 21 August 2025 (UTC)
- 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)
- 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)
- I've checked WP:TFD, this does seem to be the standard practive for substituted templates. FaviFake (talk) 20:21, 21 August 2025 (UTC)
- 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)
- 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)
- @Pppery Can we please fix this so it doesn't break templates like {{Please see}}??? —Locke Cole • t • c 15:46, 21 August 2025 (UTC)
- 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:Note the change from
{{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>
{{safesubst:((}}#invoke:Noinclude{{safesubst:!}}noinclude{{safesubst:!}}text=yes{{safesubst:))}}
Aaron Liu (talk) 17:18, 21 August 2025 (UTC)- 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)- Maybe it doesn't work in certain circumstances but it clearly did work prior to the TFD coming in like a wrecking ball. —Locke Cole • t • c 18:03, 21 August 2025 (UTC)
- @Nardog Is this template substituteable since you added safesubst? —Locke Cole • t • c 19:06, 21 August 2025 (UTC)
- @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 Cole • t • c 21:56, 21 August 2025 (UTC)
- 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)
- It's all good, it was a longshot that you'd remember after all this time anyways. =) Thanks for replying. —Locke Cole • t • c 04:05, 25 August 2025 (UTC)
- 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)
- @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 Cole • t • c 21:56, 21 August 2025 (UTC)
- @Nardog Is this template substituteable since you added safesubst? —Locke Cole • t • c 19:06, 21 August 2025 (UTC)
- Maybe it doesn't work in certain circumstances but it clearly did work prior to the TFD coming in like a wrecking ball. —Locke Cole • t • c 18:03, 21 August 2025 (UTC)
- Looking into this further, why is tm:format link safesubst-ed by tm:please see? This template explicitly says it should not be substituted: