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: a25b5b40eefff54b

Jump to content

Template:Link risk/doc

From Wikipedia, the free encyclopedia

link risk is for displaying URLs that are potentially security or malware risks. Typically this would occur if a browser warns of security or malware risk on the URL, or if the URL or its domain was reported as a potential risk.

Usage

[edit]
  • {{link risk|http://example.com}}
produces: http://example-com[potential badlink]

It creates 3-levels of protection. The link is non-active; the domain is modified to make cut and paste troublesome; the "[potential badlink]" message links to this doc.

Best practices

[edit]
  • If the URL is in a citation template like {{cite web}}, add an |archive-url= and set |url-status=unfit.
Example: {{cite web |url=http://example.com |archive-url=https://web.archive.org/web/20200101/https://example.com |archive-date=2020-01-01 |url-status=usurped}}
  • If in a square link add an archive URL directly, unless the archive itself presents a risk:
Example: [https://web.archive.org/web/20200101/https://example.com].
  • If no archive URL can be found, or new archives can't be added due to edit filters / blacklist:
    • Replace the link with {{link risk}} per the above Usage section.
    • If the link is determined to be hazardous enough, delete it entirely from the system at your discretion.