Jump to content

Manual:$wgFeedClasses

From mediawiki.org
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.40
$wgFeedClasses = [
	'rss' => \MediaWiki\Feed\RSSFeed::class,
	'atom' => \MediaWiki\Feed\AtomFeed::class,
];
MediaWiki version:
1.39
$wgFeedClasses = [
	'rss' => 'RSSFeed',
	'atom' => 'AtomFeed',
];
MediaWiki versions:
1.31 – 1.38
$wgFeedClasses = [
	'rss' => RSSFeed::class,
	'atom' => AtomFeed::class,
];
MediaWiki versions:
1.3 – 1.30
$wgFeedClasses = [
	'rss' => 'RSSFeed',
	'atom' => 'AtomFeed',
];