Extension:Interwiki
- This extension should not be confused with Extension:InterWiki.
|
Special:Interwiki 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 | 2.0 (see #Download) | ||
| MediaWiki | 1.6+ (see #Download) | ||
| Database changes | no | ||
| License | GNU General Public License 2.0 or later | ||
| Download | Download snapshot Subversion [Help] Browse source code |
||
| 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.
Since Interwiki version 2.0, it works with the $wgInterwikiCache, and the CSS uses ResourceLoader. This version is only compatible with MW 1.19+.
Contents |
[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. In ViewVC, make sure to click the revision download link for each file, not the HEAD download link.
| MediaWiki version | compatible SpecialInterwiki version | Download link |
|---|---|---|
| 1.19 | 2.0 (2011-07-19) | View latest Interwiki extension files (trunk). |
| 1.17 → 1.18 | 1.4.1 (2011-06-21) | /extensions/Interwiki/ directory |
| 1.16 | 1.4.0 (2011-06-11) | /extensions/Interwiki/ directory |
| up to 1.15 | Upgrade your MediaWiki installation! | |
[edit] Installation
- Create a new folder Interwiki in your extensions directory.
- Download the required extension files (see #Download), and put these files in the new Interwiki folder.
- Make one of the following additions to your LocalSettings.php file, based on the version you are using:
- If you are using the more recent versions of this extension (which have this extension merged into the Interwiki extension itself), add this to your LocalSettings.php, somewhere near the bottom:
require_once("$IP/extensions/Interwiki/Interwiki.php");
- If you are using the older versions of this extension (which uses a SpecialInterwiki.php page in its files), add this to your LocalSettings.php, somewhere near the bottom:
require_once("$IP/extensions/Interwiki/SpecialInterwiki.php");
- If you are using the more recent versions of this extension (which have this extension merged into the Interwiki extension itself), add this to your LocalSettings.php, somewhere near the bottom:
- 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;
-
- To enable transclusion from other sites, you'll need to set $wgEnableScaryTranscluding to true.
$wgEnableScaryTranscluding = 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] 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.
[edit] Sites using this extension
- Wikinfo
- Wikademia
- Gamification Encyclopedia
- brajdiscovery.org
- http://ansaikuropedia.org (Uncyclopedia Japan)
- Countervandalism Network
- battlestarwiki(different wikis)
- Botwiki (a wide assortment of wikis)
- Disneyland Resort Paris(different wikis)
- Canopen Lift
- uncyclopedia kr (백괴사전.org)
- ZUM-Wiki
- Flyer Wiki
- DynamicPageList (DPL) wiki
- Fan History wiki
- ekopedia wiki (and other languages)
- EcoliWiki
- Everything Food & Drink
- Use a lightly enhanced version:
- Issuepedia,
- HTYP, and
- Lessig Wiki
- WikiArquitectura.com - Edificios y Casas del Mundo
- Wikoohpedia out of home knowledge site
- OpenOffice.org Wiki
- SEQwiki