Template:Dead link: Difference between revisions

From Alpine Linux
m (Demonstration)
m (Moved Category into the <noinclude> block.)
 
(5 intermediate revisions by the same user not shown)
Line 6: Line 6:


It is suggested to update the link if possible, perhaps using archive.org.
It is suggested to update the link if possible, perhaps using archive.org.
==Useful Links==


[[Special:WhatLinksHere/Template:Dead_link|List of all articles with at least one marked dead link]]
[[Special:WhatLinksHere/Template:Dead_link|List of all articles with at least one marked dead link]]


It looks like this when used:{{dead link}}
 
 
[https://wiki.alpinelinux.org/w/index.php?target=http%3A%2F%2F*&title=Special%3ALinkSearch All http:// hyperlinks]. All of these need to be checked to see if they can be rewritten to https://
 
[https://wiki.alpinelinux.org/w/index.php?target=ftp%3A%2F%2F*&title=Special%3ALinkSearch All ftp:// hyperlinks]. All of these need to be check to see if an sftp:// or https:// version is available.
 
[https://wiki.alpinelinux.org/w/index.php?target=git%3A%2F%2F*&title=Special%3ALinkSearch All git:// hyperlinks].
 
[https://wiki.alpinelinux.org/w/index.php?target=https%3A%2F%2F*&title=Special%3ALinkSearch All https:// (modern web) hyperlinks].
 
<s>[https://wiki.alpinelinux.org/w/index.php?target=irc%3A%2F%2F*&title=Special%3ALinkSearch All irc:// hyperlinks].</s> There shouldn't be any. Links to libera or OFTC should be ircs://
 
[https://wiki.alpinelinux.org/w/index.php?target=ircs%3A%2F%2F*&title=Special%3ALinkSearch All ircs:// (modern IRC over TLS) hyperlinks].
 
[https://wiki.alpinelinux.org/w/index.php?target=mailto%3A*&title=Special%3ALinkSearch All mailto: (email) hyperlinks].
 
[https://wiki.alpinelinux.org/w/index.php?target=ssh%3A%2F%2F*&title=Special%3ALinkSearch All ssh:// hyperlinks].
 
[https://wiki.alpinelinux.org/w/index.php?target=svn%3A%2F%2F*&title=Special%3ALinkSearch All svn:// hyperlinks].
 
==Example==
raw wiki markup:<br />
<nowiki>https://www.example.com/{{dead link}}</nowiki>
 
rendered:<br />
https://www.example.com/<sup><span style="white-space: nowrap;">&#91;<i>[[Template:Dead_link|Dead Link]]</i>&#93;</span></sup>
[[Category:Template]]
</noinclude>
</noinclude>

Latest revision as of 09:27, 13 January 2024

This is used inline beside (to the right) of a broken external hyperlink to signify to editors that the hyperlink in question is dead.

It is suggested to update the link if possible, perhaps using archive.org.

Useful Links

List of all articles with at least one marked dead link


All http:// hyperlinks. All of these need to be checked to see if they can be rewritten to https://

All ftp:// hyperlinks. All of these need to be check to see if an sftp:// or https:// version is available.

All git:// hyperlinks.

All https:// (modern web) hyperlinks.

All irc:// hyperlinks. There shouldn't be any. Links to libera or OFTC should be ircs://

All ircs:// (modern IRC over TLS) hyperlinks.

All mailto: (email) hyperlinks.

All ssh:// hyperlinks.

All svn:// hyperlinks.

Example

raw wiki markup:
https://www.example.com/{{dead link}}

rendered:
https://www.example.com/[Dead Link]