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

From Sugar Labs
Jump to navigation Jump to search
 
(11 intermediate revisions by 6 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  ==
The interwiki linking prefixes in use on this site are:
+
{| class="wikitable sortable"
<center>
+
| sal || https://activities.sugarlabs.org/en-US/sugar/addon/$1
{| border="2" cellspacing="4" cellpadding="3" rules="all" style="margin:1em 1em 1em 0; border:solid 1px #AAAAAA;"
 
| bgcolor="#8DA7D6" align="center"|'''prefix'''
 
| bgcolor="#8DA7D6" align="center"|'''direction'''
 
| bgcolor="#8DA7D6" align="center"|'''usage example'''
 
 
 
|-
 
|glossary
 
|<nowiki>http://i2u2.spy-hill.net/glossary/</nowiki>
 
|<code><nowiki>[[glossary:glitch]]</nowiki></code>
 
|-
 
|lib
 
|<nowiki>http://i2u2.spy-hill.net/glossary/</nowiki>
 
|<code><nowiki>[[glossary:glitch]]</nowiki></code>
 
|-
 
|wikipedia
 
|<nowiki>http://en.wikipedia.org/wiki/</nowiki>
 
|<code>  <nowiki>[[wikipedia:Compass]]</nowiki></code>
 
|-
 
|w
 
|<nowiki>http://en.wikipedia.org/wiki/</nowiki>
 
|<code>  <nowiki>[[w:QuarkNet]]</nowiki></code>
 
|-
 
|mediawiki
 
|<nowiki>http://www.mediawiki.org/wiki/</nowiki>
 
|<code><nowiki>[[mediawiki:Wiki]]</nowiki></code>
 
|-
 
|mw
 
|<nowiki>http://www.mediawiki.org/wiki/</nowiki>
 
|<code><nowiki>[[mw:Main Page]]</nowiki></code>
 
|-
 
|meta
 
|<nowiki>http://meta.wikimedia.org/wiki/</nowiki>
 
|<code><nowiki>[[meta:Main Page]]</nowiki></code>
 
|-
 
|m
 
|<nowiki>http://meta.wikimedia.org/wiki/</nowiki>
 
|<code><nowiki>[[m:Main Page]]</nowiki></code>
 
|-
 
|wiktionary
 
|<nowiki>http://en.wiktionary.org/wiki/</nowiki>
 
|<code>  <nowiki>[[wiktionary:Main Page]]</nowiki></code>
 
|-
 
|wikibooks
 
|<nowiki>http://en.wikibooks.org/wiki/</nowiki>
 
|<code><nowiki>[[wikibooks:Main Page]]</nowiki></code>
 
|-
 
|wikimedia
 
|<nowiki>http://wikimediafoundation.org/wiki/</nowiki>
 
|<code><nowiki>[[wikimedia:Main Page]]</nowiki></code>
 
 
|-
 
|-
|wikiquote
+
| fedora || https://fedoraproject.org/wiki/$1
|<nowiki>http://en.wikiquote.org/wiki/</nowiki>
 
|<code><nowiki>[[wikiquote:Main Page]]</nowiki></code>
 
 
|-
 
|-
|wikisource
+
| fedoradocs || https://docs.fedoraproject.org/en-US/$1
|<nowiki>http://en.wikisource.org/wiki/</nowiki>
 
|<code><nowiki>[[wikisource:Main Page]]</nowiki></code>
 
 
|-
 
|-
|wikispecies
+
| olpc || https://wiki.laptop.org/go/$1
|<nowiki>http://species.wikimedia.org/wiki/</nowiki>
+
|}
|<code><nowiki>[[wikispecies:Main Page]]</nowiki></code>
+
See '''[[Special:Interwiki]]''' for the list of all available interwiki prefixes.
|}
 
</center>
 
  
 
== 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