Battlestar Wiki:Interwiki: Difference between revisions

From Battlestar Wiki, the free, open content Battlestar Galactica encyclopedia and episode guide
(→‎External wiki linking: Removing links to dead projects.)
Line 75: Line 75:




Example Code: <code><nowiki>[[:4400:Jordan Collier|Jordan Collier]]</nowiki></code> would produce: [[:4400:Jordan Collier|Jordan Collier]] linking to ''The 4400 Wiki''.
Example Code: <code><nowiki>[[:w:Battlestar Galactica|Battlestar Galactica]]</nowiki></code> would produce: [[:w:Battlestar Galactica|Battlestar Galactica]] linking to the '' English Wikipedia''.


== Notes ==
== Notes ==

Revision as of 13:26, 1 February 2012

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
tr Türkçe / Turkish Wiki http://tr.battlestarwiki.org/wiki/$1
zh 中文 / Chinese Wiki http://zh.battlestarwiki.org/wiki/$1
simple Simple English http://simple.battlestarwiki.org/wiki/$1
md BS Media Wiki http://media.battlestarwiki.org/wiki/$1
props BS Props Wiki http://props.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
Wookieepedia Wookieepedia http://starwars.wikia.com/wiki/$1
Lostpedia Lostpedia (current lang) http://lang.lostpedia.com/$1[1]
FlashGordonWiki Flash Gordon Wiki http://flashgordon.wikia.com/wiki/$1
m-w Merriam-Webster dictionary http://www.m-w.com/dictionary/$2


Example Code: [[:w:Battlestar Galactica|Battlestar Galactica]] would produce: Battlestar Galactica linking to the English Wikipedia.

Notes

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

Current Suggestions

  • Add them to this list...
  • Stargate Wiki - the best Stargate wiki I can find.