Interwiki

Revision as of 13:36, 30 April 2018 by Lsireta (talk | contribs)

Extension: Interwiki


Overview
Description: provides a special page for maintaining the Interwiki table.
State: unstable Dependency: MediaWiki
Developer: Stephanie Amanda Stevens, SPQRobin License: -
Type: MediaWiki Category: Administration
Edition: BlueSpice free, BlueSpice pro
For more info, visit Mediawiki.

Features

The Interwiki extension adds the "Special:Interwiki" page to MediaWiki, to view and edit the interwiki table, and a log of any actions made with it.

Since Interwiki version 2.1, it works with the $wgInterwikiCache, and the CSS uses Resource Loader.


Purpose[<a href="https://www.mediawiki.org/w/index.php?title=Extension:InterWiki&action=edit&section=1" title="Edit section: Purpose">edit]

This extension allows the InterWiki list in the database to be maintained from a list of entries in a file instead of running an update script or using a special page. This has the advantage of allowing a number of wikis installed on the same server to share the same interwiki list simplifying maintenance.



This extension modifies the database directly, so you should back up your database before using it.

Usage[<a href="https://www.mediawiki.org/w/index.php?title=Extension:InterWiki&action=edit&section=2" title="Edit section: Usage">edit]

The default file from which the InterWiki entries are taken is a file called InterWiki.txt which resides in the same directory as the extension script. A different file can be specified by setting the $wgInterWikiFile global, but only the filename should be specified, and it must still reside in the same directory as the extension script.

Another global is $wgInterWikiAddOnly which is set to true by default and specifies that entries which are present in the file should update existing items in the database or insert new ones, but current items which are not present in the file should not be deleted from the database. If $wgInterWikiAddOnly is set to false, the database will be made to exactly match the items in the file and contain no other items.


Source: MediaWiki

Attachments

Discussions