Interwiki

From Support Wiki
Jump to navigation Jump to search
Interwiki
MediaWiki
Description
Create internal aliases to link to external sites
wiki.gg availability
This extension is installed by default on all wikis. Admins can request this extension if their wiki does not have it.

Interwiki is an extension that is available on wiki.gg.

Summary

Interwiki is a way to display hyperlinks to various websites or to other related wikis. Interwiki is commonly used for translations to easily switch between various languages that your wiki offers to the community of readers/editors.

Manual

  1. Visit Special:Interwiki
  2. Press "Add a local interwiki or language prefix"
    1. Prefix: stardew
    2. Forward: Leave unchecked
      1. Transclude: Check
    3. URL: https://www.stardewvalleywiki.com/$1

Upon creating an interwiki, you can now use [[stardew:article_name]] to link content that isn't featured in your wiki. For example, put [[stardew:Stardew Valley|Stardew Valley]] it will generate a hyperlink to that game page on that wiki.

Example

  1. Visit Special:Interwiki
  2. Press "Add a local interwiki or language prefix"
    1. Prefix: gghelp
    2. Forward / Transclude: Leave unchecked
    3. URL: https://www.support.wiki.gg/wiki/$1
  3. Example: [[gghelp:DPL|Extension:DynamicPageList]]

For translations interwikis, it's a bit different.

  1. Visit Special:Interwiki
  2. Press "Add a local interwiki or language prefix"
    1. Prefix: insert_language_code
    2. Forward: Checked | Transclude: Leave unchecked
    3. URL: https://insert_wiki_name.wiki.gg/wiki/$1/insert_language_code
For the list of language codes and how to properly link content on English counterpart, visit Translation guidelines.

Related