Extension:SpecialInterwiki
From MediaWiki.org
|
Release status: stable |
|||
|---|---|---|---|
| Implementation | Special page | ||
| Description | Adds a special page to view and manipulate the interwiki table. | ||
| Author(s) | Stephanie Amanda Stevens, SPQRobin | ||
| Last Version | 1.3 | ||
| MediaWiki | 1.6+ | ||
| License | GNU General Public License 2.0 or later | ||
| Download | Download snapshot Subversion [Help] |
||
| Example | See #Sites using this extension | ||
|
|||
|
check usage (experimental) |
|||
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. It's made for MediaWiki 1.6 onwards, and has been reported to also work on 1.5.
Contents |
[edit] Installation
- Create a new directory Interwiki in your extensions directory.
- Download the required extension files (see #Download), and put these files in the new Interwiki directory.
- Add this to your LocalSettings.php, somewhere near the bottom:
require_once("$IP/extensions/Interwiki/SpecialInterwiki.php");
- Under that line, you have to add who can use Special:Interwiki.
-
- If you want that sysops can use it:
$wgGroupPermissions['*']['interwiki'] = false; $wgGroupPermissions['sysop']['interwiki'] = true;
-
- If you want an additional user group: (those with the 'userrights' permission can assign this group - bureaucrats by default)
$wgGroupPermissions['*']['interwiki'] = false; $wgGroupPermissions['interwiki']['interwiki'] = true;
- Note
- This extension's entry in the list of Special pages is not the name of the extension. The entry in the list is defined by the
interwikimessage item defined per locale inSpecialInterwiki.i18n.php. For English locales, its value is View and edit interwiki data.
[edit] 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.
[edit] Change log
- 21-11-07
-
- Extension is now maintained in SVN. Log is now at http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/Interwiki/
- Supported by translatewiki.net, that means more translations.
- 14-11-07
-
- Better lay-out of the add and delete form
- Reorganizing the messages
- 10-11-07
-
- Changing Dutch translation
- 18-10-07
-
- Fixing wrong "(local: $3) (trans: $4)" to correct "(trans: $3) (local: $4)" in the interwiki log.
- Use localized error message and better lay-out of error message.
- Removing never used messages.
- 16-10-07
-
- Use 'delete' message of core system messages instead of 'interwiki_delbutton' --> more translations available.
- 15-10-07
-
- Use 'delete' message of core system messages instead of 'interwiki_delete' --> more translations available.
- 13-10-07
-
- Link from Special:Log/interwiki to Special:Interwiki.
- Use i18n file by default.
- 12-10-07
-
- (i18n) German translation.
- (i18n) Some Latin (la) translations.
- (i18n) Translated 'delete' into random languages, from core system messages.
- 02-09-07
-
- (i18n) Dutch (nl) translation.
- (i18n) Russian (ru) translation.
- 25-12-06
-
- (i18n) French (fr) translation.
(changes before 05-2006 not added)
[edit] 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.