Extension:Interwiki


 * This extension should not be confused with Extension:InterWiki.

This is an extension to add a Special:Interwiki page to MediaWiki, to view and edit the interwiki table, and a log of any actions made with it. It was made by Stephanie Amanda Stevens a.k.a Phroziac, because she was annoyed at forgetting the interwiki prefixes.

Since Interwiki version 2.1, it works with the $wgInterwikiCache, and the CSS uses ResourceLoader. This version is only compatible with MW 1.19+.

The list of Special:Interwiki is identical to the API action=query&meta=siteinfo&siprop=interwikimap.

Download
These are recommended revisions of SpecialInterwiki to use per MediaWiki version. If a revision does not work with a certain MediaWiki version, please report. In ViewVC, make sure to click the revision download link for each file, not the HEAD download link.

Installation
To enable transclusion from other sites, you'll need to enable

To disable adding prefixes through the Special:Interwiki interface, set $wgInterwikiViewOnly to true.

Setting up interlanguage links
To set up interlanguage links using this extension, make sure that $wgInterwikiMagic is set to true and $wgHideInterlanguageLinks is set to false (they are like this by default, you don't need to change them usually). Then go to Special:Interwiki as a user with the appropriate permissions. For example, if the French version of your wiki was located at  http://fr.foowiki.tld/wiki/ , you could add  http://fr.foowiki.tld/wiki/$1  to the interwiki table with values trans 0 and local 0. Then the interlanguage link to the French version would work.