Iron Chariots Wiki:Interwiki map

From Iron Chariots Wiki
(Difference between revisions)
Jump to: navigation, search
(add Wikireason)
m (Reverted edits by Sa2Scd (Talk); changed back to last version by Dcljr)
 
(18 intermediate revisions by 4 users not shown)
Line 1: Line 1:
The following list is ''what we'd like to use'' for our '''interwiki map''' (see [http://en.wikipedia.org/wiki/InterWiki InterWiki] at Wikipedia for background information and [http://meta.wikimedia.org/wiki/Interwiki_map Wikimedia's Interwiki map] for an example), but the functionality hasn't been added to this wiki yet.
+
An '''interwiki map''' is a list of "shortcuts" that enables the [[Help:Editing|editors]] of a [[Wikipedia:Wiki|wiki]] to use simple [[WikimediaMeta:Help:Link|"internal style" wikilinks]] to link to specific pages on external wikis or other websites, provided that those sites have a predictable [[Wikipedia:URL|URL]] format. For further background information, please see [[Wikipedia:InterWiki]].
 +
__TOC__
 +
==Usage==
  
The websites listed below need not be [http://en.wikipedia.org/wiki/Wiki wikis], but they need to have a well defined page name structure that lends itself to wiki links. Don't add a site unless its pages can be predictably linked to using a link of the form
+
An '''interwiki link''' is a link of the form:
: <nowiki>[[</nowiki>''SitePrefix'':''PageName'']]
+
: <tt><nowiki>[[</nowiki>''SitePrefix'':''Target page'']]</tt>
where ''SitePrefix'' will be replaced by a fixed ''URL'' (as listed below), with the user-provided ''PageName'' substituted for "$1". Note that ''PageName'' can contain spaces, but these will be converted to underscores(_) in the final URL, not plusses (+) nor hex codes (%20).
+
where ''SitePrefix'' comes from the table below and ''Target page'' is the name of the page at the remote site.
  
Note that the ''SitePrefix'' codes (which are [http://en.wiktionary.org/wiki/case_insensitive case insensitive]) cannot contain any spaces (&nbsp;), colons (:), ampersands (&), or equal signs (=) &mdash; in fact, we probably should just avoid punctuation completely &mdash; and should also not match any of this wiki's [[Project:Namespaces|namespaces]], nor any [http://en.wikipedia.org/wiki/ISO_639 ISO 639 language codes] (en, de, fr, ...), just in case we decide to expand Iron Chariots to separate language wikis in the future (see [http://en.wikipedia.org/wiki/Wikipedia:Interlanguage_links Wikipedia:Interlanguage links] for more information).
+
Examples:
 +
* <tt><nowiki>[[</nowiki>Wikiquote:Albert Einstein]]</tt> appears as  [[Wikiquote:Albert Einstein]] and links to <tt>http://en.wikiquote.org/wiki/Albert_Einstein</tt>
 +
* <tt><nowiki>[[</nowiki>Wikiquote:Albert Einstein|]]</tt> (note the "<tt>|</tt>") appears as [[Wikiquote:Albert Einstein|Albert Einstein]] and links to the same location
  
With the foregoing caveats in mind, feel free to add any wikis or other ''relevant'' websites to the table below.
+
As these examples show, ''Target page'' can contain spaces; these are converted to underscores (<tt>_</tt>) in the final URL.
  
{| border="1" cellpadding="4" cellspacing="0" style="text-align: left; border: 1px solid #060;"
+
Note that ''SitePrefix'' is completely [[Wiktionary:case insensitive|case insensitive]], so capitalization does not matter. ''Target page'', however, usually must match the remote page name exactly.
|-
+
! SitePrefix !! URL
+
|-
+
| Wikipedia || http://en.wikipedia.org/wiki/$1
+
|-
+
| Wiktionary || http://en.wiktionary.org/wiki/$1
+
|-
+
| WikimediaMeta || http://meta.wikimedia.org/wiki/$1
+
|-
+
| WikiaSite || http://www.wikia.com/wiki/c:$1
+
|-
+
| WikiaCentral || http://www.wikia.com/wiki/$1
+
|-
+
| Wikireason || http://wikireason.net/wiki/$1
+
|}
+
  
[[Category:Iron Chariots]]
+
Occasionally, an interwiki link is misinterpreted by the [[Project:MediaWiki|MediaWiki]] software as something else. If this seems to be happening to you, try using a colon (<tt>:</tt>) in front of the ''SitePrefix''.
 +
* <tt><nowiki>[[</nowiki>:Wikiquote:Albert Einstein]]</tt> works exactly the same as the original example above
 +
 
 +
==Our interwiki map==
 +
 
 +
This table contains only what we consider the most useful sites for editors working on the [[Iron Chariots]] wiki. The [[Project:Interwiki map (full)|full interwiki map]] is available separately. Unless you already know what site you want to link to, you probably should stick to this list.
 +
{{:Project:Interwiki map (custom)}}
 +
Only [[Project:Administrators|administrators]] should edit this table, since it needs to match the actual interwiki map being used by the [[Project:MediaWiki|MediaWiki]] software.
 +
 
 +
==Requesting changes==
 +
 
 +
Requests for changes to this list, including additions and, if necessary, deletions of sites, can be made by anyone at:
 +
*[[Project:Interwiki map (requests)]]
 +
 
 +
[[Category:Iron Chariots|Interwiki map]]

Latest revision as of 05:21, 12 June 2007

An interwiki map is a list of "shortcuts" that enables the editors of a wiki to use simple "internal style" wikilinks to link to specific pages on external wikis or other websites, provided that those sites have a predictable URL format. For further background information, please see Wikipedia:InterWiki.

Contents

Usage

An interwiki link is a link of the form:

[[SitePrefix:Target page]]

where SitePrefix comes from the table below and Target page is the name of the page at the remote site.

Examples:

As these examples show, Target page can contain spaces; these are converted to underscores (_) in the final URL.

Note that SitePrefix is completely case insensitive, so capitalization does not matter. Target page, however, usually must match the remote page name exactly.

Occasionally, an interwiki link is misinterpreted by the MediaWiki software as something else. If this seems to be happening to you, try using a colon (:) in front of the SitePrefix.

  • [[:Wikiquote:Albert Einstein]] works exactly the same as the original example above

Our interwiki map

This table contains only what we consider the most useful sites for editors working on the Iron Chariots wiki. The full interwiki map is available separately. Unless you already know what site you want to link to, you probably should stick to this list.

Iron Chariots additions/changes
SitePrefix URL Comment
BibleGatewayNIV http://www.biblegateway.com/passage/?search=$1&version=31 Added (New International Version)
BibleGatewayKJV http://www.biblegateway.com/passage/?search=$1&version=9 Added (King James Version)
BibleWiki http://bible.tmtm.com/wiki/$1 Added
WikiaCentral http://www.wikia.com/wiki/$1 Added
WikiaSite http://www.wikia.com/wiki/c:$1 Added
WikimediaCommons http://commons.wikimedia.org/wiki/$1 Added
WikimediaMeta http://meta.wikimedia.org/wiki/$1 Added
Wikipedia http://en.wikipedia.org/wiki/$1 Added
Wikireason http://wikireason.net/wiki/$1 Added
Wikisource http://en.wikisource.org/wiki/$1 Modified default entry to new URL

Only administrators should edit this table, since it needs to match the actual interwiki map being used by the MediaWiki software.

Requesting changes

Requests for changes to this list, including additions and, if necessary, deletions of sites, can be made by anyone at:

Personal tools
Variants
Actions
wiki navigation
IronChariots.Org
Toolbox