Help:Interwikimedia links

From TechInfoDepot
Jump to: Navigation, search

An interwikimedia link is a link from a Wikimedia Foundation project to another one (e.g., from TechInfoDepot to Wiktionary).

Shortcuts and templates to Wikimedia sister projects[edit]

Project Long form Shortcut Pagename template
TechInfoDepot [[techinfodepot:]] [[w:]]
Wiktionary [[wiktionary:]] [[wikt:]] {{Wiktionary|Pagename}}
Wikinews [[wikinews:]] [[n:]] {{Wikinews|Pagename}}
Wikibooks [[wikibooks:]] [[b:]] {{Wikibooks|Pagename}}
Wikiquote [[wikiquote:]] [[q:]] {{Wikiquote|Pagename}}
Wikisource [[wikisource:]] [[s:]] {{Wikisource|Pagename}}
Wikisource (common repository) [[oldwikisource:]] {{WikisourceWiki|Pagename}}
Wikispecies [[species:]]
Wikiversity [[wikiversity:]] [[v:]] {{Wikiversity|pagename}}
Wikiversity Beta [[betawikiversity:]]
Wikivoyage [[wikivoyage:]] [[voy:]] {{Wikivoyage|pagename}}
TechInfoDepot in another language * [[language code:techinfodepot:]] [[language code:]], [[language code:w:]]
Wikimedia Foundation [[wikimedia:]]
Wikimedia Commons [[commons:]] {{Commons|Pagename}}
Wikimedia Meta-Wiki [[meta:]]
[[m:]] {{Meta|Pagename}}
Strategic planning [[strategy:]]
Wikimedia Incubator [[incubator:]] {{Incubator|Pagename}}
MediaWiki [[mediawikiwiki:]] [[mw:]] {{MediaWiki|Pagename}}
MediaWiki Quality [[quality:]]
MediaWiki OTRS
ticket with TicketID
ticket with TicketNumber
(formerly MediaZilla)
Nostalgia [[nost:]]
Test TechInfoDepot [[testwiki:]]
Wikidata [[wikidata:]] [[d:]] {{Wikidata|Pagename}}
Outreach Wiki [[outreach:]]
International chapters of Wikimedia Shortcut
Argentina [[wmar:]]
Australia [[wmau:]]
Belgium [[wmbe:]]
Canada [[wmca:]]
Czech Republic [[wmcz:]]
Germany [[wmde:]]
Finland [[wmfi:]]
Hong Kong [[wmhk:]]
Hungary [[wmhu:]]
India [[wmin:]]
Indonesia [[wmid:]]
Israel [[wmil:]]
Italy [[wmit:]]
Macedonia [[wmmk:]]
Netherlands [[wmnl:]]
Norway [[wmno:]]
Poland [[wmpl:]]
Russia [[wmru:]]
Serbia [[wmrs:]]
Sweden [[wmse:]]
Switzerland [[wmch:]]
Taiwan [[wmtw:]]
United Kingdom [[wmuk:]]

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 metatechinfodepot: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 techinfodepots.

Suppressing the prefix[edit]

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 TechInfoDepot[edit]

There are also two special versions of TechInfoDepot, nostalgia and test. Nostalgia is a static copy of TechInfoDepot, as it was in 2001 and can be linked to by using [[nost:]]. Test is a version of TechInfoDepot, for edit and software testing and can be linked to by using [[testWiki:]].

Secure server[edit]

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 TechInfoDepot: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.


Wikitext Results
[[:en:Main Page]]
en:Main Page
[[commons:Main Page]]
commons:Main Page
[[wikibooks:Main Page|]]
Main Page

Links crossing languages and projects[edit]

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 TechInfoDepot 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[edit]