Extension:ShoutWiki Interwiki Magic

From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manual - list
Crystal Clear action run.png
ShoutWiki Interwiki Magic

Release status: beta

Implementation Hook
Description Handles global interwikis and local interlanguage links without adding the interwiki table to $wgSharedTables
Author(s) Jack Phoenix
Last version 1.0 (3 April 2011)
MediaWiki 1.18.0+
License Public domain
Download
Hooks used
InterwikiLoadPrefix
Check usage and version matrix

ShoutWiki Interwiki Magic is a MediaWiki extension that fetches interwiki links (as opposed to interlanguage links) from $wgSharedDB while still fetching interlanguge links from the local database.
This way it is possible to have a list of global interwiki links (which are stored in $wgSharedDB's interwiki table) without adding the interwiki table to $wgSharedTables.

This extension was written by Jack Phoenix for ShoutWiki to replace the old core hack ShoutWiki had in includes/Interwiki.php; this extension thus effectively fixes ShoutWiki bug #12 (but Extension:SpecialInterwiki still needs to be patched).

Installation [edit]

  1. Download the source code, either via the extension distributor or SVN and place it in $IP/extensions/InterwikiMagic/
  2. Add the line
    require_once("$IP/extensions/InterwikiMagic/InterwikiMagic.php");
    into the wiki's LocalSettings.php
  3. Installation can now be verified through the wiki's Special:Version