Template talk:Dead link

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

{{Edit request}} Can anyone please sync this template with the current template from English Wikipedia? This template is not using link and date parameters at the moment. --Sreejith K (talk) 17:05, 15 September 2014 (UTC)[reply]

Sreejith K, verify:
<sup class="noprint Inline-Template"><span style="white-space: nowrap;">[<i>{{#if: {{{url|}}}|[http://web.archive.org/web/*/{{{url|}}} <span title="{{{title|}}}{{#if:{{{date|}}}| since {{{date}}}}}">{{LangSwitch
 |en=dead link
 |it=collegamento interrotto
 |ml=നിലവിലില്ലാത്ത കണ്ണി
 |lang={{{lang|}}}
}}</span>]|[[:en:WP:Dead external links|<span title="{{{title|}}}{{#if:{{{date|}}}| since {{{date}}}}}">{{LangSwitch
 |en=dead link
 |it=collegamento interrotto
 |ml=നിലവിലില്ലാത്ത കണ്ണി
 |lang={{{lang|}}}
}}</span>]]}}</i>]</span></sup>
<noinclude>[[Category:Marker templates|{{PAGENAME}}]]
----
</noinclude>
Minimal but probably enough :-) --Praveen:talk 00:38, 26 September 2014 (UTC)[reply]
Looks good at File:HeadAnthropometry.JPG --Sreejith K (talk) 22:02, 29 September 2014 (UTC)[reply]

Small problem with extra CRs[edit]

{{Edit request}}

Looks like the template has a small problem, when being placed in the middle of a line, see this diff from the help desk as example: [1]. Between the dead link tag and the following text (Vägverket in the example) an extra unnecessary carriage return is added. I compared Commons "dead link" with the en-Wiki template, maybe the single brackets [ and ] near the "i" tag need to be replaced with their code. Could someone please check this? Thank you. GermanJoe (talk) 18:53, 4 November 2014 (UTC)[reply]

Fix done (thanks). GermanJoe (talk) 14:57, 8 November 2014 (UTC)[reply]

So, what do you do?[edit]

If there is a link that's tagged with this template, and you found an archived version of the link, what do you do? There are no instructions in this template's document, and if you tap the saved and rendered template it takes you to Wikipedia, but are we supposed to use Wikipedia's templates over here? I would think that that would be potentially problematic if that template hasn't been implemented over here so now I got to go look that up. But not everybody would double-check this kind of thing.

I searched the help for Wayback machine and didn't find anything. "Archive" was too general a search term and brought up a lot of stuff about talk pages of course. I'm tired so I am dictating this and whatever errors are here are from the dictation utility. Note to future self, here's the link you were trying to add: https://web.archive.org/web/20050124221758/http://www2.nature.nps.gov/air/pubs/Core_Slides/sources.htm

You were trying to add it here: https://commons.wikimedia.org/w/index.php?title=File:Air_pollution_by_industrial_chimneys.jpg&action=edit&section=1

I lose more of my Commons edits than my Wikipedia edits because of stuff like this making me have to stop halfway through because I'm exhausted due to my real-life limitations (see user page). Thanks for anything anybody can do! Geekdiva (talk) 12:11, 12 August 2019 (UTC)[reply]

Display errors[edit]

There seem to be some problems with this template:

These are just some examples. What went wrong? El Grafo (talk) 14:45, 24 May 2022 (UTC)[reply]

Both issues seem to be related to the date parameter. When I remove it, it renders correctly. But I'm not sure how to fix it. --Lasunncty (talk) 08:13, 14 June 2022 (UTC)[reply]
@El Grafo and Lasunncty: , I fixed the issue, partially by minor tweak to Module:DateI18n and partially by rewrite of this template. --Jarekt (talk) 03:37, 20 June 2022 (UTC)[reply]
Thanks! El Grafo (talk) 14:52, 20 June 2022 (UTC)[reply]