Manual:$wgFeedClasses

From mediawiki.org
Jump to navigation Jump to search
Other languages:
English • ‎magyar • ‎polski • ‎日本語
Feed: $wgFeedClasses
Available feeds objects.
Introduced in version:1.3.0 (r2615)
Removed in version:still in use
Allowed values:(array)
Default value:(see below)

Details

Available feeds objects.

This was originally defined in Feed.php in r2615, and was moved to Defines.php in r5283. It was finally moved to DefaultSettings.php in r91192.

Default value

MediaWiki version:
1.31
$wgFeedClasses = [
	'rss' => RSSFeed::class,
	'atom' => AtomFeed::class,
];
MediaWiki versions:
1.3 – 1.30
$wgFeedClasses = [
	'rss' => 'RSSFeed',
	'atom' => 'AtomFeed',
];