Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Battlestar Wiki:Interwiki: Difference between revisions

From the only original and legitimate Battlestar Wiki: the free-as-in-beer, non-corporate, open-content encyclopedia, analytical reference, and episode guide on all things Battlestar Galactica. Accept neither subpar substitutes nor subpar clones.
Shane (talk | contribs)
No edit summary
Shane (talk | contribs)
(21 intermediate revisions by 7 users not shown)
Line 2: Line 2:




==Internal wiki linking==


These are the vaild codes for internal wiki linking.
These exist so you can cross-reference the same articles, but on different language wikis. For example, on "[[Water]]" there is a French, German, and Spanish version of this article. So at the end of this page on "[[Water]]", this code exists:
* de - German ''Wiki'' - <code><nowiki>http://de.battlestarwiki.org/wiki/$1</nowiki></code>
<pre>
* zh - Chinese ''Wiki'' - <code><nowiki>http://zh.battlestarwiki.org/wiki/$1</nowiki></code>
[[de:Wassermangel]]
* en - English ''Wiki'' - <code><nowiki>http://en.battlestarwiki.org/wiki/$1</nowiki></code>
[[es:Agua]]
* es - Spanish ''Wiki'' - <code><nowiki>http://es.battlestarwiki.org/wiki/$1</nowiki></code>  
[[fr:L'Eau]]
* hb - Hangerbay (Test) ''Wiki'' - <code><nowiki>http://hb.battlestarwiki.org/wiki/$1</nowiki></code>
</pre>
* md - Media ''Wiki'' - <code><nowiki>http://media.battlestarwiki.org/wiki/$1</nowiki></code>
These are the article names of "[[Water]]" on each of these three wikis. And on the German Wiki's article of "[[:de:Wassermangel|Water]]" this is on its bottom:
* fr - French ''Wiki'' - <code><nowiki>http://fr.battlestarwiki.org/wiki/$1</nowiki></code>
<pre>
[[en:Water]]
[[es:Agua]]
[[fr:L'Eau]]
</pre>
These happen on each of the pages that have interwiki links. However, let's say you are working on the German Wiki and you add interwiki links to a page that lead to a ''valid'' article name on other wikis, the [[User:InterBot|Interwiki Bot]] automatically cross-references by reading the German article and adding the correct interwiki links on those other pages. This allows correct formatting of these links and keeps everything clean. To request the [[User:InterBot|Interwiki Bot]] to run, contact [[User:Shane|Shane]].


Example Code: <code><nowiki>[[:md:Main Page|Main Page]]</nowiki></code> would produce: [[:md:Main Page|Main Page]].
{|class="messagebox" style="width:100%" cellspacing="2" cellpadding="2" align="center"
|- class="infoboxheader"
!Interwiki ID !! Wiki !! Link Code
|-
|en || [[:en:Main Page|English Wiki]] ||<code><nowiki>http://en.battlestarwiki.org/wiki/$1</nowiki></code>
|-
|de || [[:de:Hauptseite|Deutsch / German Wiki]] ||<code><nowiki>http://de.battlestarwiki.org/wiki/$1</nowiki></code>
|-
|es || [[:es:Portada|Español / Spanish Wiki]] ||<code><nowiki>http://es.battlestarwiki.org/wiki/$1</nowiki></code>
|-
|fr || [[:fr:Accueil|Français / French Wiki]] ||<code><nowiki>http://fr.battlestarwiki.org/wiki/$1</nowiki></code>
|-
|ms || [[:ms:Laman Utama|Bahasa Melayu / Malay Wiki]]
||<code><nowiki>http://ms.battlestarwiki.org/wiki/$1</nowiki></code>
|-
|simple|| [[:simple:Main Page|Simple English]]
||<code><nowiki>http://simple.battlestarwiki.org/wiki/$1</nowiki></code>
|-
|tr || [[:tr:Ana Sayfa|Türkçe / Turkish Wiki]] ||<code><nowiki>http://tr.battlestarwiki.org/wiki/$1</nowiki></code>
|-
|zh || [[:zh:首页|中文 / Chinese Wiki]] ||<code><nowiki>http://zh.battlestarwiki.org/wiki/$1</nowiki></code>
|-
|md || [[:md:Main Page|BS Media Wiki]] ||<code><nowiki>http://media.battlestarwiki.org/wiki/$1</nowiki></code>
|-
|hb || [[:hb:Main Page|Hangerbay (Test) Wiki]] ||<code><nowiki>http://hb.battlestarwiki.org/wiki/$1</nowiki></code>
|}


These are the vaild codes for external wiki linking.
Example Code: <code><nowiki>[[:md:Main Page|Main Page]]</nowiki></code> would produce: [[:md:Main Page|Main Page]] linking to the ''Battlestar Wiki Media''.
* MemoryAlpha - <code><nowiki>http://memory-alpha.org/en/wiki/$1</nowiki></code>
 
* Wikipedia - <code><nowiki>http://www.wikipedia.org/wiki/$1</nowiki></code>  
==External wiki linking==
** '''w''' - links directly to your lang wikipedia. So only on the English wiki would will it like to: <code><nowiki>http://en.wikipedia.org/wiki/$1</nowiki></code>, but on the German Wiki it would like to: <code><nowiki>http://de.wikipedia.org/wiki/$1</nowiki></code>
 
* IMDB - <code><nowiki>http://us.imdb.com/Title?$1</nowiki></code>
{|class="messagebox" style="width:100%" cellspacing="2" cellpadding="2" align="center"
* Scifipedia - <code><nowiki>http://scifipedia.scifi.com/index.php/$1</nowiki></code>
|- class="infoboxheader"
* Wookiepedia - <code><nowiki>http://starwars.wikia.com/wiki/$1</nowiki></code>
!Interwiki ID !! Wiki !! Link Code
|-
|Wikipedia || [[:Wikipedia:Main Page|Wikipedia (en)]] ||<code><nowiki>http://www.wikipedia.org/wiki/$1</nowiki></code>
|-
|w || [[:W:Main Page|Wikipedia (current lang)]] ||<code><nowiki>http://lang.wikipedia.org/wiki/$1</nowiki></code>
|-
|frakr || [[:frakr:Main Page|Frakr]] ||<code><nowiki>http://en.frakr.com/wiki/$1</nowiki></code>
|-
|IMDB || [[:IMDB:tt0407362|IMDB]] ||<code><nowiki>http://us.imdb.com/Title?$1</nowiki></code>
|-
|MemoryAlpha || [[:MemoryAlpha:Main Page|MemoryAlpha]] ||<code><nowiki>http://memory-alpha.org/en/wiki/$1</nowiki></code>
|-
|Scifipedia || [[:Scifipedia:Main Page|Scifipedia]] ||<code><nowiki>http://scifipedia.scifi.com/index.php/$1</nowiki></code>
|-
|Wookieepedia || [[:Wookieepedia:Main Page|Wookieepedia]] ||<code><nowiki>http://starwars.wikia.com/wiki/$1</nowiki></code>
|-
|4400 || [[:4400:Main Page|The 4400 Wiki]] ||<code><nowiki>http://the4400wiki.com/$1</nowiki></code>
|-
|Lostpedia || [[:Lostpedia:Main Page|Lostpedia (current lang)]] ||<code><nowiki>http://lang.lostpedia.com/$1</nowiki></code><ref>If your language does not exist on Lostpedia, it will be linked to the English version.</ref>
|-
|ew || [[:ew:Main Page|Eureka Wiki (current lang)]] ||<code><nowiki>http://lang.eurkeawiki.org/$1</nowiki></code><ref>If your language does not exist on Eureka, it will be linked to the English version</ref>
|-
|FlashGordonWiki || [[:FlashGordonWiki:Main Page|Flash Gordon Wiki]] ||<code><nowiki>http://flashgordon.wikia.com/wiki/$1</nowiki></code>
|-
|m-w || [[m-w:|Merriam-Webster dictionary]] || <code><nowiki>http://www.m-w.com/dictionary/$2</nowiki></code>
|-
|rc || [[rc:|Robot Chicken wiki]] || <code><nowiki>http://www.robotchicken.org/index.php?title=$1</nowiki></code>
|-
|SW || [[:SW:|Sanctuary Wiki]] || <code><nowiki>http://www.sanctuarywiki.org/wiki/$1</nowiki></code>
|-
|}
 
 
Example Code: <code><nowiki>[[:4400:Jordan Collier|Jordan Collier]]</nowiki></code> would produce: [[:4400:Jordan Collier|Jordan Collier]] linking to ''The 4400 Wiki''.
 
== Notes ==
<div style="font-size:85%"><references/></div>


== Current Suggestions ==
== Current Suggestions ==
* Add them to this list...
* Add them to this list...
* [http://stargate.wikia.com/wiki/Stargate_Wiki Stargate Wiki] - the best ''Stargate'' wiki I can find.
* [http://galacticafanon.wikia.com/wiki/Battlestar_Galactica_Fanon_Wiki Battlestar Galactica Fanon Wiki] For the creation of new Galactica Fan Fiction.

Revision as of 16:15, 2 November 2009

This page is one of Battlestar Wiki's many projects.
This page serves to coordinate discussion on a particular aspect of this Wiki. The formal recommendations of a project may be treated as policies.
Shortcut:
BW:INTER


Internal wiki linking

These exist so you can cross-reference the same articles, but on different language wikis. For example, on "Water" there is a French, German, and Spanish version of this article. So at the end of this page on "Water", this code exists:

[[de:Wassermangel]]
[[es:Agua]]
[[fr:L'Eau]]

These are the article names of "Water" on each of these three wikis. And on the German Wiki's article of "Water" this is on its bottom:

[[en:Water]]
[[es:Agua]]
[[fr:L'Eau]]

These happen on each of the pages that have interwiki links. However, let's say you are working on the German Wiki and you add interwiki links to a page that lead to a valid article name on other wikis, the Interwiki Bot automatically cross-references by reading the German article and adding the correct interwiki links on those other pages. This allows correct formatting of these links and keeps everything clean. To request the Interwiki Bot to run, contact Shane.

Interwiki ID Wiki Link Code
en English Wiki http://en.battlestarwiki.org/wiki/$1
de Deutsch / German Wiki http://de.battlestarwiki.org/wiki/$1
es Español / Spanish Wiki http://es.battlestarwiki.org/wiki/$1
fr Français / French Wiki http://fr.battlestarwiki.org/wiki/$1
ms Bahasa Melayu / Malay Wiki http://ms.battlestarwiki.org/wiki/$1
simple Simple English http://simple.battlestarwiki.org/wiki/$1
tr Türkçe / Turkish Wiki http://tr.battlestarwiki.org/wiki/$1
zh 中文 / Chinese Wiki http://zh.battlestarwiki.org/wiki/$1
md BS Media Wiki http://media.battlestarwiki.org/wiki/$1
hb Hangerbay (Test) Wiki http://hb.battlestarwiki.org/wiki/$1

Example Code: [[:md:Main Page|Main Page]] would produce: Main Page linking to the Battlestar Wiki Media.

External wiki linking

Interwiki ID Wiki Link Code
Wikipedia Wikipedia (en) http://www.wikipedia.org/wiki/$1
w Wikipedia (current lang) http://lang.wikipedia.org/wiki/$1
frakr Frakr http://en.frakr.com/wiki/$1
IMDB IMDB http://us.imdb.com/Title?$1
MemoryAlpha MemoryAlpha http://memory-alpha.org/en/wiki/$1
Scifipedia Scifipedia http://scifipedia.scifi.com/index.php/$1
Wookieepedia Wookieepedia http://starwars.wikia.com/wiki/$1
4400 The 4400 Wiki http://the4400wiki.com/$1
Lostpedia Lostpedia (current lang) http://lang.lostpedia.com/$1[1]
ew Eureka Wiki (current lang) http://lang.eurkeawiki.org/$1[2]
FlashGordonWiki Flash Gordon Wiki http://flashgordon.wikia.com/wiki/$1
m-w Merriam-Webster dictionary http://www.m-w.com/dictionary/$2
rc Robot Chicken wiki http://www.robotchicken.org/index.php?title=$1
SW Sanctuary Wiki http://www.sanctuarywiki.org/wiki/$1


Example Code: [[:4400:Jordan Collier|Jordan Collier]] would produce: Jordan Collier linking to The 4400 Wiki.

Notes

  1. If your language does not exist on Lostpedia, it will be linked to the English version.
  2. If your language does not exist on Eureka, it will be linked to the English version

Current Suggestions