Release status: beta
|Implementation||Parser extension, Hook|
|Description||Adds a link to related sites on the sidebar|
|License||GNU General Public License 2.0|
|Translate the RelatedSites extension if it is available at translatewiki.net|
|Check usage and version matrix.|
|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.
- Download and place the file(s) in a directory called
- Add the following code at the bottom of your LocalSettings.php:
wfLoadExtension( 'RelatedSites' );
- Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
$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.
Create a task on Phabricator tagged with "MediaWiki-extensions-RelatedSites".