Template:Case preserving encode/doc: Difference between revisions
No edit summary |
|||
Line 17: | Line 17: | ||
=== Technical details === | === Technical details === | ||
For a detailed explanation of the methods used in this template see the | For a detailed explanation of the methods used in this template see the Template talk:Sec link#About ((sec link)), ((sec link auto)) and ((sec link image))|talkpage of <nowiki>{{sec link}}</nowiki>. | ||
<includeonly> | <includeonly> | ||
<!-- Categories and interwikis go here: --> | <!-- Categories and interwikis go here: --> | ||
</includeonly> | </includeonly> |
Revision as of 18:28, 15 January 2014
{{ombox
| type = content
| text =
This template is used in system messages.
Changes to it can cause immediate changes to the Wikipedia user interface. To avoid large-scale disruption, any changes should first be tested in this template's [[Template:Case preserving encode/sandbox|/sandbox or [[Template:Case preserving encode/testcases|/testcases subpage, or in your own Wikipedia:Subpages#How to create user subpages|user space. The tested changes can then be added in one single edit to this template. Please discuss any changes at {{#if:|[[{{{2}}}]]|the [[Template talk:Case preserving encode|talk page}} before implementing them.
}}
This is the {{case preserving encode}}
meta-template.
This template is used inside the templates tl|sec link, tl|sec link auto, and tl|sec link image. (And it might be used in other templates too.)
This template is used to URL-encode wiki page names for external links to other MediaWiki wikis. Since MediaWiki's own URL-encode functions don't work when making links to other MediaWiki wikis.
This template preserves the case of the first character, and it correctly preserves the namespace name.
Usage
Technical details
For a detailed explanation of the methods used in this template see the Template talk:Sec link#About ((sec link)), ((sec link auto)) and ((sec link image))|talkpage of {{sec link}}.