Template:Insecure url: Difference between revisions

From Alpine Linux
m (Undo revision 21092 by Zcrayfish (talk))
Tag: Undo
Line 8: Line 8:
Which renders as:<br />
Which renders as:<br />
[http://www.example.org Example hyperlink]{{insecure url|Server times out on HTTPS}}
[http://www.example.org Example hyperlink]{{insecure url|Server times out on HTTPS}}
{{note|Inside a wikitable, the link and the template should be wrapped inside an HTML paragraph (i.e. &lt;p&gt;), otherwise mediawiki will wrap the template to the next line for some reason<p>
For instance:<br /><code><nowiki>&lt;p&gt;[http://www.example.org Example hyperlink]{{insecure url|Server times out on HTTPS}}&lt;/p&gt;</nowiki></code>}}


Remarks:<br />
Remarks:<br />

Revision as of 05:04, 23 December 2021

Template Documentation for Insecure url

This page is a template and should only be used as part of other articles. For more information, read Help:Template.

Please do not experiment with this template; you could ruin all pages using this template. If you want to edit this template, copy the text to Template:Sandbox, edit and test it there, and copy it back when it works.

Feel free to voice your opinion regarding this template.

This template is intended to mark insecure URLs (e.g. HTTP URLs) that cannot be rewritten to secure URLs (e.g. HTTPS) because the destination server in question does not work for some reason.

Example usage

Wiki markup:
[http://www.example.org Example hyperlink]{{insecure url|Server times out on HTTPS}}

Which renders as:
Example hyperlink 🔓

Note: Inside a wikitable, the link and the template should be wrapped inside an HTML paragraph (i.e. <p>), otherwise mediawiki will wrap the template to the next line for some reason

For instance:
<p>[http://www.example.org Example hyperlink]{{insecure url|Server times out on HTTPS}}</p>

Remarks:
If a reason is given (it should be!), hovering over the open padlock icon will create a small popup displaying the reason.