Difference between revisions of "Wiki Team/Guide/Interwiki Linking"

From Sugar Labs
Jump to navigation Jump to search
(Remove incorrect interwiki prefix table (was from other site))
 
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<noinclude>{{ GoogleTrans-en | es =show | bg =show | zh-CN =show | zh-TW =show | hr =show | cs =show | da =show | nl =show | fi =show | fr =show | de =show | el =show | hi =show | it =show | ja =show | ko =show | no =show | pl =show | pt =show | ro =show | ru =show | sv =show }}</noinclude>
+
 
 +
<noinclude></noinclude>
 
You can easily create links to other wiki sites for which we have created inter-wiki shortcuts.
 
You can easily create links to other wiki sites for which we have created inter-wiki shortcuts.
For example, the prefix <tt>:mw:</tt> in a wiki link makes it a link to the MediaWiki site rather than this glossary.  A simple example of this is:
+
For example, the prefix '''<tt>mediawikiwiki:</tt>''' in a wiki link makes it a link to the MediaWiki site rather than this wiki.  A simple example of this is:
 
+
   <pre>[[mediawikiwiki:Help:Editing pages|Editing pages]]</pre>
   <pre>[[:mw:Help:Editing pages|Editing pages]]</pre>
+
which creates the link "[[:mediawikiwiki:Help:Editing pages|Editing pages]]".
 
 
which creates the link "[[:mw:Help:Editing pages|Editing pages]]".   The prefix <tt>:m:</tt> will create a link to a page on the "meta" site.
 
 
 
Use the prefix <tt>:w:</tt> to create a link to the Wikipedia, as in
 
 
 
  <pre>[[:w:QuarkNet|QuarkNet]]</pre>
 
 
 
which creates the link "[[:w:QuarkNet|QuarkNet]]"
 
  
 +
Use the prefix <tt>:wikipedia:</tt> to create a link to the Wikipedia, as in
 +
  <pre>[[wikipedia:QuarkNet|QuarkNet]]</pre>
 +
which creates the link "[[:wikipedia:QuarkNet|QuarkNet]]"
  
 
== Prefixes  ==
 
== Prefixes  ==
See this log of changes to the interwiki table, [[Special:Interwiki]].
+
{| class="wikitable sortable"
 +
| sal || https://activities.sugarlabs.org/en-US/sugar/addon/$1
 +
|-
 +
| fedora || https://fedoraproject.org/wiki/$1
 +
|-
 +
| fedoradocs || https://docs.fedoraproject.org/en-US/$1
 +
|-
 +
| olpc || https://wiki.laptop.org/go/$1
 +
|}
 +
See '''[[Special:Interwiki]]''' for the list of all available interwiki prefixes.
  
 
== See Also ==
 
== See Also ==
* [http://www.mediawiki.org/wiki/Help:Interwiki_linking MediaWiki Manual: Interwiki Linking]
+
* [[mediawikiwiki:Help:Interwiki_linking | MediaWiki Manual: Interwiki Linking]]

Latest revision as of 13:22, 5 November 2018


You can easily create links to other wiki sites for which we have created inter-wiki shortcuts. For example, the prefix mediawikiwiki: in a wiki link makes it a link to the MediaWiki site rather than this wiki. A simple example of this is:

[[mediawikiwiki:Help:Editing pages|Editing pages]]

which creates the link "Editing pages".

Use the prefix :wikipedia: to create a link to the Wikipedia, as in

[[wikipedia:QuarkNet|QuarkNet]]

which creates the link "QuarkNet"

Prefixes

sal https://activities.sugarlabs.org/en-US/sugar/addon/$1
fedora https://fedoraproject.org/wiki/$1
fedoradocs https://docs.fedoraproject.org/en-US/$1
olpc https://wiki.laptop.org/go/$1

See Special:Interwiki for the list of all available interwiki prefixes.

See Also