Release status: stable
|Implementation||Data extraction, API, Hook|
|Description||Adds syndication feeds of wiki's featured content|
|Author(s)||Max Semenik (MaxSemtalk)|
|Last version||continuous updates|
|Check usage and version matrix; code metrics|
FeaturedFeeds is an extension that creates daily feeds (Atom or RSS) of wiki's featured content (ranging from Featured Articles to Media of the Day). The feeds are added to site's main page and are available via the API. See also: /WMF deployment, wikis using this extension.
Using FeaturedFeeds[edit | edit source]
This extension requires that wikis use an automated process to publish their featured content daily (or at least very often).
Installation[edit | edit source]
- Download the files from Git or download a snapshot. Choose the version that matches your version of MediaWiki.
- Create a directory
- Extract the files to this
- Add to the end of LocalSettings.php:
- Installation can now be verified through Special:Version on your wiki
Configuration[edit | edit source]
Settings[edit | edit source]
|$wgFeaturedFeeds||Contains array of feed definitions in the following format:
'feed name' => array( 'page' => <message name>, 'title' => <message name>, 'description' => <message name>, 'entryName' => <message name>, )
Also see below for optional settings.
|$wgFeaturedFeedsDefaults||Provides default values for some parameters of every feed from $wgFeaturedFeeds.
array( 'limit' => 10, 'inUserLanguage' => false, )
|$wgDisplayFeedsInSidebar||Whether links to feeds should be displayed in sidebar on main page|
On-site configuration[edit | edit source]
API module[edit | edit source]
FeaturedFeeds adds API action=featuredfeed. Parameters:
- feed format, rss or atom. If omitted, RSS will be assumed.
- Feed name. Required.
- Feed language. Not the language of Wikipedia from which to retrieve data, but akin to uselang=<...> parameter to index.php. Might be ignored, depending on each feed's settings. If omitted, content language will be assumed.
|This extension is being used on one or more Wikimedia projects. This probably means that the extension is stable and works well enough to be used by such high-traffic websites. Look for this extension's name in Wikimedia's CommonSettings.php and InitialiseSettings.php configuration files to see where it's installed. A full list of the extensions installed on a particular wiki can be seen on the wiki's Special:Version page.|