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

From Sugar Labs
Jump to navigation Jump to search
(fix examples to match current interwiki table)
 
(5 intermediate revisions by 3 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>:mediawikiwiki:</tt> in a wiki link makes it a link to the MediaWiki site rather than this wiki.  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>[[mediawikiwiki:Help:Editing pages|Editing pages]]</pre>
 
which creates the link "[[:mediawikiwiki:Help:Editing pages|Editing pages]]".   
 
which creates the link "[[:mediawikiwiki:Help:Editing pages|Editing pages]]".   
  
 
Use the prefix <tt>:wikipedia:</tt> to create a link to the Wikipedia, as in
 
Use the prefix <tt>:wikipedia:</tt> to create a link to the Wikipedia, as in
   <pre>[[:wikipedia:QuarkNet|QuarkNet]]</pre>
+
   <pre>[[wikipedia:QuarkNet|QuarkNet]]</pre>
 
which creates the link "[[:wikipedia:QuarkNet|QuarkNet]]"
 
which creates the link "[[:wikipedia:QuarkNet|QuarkNet]]"
  
 
== Prefixes  ==
 
== Prefixes  ==
The list of all available interwiki prefixes is available in 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 12: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