Template:MediaWiki URL rules
Jump to navigation
Jump to search
- Certain characters need to be percent-encoded. For example, a space must be replaced by
%20
. For search engines, spaces might need to be replaced with an underscore_
or plus sign+
. Single apostrophes do not need to be encoded.
sp " ' < > %20 %22 %27 %3c %3e [ ] { | } %5b %5d %7b %7c %7d
URLs must begin with a supported URI scheme. http://
and https://
will be supported by all browsers; however, ftp://
, gopher://
, irc://
, ircs://
, mailto:
and news:
may require a plug-in or an external application and should normally be avoided. IPv6 host-names are currently not supported.
Unencoded apostrophes are parsed as italic or bold markup. Single curly closing braces do not need to be encoded; however, an unencoded pair will be parsed as the double closing braces for the template transclusion.
DPL Special Characters
DPL escape character | Mediawiki character | Typical use |
---|---|---|
» |
> | Call another MediaWiki extension into a parameter of a DPL call |
« |
< | |
²{ |
{{ | Call a template within the 'article loop' of DPL. This is especially useful for nesting DPL calls (DPL recursion) |
}² |
}} | |
¦ |
| | |
¶ |
newline | Inserts a line break into DPL's wikitext output, to allow proper parsing of first-character syntax (such as * # : ; )
|
\n |
newline |