Extension:RelatedSites
This extension is incompatible with the current stable MediaWiki 1.46 release! MediaWiki developers are invited to pledge their efforts to updating this extension to make it compatible with MediaWiki 1.46 by replacing the {{Incompatible}} template with {{Incompatible|pledge=~~~~}}. |
This extension is currently not actively maintained! Although it may still work, any bug reports or feature requests will more than likely be ignored. If you are interested in taking on the task of developing and maintaining this extension, you can request repository ownership. As a courtesy, you may want to contact the author. You should also remove this template and list yourself as maintaining the extension in the page's {{Extension}} infobox. |
Release status: unmaintained |
|
|---|---|
| Implementation | Parser extension, Hook |
| Description | Adds a link to related sites on the sidebar |
| Author(s) |
|
| Latest version | 2.0 |
| MediaWiki | 1.25+ |
| PHP | 5.4+ |
| Database changes | No |
|
|
| Licence | GNU General Public License 2.0 only |
| Download | |
| Translate the RelatedSites extension if it is available at translatewiki.net | |
| Issues | Open tasks · Report a bug |
One of the Wikivoyage extensions, formerly used to add a link to a same-named article on a related site on the sidebar. The extension was removed from Wikivoyage in 2018 as much of its functionality overlaps the "In other projects" sidebar entry from Extension:Wikibase.
Installation
[edit]- Download and move the extracted
RelatedSitesfolder to yourextensions/directory.
Developers and code contributors should install the extension from Git instead, using:cd extensions/ git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/RelatedSites
- Add the following code at the bottom of your LocalSettings.php file:
wfLoadExtension( 'RelatedSites' );
Done – Navigate to Special:Versionon your wiki to verify that the extension is successfully installed.
Configuration
[edit]$wgRelatedSitesPrefixes is an array of interwiki prefixes of sites you would like to give prominence to. For example, for Wikivoyage this is:
$wgRelatedSitesPrefixes = [ 'wikipedia', 'commons' ];
Make sure you also have these prefixes set up in $wgExtraInterlanguageLinkPrefixes.
Feedback
[edit]Create a task on Phabricator tagged with "MediaWiki-extensions-RelatedSites".
