Template:MediaWiki URL rules: Difference between revisions
From All Skies Encyclopaedia
imported>Gadget850 start |
imported>Gadget850 ce |
||
| Line 1: | Line 1: | ||
:URLs must begin with a supported [[URI scheme]]: <code>http://</code> and <code>https://</code> will be supported by all browsers; <code>irc://</code>, <code>ircs://</code>, <code>ftp://</code>, <code>news:</code>, <code>mailto:</code> and <code>gopher://</code> will require a plugin or an external application. IPv6 host-names are currently not supported. | :URLs must begin with a supported [[URI scheme]]: <code>http://</code> and <code>https://</code> will be supported by all browsers; <code>irc://</code>, <code>ircs://</code>, <code>ftp://</code>, <code>news:</code>, <code>mailto:</code> and <code>gopher://</code> will require a plugin or an external application. IPv6 host-names are currently not supported. | ||
:URLs containing certain characters will display and link incorrectly unless those characters are encoded. For example, a space must be replaced by <code>%20</code>. To encode the URL, replace these characters: | :URLs containing certain characters will display and link incorrectly unless those characters are percent-encoded. For example, a space must be replaced by <code>%20</code>. To encode the URL, replace these characters: | ||
{| class="wikitable" style="margin-left: 5em" | {| class="wikitable" style="margin-left: 5em" | ||
! sp !! " !! | ! sp !! " !! ' !! , !! ; !! < !! > !! ? !! [ !! ] !! \ !! . !! : !! ! !! ? !! ) | ||
|- | |- | ||
| %20 || %22 || % | | %20 || %22 || %27 || %2c || %3b || %3c || %3e || %3f || %5b || %5d || %5c || %2e || %3a || %21 || %3f || %29 | ||
|}<noinclude> | |}<noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> | ||
Revision as of 21:52, 6 June 2012
- URLs must begin with a supported URI scheme:
http://andhttps://will be supported by all browsers;irc://,ircs://,ftp://,news:,mailto:andgopher://will require a plugin or an external application. IPv6 host-names are currently not supported. - URLs containing certain characters will display and link incorrectly unless those characters are percent-encoded. For example, a space must be replaced by
%20. To encode the URL, replace these characters:
| sp | " | ' | , | ; | < | > | ? | [ | ] | \ | . | : | ! | ? | ) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| %20 | %22 | %27 | %2c | %3b | %3c | %3e | %3f | %5b | %5d | %5c | %2e | %3a | %21 | %3f | %29 |
File:Test Template Info-Icon - Version (2).svg Template documentation[create] [purge]






