Extension:RelatedArticles

The RelatedArticles extension adds a parser function to your wikitext that allows to associate related articles to your article. It can be configured to show the associated related articles as a list of links in a sidebar on desktop, or as a list of articles and their descriptions at the bottom of a page on desktop and mobile. The extension is also smart enough to get the list of related articles using the morelike feature of CirrusSearch.



Usage
Once installed Related articles will be determined algorithmically based on Cirrus Search if available with no additional steps. Alternatively, you can manually add related articles like so:

Prerequisites
If EventLogging is installed, the RelatedPages feature can be configured to log events. It is not required.

Configuration
The following configuration options apply when RelatedArticlesShowInFooter is enabled:
 * Show related articles at the bottom of the page by setting  to  . Note that the page must be in the Main namespace, and being `view`ed (as opposed to `edit`ed for example), and not be a disambiguation or a diff page, and the skin name (e.g. `minerva`) that's being used is in the array.
 * If EventLogging is installed, set the event logging sampling rate   using a number between 0 and 1. The schema used for logging is  RelatedArticles.
 * Use morelike feature of CirrusSearch by setting  to  . If CirrusSearch is not available fallback to using the related articles marked in wikitext.
 * Use only CirrusSearch's morelike feature by setting  to   ignoring the related articles marked in wikitext.
 * List of skin names (e.g. 'minerva', 'vector') where related articles will be shown in the footer. For example, on a wiki with Monobook, Vector and Minerva installed will result in the widget showing on Vector only.

Notice of deprecation of
Currently it is possible to render related articles in the sidebar (with the notable exception of the Minerva skin) or in the footer.

controls whether to show related articles in the sidebar of compatible skins, e.g. Vector.

This breaking change is planned for August 2017. If there are any concerns or problems with this deprecation, please join the conversation at:

https://phabricator.wikimedia.org/T165991

RelatedPages
The Related Pages feature is implemented in this extension. More info about its development can be found on phabricator.

On Wikimedia Projects
Related pages is enabled on the Minerva skin of most Wikipedia projects for example English and Hebrew Wikipedia.

The legacy  configuration option is enabled on Wikivoyage.

Feedback

 * Create a task in Wikimedia's issue tracker under the "RelatedArticles" project.
 * Check the list of existing RelatedArticles tasks