Difference between revisions of "Interwiki links"
(Created page with "{{Feature |explains= Special:Interwiki |description=shorthand for making links to popular websites or other wikis that have a reliable pattern |notes= |tests= |examples=<nowik...") |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Feature | {{Feature | ||
− | | | + | |image=Interwiki coordination barnstar.svg |
− | | | + | |imgdesc=Interwiki |
− | | | + | |title= |
− | |||
− | |||
}} | }} | ||
+ | {{#set:feature description = shorthand for making links to popular websites or other wikis that have a reliable pattern }} | ||
+ | {{#set:feature notes = }} | ||
+ | {{#set:feature tests = }} | ||
+ | {{#set:feature examples = [[google:foo|search for 'foo' on Google]] }} | ||
== Interwiki Links == | == Interwiki Links == |
Latest revision as of 16:04, 14 May 2020
Interwiki links | |
---|---|
Image shows: | Interwiki |
Summary | |
Description: | shorthand for making links to popular websites or other wikis that have a reliable pattern |
More | |
Example: | search for 'foo' on Google |
Interwiki Links[edit | edit source]
Interwiki Links are another use of CURIEs to make it very easy to link to other important/useful websites without so much effort.
E.g. [[google:foo]] will produce a link to the Google results page for a search for 'foo' like this google:foo (Note that the Interwiki prefix is not case sensitive, so Google works as well as gOOgle. Lowercase is preferred. Note too that in order to suppress the display of the namespace in the link, you'll want to use the pipe syntax to format the link text: [[google:foo|search for 'foo' on Google]] results in this: search for 'foo' on Google
There is a long list of convenient Interwiki Links available to you (displayed by the Interwiki extension): Special:Interwiki If you run your own mediawiki installation, get the Interwiki extension. It makes it so simple to add more short-cuts like 'w' for wikipedia.
Directly in the database, you can look at the 'interwiki' table:
SELECT iw_prefix, iw_url FROM interwiki