Difference between revisions of "Template:HD/url"
Jump to navigation
Jump to search
imported>Gadget850 (URI scheme) |
imported>Gadget850 (ce) |
||
| Line 9: | Line 9: | ||
The link button [[File:Vector toolbar insert link button.png]] on the enhanced editing toolbar will encode a link. | The link button [[File:Vector toolbar insert link button.png]] on the enhanced editing toolbar will encode a link. | ||
| − | The URL must start with a supported [[URI scheme]]. <code>http://</code> and <code>https://</code> are always supported. <code>gopher://</code>, <code>irc://</code>, <code>ircs://</code>, <code>ftp://</code>, <code>news://</code> and <code>mailto:</code> will create a link and an icon but | + | The URL must start with a supported [[URI scheme]]. <code>http://</code> and <code>https://</code> are always supported. <code>gopher://</code>, <code>irc://</code>, <code>ircs://</code>, <code>ftp://</code>, <code>news://</code> and <code>mailto:</code> will create a link and an icon but require an agent registered in the browser.<!--- TemplateHD/url ---> |
Revision as of 12:07, 27 January 2012
URLs containing certain characters will display and link incorrectly unless those characters are encoded. For example, a space must be replaced by %20.
| sp | " | , | ' | ; | < | > | ? | [ | ] |
|---|---|---|---|---|---|---|---|---|---|
| %20 | %22 | %2c | %3a | %3b | %3c | %3e | %3f | %5b | %5d |
- Single apostrophes do not need to be encoded; multiples will be parsed as italic or bold markup
The link button
on the enhanced editing toolbar will encode a link.
The URL must start with a supported URI scheme. http:// and https:// are always supported. gopher://, irc://, ircs://, ftp://, news:// and mailto: will create a link and an icon but require an agent registered in the browser.