ជំនួយ:Interwikimedia links
An interwikimedia link is a link from a Wikimedia Foundation project to another one (e.g., from Wikipedia to Wiktionary).
Shortcuts and templates to Wikimedia sister projects
កែប្រែ
|
Some links don't work as expected within the same project, e.g., meta:Test on Meta itself would mean m:Meta:Test, a different page. Outside of Wikimedia sister projects, only metawikipedia:Test might work for m:Test.
Links to foreign-language Wikiprojects can be made by adding the language code: [[:s:de:Salz]] or [[:de:s:Salz]] will link to the German-language Wikisource, [[:wikt:fr:sel]] or [[:fr:wikt:sel]] to the French-language Wiktionary, etc. For the language codes see List of wikipedias.
Suppressing the prefix
កែប្រែ- The pipe trick:
- Add | at the end of the link, like this: [[s:test|]], which will automatically be expanded to [[s:test|test]] on saving. Note that this only works for the first prefix, so saving [[s:en:test|]], will automatically expand to [[s:en:test|en:test]], not [[s:en:test|test]].
Special versions of Wikipedia
កែប្រែThere are also two special versions of Wikipedia, nostalgia and test. Nostalgia is a static copy of Wikipedia, as it was in 2001 and can be linked to by using [[nost:]]
. Test is a version of Wikipedia, for edit and software testing and can be linked to by using [[testWiki:]]
.
Secure server
កែប្រែLinks created by the methods described on this page default to being unencrypted; if the current (referring) page is being browsed via an HTTPS connection, all interproject and wikilinks on that page will be rewritten to https://.
Previously, to create interproject links that would use the respective Wikipedia:Secure server the {{sec link auto}} template was needed. However, as interwiki links now generate protocol-independent links, wrapping with this template is now no longer required.
Examples
កែប្រែWikitext | Results |
---|---|
[[:en:Main Page]] [[:de:Hauptseite]]etc. |
en:Main Page de:Hauptseite etc. |
[[commons:Main Page]] |
commons:Main Page |
[[commons:category:Wikimedia]] |
commons:category:Wikimedia |
[[wikibooks:Main Page|]] |
Main Page |
[[wikt:de:Rechner]] |
wikt:de:Rechner |
[[wiktionary:de:Rechner|]] |
de:Rechner |
Links crossing languages and projects
កែប្រែAs demonstrated above, by the double prefixes (for example [[wikt:de:Main Page]]), prefixes can be combined, thus enabling links that are not possible with a single prefix. For example; one can link a word in the English Wikipedia to a term in the German Wiktionary. The order of the prefixes does not matter. [[:de:wikt:Main Page]] will also work. Remember to put a colon in front of a link starting with a language prefix.
See also
កែប្រែ- Wikipedia:Wikimedia sister projects, guideline for using Wikipedia's sister projects
- Wikipedia:Template messages/Sister projects, templates for linking between the various Wikimedia sister projects
- Help:Interlanguage links, describes how to link between differing foreign language Wikipedias
- Help:Contents/Links, table of contents for help pages about links and references
- Help:Interwiki linking, more help to link to other projects
- mw:Help:Interwiki linking, help page from MediaWiki
- Meta-Wiki content:
- m:Help:Interwiki linking
- m:Interwiki map, list of WMF and non-WMF mappings
- commons:Commons:First steps/Reuse, instructions on linking a file from Commons to Wikipedia