Difference between revisions of "Template:HD/url"
Jump to navigation
Jump to search
imported>Gadget850 (link button) |
imported>Gadget850 (URI scheme) |
||
| Line 7: | Line 7: | ||
:{{small|Single apostrophes do not need to be encoded; multiples will be parsed as italic or bold markup}} | :{{small|Single apostrophes do not need to be encoded; multiples will be parsed as italic or bold markup}} | ||
| − | The link button [[File:Vector toolbar insert link button.png]] on the enhanced editing toolbar will encode a link.<!--- TemplateHD/url ---> | + | 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 require an agent registered in the browser.require an agent registered in the browser.<!--- TemplateHD/url ---> | ||
Revision as of 23:56, 18 December 2011
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.require an agent registered in the browser.